* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fefbf1;
    --secondary-color: black;
    --tertiary-color: #01cb36;

}

@font-face {
    font-family: poppin;
    src: url('../fonts/Poppins-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: mono;
    src: url('../fonts/MartianMono-ExtraBold.ttf') format('truetype'),

}

@font-face {
    font-family: tung;
    src: url('../fonts/Tungsten-Bold.ttf') format('truetype'),

}

@font-face {
    font-family: space;
    src: url('../fonts/Space_Mono/SpaceMono-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: hel;
    src: url('../fonts/helvectical/HelveticaNowDisplay-Medium.ttf') format('truetype'),

}

@font-face {
    font-family: hel-thin;
    src: url('../fonts/helvectical/HelveticaNowDisplay-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: wide;
    src: url('../fonts/druk-wide-bold/DrukWideBold.ttf') format('truetype'),

}


html {
    width: 100%;
}

html,
body {
    font-size: 24px;
    overflow-x: clip;
    background-color: var(--primary-color);
}

.hero {

    background-position: center;
    height: 120vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary-color);
    /* background-image: url(../img/location/location-hero.png); */
    position: relative;
}

.hero>.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero>.content .top {
    display: flex;
    width: 380px;
    justify-content: space-between;
    align-items: center;
}

.hero .content .top .img-1 {
    /* width: 100px; */
    height: 30px;
    object-fit: cover;

}

.hero .content .top .img-2 {
    height: 38px;
    object-fit: cover;
    position: relative;
    top: 4px;
}


.hero .middle img {
    width: 100vw;
    object-fit: cover;
    margin: -5px 0px;
    /* height: 120px    ; */
}

.hero .content .bottom p {
    font-size: 17px;
    color: var(--primary-color);
    font-family: hel;
    letter-spacing: .7px;

}


@media (max-width:600px) {


    .hero>.content .top {
        display: none;
    }

    .hero>.content .middle img {
        width: 158vw;
        height: unset;
        position: relative;
        left: 20px;
        margin: unset;
        margin-bottom: 30px;
    }

    .hero > .content .bottom p{
        text-align: center;
        width: 77vw;
        line-height: 35px;
        font-size: 20px;
    } 
}


/* section-1 */

.section-1 {
    min-height: 110vh;
    display: flex;
    padding: 1rem 1rem;
    width: 100%;
    font-family: hel;
}

.section-1 h1 {
    margin-bottom: 2rem;
    font-size: 1.4rem;

}

.section-1>div {}

.section-1>.text {
    flex: .85;
    padding: .5rem 2rem;
    /* padding-right: 2.5rem; */

    /* background-color: aqua; */

}

.section-1 .map {
    flex: 1.15;

    /* height: 30rem; */
    background-color: antiquewhite;
}

.section-1 .search-box {
    border: 1px solid var(--secondary-color);
    border-radius: .5rem;
    height: 9rem;
    width: 100%;
    padding: .8rem 0rem;

}

.section-1 .search-box .sub-section-1 {
    border-bottom: 1px solid var(--secondary-color);
    display: flex;
    justify-content: space-between;
    padding: 0rem .8rem;
    padding-bottom: .5rem;
    gap: .7rem;
    margin-bottom: .65rem;
}

.section-1 .search-box .sub-section-1>div {
    flex: 1;
    text-align: center;
    border-radius: 1rem;
    background-color: var(--secondary-color);
    padding: .4rem 0rem;
    font-size: .9rem;
    color: rgb(0, 193, 0);

    &:hover {
        cursor: pointer;
    }
}

.section-1 .search-box .sub-section-1 :nth-child(2) {

    background-color: rgb(228, 228, 228);
    color: rgb(0, 175, 0);
}




.section-1 .search-box .sub-section-2 {
    padding: 0rem .8rem;

}

.section-1 .search-box .sub-section-2 h5 {
    font-family: hel-thin;
    font-weight: lighter;
    font-size: .7rem;
}

.section-1 .search-box .sub-section-2 .search {
    background-color: white;
    height: auto;
    display: flex;
    margin-top: .85rem;
    border: 1px solid var(--secondary-color);
    padding: .5rem;
    border-radius: .5rem;
}

.section-1 .search-box .sub-section-2 .search input {
    /* background-color: yellow; */
    border: none;
    width: 100%;
    height: 1.4rem;
    font-size: 1.1rem;

}

.section-1 .search-box .sub-section-2 .search input:focus {
    /* background-color: antiquewhite; */
    border: none;
    outline: none;
}

.section-1 .search-box .sub-section-2 .search button {
    background-color: green;
    color: var(--primary-color);
    border: none;
    font-size: .8rem;
    width: 4rem;
    height: 1.4rem;
    border-radius: .25rem;

    &:hover {
        cursor: pointer;
    }
}



.section-1>.text .reastaurant-list .res {
    display: flex;
    padding: 1.2rem 0rem;
    border-bottom: 1px solid var(--secondary-color);
}

.section-1>.text .reastaurant-list .res .img {
    width: 11rem;
    height: 9rem;
    background-color: rgb(181, 181, 181);
}

.section-1>.text .reastaurant-list .res .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0rem .5rem;
    row-gap: .3rem;
}

.section-1>.text .reastaurant-list .res .text h2 {
    font-size: 1.3rem;
}

.section-1>.text .reastaurant-list .res .text .p {
    display: flex;
    flex-direction: column;
    row-gap: .3rem;
}

.section-1>.text .reastaurant-list .res .text p {
    font-weight: lighter;
    font-size: 1rem;
}

.section-1>.text .reastaurant-list .res .text a {
    color: green;
}



/* section 2 */
.section-2 {
    min-height: 100vh;
    padding: 5.5rem 2rem;
    font-size: 24px;
}


.section-2 .intro {
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: fit-content;
    z-index: 2;

}

.section-2 .intro .line {
    height: .6px;
    background-color: var(--secondary-color);
    width: 100%;
    position: absolute;
    /* transform: translate(0%,-50%); */
    left: 0px;
    top: 50%;
    z-index: -1;
    left: 0px;
}

.section-2 .intro h1 {
    font-size: clamp(38px, 5.1vw, 65px);
    font-family: tung;
    font-weight: lighter;
    z-index: 3;
    width: fit-content;
    background-color: var(--primary-color);
    height: 100%;
    margin: 0 auto;
    padding: 0rem 30px;

}

.section-2 .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(340px, 29vw, 400px), 1fr));
    grid-template-columns: repeat(auto-fit, min(370px, 100%));
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    grid-template-columns: 1fr 1fr 1fr 1fr;
    place-content: center;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    width: 90%;
    margin: max(6vw, 36px) auto;

    column-gap: 3.5vw;
    row-gap: 45px;

}

.section-2 .card {
    width: 100%;
    height: 100%;
}


.section-2 .card .img {
    background-color: #efece3;
    width: unset !important;
    height: unset !important;
    aspect-ratio: 1/1 !important;
}

.section-2 .card .img img {
    width: 100%;
    height: 100%;
}

.section-2 .text {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
    height: 138px;
    justify-content: space-between;
}

.section-2 .cards h2 {
    font-family: hel;
    font-size: .55em;
    text-transform: uppercase;
    letter-spacing: .7px;
    width: 95%;
    line-height: 19px;
}

.section-2 .card p {
    font-family: hel-thin;
    font-size: .55em;
    letter-spacing: .4px;
    font-weight: 500;
}

.section-2 .card a {
    text-decoration: none;
    text-underline-offset: 5px;
    color: #01CB45;
    font-family: hel-thin;
    font-size: 14px;
    position: relative;
    width: fit-content;
}

.section-2 .card a::after {
    content: "";
    width: 100%;
    height: .7px;
    background: var(--tertiary-color);
    position: absolute;
    bottom: -1px;
    left: 0px;
}

.section-2 .card .address {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.section-2 .grid-2 {
    margin-top: 90px;
}


@media (max-width:1265px) {

    .section-2 .cards {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width:1000px) {

    .section-2 .cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:500px) {
    .section-2 .card p {
        font-size: .55em;
    }

    .section-2 .cards h2 {
        font-size: .5em;
    }
}

@media (max-width:410px) {
    .section-2 .cards {
        width: 100%;
    }
}