:root {
    --Monticello-Blue: #00194B;
    --Victory-Yellow: #FECA00;
    --CTA: #7B88FF;
    --Robotics-Gray: #CBCBCB;
}

.lato-thin {
    font-family: 'Lato', serif;
    font-weight: 100;
    font-style: normal;
}

.lato-light {
    font-family: 'Lato', serif;
    font-weight: 300;
    font-style: normal;
}

.lato-regular {
    font-family: 'Lato', serif;
    font-weight: 400;
    font-style: normal;
}

.lato-bold {
    font-family: 'Lato', serif;
    font-weight: 700;
    font-style: normal;
}

.lato-black {
    font-family: 'Lato', serif;
    font-weight: 900;
    font-style: normal;
}

.lato-thin-italic {
    font-family: 'Lato', serif;
    font-weight: 100;
    font-style: italic;
}

.lato-light-italic {
    font-family: 'Lato', serif;
    font-weight: 300;
    font-style: italic;
}

.lato-regular-italic {
    font-family: 'Lato', serif;
    font-weight: 400;
    font-style: italic;
}

.lato-bold-italic {
    font-family: 'Lato', serif;
    font-weight: 700;
    font-style: italic;
}

.lato-black-italic {
    font-family: 'Lato', serif;
    font-weight: 900;
    font-style: italic;
}

body {
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: white;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
}

p {
    color: white;
}

#navbarul {
    margin-top: 12
    px !important;
}

.navtext {
    color: white;
    text-decoration: none;
    float: left;
    text-align: center;
    font-size: 20;
    text-transform: uppercase;
}
    
.navtext:hover {
    color: var(--Victory-Yellow);
}

@media only screen and (min-width: 764px) {
    nav {
        background-color: var(--Monticello-Blue);
        overflow: hidden;
        height: 72px;
        width: 100%;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
        position: fixed;
        top: 0;
        z-index: 5;
    }
    
    #navbarul {
        display: flex;
        align-items: center;
        padding: 0px 50px;
        list-style-type: none;
        gap: 40px;
        justify-content: space-between;
        margin: 0;
        height: 72px;
    }
    
    #menu-button {
        display: none;
    }
    
    .navtext {
        display: block;
    }
    
    #icon {
        height: 46px;
        width: 300px;
    }

    #nav-popup-container {
        display: none !important;
    }
}

@media only screen and (max-width: 764px) {
    nav {
        background-color: var(--Monticello-Blue);
        overflow: hidden;
        height: 72px;
        width: 100%;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
        position: fixed;
        top: 0;
        z-index: 5;
        height: 72px;
    }
    
    #navbarul {
        display: flex;
        align-items: center;
        padding: 0px 50px;
        list-style-type: none;
        gap: 0px;
        justify-content: space-between;
        margin: 0;
        height: 72px;
    }
    
    #menu-button {
        width: 30px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center
    }
    
    hr {
        height: 2px;
        background-color: white;
        border-radius: 4px;
        width: 100%;
        margin: 4px 0;
    }
    
    .navtextli, .navtext {
        display: none
    }
    
    #icon {
        height: 46px;
        width: 46px;
    }
}

#nav-popup-container {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000a7;
    z-index: 4;
    flex-direction: row-reverse;
}

#nav-popup {
    height: 100%;
    width: 50%;
    background-color: var(--Monticello-Blue);
    padding: 82px 20px 20px;
}

.navtext-popup {
    color: white;
    text-decoration: none;
    float: left;
    text-align: center;
    font-size: 20;
    text-transform: uppercase;
}

#navbarul-popup {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 20px;
}

.navtextli-popup {
    display: flex;
    gap: 10px;
    align-items: center;
}

.material-symbols-outlined {
    color: white;
}

#icon img {
    height: 100%;
}

main {
    position: relative;
    top: 72px;
    overflow: hidden;
    height: fit-content;
    width: 100vw;
    background-color: white;
    display: block;
}

#slideshow {
    background-color: gray;
    width: 100vw;
    height: 60vh;
    z-index: 0;
    display: block;
    position: relative;
}

.ssimg {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
}

#content {
    margin-bottom: 50px;
}

@media only screen and (min-width: 625px) {
    #content {
        padding: 0px 50px;
        overflow: hidden;
        height: fit-content;
        width: calc(100% - 95px);
        background-color: white;
        position: relative;
    }

    #sps-block {
        margin: 20px -50px 0;
    }

    footer {
        padding: 20px 50px;
        width: calc(100vw - 100px);
    }
}

@media only screen and (min-width: 1300px) {
    #article-popup {
        padding: 25px 125px;
    }

    #article-container {
        width: calc(100% - 300px);
        height: calc(100% - 100px);
    }
}

@media only screen and (min-width: 1000px) and (max-width: 1300px) {
    #article-popup {
        padding: 50px 75px;
    }

    #article-container {
        width: calc(100% - 200px);
        height: calc(100% - 150px);
    }
}

@media only screen and (min-width: 625px) and (max-width: 1000px) {
    #article-popup {
        padding: 50px 50px;
    }

    #article-container {
        width: calc(100% - 165px);
        height: calc(100% - 150px);
    }
}

@media only screen and (max-width: 625px) and (min-width: 360px) {
    #content {
        padding: 0px 25px;
        overflow: hidden;
        height: fit-content;
        width: calc(100% - 50px);
        background-color: white;
        position: relative;
    }

    #navbarul {
        padding: 0 25px;
    }

    #sps-block {
        margin: 20px -25px 0;
    }

    footer {
        padding: 20px 25px;
        width: calc(100vw - 50px);
    }

    #article-popup {
        padding: 50px 30px;
    }

    #article-container {
        width: calc(100% - 100px);
        height: calc(100% - 150px);
    }
}

@media only screen and (max-width: 360px) {
    #content {
        padding: 0px 10px;
        overflow: hidden;
        height: fit-content;
        width: calc(100% - 20px);
        background-color: white;
        position: relative;
    }

    #navbarul {
        padding: 0 10px;
    }

    #sps-block {
        margin: 20px -10px 0;
    }

    footer {
        padding: 20px 10px;
        width: calc(100vw - 20px);
    }

    #article-popup {
        padding: 40px 15px;
    }

    #article-container {
        width: calc(100% - 80px);
        height: calc(100% - 150px);
    }
}

.heading h1 {
    color: var(--Monticello-Blue);
    text-wrap: balance;
}

.line {
    height: 2px;
    width: 100%;
    background-color: var(--Victory-Yellow);
    margin-top: -22px;
}

.heading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.more {
    color: var(--CTA);
    font-size: 20px;
}

span {
    font-size: 20;
}


#news {
    width: 100%;
    margin: 30px 0 20px;
}

@media only screen and (min-width: 760px) {
    .panel {
        margin-top: 20px;
        width: 100%;
        display: flex;
        gap: 20px;
        align-items: center;
        height: 300px;
    }

    #panel-image {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        width: calc(50% - 10px);
        max-width: 580px;
        flex-shrink: 0;
        border-radius: 10px;
        overflow: hidden;
        filter: drop-shadow(-2px, 4px, 10px, #000025);
        background-image: url("./images/media1.jpg");
        background-size: cover;
        background-position: center;
        display: block;
    }

    .panel-options {
        flex: 1;
        display: flex;
        flex-direction: column;
        width: calc(50% - 10px);
        height: 100%;
        justify-content: space-between;
    }

    #news {
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 760px) {
    #news {
        height: 701px;
    }

    .panel {
        margin-top: 20px;
        width: 100%;
        display: block;
        height: 300px;
    }

    #panel-image {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 300px;
        width: 100%;
        flex-shrink: 0;
        border-radius: 10px;
        overflow: hidden;
        filter: drop-shadow(-2px, 4px, 10px, #000025);
        background-image: url("./images/media1.jpg");
        background-size: cover;
        background-position: center;
        display: block;
    }

    #news .heading .more {
        min-width: 86px;
    }

    .panel-options {
        margin-top: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 300px;
        justify-content: space-between;
    }
}

@media only screen and (max-width: 556px) {
    #news {
        height: 740px;
    }
}

@media only screen and (max-width: 344px) {
    #news {
        height: 777px;
    }
}

@media only screen and (max-width: 266px) {
    #news {
        height: 814px;
    }
}

@media only screen and (max-width: 238px) {
    #news {
        height: 854px;
    }
}

.fade {
    position: relative;
    top: 0px; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 25, 75, 0.00) 42.67%, #00194B 77.67%);
    mix-blend-mode: multiply;
}

.text-overlay {
    width: calc(100% - 20px);
    height: calc(100% - 10px);
    position: relative;
    top: -300px; left: 0px;
    mix-blend-mode: normal;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0px 10px 10px;
    align-items: end;
}

.text-overlay h2 {
    width: 75%;
    text-wrap: balance;
    text-overflow: "";
}

.text-overlay a {
    width: 135px;
    text-wrap: nowrap;
}

.more:hover {
    color: var(--Victory-Yellow);
    text-decoration: underline solid var(--Victory-Yellow);
}

#panel-text {
    color: var(--Victory-Yellow);
    margin: 0;
    text-shadow: 0 0 5px #00194B;
}

#panel-image {
    box-shadow: 0 0 10px black;
}

#panel-image .second-line {
    display: flex;
    align-items: center;
    gap: 50px;
}

.option {
    background-color: transparent;
    /* Default background color */
    /* transition: background-color 0.3s ease; */
    width: calc(100% - 40px);
    padding: 0 20px;
    border-radius: 10px;
    height: 60px;
    transition: background-color 0.1s ease-in-out;
}

.option-text {
    margin: 0;
    padding-bottom: 18px;
    padding-top: 18px;
    display: flex;
    font-size: 20px;
    position: relative;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    transition: color 0.1s ease-in-out;
}

.panel-options line {
    background-color: var(--Monticello-Blue);
}

.news-overflow {
    width: 75%;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 20%);
    transition: color 0.3s ease;
    transition: background-color 0.3s ease;
    transition: background-image 0.3s ease;
    white-space: nowrap;
    text-wrap: nowrap;
    text-overflow: "";
    color: black;
}

.date {
    color: black;
    width: 10%;
    min-width: 65px;
    text-align: right;
}

.option:hover span {
    color: white;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    background-color: transparent;
}

.blue-line {
    background-color: var(--Monticello-Blue);
    width: calc(100% - 20px);
    height: 2px;
    margin: -2px 0 -2px 10px;
}

.live {
    color: red;
}

.blue {
    color: blue;
}

.red {
    color: red;
}

#article-popup {
    visibility: hidden;
    position: fixed;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    background-color: #000000AA;
}

#article-container {
    background-color: white;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-gutter: stable both-edges;
    scrollbar-color: var(--Monticello-Blue) transparent;
    border: 4px solid white;
}

#article-content {
    position: relative;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: left;  
}

#article-content a {
    width: fit-content;
}

#article-content .line {
    margin: 0 0 20px;
}

#close {
    height: 25px;
    display: flex;
    justify-content: right;
    z-index: 10;
}

#close img {
    position: fixed;
    height: 25px;
    background-color: white;
    border-radius: 20px;
    border: 4px solid white;
}

#article-heading {
    color: var(--Monticello-Blue)
}

.article-img {
    border-radius: 10px;
}

.article-vid {
    --r: 960 / 540;
  
    aspect-ratio: var(--r);
    width:min(100%, min(100%, 90vh*(var(--r))));
    
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
  }

.article-subheader {
    margin-top: 0;
    color: var(--Monticello-Blue);
}

.article-text {
    color: black;
    font-size: 1.25em;
    letter-spacing: -0.03em;
    word-spacing: 0.1em;
    margin-bottom: 1em;
}

#alliance-partner {
    margin-top: -0.2em;
}

.qual-text {
    margin-top: 0em;
}

.live-option {
    background-color: #FF000020;
}

#article-container a {
    color: var(--Monticello-Blue);
    text-decoration-color: var(--Victory-Yellow);
    z-index: 5;
}

#article-date {
    color: #000000AA;
    font-style: italic;
}

.nuts {
    font-style: italic;
}

@media only screen and (min-width: 800px) {
    #about {
        margin: 0 -50px 30px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 20px;
        background-color: var(--Monticello-Blue);
        padding: 50px;
    }

    .about-image {
        display: flex;
        justify-content: center;
        align-items: center;
        object-fit: cover;
        max-width: 300px;
        border-radius: 10px;
    }
}

@media only screen and (max-width: 800px) {
    #about {
        margin: 0 -50px 30px;
        width: 100%;
        display: block;
        background-color: var(--Monticello-Blue);
        padding: 50px;
    }

    .about-image {
        display: flex;
        justify-content: center;
        align-items: center;
        object-fit: cover;
        width: 100%;
        border-radius: 10px;
    }

    #about .heading .more {
        min-width: 131px;
    }
}

#about h1 {
    color: white;
}

.about-block {
    max-height: 900px;
}

.about-block .heading {
    height: 20%;
}

.about-image {
    box-shadow: 0 0 10px black;
}

.about-text {
    font-size: 20px;
    line-height: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: 80%;
}

.about-text a {
    color: var(--CTA)
}

#about-bg {
    position: absolute;
}

#blueright,
#blueleft {
    z-index: 1;
    width: 390px;
    height: 452px;
}

#bluemid {
    z-index: 1;
    width: 501px;
    height: 452px;
}

@media only screen and (min-width: 474px) {
    #sps {
        width: 100%;
        height: 230px;
    }
}

@media only screen and (max-width: 474px) {
    #sps {
        width: 100%;
        height: 268px;
    }
}

@media only screen and (max-width: 308px) {
    #sps {
        width: 100%;
        height: 306px;
    }
}

#sps .heading .more {
    min-width: 87px;
}

#sps-block {
    overflow: hidden;
    width: calc(100vw - 20px);
    display: flex;
    background-color: #454545;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
}

.sp-img {
    object-fit: contain;
    height: 130px;
    width: calc(100% / 4 - 20px);
}

footer {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    background-color: #262626;
    height: 66px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#social-links {
    width: 230px;
    height: 30px;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#social-links div {
    box-sizing: border-box;
    width: 30px;
    height: 30px;
}

#social-links div svg {
    width: 100%;
    height: 100%;
}

#footer-text {
    margin: 0;
    font-size: 16px;
    color: white;
}
