/* rem and em do NOT depend on html font-size in media queries! Instead, 1rem = 1em = 16px 

FONT SIZE SYSTEM (px)
    10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98/

SPACING SYSTEM (px)
    2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

/**************************/
/* BELOW 834px (tablet portrait) */
/**************************/


@media (480px <= width <= 834px)

  /* and (min-device-width: 834px) 
  and (max-device-width: 834px) 
  and (orientation: portrait)  */
  /* and (-webkit-min-device-pixel-ratio: 2)  */
  {

    .content{
        display: grid;
        max-width: 834px;
        grid-template-columns: 1fr;
        grid-template-rows:  1fr 2fr;  
        height: 90%; 
        width: 100%; 
        animation: fadeIn 4s ease-in forwards;            
    }

    .hero-img-box{
        display: flex;
        align-items: center;     
        height: 90%;
        justify-content: center; 
        
    }

    .hero-img-box > img{
       width: clamp(35rem, 84.746vw + -5.678rem, 65rem);
       height: auto;
       margin: 0 auto;
       animation-name: moveToLeft;
        -webkit-animation: moveToLeft 3s;
        animation-duration: 4s;
    }

    .heading{
        text-align: center;
    }

    .heading-primary{
        font-size: clamp(3.7rem, 6.497vw + 0.581rem, 6rem);
        /* font-size: 3.7rem;
        font-size:6rem; */
        font-weight: 500;
        color: transparent;
        background-image: linear-gradient(
            to top,
            rgb(16, 139, 2) 0%,
            rgb(5, 204, 194) 100%
        );
        -webkit-background-clip: text; 
        text-decoration: none; 
    }

    .safari{
        text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.25);
    }

    .chrome{
        text-shadow: 3px 3px 15px rgba(0, 0, 0, .3);
    }

    .firefox{
        text-shadow: 0.25rem 0.25rem 1.5rem rgba(0, 0, 0, 0.5);
    }

    #weather-container{       
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;     
    }

    #weather-icon {
        filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.6));
        width: 60px;
        height: 60px;     
    }

    #weather-info{
        font-size: 2rem;
        padding: 0 2rem;
        color: #777;
    }

    #temp-div {
        font-size: 2rem;
        color:#777;
    }

    .paragraphs{
        display: grid;
        place-items: center;
    }

    .paragraph-style {
        color: #555;
        font-family: 'Dosis', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 2rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        margin-left: clamp(7rem, 9.887vw + 2.254rem, 10.5rem);
        margin-right: clamp(7rem, 9.887vw + 2.254rem, 10.5rem);
        line-height: 3rem;
        letter-spacing: normal;
    }

        /**********************************************/
                      /* Carousel Section */
        /**********************************************/


    .carousel-container {
        position: absolute;
        width: 80%;
        margin-top: 5rem;
    }

    .carousel {
        align-content: center;

    }

    #accomodations-carousel,
    #property-carousel,
    #dining-carousel,
    #golf-carousel,
    #adventures-carousel {
        animation-name: fadeIn;
        animation-duration: 4s;
    }

    .slick-dots {
        margin-top: clamp(22rem, -30.119rem + 90.395vw, 42rem);
    }

    figure {
        padding-top: 1.5rem;
    }

    figure > img {
        box-shadow: 1px 3px 8px 8px rgba(0, 0, 0, 0.1);
    }

    figcaption {
        display: grid;
        grid-template-columns: 1fr 4fr 1fr;
        height: 7rem;
        justify-content: center;
        align-items: center;
        font-family: 'Dosis', Helvetica, sans-serif;
    }

    .img2 {
        box-shadow: 1px 2.5px 5px 5px rgba(0, 0, 0, 0.2);
    }

    .btn-photo-map {
        border: none;
        background: none;
        cursor: pointer;
    }

    .map-description, .photo-description {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .icon-photo-map {
        height: 3rem;
        opacity: .5;
        margin-right: 0;
    }

    .map-text, 
    .photo-text{
        display: flex;
        margin-left: 0;
        justify-content: left;
        align-items: center;
        font-size: clamp(1.0rem, .75rem + .5vw, 1.8rem);
        line-height: 1;
        color: #555;
    }

    .description1, .description2, .description3 {
        display: flex;
        justify-content: center; 
        text-align: center; 
        color: #555;     
    }

    .description2 {
        font-size: clamp(2rem, 0.8rem + 2vw, 2.4rem);
        font-weight: 500;
    }

    .description3 {
        opacity: 0;
    }


    .links {
        display: none;
    }

    .renters {
        display: none;
    }

    .CTA {
        margin-bottom: 6rem;
    }

    .btn-CTA:link,
    .btn-CTA:visited {
        padding: 1rem 2rem;
        border-radius: 5px;
        margin-left: 1.8rem;
    }


        /**********************************************/
                      /* Reviews Section */
        /**********************************************/    

    .renters-container{
        display: grid;
        grid-template-columns:1fr;
        grid-template-rows: 1fr 2fr 2fr 2fr;
        margin-top: -60rem; 
        gap: 3rem;
        width: 80%;
        height: 80%;
    }
 
    .heading-secondary-reviews { 
        font-size: clamp(4rem, 8vw, 6.375rem);
        font-weight: 700;
        background-image: linear-gradient(
            to top,
            rgb(16, 139, 2) 50%,
            rgb(5, 204, 194) 100%
            /* rgb(196, 115, 38) 100% */
            );
        
        text-shadow: 2px 5px 15px rgba(0, 0, 0, 0.08);
        -webkit-background-clip: text;
        color: transparent;
        transition: all 0.2s;
        padding-bottom: 2.5rem;  
    }


    .renters-container-content{
        box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.4); 
        background-color: rgba(255, 255, 255, 0.2);
        padding: 2rem 3rem 0.25rem 5rem;
        font-size: 1.6rem;
        transform: skewX(-12deg);
    }

    .renters-img-shape{
        height: 8rem;
        width: 8rem; 
        margin-top: 2rem; 
        float: left;
         -webkit-shape-outside: circle(50% at 50% 50%);
        shape-outside: circle(45% at 40% 50%);
        -webkit-clip-path: circle(50% at 50% 50%);
        clip-path: circle(50% at 50% 50%);
        transform: translateX(-3rem) skewX(12deg);
    }

    .renters-img-shape > img {
        margin-top: -1.6rem; 
    }

    .story-text{
        transform: skewX(12deg);
        padding-bottom: 1rem;
    }

    .heading-tertiary{
        font-family: Dosis, sans-serif;
        color: #777;
        letter-spacing: 1px;
        font-size: clamp(1.44rem, 0.409rem + 2.8vw, 2.2rem);
        font-weight: 700;3
        text-transform: uppercase;
        margin-bottom: 1rem;
    }

    .renters-paragraph-style{
        font-family: 'Dosis', Helvetica, sans-serif;
        font-size: clamp(1.4rem, 1.13vw + 0.858rem, 1.8rem);
        margin-bottom: 2rem;   
        letter-spacing: clamp(1.1px, 1.2vw, 1.5px);
        line-height: clamp(1.65rem, 2.119vw + 0.633rem, 2.4rem);
        height: clamp(5rem, 5.65vw + 2.288rem, 7rem);
        color: #333;
        overflow: auto;
    }

    .testimonial-name{
        font-family: Arial, Helvetica, sans-serif;
        color: #777;
        float: right;
        padding-right: clamp(2rem, 4vw, 6rem);
        margin-bottom: 2rem;
        font-size: clamp(1.25rem, 0.704rem + 2.486vw, 1.8rem);
        }
 
        /**********************************************/
                /* Navbar */
        /**********************************************/    

    .navbar{
        width: 200px;
        height: 100%;
        background-color: #262626;
        position: fixed;
        top: 0;
        right: -200px;
        display: flex;
        justify-content: right;
        align-items: center;
        border-radius: 570% 0 0 10%;
        transition: right .8s cubic-bezier(1, 0, 0, 1);
        z-index: 99; 
        /* display: none;    */
    }

    .change{
        right: 0;   
        transform: translateX(0px);    
    }

    .hamburger-menu{
        width: 35px;
        height: 30px;
        position: fixed;
        bottom: 4rem;
        right: 4rem;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .line{
        width: 100%;
        height: 3px;
        background-color: #13795b;
        transition: all 0.8s;
    }

    .change .line-1{
        transform: rotateZ(-405deg) translate(-8px, 6px);
        
    }

    .change .line-2{
        opacity: 0;
    }

    .change .line-3{
        transform: rotateZ(405deg) translate(-8px, -6px);

    }

    .nav-list{
        text-align: right;
        padding-top: 100rem;
        padding-bottom: 100rem;
    }

    .nav-item{
        list-style: none;
        margin: 25px;
    }

    .nav-link{
        text-decoration: none;
        font-size: 1.8rem;
        color: #e8ddcb;
        letter-spacing: 1px;
        /* position: relative; */
    }

  
    /**********************************************/
                /* POPUP */
    /**********************************************/     

   .popup{
        height: 100vh;
        min-height: 100dvh;
        width: 100vw;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
        overflow: hidden;
        z-index: 9999;
        display: none;
   }

   .popup-content{
        position: relative;
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        background-image: url(/img/BookingBackground.webp);
        background-size: cover;
        Set background-repeat: no-repeat;
        background-position: right;
        border-radius: 6px;
        overflow: hidden;
   }

/**********************************************/
              /* POPUP LEFT */
/**********************************************/

    .popup-content-left {
        position: absolute;
        top: 0;
        left: 0;
        width: 55%;
        height: 100%;
        background-image: linear-gradient(100deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.8) 95%,rgba(255, 255, 255, 0.2) 100%,
            transparent 70%);      
        clip-path: polygon(0% 0%, 100% 0%, 82% 100%, 0% 100%);
    }

    .book-form {
        width: 82%;
        height: 80%;
        padding: 0% 0% 0% 12%; 
        margin-top: 10rem; 
    }

    #form {
        display: grid;
        height: 100%;
        grid-template-rows: 15% 12% 12% 4% 40% 6%;
        gap: 2%;
        align-items: center;
        /* align-items: start; */
        /* align-items: end; */
        /* justify-items: center; */
        /* justify-items: stretch; */
        /* justify-items: start; */
        /* justify-items: end; */
        /* justify-content: stretch; */
        /* justify-content: center; */
        /* justify-content: space-between; */
        /* align-content: center; */
        /* align-content: space-between; */
        /* align-content: start; */
        /* align-content: end; */
    }

    .book-form, .heading-secondary {
        font-size: clamp(2.4rem, -0.041rem + 4.6vw, 4.2rem);
        font-weight: 700;
        background-image: linear-gradient(
            to top,
            rgb(16, 139, 2) 50%,
            rgb(5, 204, 194) 100%
            /* rgb(196, 115, 38) 100% */
            );  
        -webkit-background-clip: text;
        color: transparent;
        transition: all 0.2s;
        padding-bottom: 1rem;  
    }

    .form-group {
        font-family: Arial, Helvetica, sans-serif; 
    }

    .form-group:not(:last-child) {
        /* margin-bottom: 2rem; */
    }

    .form-input {
        font-size: 16px;
        color: #555;
        padding: 1.6rem 1rem;
        border-radius: 2px;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        border-bottom: 3px solid transparent;
        width: 100%;
        display: block;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.3s;
    }

    input:-webkit-autofill {
       
        -webkit-text-fill-color: #777 !important; /* Set text color */
    }

    .form-label {
        font-family: Arial, Helvetica, sans-serif;
        font-size: clamp(1.1rem, 0.847vw + 0.693rem, 1.4rem);
        font-weight: 600;
        margin-left: 1rem;
        margin-top: 0.7rem;
        display: block;
        transition: 0.3s;
        color: #777;
    }

    .form-group-radio{ 
        display: flex;
        gap: 15%;
        width:100%;      
        margin:  auto;
        align-content: center;
    }

    .form-radio-group {
        width: 49%;
        display: flex;
        align-content: center;
    }

    .form-radio-input {
        display: none;
    }

    .form-input:placeholder-shown + .form-label {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4rem);
    }

    .form-radio-button {
        height: clamp(2rem, 2.5vw, 3rem);
        width: clamp(2rem, 2.5vw, 3rem);
        border: 5px solid #13795b;
        border-radius: 50%;
        display: inline-block;
        position: absolute;
        left: 0;
        top: -.33rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

     .form-radio-label {  
        color: #777;
        font-size: clamp(1rem, -1.1rem + 4vw, 1.6rem);
        cursor: pointer;
        position: relative;
        padding-left: clamp(2.5rem, 2.8vw, 4rem);
    }

    .form-input:focus {
        outline: none;
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
        border-bottom: 3px solid #13795b;
    }

    .form-input:focus:invalid {
        border-bottom: 3px solid #e65c2e;
    }

    .form-radio-button::after {
        content: "";
        display: block;
        height: 1.3rem;
        width: 1.3rem;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #13795b;
        opacity: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        transition: opacity 0.2s;
    }

    .form-radio-input:checked ~ .form-radio-label .form-radio-button::after {
        opacity: 1;
    }

    .ui-datepicker { 
        font-size: clamp(1rem, 2vw, 1.8rem);

    }  

    .form-input-calendar {
        display: none;
    }

    .dates{
        width: 100%;
        padding-top: 1rem;
        font-size: 1.2rem;
        color: #777;
        display: grid;
        /* grid-template-columns: 1fr 1fr; */
        grid-template-rows: 1fr 1fr;
    }

    .dateHeaders{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-left: 1rem;
    }

    .dateValues{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-left: 1rem;
    }

    .form-group-nextStep-tablet {
        display: block;
    }

    .form-group-nextStep-mobile {
        display: none;
    }

    .form-group>.btn-submit {        
        font-size: clamp(2rem, 1.5vw + 1.2rem, 2.4rem);
        padding: 1rem 2rem;      
    }


    /**********************************************/
              /* POPUP RIGHT */
    /**********************************************/

    .popup-content-right {
        position: absolute;
        top: 0;
        right: 0;
        justify-items: right;
        width: 55%;
        height: 100%;      
    }

    .popup-content-right-inset {
        /* display: grid; */
        height: 100%;
        justify-items: center;
        align-content: center;
        background-image: linear-gradient(
            -75deg,
            rgba(19, 121, 91, 0.9) 0%,
            rgba(19, 121, 91, 0.9) 100%,
            transparent 100%
        );
        clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
        z-index: 1;
        /* display: hide; */
    }

    .popup-content-right-inset-content {
        font-family: Arial, Helvetica, sans-serif;
        font-size: clamp(1.2rem, .53rem + 1.47vw, 2rem);
        color: #e8ddcb;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 14fr 2fr;
        /* gap: clamp(.5%, 1%, 2%); */
        justify-content: center;  
        width: 70%;  
        height: 56%;
        margin-left: 6rem;
        margin-top: 5rem;      
    }

    .popup-content-right-inset-cost,
    .popup-content-right-inset-administrative,
    .popup-content-right-inset-cleaning,
    .popup-content-right-inset-damage,
    .popup-content-right-inset-services,
    .popup-content-right-inset-tax,
    .popup-content-right-inset-totalcost {
        display: flex;
        height: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .cost-label,
    .administrative-label,
    .cleaning-label, 
    .damage-label, 
    .guest-label,
    .tax-label,
    .totalcost-label {
        width: 71%;
        text-align: right;
    }

    .totalcost-label {
        padding-top: .5rem ;
    }

    #cost,
    #administrative,
    #cleaning,
    #damage,
    #services,
    #tax {
        width: 28%;
        text-align: right; 
    }

    #totalcost {
        width: 25%;
        text-align: right;
        border-top: #e8ddcb solid 2px;
        padding-top: 1rem;
    }

    .disclosure {
        align-content: center;
        padding: 1rem 0rem 1rem 3rem;
        line-height: clamp(1.6rem, 1.9vw, 2.8rem);
        line-height: 2.5rem;        
    }

    .reviewbtn-tablet {
        display: block;
        align-self: end;
        justify-self: end;
    }

    .btn-review-white-tablet {
        font-size: clamp(2rem, 1.5vw + 1.2rem, 2.4rem);
        font-weight: 700;
        background-color: white;
        color: #13795b;
        padding: 1rem 2rem;
        border-radius: 1rem;
        border: none;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
        
    }

    .btn-review-white-tablet:hover {
        font-weight: bolder;
        text-decoration: none;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
    }

/**********************************************/
              /* MAHALO */
/**********************************************/

    .popup-content-left, .mahalo {
        position: absolute;
        top: 0;
        left: 0;
        width: 55%;
        height: 100%;
        background-image: linear-gradient(100deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.8) 95%,rgba(255, 255, 255, 0.2) 100%,
            transparent 70%);
        /* background-color: #e65c2e; */
        clip-path: polygon(0% 0%, 100% 0%, 82% 100%, 0% 100%); 
    }

    .mahalo {
        display: none;
    }

    .mahalo-content {
        display: grid;
        grid-template-rows: 1.25fr 3.75fr 1fr;
        gap: 1%;
        height: 80%;
        width: 80%;
        justify-content: center;
        align-items: center;
        padding: 30% 5% 0% 12%;  
    }

    .heading-mahalo {
        font-size: clamp(4.8rem, 1rem + 7.04vw, 6.8rem);
        align-self: self-end;
    }

    .mahalo-text {
        font-family: Arial, Helvetica, sans-serif;
        font-size: clamp(1.4rem, 2vw + .4rem, 2rem);
        color:#555;
        line-height: 1.4;
    }
    
    .btn-mahalo {
        font-family: Arial, Helvetica, sans-serif;
        color: white;
        background-color: #13795b;
        font-size: clamp(1.4rem, 2.3vw, 2.4rem);
        font-weight: 700;
        padding: 1rem 2rem;
        border-radius: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8);
        align-self: self-start;
        justify-self: end;
        border: none;
    }
    

  
/**************************/
/* TRANSPORTATION */
/**************************/

#description-transportation{
    margin: 1rem 8rem 0rem 8rem;
}

.transportation-container{
    /* position: relative; */
    height: 100%;
    width: 90%;
    margin-top: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr ; 
  }

.transportation-grid{
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 2rem;
    gap: .5rem;
}

.airlines,
.cars{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    justify-content: center;
    align-content: center;
    width: 85%;   
}

.airlines > a,
.cars > a {    
    width: 100%;
    height: 80%;
}

.transportation-container-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.4);
    justify-items: center;
}

.transportation-icon {
    max-width: 6rem;
    
}

.transportation-text{
    padding-right: 3rem; 
    height: 80%;
    align-self: center;
}

.icons{
    display: none;
    /* display: grid;
    grid-template-columns: 1fr;
    justify-items: center; */
}

.send-icon,
.car-icon
{
    /* max-width: 25%;
    justify-content: 0 auto; */
}

.rating{

}


/**********************************************/
              /* Slick-Carousel */
/**********************************************/



}






 
 
