@import url("https://use.fontawesome.com/releases/v5.9.0/css/all.css");
@import url("https://fonts.googleapis.com/css?family=Karla|Josefin+Sans:400&display=swap");

html {
   background: #dce3e6;
   font-family: "Josefin Sans", monospace;
}

body {
   border-radius: 10px;
   margin: 28px;
   color: #333;
   position: relative;
   box-shadow: 0 0.3em 1em#000;
   overflow-y: scroll;
   scrollbar-arrow-color: #666;
}
/* width */
::-webkit-scrollbar {
   width: 16px;
 }
 
 /* Track */
 ::-webkit-scrollbar-track {
   background: #f1f1f1; 
 }

 /* Handle */
 ::-webkit-scrollbar-thumb {
   background: #ccc; 
 }
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
  height: 15px;
  width: 13px;
  display: block;
  background: #f1f1f1;
  background-repeat: no-repeat; }

/* arrows */
::-webkit-scrollbar-button:vertical:decrement {
   background-image: url(../images/icons/arrow_drop_up-24px.svg);
   background-size: contain; 
   }
 
::-webkit-scrollbar-button:vertical:increment {
background-image: url(../images/icons/arrow_drop_down-24px.svg);
background-size:contain;
}

body.modalOpen {
   overflow: hidden;
}

header {
   background-image: url(../images/headerBackground-top.jpg);
}

.fas.fa-phone.fa-lg {
   margin-right: 10px;
   color: #fff;
}
#mobile-nav {
   width: 135px;
}

.desktop-only {
   display: block;
}

.mobile-only {
   display: none !important;
}

a.mobile-only-link {
   pointer-events: none;
}

.body-content {
   padding-top: 10px;
   width: 90%;
   margin: auto;
   max-width: 800px;
}

/* Reviews side button */
.romw-button.romw-right {
   top: 40% !important;
}

.romw-button .romw-link {
   background: #EA3B16 !important;
   border-top-left-radius: 5px;
   border-top-right-radius: 5px;
}

/* the 'bullet-shot' facebook image from https://pt.vectorhq.com/psd/cracked-facebook-logo-psd-451808 */
body > a > img {
   right: 0px;
   position: fixed;
   z-index: 5;
}

body > a > img:hover {
   top: 33vh;
   left: 3px;
   transition: all 0.5s;
}

/* Does this work for a touch device? Do I even need it? */
body > a > img:active {
   top: 33vh;
   left: 3px;
   transition: all 0.5s;
}

body > a > img:not(:hover) {
   top: 33vh;
   left: -10px;
   transition: all 0.5s;
}

/* this is the responsive-list that comes into play when the vuport is tiny */
#mobile-nav {
   display: none;
}

.titlebar-container {
   color: rgb(250, 245, 198);
   width: 98%;
   margin-left: auto;
   margin-right: auto;
   text-align: left;
   height: auto;
   background-color: hsla(12, 95%, 47%, 0.93);
   box-shadow: 0.1em 0.1em 0.3em #000;
   border-radius: 5px;
}

h1.titlebar {
   display: block;
   color: rgb(250, 245, 198);
   font-size: 24px;
   padding: 10px 50px 9px 20px;
   text-decoration: none;
   font-weight: normal;
}

span.titlebar.subtitle {
   font-size: 20px;
   color: rgb(250, 245, 198);
}

h3 {
   text-decoration: underline;
}

p.emphasis {
   font-weight: bold;
   font-size: 1.15em;
   line-height: 1.15em;
}

/* link styling */
.desktop-nav a {
   text-decoration: none;
   font-size: 16px;
   color: #1a1a1a;
   position: relative;
   background: rgba(255, 255, 255, 0.85);
   padding: 7px 14px;
   border-radius: 20px;
   transition: all 0.25s ease;
   font-weight: 600;
}

/* link styling */
.desktop-nav a:hover {
   color: #fff;
   background: #1f4e79;
}

/* link styling in header - remove the underline animation */
.desktop-nav a:before {
   display: none;
}

/* Active page highlight */
.desktop-nav a.nav-active {
   background: #1f4e79;
   color: #fff;
}

/* Book Online button */
.desktop-nav a.book-online-btn {
   background: #e67e22;
   color: #fff;
   font-weight: 700;
   font-size: 16px;
   padding: 7px 20px;
   border-radius: 22px;
   transition: background 0.25s ease;
}

.desktop-nav a.book-online-btn:hover {
   background: #cf6d17;
   color: #fff;
}

.desktop-nav a.book-online-btn:before {
   display: none;
}

/* link styling */
a {
   text-decoration: none;
   color: #333;
   position: relative;
}

a.underline {
   text-decoration: underline;
}

a.hover-underline:hover:before,
a:hover:before {
   visibility: visible;
   -webkit-transform: scaleX(1);
   transform: scaleX(1);
}

a.hover-underline:before {
   content: "";
   position: absolute;
   width: 100%;
   height: 2px;
   bottom: 0;
   left: 0;
   background-color: #333;
   visibility: hidden;

   -webkit-transition: all 0.5s ease-in-out 0s;
   -moz-transition: all 0.5s ease-in-out 0s;
   -o-transition: all 0.5s ease-in-out 0s;
   transition: all 0.5s ease-in-out 0s;

   -webkit-transform: scaleX(0);
   -moz-transform: scaleX(0);
   -o-transform: scaleX(0);
   transform: scaleX(0);
}

.tos-privacy-policy a {
	text-decoration: underline;
	display: block;
	padding-bottom: 0.5em;
}

main > section.content {
   margin: auto;
   padding: 0.5em 1em;
}

main > section.tos-content, main > section.privacy-policy-content {
   margin: auto;
   padding: 0.5em 15em;
}

.center-contents {
   text-align: center
}

.p-t-m {
   padding-top: 1em;
}

.p-y-m {
   padding-top: 1em;
   padding-bottom: 1em;
}

.p-y-xs {
   padding-top: 0.1em;
   padding-bottom: 0.1em;
}

.m-y-xs {
   margin-top: 0.1em;
   margin-bottom: 0.1em;
}

.m-b-0 {
   margin-bottom: 0;
}

.p-b-s {
   padding-bottom: 0.3em;
}

.m-t-0 {
   margin-top: 0;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* styling in header                                                  */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
body > header {
   font-family: "Karla", monospace;
   background-color: honeydew;
   background-size: cover;
   border: 0 solid #000;
   color: #000;
   top: 0;
   left: 0;
   right: 0;
   padding: 0px;
   padding-bottom: 10px;
   border-radius: 10px;
   box-shadow: 0.3em 0.3em 1em #000;
   position: fixed;
   width: 99%;
   height: 140px;
   margin-left: 5px;
   margin-right: 5px;
   z-index: 10;
}

/* 'long' logo image styling */
body > header > section:nth-child(1) > figure:nth-child(1) img {
   float: left;
   vertical-align: middle;
   height: auto;
   width: 400px;
   margin-top: -15px;
   z-index: 9;
}

/* 'long' logo image styling -- hover magic */
body > header > section:nth-child(1) > figure:nth-child(1):hover {
   transform: translate(-48px, 0px);
   transition: all 1.5s;
}

/* 'long' logo image styling -- unhover magic */
body > header > section:nth-child(1) > figure:nth-child(1):not(:hover) {
   transform: scale(1);
   transition: all 1.5s;
}

/* navigation menu when there's a wide vuport */
body > header > section:nth-child(1) > nav {
   float: right;
   margin-right: 20px;
}

.desktop-nav {
   font-weight: 600;
}

/* navigation element styling -- put the nav elements in a horizontal line */
body > header > section:nth-child(1) > nav > ul:nth-child(1) {
   margin-top: 8px;
   margin-bottom: 0px;
   display: flex;
   align-items: center;
   list-style: none;
   vertical-align: middle;
}

/* navigation element styling -- the phone number + Book Online row */
body > header > section:nth-child(1) > nav > ul:nth-child(2) {
   float: right;
   display: flex;
   align-items: center;
   list-style: none;
   vertical-align: middle;
   margin-top: 6px;
   gap: 12px;
}

/* Phone number link - no pill, just plain text, white for visibility */
body > header > section:nth-child(1) > nav > ul:nth-child(2) a:not(.book-online-btn) {
   background: none;
   padding: 0;
   border-radius: 0;
   font-size: 20px;
   color: #fff;
   font-weight: 600;
}

body > header > section:nth-child(1) > nav > ul:nth-child(2) a:not(.book-online-btn):hover {
   background: none;
   color: #e0e0e0;
}

/* navigation element styling -- space the list items out */
body > header > section:nth-child(1) > nav > ul li {
   padding: 6px 3px;
}

/* make second section invisible (which contains the responsive menu) */
body > header > section:nth-of-type(2) {
   display: none;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* styling in main                                                    */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
body > main {
   padding-top: 141px;
   display: block;
}

/* holds the verbiage on the main section of the page  -- gives two columns */
body > main > div {
   width: 95%;
   padding: 2px;
   margin-left: 5px;
   margin-bottom: 5px;
   display: flex;
   font-size: 17px;
}

.flex-grid {
   display: flex;
}

.col {
   flex: 1;
   margin: 0 30px;
}

.partner-logo {
   width: 150px;
   height: 150px;
   margin: auto;
}

.partner-logo img {
   width: 100%;
   border-radius: 50%;
   box-shadow: 0 0 10px #000000;
   transition: box-shadow 0.15s ease-in-out;
}
.partner-logo img:hover {
   box-shadow: 0 0 15px #000000;
   transition: box-shadow 0.15s ease-in-out;
}

/* main about text section on homepage */
.about-content {
   padding: 5px;
   margin: auto;
   min-width: 150px;
   width: 50vw;
}

/* the image of the sand scooter II -- float allows text to wrap around image */
#inspiration-image {
   display: flex;
   flex-direction: column;
   align-items: center;
   float: right;
   margin: 0;
}

#inspiration-image > img {
   border-radius: 50%;
   box-shadow: 0 0 10px #000000;
   margin: 10px 6px;
   width: 30vw;
   height: auto;
   float: right;
   min-width: 150px;
   max-width: 220px;
}

#inspiration-image > figcaption {
   font-size: 12px;
}

/* drop cap */
.drop-cap::first-letter {
   color: hsla(12, 95%, 47%, 0.93);
   float: left;
   font-family: Georgia;
   font-size: 50px;
   line-height: 40px;
   padding-top: 4px;
   padding-right: 8px;
   padding-left: 3px;
}

/* smaller drop cap */
.small.drop-cap::first-letter {
   font-size: 41px;
   line-height: 20px;
   padding-top: 7px;
   padding-right: 4px;
   padding-left: 2px;
}

/* The first section in main holds the flipping (animated) images */
.image-animation {
   width: 80%;
   height: 35vw;
   position: relative;
   margin-bottom: 1em;
   margin-left: auto; /* center section horizontally  #1 */
   margin-right: auto; /* center section horizontally  #2 */
}

/* The setup for animation */
.image-animation > img {
   position: absolute;
   animation: myAnimation 15s infinite;
   opacity: 0;
   width: 100%;
   border-radius: 12px;
   box-shadow: 0.3em 0.3em 0.4em #000;
}

@keyframes myAnimation {
   25% {
      opacity: 1;
   }
   40% {
      opacity: 0;
   }
}

/* Animation flips through four images below */
.image-animation > img:nth-child(1) {
   animation-delay: 0s;
}
.image-animation > img:nth-child(2) {
   animation-delay: 5s;
}
.image-animation > img:nth-child(3) {
   animation-delay: 10s;
}

/* video section */
.video {
   width: 80%;
   height: auto;
   overflow: hidden;
   position: relative;
   border-radius: 12px;
   box-shadow: 0.3em 0.3em 1em #000;
   margin-bottom: 9px;
   margin-left: auto; /* center section horizontally  #1 */
   margin-right: auto; /* center section horizontally  #2 */
}

.wistia_responsive_padding {
   background: #424242;
   padding: 56.25% 0 0 0;
   position: relative;
   border-radius: 10px;
   overflow: hidden;
   /* Browser hack to hide overflow in certain browsers */
   -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
}

.wistia_responsive_wrapper {
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100.25%;
}

.wistia_swatch {
   height: 100%;
   left: 0;
   opacity: 0;
   overflow: hidden;
   position: absolute;
   top: 0;
   transition: opacity 200ms;
   width: 100%;
}

.video-responsive {
   overflow: hidden;
   padding-bottom: 56.25%;
   position: relative;
   height: 0;
}

.video-responsive iframe {
   left: 0;
   top: 0;
   height: 100%;
   width: 100%;
   position: absolute;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* shared accordion styling                                           */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
button.accordion-toggle-btn {
   margin-right: 10px;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* custom reviews modal                                               */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* Button styling */
.custom-reviews-modal {
   z-index: 9001;
}

a#custom-reviews-modal-btn {
   border: none;
   cursor: pointer;
   outline: none;
   position: fixed;
   top: 40%;
   color: rgb(250, 245, 198);
}

.custom-reviews-modal-right {
   background: #EA3B16;
   border-top-left-radius: 5px;
   border-top-right-radius: 5px;
   display: inline-block;
   font-family: "Josefin Sans", monospace;
   font-size: 17px;
   font-weight: bold;
   padding: 8px 16px;
   right: 0px;
   text-align: center;
   text-decoration: none;
   -webkit-transform-origin: 100% 100%;
   -moz-transform-origin: 100% 100%;
   -ms-transform-origin: 100% 100%;
   -o-transform-origin: 100% 100%;
   transform-origin: 100% 100%;
   -webkit-transform: rotate(-90deg);
   -moz-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   -o-transform: rotate(-90deg);
   transform: rotate(-90deg);
}

/* Modal styling */
.modal-dialog {
   position: fixed;
   top: 0;
   right: 0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.8);
   z-index: 99999;
   opacity: 0;
   -webkit-transition: opacity 100ms ease-in;
   -moz-transition: opacity 100ms ease-in;
   transition: opacity 100ms ease-in;
   pointer-events: none;
   width:100vw;
   height: 102vh;
}

.modal-dialog:target {
   opacity: 1;
   pointer-events: auto;
}

.modal-content {
   position: relative;
   max-width: 70vw;
   max-height: 80vh;
   /* padding: 10px 0 15px 0; */
   border-radius: 10px;
   background: #fff;
   left: 50%;
   top: 50%;
   overflow-y: scroll;
   transform: translate(-50%, -50%);
   -webkit-transform: translate(-50%, -50%);
   -moz-transform: translate(-50%, -50%);
   -o-transform: translate(-50%, -50%);
}

.review-content{
   scrollbar-width: none;
   padding-top: 2rem;
   padding-bottom: 2rem;
   width: 90%;
   margin: 0 auto;
}
div.modal-content::-webkit-scrollbar {
width: 10px;
}

div.modal-content::-webkit-scrollbar-track {
   border-radius: 10px;
   width: 14px;
}
div.modal-content::-webkit-scrollbar-track {
   appearance: none;
   background-color: transparent;
 }
div.modal-content::-webkit-scrollbar-thumb {
   background-color: #555;
   border-radius: 10px;
   padding: 2rem 2px;
}
div.modal-content::-webkit-scrollbar-button:start:decrement,
div.modal-content::-webkit-scrollbar-button:end:increment {
   display: none;
}

.modal-scroll {
   overflow-y: auto;
   height: 100%;
}

#modal-close-btn {
   background: #606061;
   color: #FFFFFF;
   line-height: 38px;
   position: absolute;
   right: 12%;
   text-align: center;
   top: 4%;
   width: 38px;
   text-decoration: none;
   font-weight: bold;
   -webkit-border-radius: 12px;
   -moz-border-radius: 12px;
   border-radius: 19px;
   -moz-box-shadow: 1px 1px 3px #000;
   -webkit-box-shadow: 1px 1px 3px #000;
   box-shadow: 1px 1px 3px #000;
   font-size: x-large;
}
#modal-close-btn:hover {
   background: #EA3B16;
}

/* Review styling */
.romw {
   padding: 25px;
}

.romw p {
   margin: 0;
   padding: 0;
}

.romw .romw-source-logo {
   float: right;
}

.romw .romw-source-logo img {
   height: 25px;
   margin: 0;
}

.romw .romw-author-photo {
   float: left;
   margin: 0 10px 0 0;
}

.romw .romw-author-photo img {
   max-width: 60px;
   object-fit: cover;
   border-radius: 50%;
   width: 60px;
   height: 60px;
   margin: 0;
}

.romw .romw-stars {
   display: inline-block;
   padding-left: 10px;
}

.romw .romw-author-stars {
   margin-bottom: 5px;
   margin-top: 0;
   text-align: left;
   font-size: 18px;
   line-height: initial;
   clear: initial;
}

.romw .romw-stars svg {
   color: #ff5d48;
   font-size: 18px;
   width: 18px;
   height: initial;
}
.romw-fa-star:before {
   content: "☆";
}

.romw .romw-text {
   clear: both;
   padding-top: 15px;
   text-align: left;
   height: auto !important;
}

/* Call Now Button */
#call-now-container {
   bottom: 16px;
   position: fixed;
   right: 24px;
   transition: opacity 0.2s ease-in-out;
}

#call-now-btn {
   background: #3E950F;
   border: 2px solid white;
   /* Previous orange button styling: */
   /* background: #EA3B16; */
   /* border: none; */
   border-radius: 50%;
   box-shadow: 0.1em 0.1em 0.3em #000;
   display: inline-block;
   line-height: 70px;
   height: 60px;
   text-align: center;
   vertical-align: middle;
   width: 60px;
   z-index: 1;
}

#call-now-btn-icon {
   color: white;
   font-size: 26px;
}

#mobile-nav.disable-links a {
   pointer-events: none;
}

/* clickable background on review modal */
.clickable-top{
   height: 10vh;
   position: absolute;
   width: 102vw;
   }
.clickable-top:hover{
   cursor: default;
}
.clickable-left{
   width: 15vw;
   height: 101vh;
   position: absolute;
}
.clickable-left:hover{
   cursor: default;
}
.clickable-right{
   position: absolute;
   width: 15vw;
   height: 101vh;
   left: 85vw;
}
.clickable-right:hover{
   cursor: default;
}
.clickable-bottom{
   position: absolute;
   width: 101vw;
   height: 10vh;
   top: 90vh;
}
.clickable-bottom:hover{
   cursor: default;
}

/*--------------------------------------------------------*/
/* make it responsive                                     */
/*--------------------------------------------------------*/
@media only screen and (max-width: 1100px) {
   body>header {
      background-position: top left;
   }

   body>header>section:nth-of-type(1)>figure:nth-of-type(1) img {
      width: 350px;
   }

   body > header > section:nth-child(1) > nav {
      margin-right: 15px;
   }
}

@media only screen and (max-width: 1000px) {
   body>header>section:nth-of-type(1)>figure:nth-of-type(1) img {
      width: 300px;
   }

   .desktop-nav a {
      font-size: 15px;
      padding: 6px 11px;
   }

   .desktop-nav a.book-online-btn {
      font-size: 15px;
      padding: 6px 15px;
   }

   body > header > section:nth-child(1) > nav > ul:nth-child(2) a:not(.book-online-btn) {
      font-size: 18px;
   }
}

@media only screen and (max-width: 900px) {
   body>header>section:nth-of-type(1)>figure:nth-of-type(1) img {
      width: 250px;
      margin-top: -5px;
   }

   .desktop-nav a {
      font-size: 14px;
      padding: 5px 9px;
   }

   .desktop-nav a.book-online-btn {
      font-size: 14px;
      padding: 5px 14px;
   }

   body > header > section:nth-child(1) > nav > ul:nth-child(2) a:not(.book-online-btn) {
      font-size: 16px;
   }

   body > header > section:nth-child(1) > nav {
      margin-right: 10px;
   }
}

@media only screen and (max-width: 750px), (max-height: 415px) {
   /*--------------------------------------------------------*/
   /* Switch to mobile layout with stacked logo + dropdown   */
   /*--------------------------------------------------------*/
   body > header {
      height: 100px;
      z-index: 10;
   }

   /* remove the first section in the header (horizontal logo + nav) */
   body > header > section:nth-of-type(1) {
      width: 0px;
   }

   /* resurrect the second section with stacked logo */
   body>header>section:nth-of-type(2) {
      margin: auto;
      width: 100%;
      border: 1px solid transparent;
      display: block;
   }

   /* 2nd logo image styling -- size the 'short' logo image */
   body>header>section:nth-of-type(2)>figure:nth-child(1) img {
      width: 170px;
      float: left;
      height: auto;
      display: block;
      margin-top: -24px;
      margin-left: auto;
      margin-right: auto;
   }

   /*---------------------------------------------------*/
   /* menu under the header                             */
   /*---------------------------------------------------*/
   #mobile-nav {
      display: block;
      list-style: none;
      font-family: "Karla";
      font-size: 20px;
      visibility: visible;
      position: fixed;
      background: hsla(12, 95%, 47%, 0.93);
      color: white;
      margin: 0 0 0 0;
      padding: 0.1em 0.1em 0.1em 0.1em;
      transition: 1s;
      height: auto;
      z-index: 9;
      border-radius: 0em 0em 0.5em 0.5em;
      box-shadow: 0.1em 0.1em 0.3em #000;
      right: 5%;
   }

   #mobile-nav:not(.menu-expanded) {
      top: -98px;
   }

   /* top part should be lowered to expand the menu items */
   #mobile-nav.menu-expanded {
      top: 110px;
   }

   /* setting color of list items to match the color of the sand in the logo */
   #mobile-nav > li {
      padding: 2px;
      margin: 2px;
      visibility: visible;
      color: rgb(250, 245, 198);
   }

   /* setting styling of wheelchair bullets in the menu */
   #mobile-nav > li > span {
      padding: 2px;
      margin: 2px;
      margin-right: 10px;
      color: rgb(250, 245, 198);
      font-size: 18px;
   }

   /* set the styling of the links in the dropdown menu */
   #mobile-nav > li > a {
      text-decoration: none;
      color: rgb(250, 245, 198);
      font-family: "Karla";
      font-size: 19px;
   }

   /* set the styling of the links in the dropdown menu upon hover */
   #mobile-nav > li > a:hover {
      font-size: 19px;
      color: rgb(250, 245, 198);
   }

   /* link styling (for the dropdown menu) (line underneath link) */
   #mobile-nav > li > a:before {
      content: "";
      position: absolute;
      width: 100%;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: rgb(250, 245, 198);
      visibility: hidden;

      -webkit-transition: all 0.5s ease-in-out 0s;
      -moz-transition: all 0.5s ease-in-out 0s;
      -o-transition: all 0.5s ease-in-out 0s;
      transition: all 0.5s ease-in-out 0s;

      -webkit-transform: scaleX(0);
      -moz-transform: scaleX(0);
      -o-transform: scaleX(0);
      transform: scaleX(0);
   }

   /* center the word 'Menu' */
   #mobile-nav-menu-btn {
      cursor: pointer;
      text-align: center;
      padding-top: 3px;
      font-size: 24px;
   }

   /* styling the SH icon in the responsive menu */
   #mobile-nav-menu-btn > img {
      width: 33px;
      transform: translate(-10px, 5px);
   }
   /*---------------------------------------------------*/

   /* 2nd logo image styling -- scale hover magic */
   body > header > section:nth-of-type(2) > figure:nth-child(1):hover {
      width: 100%;
      transform: translate(-42px, 0px);
      transition: all 1.5s;
   }

   /* 2nd logo image styling -- scale hover magic backout */
   body > header > section:nth-of-type(2) > figure:nth-child(1):not(:hover) {
      width: 100%;
      transition: all 1.5s;
   }
}
/**************************/
/* really narrow screens  */
/**************************/
/*-----------------------------------------*/
/*  491px <  device width < 640px wide     */
/*-----------------------------------------*/
@media only screen and (max-width: 640px) {
   /* main about text section on homepage */
   .about-content {
      width: 75%;
   }

   .desktop-only {
      display: none !important;
   }
   
   .mobile-only {
      display: block !important;
   }

   a.mobile-only-link {
      pointer-events: auto;
   }

   .flex-grid {
      display: block;
   }

   /* Widen photos, video on mobile + fix spacing */
   .image-animation {
      width: 92%;
      height: 42vw;
      margin-bottom: 8px;
   }

   .video {
      width: 92%;
   }

   /* Fix TOS and Privacy Policy pages on mobile */
   main > section.tos-content, main > section.privacy-policy-content {
      padding: 0.5em 1em;
   }
}

/*-----------------------------------------*/
/*  361px <  device width < 490px wide     */
/*-----------------------------------------*/
@media only screen and (max-width: 490px) {
   html, body {
      overflow-x: hidden;
   }
   
   body {
      margin: 8px;
   }

   body > header {
      display: none;
   }

   #mobile-nav {
      font-size: 21px;
      padding: 0.1em 0.1em 0.1em 0.1em;
      padding-top: 20px;
   }

   #mobile-nav:not(.menu-expanded) {
      top: -241px;
   }

   /* top part should be lowered to expand the menu items */
   #mobile-nav.menu-expanded {
      top: -15px;
   }

   body > main {
      padding-top: 33px;
   }

   /* main about text section on homepage */
   .about-content {
      width: 90%;
   }

   .image-animation.extra-mobile-padding-top {
      padding-top: 1.5em;
   }
   
   .adjust-gallery-top {
   	padding-top: 20px !important;
   }
}

/*-----------------------------------------*/
/*  321px <  device width < 361px wide     */
/*-----------------------------------------*/
@media only screen and (max-width: 361px) {
   body {
      /* width: 104vw; */
      margin: 8px;
   }
}

/*-----------------------------------------*/
/*     device width < 321px wide           */
/*-----------------------------------------*/
@media only screen and (max-width: 321px) {
   body > footer > section:nth-of-type(3) {
      display: none;
   }

   body > footer > section:nth-of-type(2) {
      width: 110vw;
      border-radius: 5px;
      box-shadow: 0.1em 0.1em 0.3em rgb(0, 0, 0);
   }

   body {
      /* width: 110vw; */
      margin: 8px;
   }
}

/*------------------------------------*/
/*     landscape                      */
/*------------------------------------*/
@media only screen and (max-height: 415px) {
   body > header {
      display: none;
   }

   #mobile-nav {
      width: 200px;
   }

   #mobile-nav:not(.menu-expanded) {
      top: -215px;
   }

   /* top part should be lowered to expand the menu items */
   #mobile-nav.menu-expanded {
      top: 0px;
   }

   body > main {
      padding-top: 17px;
   }
   
   .adjust-gallery-top {
   	padding-top: 20px !important;
   }
}

/* noscript pixel */
noscript > img {
   height: 1px;
   width: 1px;
   display: none;
}
