body, html {
    font-family:'Montserrat';
    margin: 0;
    padding: 0;
}
.body {
    width: 100vw;
    overflow: hidden;
}
.section-header {
font-size: 20px;
 width:100%;
 background-color:#00ac96; 
  padding-left: 5px;
   box-sizing:border-box; 
   color: white;
   padding-top: 3px;
   padding-bottom: 3px;

   text-align: center;
    text-transform: uppercase;  
    margin-bottom: 15px;
}
.top {
    width:100vw;
    height:20vh;
    position: relative;

}

.city-image {
    opacity:0.7;
    height:100%;
    width: 100%;
    object-fit: cover;
}

.restaurants {
    display: flex;
    width:100%;
    flex-direction: column;
    margin-left: 5%;
    margin-right: 5%;
}
.restaurant-card {
    color: black;
    text-decoration: none;
    height:200px;
    width:900px;
    background-color: whitesmoke;
    display: flex;
    overflow: hidden;
    margin-bottom: 2vw;
}
.restaurant-wrapper {
    position:relative;
}
.restaurant-name {
    font-size: 25px;
    margin: 0;
}
.restaurant-image {
    width:250px;
    height:200px;
    object-position: top;
    object-fit: cover;
}

.fancy-link {
    margin-right: 2vw;
    display: block;
    color: black;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
}
.fancy-link:hover {
    color:rgb(119, 0, 24)
}

.fancy-link::after{

    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 2px;
    background: #00ac96;
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: right;
            transform-origin: right;
    transition: -webkit-transform 250ms ease-in;
    transition: transform 250ms ease-in;
    transition: transform 250ms ease-in, -webkit-transform 250ms ease-in;
}

.fancy-link:hover::after{
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
-webkit-transform-origin: left;
    transform-origin: left;

}
.category-links {
    position: absolute;
    bottom:calc(2vw + 3px);
    left:300px;
    display: flex;
    align-items: center;
    width:fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.city-name {

}
.content {
    display: flex;
    flex-direction: column;
    margin-left: 50px;
}

.restaurant-card:hover > .restaurant-image {
    opacity: 0.7;
    transform: scale(1.2);
    transition: all 300ms ease;
}


.restaurant-card:hover {
    color: rgb(121, 0, 24);
}

.categories {
    gap:20px;
    width: 100%;
    padding:2% 5%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.cuisines {
    gap:20px;
    width: 100%;
    padding:2% 5%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.category {
    border-radius: 20px;
    text-decoration: none;
    color: #373737;
    height: 300px;
    padding:10px;
    box-sizing: border-box;
    background-color: white;
    margin-bottom: 10px;
}
.category:hover {
    background-color: whitesmoke;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        border: 0.1px solid #373737;
    transform: translateY(-10px);
    transition: all 300ms ease-in-out;
    color: #00ac96;
}

.category-image {
    border-radius: 20px;

    height:200px;
    width:100%;
}
.category-name {
    font-size: 23px;
}
.other-cities {
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
    width: 100%;
    display: grid;
    grid-template-columns:  1fr 1fr 1fr;
    gap:3vw;
    margin-top: 2vw;
    margin-bottom: 2vw;
}
.other-city {
    position: relative;
    height: 250px;
    border: 1px solid #373737;
    overflow: hidden;
    border-radius: 15px;
}
.name-card {
    position: absolute;
    bottom: 0;
    left:0;
    color: white;
    font-weight: bold;
    width: 100%;
    background:linear-gradient(transparent, rgb(0, 0, 0));
    height: 100%;
}
.name-card h1 {
    position: absolute;
    bottom:0;
    left: 0;
    margin: 0;
    margin-left: 1vw;
}
.other-city:hover > .name-card {
    color:#00ac96;
    transform: translateY(100%);
    transition: all 300ms ease-in-out;
}
@media only screen and (max-width:1000px) {
    .restaurant-card {
        width: 90%;
    }
}

@media only screen and (max-width:600px) {
    .other-cities {
        grid-template-columns: 1fr;
    }

    .cuisines {
        grid-template-columns: 1fr;
    }
    .other-city {
        height: 25vh;
    }
    .name-card h1 {
        font-size: 20px;
    }
    .section-header {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    .restaurants {
        margin: 0;
    }
    .restaurant-wrapper {
        box-sizing: border-box;
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 2vw;
    }
    .restaurant-card {
        flex-direction: column;
        width: 100%;
        height: 380px;
        text-align: center;
        
    }
    .category-links {
        left:53%;
        transform: translate(-50%, -50%);
    }
    .restaurant-image {
        width: 100%;
    }
    .content {
        flex-direction: column;
        margin-right: 30px;
    }

    .category {
    }
    .categories {
        grid-template-columns: 1fr;
    }
    .category-image {
        object-fit: cover;

    }
}