@font-face {
  font-family: "pt-bold";
  src: url("./assets/pt-bold.woff2");
}

@font-face {
  font-family: "roboto-black";
  src: url("./assets/roboto-black.woff2");
}

@font-face {
  font-family: "merri-light";
  src: url("./assets/merriweather-light.woff2");
}

iframe {
    max-width: 100%;
    margin: 20px auto;
    display: block;
}

.timestamp {
    font-size: 12px;
    color: #aaa;
    margin: 30px 0;
}

.blog h1, .blog h2 {
    padding-top: 35px;
}

.blog h3 {
    padding-top: 20px;
}

::selection {
    background-color: #fdf147;
    color: black;
    -webkit-text-fill-color: black;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: merri-light, sans-serif;
    line-height: 1.6;
}

.video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1; /* Ensure it's behind the content */
}

nav {
    background-color: transparent;
    color: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.5s ease-in-out;
}

.scrolled {
    background-color: #000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: pt-bold, sans-serif;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 1rem;
    font-weight: 700;
}

.hero {
    background-color: transparent;
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: roboto-black, sans-serif;
}

.hero-title {
    color: rgba(250, 250, 250, .16);
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(#fff, #b6c0db);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 4em;
    filter: drop-shadow(0px 2px 2px black);
}

.content {
    background-color: white;
    padding: 2rem;
    min-height: 50vh;
}

section .content ul {
    list-style-type: none;
    padding: 0;
}
section .content li {
    background-color: #ecf0f1;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    position: relative;
    padding-left: 30px;
}
section .content li:before {
    content: "\2022";
    color: #3498db;
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.nsf {
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

section {
    width: 100%;
    background-color: #f0f0f0; /* Adjust as needed */
    padding: 4rem 0;
}

.section-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 1rem;
    white-space: nowrap;
}

.title-underline {
    height: 2px;
    width: 70px;
    background-color: #000;
}

.main-title {
    font-size: 2.5rem;
    font-weight: normal;
}

.news-carousel {
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    max-width: 1200px;
    margin: 5px auto;
    gap: 1rem;
    padding: 0 2rem;
}

.carousel-container a {
    text-decoration: none;
    color: inherit;
}

.carousel-item {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #fff;
}

.carousel-item:hover {
    transform: translateY(-5px);
}

.carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel-item .legend {
    padding: 1rem;
    background-color: white;
}

.carousel-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.carousel-item p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

footer {
    background-color: black;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    margin: 1rem;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.news-row {
    border-bottom: 1px dotted #ccc;
    padding: 10px 0;
}

.news-row a {
    text-decoration: none;
    color: #000;
    font-weight: 900;
}

.news-row div {
    font-size: 12px;
    color: #aaa;
    padding: 20px 0 10px 0;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        margin: 0 0.3rem;
        text-align: center;
        line-height: 0;
        font-size: 12px;
    }

    .hero-title {
        font-size: 2em;
    }

    .section-header-container {
        padding: 0 1rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .carousel-container {
        padding: 5px 1rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .carousel-item {
        flex: 0 0 90%;
        scroll-snap-align: start;
    }
    
    .footer-content {
        margin-left: 5px;
        flex-direction: column;
    }

    .footer-section {
        margin: 1rem 0;
    }
}