/*html*/
*{
    padding: 0px;
    margin: 0px;
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    box-sizing: border-box;
}

:root{
    --width: 1300px;
}

/*
@media (max-width: 1100xpx) {
        :root{
            --width: 800px;
        }
}

@media (max-width: 840px) {
        :root{
            --width: 600px;
        }
}

@media (max-width: 640px) {
        :root{
            --width: 360px;
        }
}*/

/*body*/
body{
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-direction: column;
    overflow-x: hidden;
}

/*loader*/
.loader{
    background-color: #99CE88;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s ease-out;
}

.loader .fadeout{
    opacity: 0;
    pointer-events: none;
}

.loader_image{
    min-width: 120vw;
    height: auto;
    object-fit: cover;
}

.image_grid{
    position: absolute;
    top: -100px;
    left: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/*Intro section*/
.intro{
    width: 100vw;
    background-color: #FFD459;
    display: flex;
    align-items: center;
    flex-direction: column;
    position:relative;
}

#yuck_bg{
    background-color: #D17181;
    color: #fff;
    padding-bottom: 0px;
}

.intro_background{
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    overflow: hidden;
}

.fan{
    height: 300vh;
    animation: rotatefan 60s linear infinite;
}


@keyframes rotatefan {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.intro_content{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    position: relative;
    z-index: 2;
    margin-top: -100vh;
    padding-bottom: 100px;
    overflow-x: hidden;
}

.intro_header_content{
    width: 100%;
}

.intro_header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 70px;
    padding-left: 24px;
    padding-right: 24px;
    width: 1348px;
    max-width: 100%;
}

@media (max-width: 1100px) {
        .intro_header{
            flex-wrap: wrap;
            justify-content: end;
            gap: 40px;
            padding-left: 24px;
            padding-right: 24px;
        }
}

.intro_header h1{
    font-size: 128px;
    width: 567px;
    max-width: 100%;
    line-height: 100%;
}

@media (max-width: 1100px) {
        .intro_header h1{
            width: 100%;
        }
}

@media (max-width: 640px) {
        .intro_header h1{
            font-size: 72px;
        }
}

.intro_header h1 span{
    font-style: italic;
    font-weight: 700;
}

.intro_header h2{
    font-size: 96px;
    line-height: 100%;
    font-style: normal;
    font-weight: 600;
}

@media (max-width: 640px) {
        .intro_header h2{
            font-size: 64px;
        }
}

.intro_header_sub{
    width: 400px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

@media (max-width: 1100px) {
        .intro_header_sub{
            width: 80%;
        }
}

.intro_header_sub_content{
    font-size: 30px;
    text-align: right;
    font-style: italic;
    font-weight: 400;
    line-height: 120%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 640px) {
        .intro_header_sub_content{
            font-size: 20px;
        }
}

.intro_header_sub_content p:last-child {
  font-style: normal;
}

@media (max-width: 640px) {
        .intro_header_sub{
            gap: 24px;
            width: 100%;
        }
}

.intro_image_container{
    display: flex;
    flex-direction: column;
    width: 727px;
    max-width: 100%;
    margin-top: -75px;
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 1100px) {
        .intro_image_container{
            margin-top: 60px;
        }
}

.intro_image{
    max-width: 727.46px;
    max-height: 600px;
    display: block;
    width: auto;
    height: auto;
}

@media (max-width: 1100px) {
        .intro_image{
            max-width: 100%;
            width: 400px;
        }
}

.beans_button{
    padding: 16px 32px;
    border: 3px solid #61351A;
    box-shadow: 5px 5px 0 0 #61351A;
    color: #61351A;
    border-radius: 20px;
    font-size: 40px;
    letter-spacing: 5px;
    cursor: pointer;
}
@media (max-width: 640px) {
        .beans_button{
            font-size: 32px;
        }
}

.intro_image_button_container{
    position: relative;
    z-index: 0;
    margin-top: -5px;
}

.beans_left{
    position: absolute;
    left: -140px;
    bottom: -45px;
    z-index: -1;
}

.beans_right{
    position: absolute;
    right: -120px;
    bottom: 0px;
    z-index: -1;
}

@media (max-width: 1100px) {
        .beans_right, .beans_left{
            width: 300px;
        }
}

/* marquee */
.marquee{
    background-color: #F47D65;
    padding: 8px 0px;
    position: relative;
    z-index: 2;
    max-width: 100%;
    overflow: hidden;
}

#yuck_marquee{
    background-color: #EDBB4C;
    color: #000;
}

.marquee_content{
    font-size: 50px;
    letter-spacing: 20px;
    color: #fff;
    animation: scroll 50s infinite linear;
}

@keyframes scroll {
    0%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(calc(-100% - 20px));
    }
}


/* recommendations */
.recommendations{
    position: relative;
    z-index: 2;
    width: 100%;
    background-color: #3D64AF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 70px 24px;
    gap: 50px;
}

/* filters */
.filter_wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width:var(--width);
    max-width: 100%;
}

/*tab container*/ 
.tabs{
    display: flex;
    flex-direction: row;
    border-radius: 4px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #000;
    background-color: #FBF4E1;
    padding: 8px;
}

.tab_button{
    border: none;
    cursor: pointer;
    padding: 12px 24px;
    height: fit-content;
    border-radius: 12px;
    color: 69737B;
    font-size: 20px;
    line-height: 100%;
    border: 2px solid #FBF4E1;
}

.tab_button.active{
    box-sizing: border-box;
    background-color: #FED56B;
    border: 2px solid #000;
}

/* filters */ 
.filters{
    display: flex;
    flex-direction: row;
    gap: 12px;
    display: none;
}

.filter{
    background-color: #FBF4E1;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 20px 24px;
    font-size: 20px;
    line-height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

/*tab content*/ 
.content_container{
    max-width: 100%;
    height: 100%;
    width: var(--width);
}

.tab_content{
    max-width: 100%;
    height: 100%;
}

.tab_content.active{
    display: block;
}

.content_wrapper{
    display: flex;
    justify-content: left;
    align-items: baseline;
    flex-direction: column;
}

.list{
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}
@media (max-width: 1100px) {
        .list{
            grid-template-columns: repeat(3,minmax(0,1fr));
        }
}
@media (max-width: 840px) {
        .list{
            grid-template-columns: repeat(2,minmax(0,1fr));
        }
}
@media (max-width: 640px) {
        .list{
            grid-template-columns: repeat(1,minmax(0,1fr));
        }
}

.list_item{
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 0 0 #2C3169;
    transition: box-shadow 0.2s ease-in;
    color: #303C44;
    cursor: pointer;
}

.list_item:hover{
    box-shadow: 5px 5px 0 0 #2C3169 ;
}

.restaurant_image{
    width: 100%;
    height: 217px;
    border-bottom: 2px solid #000;
    object-fit: cover;
}

.list_item h2{
    font-size: 24px;
    text-overflow: ellipsis;
    font-weight: 400;
    max-width: 100%;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}

.list_content{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating{
    display: flex;
    flex-direction: row;
    height: 20px;
    gap: 8px;
}

#map{
    background-color: #000;
}

/* yuck */ 

.yuck_wrapper{
    width: 100%;
    height: 100vh;
    position: relative;
}

.yuck_background{
    width: 100%;
    height: 100vh;
    position: absolute;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yuck_list{
    animation: rotateBackground 20s linear infinite;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes rotateBackground {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* about */ 
.about{
    background-color: #2C3169;
    display: flex;
    padding: 24px;
    width: 100%;
    justify-content: center;
    color: white;
    padding: 70px 24px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.about_content{
    width: 768px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 70px;
    position: relative;
    padding-bottom: 100px;
}

@media (max-width: 1100px) {
        .about_content{
            width: 100%;
            padding-bottom: 0px;
            gap: 24px;
        }
}

.about_content h2{
    font-size: 80px;
    line-height: 120%;
    font-weight: 600;
}

@media (max-width: 640px) {
        .about_content h2{
            font-size: 56px;
        }
}

.about_content h2 span{
    font-style: italic;
}

.about_content p{
    font-size: 24px;
    line-height: 150%;
}

.about_wrapper{
    width: var(--width);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.line{
    position: absolute;
    bottom: 0px;
    height: 100%;
}

@media (max-width: 1100px) {
        .line{
            display: none;
        }
        .about_wrapper{
            gap: 60px;
        }
}

.about_rating{
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    max-width: 100%;
    column-gap: 45px;
}

@media (max-width: 1100px) {
        .about_rating{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 24px;
        }
}

.card{
    background: #474D98;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
    border-radius: 20px;
    padding: 60px 24px;
}


@media (max-width: 1100px) {
        .card{
            min-width: 320px;
            width: 100%;
        }
}

@media (max-width: 840px) {
        .card{
            min-width: 360px;
            max-width: 100%;
            width: 100%;
        }
}

.card p{
    font-size: 24px;
    font-weight: 300;
    line-height: 150%;
}

.card h3{
    font-size: 24px;
    font-weight: 500;
    line-height: 150%;
}

.card_rating{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    gap: 16px;
}

.about_footer{
    display: flex;
    justify-content: center;
}

.about_footer p{
    font-size: 32px;
    font-weight: 500;
    line-height: 150%;
    text-align: center;
    width: 884px;
    max-width: 100%;
}

.about_footer p span{
    font-style: italic;
}

/* gz */
.gz{
    background-color: #FFD459;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 70px 24px;
    overflow: hidden;
}

.gz_wrapper{
    max-width: 100%;
    width: var(--width);
    display: flex;
    flex-direction:  column;
    gap: 60px;
}

.gz_intro{
    position: relative;
}

.gz_banner{
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.gz_banner_sub{
    font-size: 24px;
    line-height: 120%;
    text-align: right;
    width: 415px;
    max-width: 100%;
    font-style: italic;
    font-weight: 500;
}

.gz_banner_header{
    background-color: white;
    border: 2px solid #000;
    display: inline-block;
    border-radius: 20px;
    padding: 16px 40px;
}

.gz_banner_header h2{
    font-size: 80px;
    font-weight: 600;
    line-height: 100%;
}

@media (max-width: 640px) {
        .gz_banner_header h2{
            font-size: 56px;
        }
        .gz_banner_header{
            padding: 16px;
        }
}

.gz_banner_header h2 span{
    font-style: italic;
}

.gz_image{
    margin-top: -120px;
    z-index: 1;
    display: inline-block;
    width: 70%;
}

@media (max-width: 1100px) {
        .gz_image{
            margin-top: 40px;
            width: 100%;
        }
}

.gz_image img{
    width: 100%;
}

.gz_more{
    display: flex;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

@media (max-width: 840px) {
        .gz_more img{
            width: 50%;
        }
}


.gz_more p{
    font-size: 24px;
    line-height: 150%;
    max-width: 100%;
    width: 900px;
}

.gz_more p span{
    font-style: italic;
}


/*pop-up*/
.popup_container{
    display: none;
}

.popup_wrapper{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: #0000008e;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 24px;
    overflow: hidden;
}

.popup{
    background-color: white;
    display: flex;
    flex-direction: column;
    width: 1220px;
    height: 675px;
    max-width: 100%;
    max-height: 100%;
    border: 3px solid #000;
    box-shadow: 10px 10px 0 0 #C75F5F;
    border-radius: 20px;
}

.popup_header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    border-bottom: 3px solid #000;
}

.popup_header h3{
    font-size: 36px;
    line-height: 100%;
}

.popup_content_wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    padding: 40px;
    gap: 50px;
}

@media (max-width: 1100px) {
        .popup_content_wrapper{
            flex-wrap: wrap;
            overflow: scroll;
        }
        .popup{
            height: auto;
        }
}

.popup_content_restaurant_image{
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 30px;
    border: 3px solid #000;
    box-shadow: 10px 10px 0 0 #C75F5F;
    max-width: 100%;
}

.popup_content{
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 24px;
}

.popup_content_header_p{
    font-size: 30px;
    line-height: 120%;
    font-weight: 300;
}

.popup_content_header{
    display: flex;
    flex-direction: row;
    gap: 40px;
    flex-wrap: wrap;
}

.popup_content_header_wrapper{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.popup_header_icons{
    display: flex;
    gap: 10px;
    height: 30px;
}

.popup_content_body{
    font-size: 30px;
    line-height: 120%;
    font-style: italic;
    font-weight: 300;
}

.popup_content_address{
    font-size: 24px;
    line-height: 120%;
    font-style: italic;
    font-weight: 300;
}

.popup_close{
    cursor: pointer;
}

.popup_close:hover{
    background-color: #C75F5F;
}

#yuck_cards{
    width: 100%;
    min-height: 800px;
    position: relative;
    z-index: 2;
    background-color: #000;
}

.yuck_container{
    min-height: 100vh;
    padding: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 70px;
}

@media (max-width: 840px) {
        .yuck_container{
            padding-left: 24px;
            padding-right: 24px;
        }
}

.yuck_container_text{
    color: white;
    font-size: 32px;
    line-height: 150%;
    text-align: center;
    width: 874px;
    max-width: 100%;
}

.list.yuck_card_wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.list.yuck_card_wrapper > .list_item{
    max-width: 328px;
}

.yuck_footer{
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.yuck_footer a{
    font-style: italic;
    text-decoration: underline;
    color:#858F96;
}

#yucking_content{
    padding-bottom: 0px;
}

