@font-face {
    font-family: Rubik;
    src: url(../fonts/Rubik-Light.ttf);
}
body {
    margin: 0;
    font-family: Rubik;
}
a {
    text-decoration: none;
    /* color: inherit; */
}
a:visited {
    /* color: inherit; */
}
p {
    margin: 0;
}
h2, h1, h2, h3, p, ul, li {
    margin: 0;
    /* color: initial; */
}
h1 {
    font-weight: inherit;
    /* font-size: initial; */
}
ul, li {
    padding: 0;
}
li {
    list-style-type: none;
}


/* ---- universal styles ---- */
.button-main-style {
    width: 200px;
    border: none;
    background-color: #000000;
    color: #FFC31D;
    padding-top: 10px;
    padding-bottom: 10px;
}
.heading-large-regular {
    font-size: 3em;
}


/* ---- header ----- */
header {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10%;
    padding-right: 10%;
    background-color: black;
}
header nav {
    display: flex;
    align-items: center;
}
.header-link {
    margin-right: 25px;
    color: white;
}
#logo {
    margin-right: auto;
    font-size: 1em;
    color: orange;
}
#sign-in-link {
    margin-left: 70px;
}
#open-menu-button {
    width: 50px;
}
#close-menu-button {
    display: none;
    color: white;
    width: 100px;
    background-color: lightgray;
}
.menu-button {
    background: none;
    border: none;
    display: none;
}
/* drop down menu */
.drop-down-menu-opened {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.drop-down-menu-opened .header-link {
    display: block;
    grid-column-start: 1;
    grid-column-end: 3;
}
.drop-down-menu-opened #open-menu-button {
    /* justify-self: end; */
    /* display: none; */
}
.drop-down-menu-opened .header-link {
    justify-self: center;
    margin-left: 0 !important;
    margin: 25px;
}
.drop-down-menu-opened #close-menu-button, 
.drop-down-menu-opened #open-menu-button {
    /* display: block; */
    justify-self: end;
}



/* ----- main ----- */
.main-heading {
    font-size: 2em;
    text-align: center;
    margin-top: 70px;
    margin-bottom: 10px;
    color: orange;
}
.main-paragraph {
    text-align: center;
    width: 70%;
    margin: auto;
    margin-bottom: 20px;
}
.hero-img-container {
    position: relative;
}
.hero-img {
    width: 100%;
}
.hero-img-paragraph {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    font-size: 3em;
    font-weight: bold;
    color: white;
}
.lodging-thumbnail-container {
    display: flex;
    justify-content: space-evenly;
    width: 80%;
    margin: auto;
}
.lodging-thumbnail {
    position: relative;
}
.lodging-thumbnail-img {
    width: 100%;
}
.lodging-thumbnail-text {
    position: absolute;
    top: 50%;
    width: 100%;
    color: white;
    background-color: black;
    text-align: center;
    font-size: 1.3em;
    padding-top: 3px;
    padding-bottom: 3px;
}

.img-heading-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-rows: 1fr 1fr; */
    grid-gap: 50px;
    align-items: center;
    justify-items: center;
    width: 80%;
    margin: auto;
}
.img-heading-grid-container img {
    width: 100%;
}
.align-left {
    justify-self: start;
}
.align-right {
    justify-self: end;
}
.img-heading-grid-container h2 {
    color: orange;
}
.align-text-right {
    text-align: right;
}
.align-text-left {
    text-align: left;
}
/* -- lodging results page -- */
#lp_search-filters-heading {
    margin-top: 50px;
}
.lp_grid-container {
    display: grid;
    grid-template-columns: 1fr 5fr;
}
.lp_form {
    display: flex;
    flex-direction: column;
    padding-left: 40px;
    padding-right: 40px;
    background-color: #F5F5F5;
}
.lp_form-item-heading {
    display: block;
    margin-top: 40px;
    font-weight: normal;
    font-size: 1.2em;
    text-align: center;
}
#amenitites-container {
    display: flex;
    flex-direction: column;
}
/* - lodging search results - */
.lp_lodging-results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-gap: 100px; */
    /* padding: 10%; */
    justify-items: center;
}
.lp_lodging-results-item {
    display: flex;
    /* width: 80%; */
    margin: 100px;
    align-items: center;
}
.lp_lodging-results-item-text-container {
    width: 160px;
}
.lp_lodging-results-item-text-container {
    align-self: start;
}
.lp_lodging-results-item-text-container li {
    margin: 15px;
}




@media(max-width: 1730px) {
    .lp_lodging-results-item {
        margin: 50px;
    }
    .lp_lodging-results-item img {
        width: 250px;
        /* height: auto; */
    }
    .lp_lodging-results-item-text-container li {
        margin: 0;
        margin-bottom: 5px;
    }
}


@media(max-width: 1400px) {
   .lp_lodging-results-container  {
       justify-items: start;

   }
   .lp_lodging-results-item {
        margin: 15px;
    }
    
}


@media(max-width: 1280px) {
   .header-link {
       display: none;
   }
   .menu-button {
       display: block;
   }

   /* -- main -- */
   /* .img-heading-grid-container {
       grid-template-columns: 1fr;
       width: 100%;
   }
   .img-heading-grid-container img {
       display: none;
   }
   .align-left, .align-right {
       justify-self: initial;
   }
   .align-text-left, .align-text-right {
       text-align: initial;
   } */
}

@media(max-width: 1160px) {
    /* - lodging search results - */
    .lp_lodging-results-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .lp_lodging-results-item img {
        width: 300px;
    }
}


@media(max-width: 1040px) {
   
}


@media(max-width: 850px) {
    /* main */
    .hero-img-paragraph {
        font-size: 2em;
    }

    .img-heading-grid-container {
        grid-template-columns: 1fr;
        width: 100%;
    }
    .img-heading-grid-container img {
        display: none;
    }
    .align-left, .align-right {
        justify-self: initial;
    }
    .align-text-left, .align-text-right {
        text-align: initial;
    }
}

@media(max-width: 760px) {
    /* ---- lodging results page ---- */
    .lp_grid-container {
        grid-template-columns: 1fr;
    }
    .lp_lodging-results-item img {
        width: 80%;
    }
    .lp_lodging-results-item {
        flex-direction: column;
        align-items: center;
    }
    .lp_lodging-results-item-text-container {
        align-self: initial;
    }
}

@media(max-width: 730px) {
    #logo {
        font-size: 1.2em;
    }

    /* main */
    .hero-img-paragraph {
        font-size: 1.2em;
    }
    .lodging-thumbnail-container {
        flex-direction: column;
        align-items: center;
    }
    .lodging-thumbnail {
        width: 65%;
    }
}


@media(max-width: 530px) {
    .hero-img {
        display: none;
    }
    .hero-img-paragraph {
        position: initial;
        color: orange;
        margin-top: 70px;
    }
}



