: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;
}

@media only screen and (min-width: 650px) {
    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;
    }
    
    ul {
        display: flex;
        align-items: center;
        padding: 0px 50px;
        list-style-type: none;
        gap: 40px;
        justify-content: space-between;
    }
    
    #menu-button {
        display: none;
    }
    
    .navtext {
        color: white;
        text-decoration: none;
        float: left;
        text-align: center;
        font-size: 20;
        text-transform: uppercase;
    }
    
    .navtext:hover {
        color: var(--Victory-Yellow);
    }
    
    #icon {
        height: 46px;
        width: 300px;
    }    
}

@media only screen and (max-width: 650px) {
    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;
    }
    
    ul {
        display: flex;
        align-items: center;
        padding: 0px 50px;
        list-style-type: none;
        gap: 0px;
        justify-content: space-between;
    }
    
    #menu-button {
        width: 30px;
        height: 100%;
    }
    
    hr {
        height: 2px;
        background-color: white;
        border-radius: 4px;
    }
    
    .navtextli, .navtext {
        display: none
    }
    
    #icon {
        height: 46px;
        width: 46px;
    }
    
}


#icon img {
    height: 100%;
}

main {
    position: relative;
    top: 72px;
    overflow: hidden;
    width: 100vw;
    display: flex;
    justify-content: center;
    height: 100%;
}

#description {
    color: var(--Monticello-Blue);
    margin: 0 auto 50px;
    font-size: 25px;
    text-align: center;
}

#const {
    color: var(--Monticello-Blue);
    margin: 50px auto 0;
    font-size: 50px;
    text-align: center;
}

#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);
        position: absolute;
        bottom: 0;
    }
}

@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;
    }

    ul {
        padding: 0 25px;
    }

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

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

    #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;
    }

    ul {
        padding: 0 10px;
    }

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

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

    #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.png");
        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.png");
        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;
}

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

.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;
}

.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;
}

.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;  
}

#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-text {
    color: black;
    font-size: 1.25em;
    letter-spacing: -0.03em;
    word-spacing: 0.1em;
    margin-bottom: 1em;
}

.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;
}

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

#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;
}