:root {
    --primary-background: #f5f7fa;
    --primary-blue: #324468;
    --primary-green: #05aa5a;

    /* Sign button blue color */
    --light-blue-button: #2456bb; 
}

* {
    margin: 0px;
    padding: 0px;
    /* border: 0px; */
}

body {
    background-color: var(--primary-background);
    font-family: sans-serif;
    margin: auto;

    /*Avoid header (fixed at top) over content*/
    padding: 150px 0px 0px 0px;
}

main {
    max-width: 1100px;
    padding: 0px 20px;
    margin: auto;
}

header {
    /* border-bottom: 1px solid lightgray; */
    /* padding-bottom: 15px;*/
    padding-top: 10px; 
    background-color: var(--primary-background);
    
    /*Fixed at the top*/
    position: fixed;
    width: 100%;
    left: 0px;
    top: 0px;
}

.div-header {
    padding: 0px 10px;
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.div-header > img {
    /* display: inline; */
    /* margin-top: 15px; */
}
nav {
    /* display: inline; */
    display: block;
    margin-left: 20px;
    margin-right: 50px;
    margin-top: 10px;
    flex-grow: 1;

}

nav > ul {
    /* text-align: right; */
    /* display: inline; */
}

nav > ul > li {
    display: inline;
    margin: 10px;
}

nav > ul > li > a {
    text-decoration: none;
    color: gray;
    font-weight: bold;
}

nav > ul > li > a:hover {
    color: rgb(77, 73, 73);
    text-shadow: 1px 1px 1px rgb(209, 203, 203);
    transition: 0.5s;
}

/* div.buttons-header {

} */

.login-button {
    padding: 7px 10px;
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: bold;
    background-color: #f5f7fa;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    cursor: pointer;
    margin-right: 5px;
}

.login-button:hover {
    background-color: var(--primary-blue);
    color: white;
    transition: 0.5s;
}

.sign-button {
    padding: 7px 10px;
    font-size: 18px;
    color: white;
    font-weight: bold;
    background-color: var(--light-blue-button);
    border: 2px solid var(--light-blue-button);
    border-radius: 8px;
    cursor: pointer;
}

.sign-button:hover {
    padding: 7px 10px;
    font-size: 18px;
    color: white;
    font-weight: bold;
    background-color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    transition: 0.5s;
    border-radius: 8px;
    cursor: pointer;
}

footer {
    background-color: var(--primary-green);
    box-shadow: 0px -2px 2px rgb(199, 199, 199);
    margin-top: 30px;
}

.div-footer {
    height: 100px; 
    max-width: 1100px;
    margin: auto;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: "Lexend", sans-serif;
    color: white;
}

span.material-symbols-outlined {
    display: none;
}

@media screen and (max-width: 900px) {
    body {
        padding: 0px;
    }

    header {
        position: relative;
    }

    div.div-header {
        flex-wrap: wrap;
    }
    
    nav.nav-bar {
        /* display: none;
        height: auto; */
        order: 3;
        flex: 1 0 100%;
    }

    div.buttons-header {
        margin-left: auto;
        margin-right: 20px;
    }

    button.sign-button-top {
        display: none;
    }

    /* button.login-button {
        margin-left: auto;
    } */

    span.material-symbols-outlined {
        display: block;
        font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 40;
        font-size: 50px;
        color: var(--primary-blue);
        border: 1px solid var(--primary-blue);
        border-radius: 20%;
    }

    span.material-symbols-outlined:hover {
        cursor: pointer;
        box-shadow: 1px 1px 2px lightgray;
    }

    nav > ul > li {
        display: block;
    }

    .section-2-bottom {
        flex-wrap: wrap;
    }

    .section-1-left {
        margin-top: 40px;
    }
}

@media screen and (max-width: 600px) {
    section.section-1 {
        flex-direction: column;
        align-items: stretch;
    }

    div.section-1-left {
        order: 3;
        width: 100%;
        text-align: center;
        padding: 0px;
        margin-top: 0;
    }

    div.section-1-right {
        width: 100%;
        margin-bottom: 20px;
    }

    div.buttons-header {
        order: 4;
        display: none;
    }
    nav.nav-bar {
        /* display: none;
        height: auto; */
        flex: 1 0 50%;
    }
}