/*
Theme Name: eurosidediamond
Author: Sid Vaghani
Description: css for header and footer
Version: 5.0
*/


/*
CSS for header
*/
nav {
    width: 100vw;
    padding-top: 40px;
    position: fixed;
    display: flex;
    justify-content: space-between;
    top: 0;
    z-index: 1000;
    transition: padding-top 1s;
}

.nav-on-scrolled {
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    margin-left: 0%;
    padding-top: 10px;
    transition: padding-top 1s;
}

.logo {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 0px;
    margin-top: 0px;
    width: 150px;
    min-width: 150px;
    position: sticky;
    top: 0;
}

.logo img {
    width: 100%;
    padding: 15px;
    padding-top: 0px;
    padding-bottom: 0px;
}

#menu {
    display: flex;
    font-size: 18pt;
    gap: 0px;
    font-family: 'Jura', 'serif';
    margin-right: 5%;
    height: fit-content;
    margin-top: 10px;
}

#menu a {
    color: whitesmoke;
    text-decoration: none;
    transition: whitesmoke 0.3s, color 0.3s;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

#menu a:hover {
    background-color: whitesmoke;
    color: black;
}

#menu-toggle {
    display: none;
}


@media screen and (max-width: 900px) {
    .logo {
        min-width: 50%;
        position: sticky;
        top: 0;
        display: block;
        padding: 0px;
        margin: 0px;
    }

    .logo img {
        height: 80px;
    }

    #menu {
        font-size: 16pt;
        font-family: 'Jura', 'serif';
        margin-right: 5%;
        color: white;
        display: block;
        width: 50%;
        text-align: center;
        margin-top: 0px;
    }

    #menu a {
        display: none;
    }

    #menu.responsive {
        display: block;
        text-align: center;
        flex-direction: column;
    }

    #menu.responsive a {
        display: block;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #menu-toggle {
        font-size: 30pt;
        display: block;
        align-content: center;
        margin-top: 20px;
    }
}



/*
CSS for warning msg
*/


#warning-text{
    color: crimson;
    font-weight: 400;
    font-size: 16pt;
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 100000;
    text-align: center;
    background-color: whitesmoke;
    padding-top: 5px;
    padding-bottom: 5px;
}


/*
CSS for footer
*/

footer {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: black;
    color: white;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

footer p {
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

footer a {
    color: whitesmoke;
    text-decoration: none;
    transition: whitesmoke 0.3s, color 0.3s;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

footer table {
    width: 100%;
    padding-bottom: 0%;
    margin-bottom: 0%;
    height: 20px;
}

#footer-row {
    padding-bottom: 0%;
    margin-bottom: 0%;
}

footer table td {
    width: 33%;
    padding-bottom: 0%;
    margin-bottom: 0%;
}

footer #footer-logo {
    width: 10%;
    height: 100px;

    padding: 0;
    margin: 0;
}

footer #footer-logo img {
    scale: 0.4;
    padding: 0;
    margin: 0;
}

#impressum {
    width: fit-content;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
}