html{
    /* make 1rem = 10px
    10/16 = 0.625 --> 0.625*100 = 62.5% */
    font-size: 62.5%;
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    /* font-family: 'Josefin Sans', sans-serif; */
    font-family: 'Mate SC', serif;

}
/* end of common styles */


p{
    font-size: 3rem;
}

/* navbar */
/* sidebar */

.navbar{
    display: flex;
}

.sidebar{
    width: 8rem;
    height: 100%;
    background-color: rgb(233, 233, 233);
    position: fixed;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.menu-icon{
    /* width: 2rem;
    height: 2rem;
    background-color: rgb(29, 29, 29); */
    margin-top: 2rem;
    cursor: pointer;

}

.line{
    width: 2.5rem;
    height: 0.2rem;
    background-color: rgb(27, 27, 27);
    margin-top: .5rem;
}

.line-1 , .line-3{
    width: 1.8rem;
    transition: all .4s ;
} 

.menu-icon:hover .line{
    width: 2.5rem;
    /* background-color: rgb(172, 190, 7); */
}


.social-icons-list{
    list-style: none;
    padding: 0;
    height: 25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.social-link{
    font-size: 2rem;
    color: #777;
    transition: color .3s;
}

.social-link:hover {
    color: rgb(221, 144, 159);
}


.year{
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #777;
}

/* end of sidebar */

/* navigation */
.navigation{
    /* margin-left: 8rem; */
    position: fixed;
    left: -32rem;
    width: 40rem;
    height: 100%;
    /* background-color: red; */
    background: linear-gradient(to top , rgba(0, 0, 0, 0.425) , rgba(0, 0, 0, 0.212)),  url(../img/cody-weiss-hEMYwIE6GEY-unsplash.jpg) no-repeat center ;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: left .8s cubic-bezier(1,0,0,1);

}

.navigation-heading{
    font-size: 3.5rem;
    font-family:'Josefin Sans' , sans-serif;
    color: rgb(250, 209, 98);
    font-weight: 300;
    letter-spacing: .3rem;
    text-align: center;
}

.navigation-search{
    position: relative;
}

.navigation-search-input{
    width: 25rem;
    padding: 1rem 2rem;
    /* margin: 1rem; */
    background-color: rgba(0, 0, 0,.3);
    font-family: 'Josefin Sans' sans-serif;
    font-size: 1.6rem;
    color: rgb(250, 209, 98);
    letter-spacing: .1rem;
    outline: none;
    border: .1rem solid #555;
    border-radius: 10rem;
    transition: background-color .3s;
}   


.navigation-search-input:focus{
    background-color: rgba(0,0,0,.1);
}

.navigation-search-btn{
    border: none;
    background-color: transparent;
    color: rgb(250, 209, 98);
    font-size: 1.7rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
}

.navigation-search-btn:focus{
    outline: none;
}

.navigation-list{
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    height: 28rem;
    justify-content: space-between;
    align-items: center;
}

.navigation-list{
    position: relative;
}

.navigation-link{
    color: rgb(255, 255, 255);
    font-weight: 300;
    font-size: 1.6rem;
    letter-spacing: .2rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .5s;
}

.navigation-items{
    position: relative;
}

.navigation-link::before{
    content: "";
    width: 0rem;
    height: .1rem;
    background-color: rgb(250, 209, 98);
    position: absolute;
    top: 1rem;
    left: -4rem;
    transition: width .5s cubic-bezier(1,0,0,1);
}

.navigation-link::after{
    content: "";
    width: 0rem;
    height: .1rem;
    background-color: rgb(250, 209, 98);
    position: absolute;
    top: 1rem;
    right: -4rem;
    transition: width .5s cubic-bezier(1,0,0,1);

}

.navigation-link:hover{
    color: rgb(250, 209, 98);
}

.navigation-link:hover::before ,
.navigation-link:hover:after{
    width: 3rem;
}

.copyright p{
    color: rgb(255, 255, 255);
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
}

.checkbox:checked~ .navigation {
    left: 8rem;
}


.checkbox:checked~ .sidebar .line-1{
    transform: rotate(-405deg) translate(-5px , 6px);
    width: 2.5;
}

.checkbox:checked~ .sidebar .line-2{
    opacity: 0;
}

.checkbox:checked~ .sidebar .line-3{
    transform: rotate(405deg) translate(-5px , -6px);
}
/* end of navigation */
/* end of navbar */


/* header */
.header{
    margin-left: 8rem;
    height: 100vh;
    background: linear-gradient(to top , rgba(0, 0, 0, 0.5) , rgba(0, 0, 0, 0.3)) , url(../img/artur-aldyrkhanov-QksucEmALuQ-unsplash.jpg) no-repeat center;
    background-size: cover;
    /* bottom: 13rem; */
}

.brand{
    display: flex;
    cursor: pointer;
}

.hotel-heading{
    font-family: 'Josefin Sans' , sans-serif;
    font-size: 2.7rem;
    font-weight: 400;
    color: rgb(250, 209, 98);
    letter-spacing: .2rem;
}

.banner{
    color: #ddd;
    height: 65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-heading{
    font-family: 'Josefin Sans' , sans-serif;
    font-size: 7rem;
    font-weight: 400;
    margin-bottom: 0;
    animation: anim 2s ;

}

.banner-paragraph{
    font-size: 3.5rem;
    font-weight: 300;
    animation: anim 1.5s .5s backwards;
}

.banner-button{
    width: 21rem;
    padding: 1.2rem 2rem;
    font-size: 2rem;
    color: #333;
    letter-spacing: .1rem;
    border: none;
    border-radius: 10rem;
    outline: none;
    background: linear-gradient(to right , gold , goldenrod);
    cursor: pointer;
    animation: anim 1s 1s backwards;

}


.banner-button:hover{
    background: linear-gradient(to left , gold , goldenrod);
}

.banner-button:active{
    transform: translateY(.2rem);
}

@keyframes anim {
    0%{
        opacity: 0;
    }
    
    100%{
        opacity: 1;
    }
}

/* about us */
.about-us{
    margin-left: 8rem;
    padding-bottom: 10rem;
    display: flex;
    background-color: #ddd;
}

.about-us-content{
    flex: 0 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10rem;
    box-sizing: border-box;
}

.small-underline{
    width: 10rem;
    height: .1rem ;
    margin: 0 auto 1rem auto;
    background-color: rgb(250, 209, 98);
}

.big-underline{
    width: 20rem;
    height: .1rem;
    background-color: goldenrod;
}

.sub-heading{
    /* font-family: 'Josefin San' , sans-serif; */
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: .2rem;
    color: goldenrod;
    text-transform: uppercase;
}

.about-us-paragraph{
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 300;
    text-align: center;
    margin-bottom: 5rem;
}


.about-us-heading{
    font-family: 'Josefin Sans' , sans-serif;
    font-size: 4rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #555;

}

.about-us-btn{
    width: 15rem;
    padding: .7rem .5rem;
    font-family: 'Montserrat' , sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: goldenrod;
    background-color: transparent;
    border: .1rem solid goldenrod;
    outline: none;
    cursor: pointer;
}

.btn-arrow{
    margin-left: .5rem;
    transition: margin-left;
}
.about-us-image{
    flex: 1 1;
    position: relative;
    right: 8rem;
}

.image{
    width: 32rem;
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.6);
    border-radius: .4rem;
    border: .2rem solid goldenrod;


}

/* .image-0{
    transform: translate(-50% , -150%);
} */


.image-1{
    transform: translate(10% , -60%);
}


.image-2{
    transform: translate(-50% , -40%);
}

.image-3{
    transform: translate(-15% , -10%);
}

.image-4{
    transform: translate(30% , -30%);
}
/* end of about us */

/* common header */
.common-header{
    padding: 5rem;
    text-align: center;
    color:goldenrod;
}

.common-heading {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: .2rem;
}

.small-underline {
    width: 9rem;
    height: .1rem;
    margin: 0 auto 1rem auto;
    background-color: gold;
}

.big-underline {
    width: 20rem;
    height: .1rem;
    margin: auto;
    background-color: rgb(218, 144, 32);
}
/* end of common header */

/* rooms */
.rooms {
    margin-left: 8rem;
}

.rooms-card-wrapper {
    display: flex;
    /* flex-direction: row; */
    flex-wrap: wrap;
    justify-content: center;
}

.rooms-card {
    width: 60rem;
    /* height: 50rem; */
    margin: 5rem;
    background-color: rgb(34, 32, 41);
    box-shadow: 0 3rem 6rem rgba(0, 0, 0, .3);
}

.room-img {
    width: 100%;
}

.room-card-content {
    color: rgb(221, 221, 221);
    padding: 2rem;
}

.room-card-heading {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
}

.room-card-paragraph {
    font-size: 1.5rem;
    color: rgb(116, 114, 114);
}

.room-price {
    
    font-size: 5rem;
    font-weight: 300;
    text-align: right;
    margin: 0;
    /* align-items: baseline; */
}

.room-card-btn {
    width: 15rem;
    padding: 1.5rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: rgb(197, 99, 29);
    background-color: transparent;
    border: .1rem solid rgb(197, 99, 29);
    border-radius: 10rem;
    outline: none;
    cursor: pointer;
    
}

.rooms-btn-wrapper {
    text-align: center;
}

.rooms-btn {
    width: 20rem;
    padding: 1.5rem 1rem;
    margin: 4rem 0;
    background-color: transparent;
    text-transform: uppercase;
    color: rgb(168,80,17);
    border: .2rem solid rgb(168, 80, 17);
    outline: none;
    cursor: pointer;
    box-shadow: 0 1.5rem 6rem rgba(0, 0, 0, .2);
    transition: all .2s;
}

.rooms-btn:hover {
    color: #ddd;
    background-color: rgb(236, 115, 29);
}
/* end of rooms */

/* customers */
.customers {
    margin-left: 8rem;
    padding-bottom: 7rem;
    background-color: rgb(21, 20, 27);
} 

.customers-paragraph {
    font-size: 1.8rem;
    color: rgb(218, 212, 212);
    width: 50%;
    margin: 2rem auto 8rem auto;
    text-align: center;
}

.customers-card-wrapper {
    display: flex;
    justify-content: space-evenly;
}

.customer-card {
    background-color: rgb(255, 255, 255);
    width: 60rem;
    display: flex;
}

.customer-image-wrapper {
    margin: auto 0;
}

.customer-image {
    width: 20rem;
    margin: 3rem 2rem 3rem -2rem;
    /* margin-bottom: 3rem; */
}

.customer-info {
    padding: 0 2rem;
}

.customer-fullname {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 0;
}

.customer-paragraph-1 {
    font-size: 1.5rem;
    font-style: italic;
    color: goldenrod;
}

.customer-paragraph-2 {
    font-size: 2rem;
    font-style: italic;
}
/* end of customers */


/* footer */
.footer {
    margin-left: 8rem;
}

.main-part {
    display: flex;
    justify-content: space-between;
    background-color: rgb(24, 21, 21);
    padding: 4rem;
}

.footer-heading {
    font-size: 2.5rem;
    font-weight: 300;
    color: goldenrod;
    margin: 1rem 0 3rem 0;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list-item {
    margin-bottom: 2rem;
}

.footer-list-link {
    font-size: 1.4rem;
    text-decoration: none;
    color: rgb(187, 182, 182);
}

.contact p {
    font-size: 1.5rem;
    color: rgb(187, 182, 182);
    margin-bottom: 4rem;
}

.footer-form {
    display: flex;
}

.footer-input {
    width: 25rem;
    padding: 1rem;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    color: rgb(92, 90, 90);
    outline: none;
}

.footer-btn {
    padding: 1rem;
    background-color: rgb(236, 150, 19);
    color: rgb(187, 182, 182);
    border: none;
}

.gallery {
    max-width: 45rem;
}

.image-wrapper {
    width: 12rem;
    margin: .4rem;
    overflow: hidden;
}

.footer-image {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: all .5s;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
}

.footer-image:hover {
    transform: scale(1.3);
    opacity: .8;
}

.creator-part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(17, 17, 17);
    padding: 0 4rem;
}

.copyright-text p{
    font-size: 2rem;
    color: rgb(187, 182, 182);
}

.text-right {
    font-size: 1.4rem;
    color: rgb(187, 182, 182);
}

.text-right i {
    font-size: 2rem;
    margin: .5rem;
    color: tomato;
} 

.text-right span {
    color: gold;
}
/* end of footer */


/* MAKE PROJECT RESPONSIVE */
@media(max-width: 1400px) {

    /* .banner-heading{
        color: red;
    } */

    .hotel-heading{
        margin-bottom: 10rem;
    }

    .about-us{
        padding-bottom: 0rem;
    }
    .about-us-image{
        right: 6rem;
        bottom: 3.5rem;
    }

    .image{
        width: 25rem;
        
    }

    .customers-card-wrapper {
        flex-direction: column;
        /* flex-direction: row; */
        align-items: center;
        
    }

    .customer-card:first-child {
        margin-bottom: 3rem;
    }

    .main-part {
        flex-direction: column;
    }

    .footer-list {
        display: flex;
    }

    .footer-list-item {
        margin-right: 3rem;
    }
}

@media(max-width: 1200px){
    .about-us{
        flex-direction: row;
        /* padding-bottom: 20rem; */
    }

    .about-us-content{
        margin-bottom: 13rem;
    }

    .image{
        width: 25rem;
    }

    .about-us-image{
        right: 12rem;
    }
}

@media(max-width: 900px) {
    .banner {
        text-align: center;
    }

    .banner-heading {
        font-size: 4.5rem;
    }

    .banner-paragraph {
        font-size: 2.5rem;
    }

    .banner-button {
        width: 12rem;
        font-size: 1.5rem;
        color: rgba(255, 255, 255, 0.856);
        background: linear-gradient(to right , rgba(26, 26, 247, 0.6) , rgba(26, 26, 247, 0.3));
    }

    .banner-button:hover{
        background: linear-gradient(to right , rgba(26, 26, 247, 0.6) , rgba(26, 26, 247, 0.3));
    }

    .about-us-content{
        margin-bottom: -8rem;
    }

    .image{
        width: 15rem;
    }

    .about-us-image{
        right: 8rem;
    }

    .room-price {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        text-align: right;
    }
} 

 
@media(max-width: 750px) {

    .about-us{
        flex-direction: column;
    }
    .about-us-content{
        margin-bottom: 20rem;
    }
    .about-us-image{
        bottom: 17rem;
        left: -5rem;
    }

    .image{
        width: 12rem;
    }

    .about-us-heading {
        font-size: 2rem;
        text-align: center;
    }

    .about-us-sub-heading {
        font-size: 2rem;
        text-align: center;
    }

    .customer-card {
        flex-direction: column;
        width: 20rem;
    }

    .customer-image {
        margin-left: 0;
    }

    .customer-image:hover {
        width: 22rem;
    }

    .footer-list {
        display: block;
    }

    .creator-part {
        flex-direction: column;
        text-align: center;
    }

    .copyright-text {
        order: 1;
    }
}

 @media(max-width: 500px) {
    .navigation {
        width: 25rem;
    }

    .navigation-search-input {
        width: 18rem;
    }

    .hotel-heading {
        font-size: 2rem;
        margin: auto 0;
    }

    .banner {
        height: 100%;
        margin-top: -10rem;
    }

    .banner-heading {
        font-size: 3rem;
    }

    .banner-paragraph {
        font-size: 2rem;
    }

    .about-us {
        padding-bottom: 10rem;
    }

    .about-us-image{
        bottom: 10rem;
        right: 6rem;
    }


    /* .image{
        width: 13rem;
    } */

    .about-us-heading {
        font-size: 2.5rem;
        text-align: center;
    }

    .sub-heading {
        font-size: 2rem;
        text-align: center;
    }

    .about-us-content {
        padding: 5rem;
    }

    .about-us-btn{
        width: 10rem;
        font-size: .8rem;

    }

    .common-heading {
        font-size: 2rem;
    }

    .small-underline {
        width: 5rem;
    }

    .big-underline {
        width: 12rem;
    }

    .room-card-heading {
        font-size: 1.5rem;
    }

    .room-price {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .room-card-btn {
        width: 12rem;
        padding: 1rem .5rem;
        font-size: 1rem;
    }

    .customers-paragraph {
        font-size: 1.4rem;
        width: 80%;
    }

    .main-part {
        padding: 2rem;
    }

    .footer-input {
        width: 12rem;
    }

    .image-wrapper {
        width: 9rem;
    }

    .sidebar{
        height: 100%;
    }
} 

