/*
.mobile-modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 400px;
    width: 380px;
    background-color: white;
    border-radius: 10px;

}
.mobile-modal-bg {
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: none !important;
}
*/

#success-pin-icon {
    margin-bottom: 0px;
color: white; 
margin-right: 10px;
animation: modal-icon-bounce 0.6s infinite alternate;
transition: all 300ms ease-in-out;

}
.success-modal {
z-index: 999;
opacity: 0;
border-radius: 10px;
position: relative;
position: fixed;
top:70px;
height: 80px;
width: 500px;
right: 10px;
background-color: #00ac96;
font-weight: bolder;
box-shadow: 1px rgba(0, 0, 0, 0.35);
display: none;
align-items: center;
justify-content: center;
color: white;
animation-name: fadein;
animation-duration: 0.9s;
transition: all 300s ease-in-out;

}
@keyframes fadein {
from {right: -130px; opacity: 0}
to {right: 10px; opacity: 1}
}
@keyframes modal-icon-bounce {
to {margin-bottom: 10px;}
}
.close-modal-btn {
position: absolute;
top: 3px;
right: 10px;
transform: rotate(45deg);
color: white;
font-size: 30px;
cursor: pointer;
}
.close-modal-btn:hover {
color: darkred;
}

.search-bar-input {
    height: 100%; width: 100%; box-sizing: border-box; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border: none;
}
.location-input {
    
}
.search-bar-input:focus {
}


.fancy-link {
    display: block;
    color: white;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
}
.fancy-link:hover {
    color: #00ac96;
}

.fancy-link::after{

    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    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;

}

#modal-icon {
    font-size: 40px;
    color:white;
    animation: icon-bounce 0.6s infinite alternate;
}
.icon-circle {
    height: 50px;
    width: 50px;
    padding: 10px;
    background-color: #00ac96;
    border-radius: 50%;
}
.modal-title {
    animation: popup;
    animation-duration: 1000ms;
    animation-delay: 0.5s;
}

.modal-subtext {
    animation: popup;
    animation-duration: 1000ms;
    animation-delay: 1s;
    font-size: 13px;
    color: rgb(70, 70, 70);

}
.dismiss-btn {
    cursor: pointer;
    text-transform: uppercase;
    padding: 15px 25px;
    font-weight: bolder;
    border-radius: 6px;
    border: 1px solid #00ac96;
    background-color: white;
    color: #00ac96;

    box-sizing: border-box;
    animation-delay: 1.5s;

}
.modal-location {


}
.icon-circle {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    color:#00ac96
}

.main {
    transition: opacity 0.8s ease-in;
    opacity: 0;
    display: none;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    z-index: 900;
  }
  
  .loader > span {
    display: inline-block;
    background-color: #ac0000;
    width: 0px;
    height: 0px;
    border-radius: 50%;
    margin: 0 8px;
    transform: translate3d(0);
    animation: bounce 0.6s infinite alternate;
  }
  
  .loader > span:nth-child(2) {
    background-color: #00ac96;
    animation-delay: 0.2s;
  }
  
  .loader > span:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  @keyframes bounce {
    to {
      width: 16px;
      height: 16px;
      transform: translate3d(0, -16px, 0);
    }
  }
  @keyframes icon-bounce {
    to {
        margin-top:5px;
    }
  }


img {
    background: (url('/static/images/default.jpg')) no-repeat !important;
}
.x-button {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 5px;
    transform: rotate(45deg);
    color: gray;
    font-size: 30px;
}
.x-button:hover {
    color: black;
}
.dismiss-btn:hover {
    background-color: #00ac96;
    color: white;


}


.location-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 9px;
    height: 500px;
    width: 400px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    padding: 0 30px;
    background-color: white;
    text-align: center;
    animation-name:popup;
    animation-duration: 0.2s;
    transition: all 300ms ease-in-out;

}
@keyframes box {
    0%   { transform: scale(1,1) translateY(-10px)}
    30%  { transform: scale(1.01,1.05);}
    from {opacity:0};
    to {opacity:1.0};
}
@keyframes mobile-box1 {
    from {
        opacity: 0;
        top:70%;

    }
    to {
        opacity: 1;
    }

}
@keyframes mobile-box2 {
    from {
        opacity: 0;
        top:75%;

    }
    to {
        opacity: 1;
    }

}
@keyframes popup {
    0%   { transform: scale(1,1)}
    30%  { transform: scale(1.35,1.35)}
    from {opacity:0};
    to {opacity:1.0};
}

.location-prompt-bg {  
    display: none; 
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 9; 
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins';
    
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins';

}

.exact-location-btn {
    font-weight: 500;
    color: crimson;
    font-size: 18px;
    text-decoration: none;
}

.location-search-box-link {
    border-bottom: 0.1px solid lightgray;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: 400;
    text-decoration: none;
    width: 100%;
    height: 40px;
    cursor: pointer;
}

.location-search-box-link:hover {
    background-color: whitesmoke;
}

.city-box {
    width: 100%;
    height: 300px;
    overflow-y: scroll;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.location-search-box-top::before {
    content: '';
    transform: rotate(45deg);
    height: 16px;
    width: 16px;
    position: absolute;
    top: -5px;
    left: 44%;
    background-color: white;
}
.location-search-box-top {
    position: relative;
    border-bottom: 0.1px solid lightgray;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 100%;
    height: 50px;
}
.location-search-box-top:hover {
    cursor: pointer;
    background-color: whitesmoke;
}

.location-search-box {
    font-family: 'Montserrat';
    border-radius: 8px;
    position: absolute;
    left: 0;
    top:60px;
    z-index: 999;
    background-color: white;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 300px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    opacity: 0;
    animation-name:box;
    animation-duration: 0.2s;
    transition: all 300ms ease-in-out;
}
.cuisines-box {
    overflow-y: scroll;
    height: 340px;

}
.cuisine-link-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
    margin-left: 20px;

}
.cuisine-link-info {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    margin-left: 20px;
}
.search-box-link {
    background-color: white;
    text-decoration: none;
    color: black;
    font-weight: bolder;
    height: 80px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.search-box-link:hover {
    background-color: whitesmoke;
}
.search-box-top::before {
    content:'';
    height: 15px;
    width: 15px;
    position: absolute;
    transform: rotate(45deg);
    top: -6px;
    left:3%;
    background-color: white;
    overflow: visible;

}
.search-box-top {
    height: 2px;
    width: 100%;
}
.search-box {
    opacity: 1;
    background-color: white;
    z-index: 999;
    border-radius: 8px;
    padding-top: 12px;
    position: absolute;
    top:60px;
    left:0px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: calc(300px + 15vw);
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    animation-name:box;
    animation-duration: 0.2s;
    transition: all 300ms ease-in-out;

}
.highest-rated-restaurants {
    background-color: #f5f5f5;
    padding-left: 6vw;
    padding-right: 6vw;
        box-sizing: border-box;   
         padding-bottom: 100px;

}
.highest-rated-restaurant {
    border:1px solid #00ac96;
    text-decoration: none;
    color: black;
    background-color: white;
    padding: 9px;
    box-sizing: border-box;
    width: 70%;
    height: 250px;
    display: flex;
    margin-bottom: 2vw;

}  
.highest-rated-img {
    border:1px solid rgb(162, 0, 0);

    object-fit: cover;
    width: 30%;
    height: 100%;
    position: relative;
}
.highest-rated-img::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    -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;

}
.highest-rated-img:hover::after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
-webkit-transform-origin: left;
    transform-origin: left;
}
.highest-rated-info {

    padding: 0 40px;
    box-sizing: border-box;
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cat-wrapper {
    position: relative;
    margin-bottom: 2vw;
}

.arrow-left, .arrow-left-cuisines{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -60px;
    top:55%;
    transform: translate(0, -50%);
    background-color: rgba(42, 42, 42, 0.441);
    border-radius: 50%;
    color:#00ac2b;
    height: 40px;
    width:40px;
    z-index: 9;
    cursor: pointer;

}
.arrow-left:hover ~ #arrow-icon-inner {
    color: #00ac37;
}
.arrow-right, .arrow-right-cuisines { 
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -60px;
    top:55%;
    transform: translate(0, -50%);
    background-color: rgba(42, 42, 42, 0.441);
    border-radius: 50%;
    color:#00ac2b;
    height: 40px;
    width:40px;
    z-index: 9;
    cursor: pointer;
}
.arrow-left:hover, .arrow-left-cuisines:hover, .arrow-right-cusines:hover,.arrow-right:hover{
    background-color: rgba(60, 60, 60, 0.661);
}

.category-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 33%;
    overflow-x: auto;
    gap: 2vw;
    overscroll-behavior-inline: contain;
}
.snaps-inline {
    scroll-snap-type: inline mandatory;
}
.snaps-inline > * {
    scroll-snap-align: start;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    height: 60px;
    padding-left: 3vw;
    padding-right: 3vw;
    box-sizing: border-box;
}

.nav-link {
    color: white;
    text-decoration: none;
}
.nav-link:hover {
    color:#00ac96
}

.grid {
    padding-left: 6vw;
    padding-right: 6vw;

    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
}

.top-card {
    position: absolute; 
    top: 0;
     left:0; 
     width: 100%;
      background:linear-gradient(black,transparent);
}
.top-card h1 {
    color:white; margin: 0; margin-left: 0.5vw; opacity: 1; font-size: 25px; margin-right: 30%;

}
.bottom-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    padding-left: 0.5vw;
    width: 100%;
    background: linear-gradient(transparent, black);
    box-sizing: border-box;
}
.side {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin-top: 30px;
    padding: 3vw;
    padding-top: 0;
    box-sizing: border-box;
    border-left: 1px solid #00ac96;
}

.cat-img {
    height: 60px; width: 60px;
    margin-left: 10px;
}

.cat-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.side-category {
    text-decoration: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-bottom: 2vw;
    border-bottom: 1px solid #00ac96;
    height: 150px;
}
.side-category h1 {
    color: black;margin: 0; font-weight: bold; font-size: 20px;
}
.top {
    height: 65vh;
    width: 100vw;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/static/images/food.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;

    box-sizing: border-box;

    padding-top: 15vh;
    padding-bottom: 15vh;
    padding-left:  6vw;
    padding-right: 6vw;
}
.top-title {
    font-weight: bold;
    color:white;
    font-size: 60px;
    letter-spacing: 4px;
    margin: 0;

}
.red-gradient {
    background: -webkit-linear-gradient(rgb(255, 138, 138), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}   


.green-gradient {
    background: -webkit-linear-gradient(white, rgb(164, 255, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.top-slogan {
    color: white;
    font-weight: 100;
    letter-spacing: 2px;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.search-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(600px + 30vw);
    height: 50px;
    box-sizing: border-box;
}
.location {
    border-top-left-radius:6px ;
    border-bottom-left-radius:6px ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height:100%;
    padding-left: 1vw;
    padding-right: 1vw;
    width:25%;
    background-color: white;
    border-right: 0.1px solid gray;
    box-sizing: border-box;
    position: relative;

}


.location-input {
    width: 100%;
    text-align: center;
    border: none;
    height: 100%;
    box-sizing: border-box;
}


.user-location {
    font-weight: 300;

}
#pin-icon {
    color:rgb(162, 0, 0)
}
.search-bar {
    position: relative;
    display: flex;
    align-items: center;

    background-color: white;
    border-radius: 6px;
    border-top-left-radius:0px ;
    border-bottom-left-radius:0px ;

    border:none;
    height:100%;
    width:50%;
    font-size: 14px;
    box-sizing: border-box;


}
.search-bar-input-filler {
    height: 100%;
    width: 100%;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: none;
    box-sizing: border-box;
}
.search-bar-input {
    border: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    width: 95%;
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height:100%;
    width:5%;
    background-color: white;
}

input {
    outline:none
}
.restaurants {
    height:fit-content;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 2vw 4vw;
    box-sizing: border-box;
    gap:2vw;
}
.restaurant {
    position: relative;
    width:100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 0;
    height: 250px;
}

.restaurant:hover > .top-card h1 {

}

.top-card h1 {
    position: relative;
}
.top-card h1::after{

    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 10px;
    background: rgb(165, 0, 0);
    -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;
}
.restaurant:hover > .top-card h1::after {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    -webkit-transform-origin: left;
        transform-origin: left;
    
}


.restaurant-link {
    text-decoration: none;
    color: black;
}
.restaurant-image {
    height:100%;
    width: 100%;
    object-fit: cover;
    margin-right: auto;
}
.restaurant-image:hover {

}
.restaurant-location {
    margin: 0;

    margin: 0;
    margin-right: auto;
    font-size:20px;
    color: white;
}
.restaurant-name-flex {
    display: flex;
    width:100%;
    align-items: center;
    justify-content: space-between;
}

.restaurant-small-text {

    display: flex;
    align-items: center;
width: 100%;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-right: auto;
    font-size: 12px;
    color: white;
    margin-top: auto;
}
.cuisine-p {font-size: 10px; color: #ac0000; letter-spacing: 2px; text-transform: uppercase;}
.category-p {font-size: 10px; color: #00ac96; letter-spacing: 2px; text-transform: uppercase;}


@media only screen and (max-width: 900px) {
    .category-scroller {
        grid-auto-columns: 50%;

    }

}
@media only screen and (max-width: 600px) {
    .location-prompt {
        width: 350px;
        height: 400px;
        
    }

    .highest-rated-img {
        display: none;
    }

    .arrow-left, .arrow-left-cuisines {
        background-color: white;
        left: -10px;
        border:0.1px solid #00ac96
    }
    .arrow-right, .arrow-right-cuisines {
        border:0.1px solid #00ac96;
        background-color: white;
        right:-10px
    }
    .arrow-left:hover, .arrow-left-cuisines:hover, .arrow-right-cuisines:hover,.arrow-right:hover{
        background-color: rgba(60, 60, 60, 0.661);
    }
    .success-modal {
        top:100px;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }

    .search-box-top::before {

    }

    .top-card h1 {
        margin-left: 0.1vw;
        margin-right: auto;
    }
    .highest-rated-restaurants {
        text-align: center;
        padding: 0;
    }
    .highest-rated-restaurant {
        margin-left: 1vw;
        text-align: left;
        box-sizing: border-box;
        width: 98%;
    }
    .highest-rated-info {
        padding-right: 0;
        padding-left: 15px;
        justify-content: space-between;
        width: 100%;
    }


    .category-scroller {
        grid-auto-columns: 95%;

    }
    .top-title {
        font-size: 42px;
    }
    .top-slogan {
        font-size:  28px;
        letter-spacing: 3px;
    }
    .search-area {
        width: 100%;
    }
    .search-icon {

    }
    .user-location {
        font-size: 12px;
    }
    #pin-icon {
        font-size: 20px;
    }
    .restaurant {
        height: 250px;

    }
    #magnifying-glass-icon {
        font-size: 20px;
    }
    .side {
        grid-template-columns: 1fr 1fr;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .side-category {
        min-height: 200px;

    }

    .side-category h1 {
        font-size: 30px;
    }

    .grid {
        text-align: center;
        grid-template-columns: 1fr;
        padding-left: 3vw;
        padding-right: 3vw;
    }
    .restaurants {
        grid-template-columns: 1fr;
    }

    .nav-link {
        color:#bebebe
    }
    .cuisine-p {
        font-size: 16px
    }
    .category-p {
        font-size: 16px;
    }


    .search-bar {
        width: 50%;
    }
    .location {
        width: 50%;
    }


    .search-icon {
        display: none
    }
    .search-area {

        display: grid;
        grid-template-columns: 1fr;
    }
    .location {
        border-radius: 8px;

        width: 100%;
        margin-bottom: 10px;
        height: 50px;
    }
    .search-bar {
        border-radius: 8px;
        width: 100%;
        height: 50px;
        text-align: center;

    }
    .top {
        text-align: center;
        padding-top: 10vh;

    }
    .search-bar-input-filler {
        border-radius: 8px;
        text-align: center;
        font-size: 16px;

    }



    .location-search-box {
        opacity: 0;
        border-radius: 8px;
        position: absolute;
        left:0;
        z-index:999;
        background-color: white;
        display: none;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        animation-name: mobile-box1;
        animation-duration: 1s;
    }

    .search-box {
        left: 0;
        height: 300px;
        overflow-y: scroll;
        animation-name: mobile-box2;
        animation-duration: 1s;
        width: 100%;


    }


    .location-input {
        font-size: 16px;
    }
    .search-bar-input {
        text-align: center;
        font-size: 16px;
    }








}
@media only screen and (max-width: 450px) {

}