/*Open Sans Google Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;800&display=swap');

/* Scroll behaviour and content height */
html{
    scroll-behavior: smooth;
 }
/* CSS Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Navigation menu styling*/
nav {
    position: fixed;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 3.5rem;
    margin: 0 auto;
    top: 0;
    width: 100vw;
    left: 0;
    z-index: 100;
}

nav.active {
    background-color: #fff !important;
    transition: background-color 200ms linear;
  }

.nav-icons-left {
    display: flex;
    list-style-type: none;
    gap: 2rem;
}

.nav-icons-left li i{
    font-size: 22px;
}

/*Navigation bar buttons styling*/

.buttons {
    display: flex;
    gap: 1rem;
    list-style-type: none;
}

.buttons li a{
    text-decoration: none;
    color: white;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

.buttons-log-in{
    background-color: white;
    padding: 0.8rem 1rem;
    border-radius: 3rem;
    box-shadow: 2px 2px 15px 1px rgba(0, 0, 0, 0.2);
}

.buttons-log-in:hover{
    background-color: rgb(191, 191, 191);
}

.buttons-register{
    background-color: #000;
    padding: 0.8rem 1rem;
    border-radius: 3rem;
    box-shadow: 2px 2px 15px 1px rgba(0, 0, 0, 0.2);
}

.buttons-register:hover{
    background-color: #4b0082;
}

#register-text {
    color: #000;
}

/*Hero Styling*/
.hero {
    margin: 0 3.5rem;
    position: absolute;
    top: 40%;  
}

.bgimage {
    height:100vh;
    background: url('../images/main.jpg');
    background-size:cover;
    background-position: center center;
    position:relative;
}

/*Hero's title*/
.hero h1 {
    padding-bottom: 2rem;
    padding-right: 20rem;
    font-size: 3rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

/*Adress and food search container*/
.adress{
    display: flex;
}

/*Adress input*/
.adress form {
    margin-right: 0.5rem;
}

.adress form input{
    padding: 1.1rem;
    padding-left: 3rem;
    width: 35rem;
    border-style: none;
    background: url(../icons/location-icon.png) no-repeat scroll 1rem 1.15rem;
    background-color: white;
    background-size: 20px;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    border-bottom: black 1px;
}

.adress form input:focus{
    outline: none;
    box-shadow: 0 4px 2px -2px black;
}

/*Delivery time*/
.adress select{
    margin-right: 0.5rem;
    padding: 1.1rem;
    padding-left: 3rem;
    outline: none;
    width: 15rem;
    border-style: none;
    background: url(../icons/clock-icon.png) no-repeat scroll 1rem 1.15rem;
    background-color: white;
    background-size: 20px;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

#time-of-order option {
    background-color: white;

}
.adress select option:hover {
    background-color: #000;
    color: white;
    
}

/*Look for places to eat button*/
.search-button{
    text-decoration: none;
    display: inline-block;
    background-color: #000;
    border-radius: 0.5rem;
    color: white;
    padding: 1.1rem;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    box-shadow: 2px 2px 15px 1px rgba(0, 0, 0, 0.2);
}

.search-button:hover {
    background-color: rgb(84, 84, 84);
}

/*Reminder styling*/

.hero-login {
    color: black;
}
.hero p {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

/*Aside bar styling*/
aside {
    position: fixed;
    left: -19rem;
    height: 100vh;
    width: 19rem;
    background-color: white;
    padding: 1.5rem 1.5rem;
    z-index:103;
    transition: left .4s ease;
}

aside ul{ 
    list-style-type: none;
}

aside.active {
    left: 0;
}

aside a{
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 0.5rem 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.aside-register-button {
    background-color: #000;
    color: white;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.aside-register-button:hover {
    background-color: rgb(77, 77, 77);
}

.aside-login-button {
    background-color: rgb(235, 235, 235);
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.aside-login-button:hover {
    background-color: rgb(201, 201, 201);
}


/*Aside bar bottom styling (Uber eats icon, slogan and app icons)*/
.aside-container {
    position: fixed;
    top: 85%;
    display: flexbox;
}

.aside-app-icons {
    display: flex;
}

.aside-app-icons i{
    margin: 0 0.5rem;
}

.aside-app-icons a{
    background-color: rgb(235, 235, 235);
    margin-top: 1rem;
    margin-right: 0.5rem;
    padding: 0.7rem 0.5rem;
    padding-right: 0.8rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.aside-app-icons a:hover{
    background-color: rgb(201, 201, 201);
}

.aside-app-promo {
    display: flex;
}

.aside-app-promo img {
    width: 3.5rem;
    height: auto;
}

.aside-app-promo p {
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    padding-right: 30%;
    padding-left: 1rem;
    padding-top: 0.5rem;
}

/*Blurred and black background while aside section is open*/
.backdrop {    
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.45);
    backdrop-filter: blur(5px);
    z-index: 102;
}

.backdrop.active {
    display: block;
}

/*Info section styling */
.info {
    display: flex;
    background-color: white;
    justify-content: space-between;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    gap: 1.4rem;
}

.info div {
    background-color: white;
    padding-top: 5rem;
    padding-bottom: 5rem;

}

.info div img {
    resize: both;
    max-width: 100%;
    max-height: 100%;
    width: 600px;
    height: auto;
}

.info div a {
    text-decoration: none;
    color: #000;
}

.info div h4 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.info div u {
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

#brand {
    padding-right: 5rem;
}

/* Cities near me styling*/
.map-title {
    justify-content: space-between;
    display: flex;
    margin: 1.5rem 3.5rem;
}

.map-title h2 {
    font-size: 2rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.map-title a{
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #000;

}

.map-sect iframe {
    pointer-events: none;
    padding: 0 3.5rem;
}

/*Cities box styling*/
.map-cities-container {
    display: flex;
    justify-content: space-between;
    margin: 0 3.5rem;
    max-width: 80vw;
}

.map-cities a {
    display: block;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    margin: 1.5rem 0;
    color: #000;
    text-decoration: none;
}

/*Footer Styling*/
.footer-extras {
    justify-content: space-between;
    display: flex;
    margin-left:3.5rem;
    margin-top: 5rem;
    border: 5px 0 black;
}

.app-link a img{
    width: 10rem;
    margin-top: 8rem;
}

.help-left {
    align-content: flex-start;
    margin-left: 15%;
}

.help-left a{
    font-size: 0.9rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    color: #000;
    display: block;
    margin: 1rem 0;
    text-align: left;
}

.help-left a:hover{
    text-decoration: underline;
}

.help-right {
    margin-right: 20%;
}

.help-right a{
    font-size: 0.9rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    color: #000;
    display: block;
    margin: 1rem 0;
    text-align: left;
}

.help-right a:hover{
    text-decoration: underline;
}

/*Footer final text elements and COPYRIGHT STYLING*/
.social-icons {
    margin: 3rem 3.5rem;
}

.social-icons a{
    text-decoration: none;
    color: #000;
    margin-right: 1rem;
}

.final-elements {
    margin: 0 3.5rem;
    display: flex;
    justify-content: flex-end;
}

.final-elements a{
    text-decoration: none;
    font-size: 0.8rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #000;
    margin-left: 2rem;
}

.final-elements a:hover{
    text-decoration: underline;
}

.copyright {
    margin: 1rem 3.5rem;
    padding-bottom: 5rem;
    display: flex;
    justify-content: flex-end;
}

.copyright p{
    text-align: right;
    font-size: 0.8rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #000;
    margin-left: 2rem;
}


/* Adaptive design */
/* Media queries */
@media screen and (max-width: 420px) {


}