

/* Header  */
#nav-header {

    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px;
    background-color: white;
    filter: drop-shadow(0px 1px 10px #0A2846);
    z-index: 1;

    .nav-left img {

        height: 54.4px;

    }
    
    .nav-center form {

        display: flex;
        gap: 2px;

        @media (max-width: 600px) {
            flex-direction: column;
        }

    }
    
    .nav-right {

        display: flex;
        align-items:center;
        padding-right: 40px;

        @media (max-width: 600px) {
            flex-direction: column;
        }
        
        div {

            display:flex;
            margin:0 10px;
            align-items: center;

        }
    
        a {

        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: inherit;

        }

        img {

        height: 32px;
        margin-bottom: 4px;

        }

    }

}

#search{

    margin:unset;

}

#searchButton {

    height: 45.5px;
    top: 50%;
    background: linear-gradient(to right, #0A2846, #1863ad);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    border: #0A2846 1px solid;

    &:hover {
        background: white;
        color: #0A2846;
        
    }

}

/* hamburger button */
#hamburgerButton{

    border: none;
    background-color: transparent;
    padding: 148.8px 0px 30px 37px;

    @media (min-width: 601px) {

        display: none;

    }

} 

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;

    span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #0A2846;
        transition: 0.3s ease;
    }
}

/* Close button */
#closeButton{

    border: none;
    background-color: transparent;
    padding: 20px 0 20px 37px;
    display: none;

} 
.cross {
    cursor: pointer;
    width: 25px;
    height: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (min-width: 601px) {
        
        display: none;
        
    }
    span {

       position: absolute;
       width: 25px;
       height: 3px;
       background-color: #0A2846;
       border-radius: 2px;
       transition: 0.3s ease;

    }

    span:first-child {

        transform: rotate(45deg);

    }
    span:last-child {

        transform: rotate(-45deg);

    }

}

#nav-menu {

    background: linear-gradient(to right, #0A2846, #1863ad);
    padding-top: 74px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    overflow: hidden;
    
    @media (max-width: 600px) {
        padding-top: 128.8px;
        display: none;
    }
    
    ul {
        list-style-type: none;
        display: flex;
        
        @media (max-width: 600px) {
            padding-left: 0px;
            justify-content: center;
        }
    
        li{

            a{

                padding: 20px 16px;
                color: white;
                text-decoration: none;
                font-size: 20px;
                
                &:hover {
                    
                    background-color: white;
                    color: rgb(114, 108, 108);

                }

            }

        }

    }

}

/* body */
html, body {

    height: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: 100px; /* to ensure footer is always at the bottom */
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;

}

.spacer {

    height: 50.4px

}

/* form */
.container {

    background-color: lightgray;
    max-width: 70%;
    margin: auto;
    margin-top: 10px;
    padding: 30px;
    border-radius: 12px;

}

#formData {
    margin: 10px 0
}


label {

    font-size: 20px;

}

input {

    width: 100%;
    padding: 12px 20px;
    margin: 20px 0 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 17px;

}

.error  {

    color: red;
    font-size: 0.9em;
    margin-bottom: 15px;
    display: block;
    font-weight: bold;

}

#submit {

    width: 20%;
    align-self: center;
    background: linear-gradient(to right, #0A2846, #1863ad);
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    border: #0A2846 1px solid;

    @media (max-width: 600px) {

        width: 100%;

    }

    &:hover {
        background: white;
        color: #0A2846;
        
    }

}

footer {
    color: white;
    text-align:center;
    padding: 1em 0;
    position: fixed;
    left: 0; 
    bottom: 0; 
    width: 100%; 
    background: linear-gradient(to left, #0A2846, #1863ad);
}