@import "lightdark.css";

/* RESET */
* {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--background-color);
    color: #40407A;
    font-family: Verdana, Arial, sans-serif;
}

html, body {
    overflow-x: hidden;
}

/* LAYOUT */
.grid-container {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 120px minmax(0, 1fr) 20px;
}

/* Homepage EXCEPTION (adds ticker row before footer) */
body.home .grid-container {
    grid-template-rows: 120px minmax(0, 1fr) auto 20px;
}

/* Report Glossary EXCEPTION */
/* Homepage EXCEPTION (adds ticker row before footer) */
body.glossary .grid-container {
    grid-template-rows: 120px minmax(0, 1fr) auto 20px;
}


/* HEADER */
header {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 2fr);
    grid-template-rows: 70px 30px;
    align-items: center;
    gap: 5px;
    padding: 5px;
}


/* MBV LOGO */
.logoDivided {
    grid-template-rows: minmax(0, 3fr) minmax(0, 1fr);
    width: 100%;
    height: 100%;
    display: grid;
    gap: 2px;
    margin: auto;
    padding-top: 5px;
}

.logo {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
}

    .logo img {
        height: 100%;
        width: auto;
    }

.logoText {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
}

    .logoText img {
        height: 100%;
        width: auto;
    }

/* CHARLESTON BRIDGE */
.bridge {
    display: grid;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    overflow: hidden;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: -1;
}

    .bridge img {
        height: 100%;
        width: 100%;
        object-fit: fill;
    }

/* HEADER CONTENT */
.header-content {
    justify-items: center;
}

    .header-content h1 {
        font-size: 3.5em;
        color: whitesmoke;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: var(--secondary-theme-color-blue);
        font-family: 'MB Corpo S Title', sans-serif;
    }

#VIOS_U {
    height: 50px;
    margin: 0px -10px;
}

@keyframes spin-horizontal {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.spin-horizontal {
    animation: spin-horizontal 4s linear infinite;
    transform-style: preserve-3d;
}

/* NAVIGATION */
.top-nav {
    background-color: transparent;
    grid-column-start: 1;
    grid-column-end: -1;
    grid-row-start: 2;
    grid-row-end: 2;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: .5rem;
    list-style-type: none;
    padding: .75rem 0 .5rem 0;
}

    .nav-tabs li {
        position: relative;
        list-style-type: none;
    }

    .nav-tabs a {
        text-decoration: none;
        padding: .5em 1em;
        color: white;
        transition: background-color 0.3s;
        list-style-type: none;
    }

        .nav-tabs a:hover {
            color: rgb(65, 190, 234);
        }

/* DROPDOWN */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    text-align: center;
    min-width: 160px;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    list-style-type: none;
}

    .dropdown-content a:hover {
        font-weight: bold;
        color: black;
        background-color: lightgray;
    }


    .dropdown-content li a {
        display: block;
        padding: 0.5em;
        font-size: 1em;
        color: white;
        background-color: black;
        box-shadow: 0 4px 8px rgba(0, 0, 0, );
        list-style-type: none;
    }

.dropdown:hover .dropdown-content {
    display: block;
}

/* FOOTER */
footer {
    display: flex;
    color: white;
    font-size: 0.8em;
    justify-content: center;
    /* padding-top: .25em;
    padding-bottom: .25em; */
}

    footer a {
        color: lightblue;
    }
