* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    overflow: -moz-scrollbars-none; /* For Firefox */
    scrollbar-width: none;          /* For Firefox */
}
body {
    font-family: 'Libre Baskerville', serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Preloader styling */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Background color of preloader */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of other elements */
  }
  
  .loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .loader-logo {
    max-width: 200px; /* Adjust the size of the logo */
    margin-bottom: 20px; /* Space between logo and bars */
  }
  
  /* Loader bars styling */
  .loader-bars {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* Height of the bars container */
  }
  
  .bar {
    width: 4px;
    background-color: #4E2A84; /* Default color */
    animation: grow-middle 1.2s infinite ease-in-out;
    margin: 0 4px;
    transform-origin: center; /* Set the transformation origin to center */
    height: 0%; /* Start from 0% height */
  }
  
  /* Alternating bar colors */
  .loader-bars .bar:nth-child(odd) {
    background-color: black; /* Purple */
  }
  
  .loader-bars .bar:nth-child(even) {
    background-color: #A1A2A4; /* Grey */
  }
  
  /* Inside-out vertical grow animation */
  @keyframes grow-middle {
    0%, 40%, 100% {
      height: 0%;
    }
    20% {
      height: 100%;
    }
  }
  
  /* Inside-out horizontal animation delay */
  .loader-bars .bar:nth-child(3) {
    animation-delay: 0.1s; /* Middle bar */
  }
  .loader-bars .bar:nth-child(2), .loader-bars .bar:nth-child(4) {
    animation-delay: 0.2s; /* Next two bars */
  }
  .loader-bars .bar:nth-child(1), .loader-bars .bar:nth-child(5) {
    animation-delay: 0.3s; /* Outer two bars */
  }

h1, h2 {
    font-family: "Bungee Tint", system-ui;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Typing effect for #layer1 h1 */
@keyframes typing {
    from { width: 0; }
    to { width: 25ch; }
}

/* Blinking cursor effect */
@keyframes blink {
    from { border-right-color: rgba(0, 0, 0, 0); }
    to { border-right-color: rgba(0, 0, 0, 1); }
}

#layer1{
    color: black;
    position: relative;
    padding: 20px;
}
#layer1 h1 {
    font-family: "Luckiest Guy", system-ui;
    font-size: 50px;
    white-space: nowrap;
    overflow: hidden; 
    border-right: 4px solid; 
    width: 0; 
    animation: typing 4s steps(100, end) forwards, blink 0.50s step-end infinite; 
}
/* Styling for the sliding message section */
.sliding-message {
    position: absolute;
    left: -100%;
    width: 100vw;
    color: black;
    font-size: 1.5rem;
    padding: 10px 0;
    text-align: center;
    animation: slideAcross 20s linear infinite;
    z-index: 10;
}

@keyframes slideAcross {
    0% {
        left: -100%; 
    }
    100% {
        left: 100%; 
    }
}

#layer1 {
    position: relative;
    padding: 20px;
    margin-top: 100px; 
}
#layer3 h1{
    font-family: "Luckiest Guy", system-ui;
    font-size: 50px;
    font-weight: 400;
    font-style: normal;
    margin: 50px 0 0;
}

#layer3 h2{
    width: 90%;
    text-align: center;
    margin: 65px auto 0;
    padding-top: 60px;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #861a1b;
}

/* Header Section */
.header {
    position: relative;
    text-align: center;
    padding: 20px;

}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('photos/hurdles\ .jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.6; 
    z-index: -1; 
    filter: brightness(50%); 
}

/* Load-up animation for .header-img */
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px); 
    }
    100% {
        opacity: 1;
        transform: translateY(0); 
    }
}

.header-img {
    display: flex;
    margin-left: auto; 
    margin-right: 0;
    width: 50%; 
    max-width: 545px;
    object-fit: contain;
    overflow: hidden;
    animation: fadeSlideIn 3s ease-in-out;
}

/* Load-up animation for .Logo */
@keyframes slideUpZoomIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.9); 
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1); 
    }
}

.Logo {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55vw;
    max-width: 1500px;
    height: auto;
}

.navbar .top {
    width: 50px;
}

/* Content Sections */
.content-section {
    position: relative;
    padding: 40px;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('photos/Logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1; 
    z-index: -1;
}

.content-section2 {
    position: relative; 
    padding: 40px;
    background-color: #861a1c16;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
}

.text-content {
    margin-top: 20px;
}

.text-content p.info {
    font-size: 16px;
    margin-bottom: 20px;
}

.headshot {
    float: left;
    width: 250px;
    margin-right: 20px;
    border-radius: 8px;
}

#layer3 {
    text-align: center;
    background-color: #f7fafc;
}

.one {
    width: 260px;
    margin: 20px;
}

#layer3 p{
    margin-bottom: 20px;
}

.note {
    color: #e63946;
    font-weight: bold;
}

/* Quote Section */
.quote-image-container {
    text-align: center;
    margin: 40px auto;
    background: url('photos/stadium.png') no-repeat top center;
    background-size: cover;
    padding: 310px;
    border-radius: 8px;
}

.head{
    width: 200px;
}
.quote {
    font-size: 24px;
    margin-bottom: 20px;
    color: #444;
}

.small-text {
    font-size: 18px;
    font-style: italic;
    font-family: 'Oregano', serif;
    color: #555;
}

/* Video Gallery */
.video-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.main-video video {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.2);
}


.vid {
    width: 150px;
    margin: 10px;
    cursor: pointer;
}

.vid video {
    width: 100%;
    border-radius: 8px;
}

/* Call to Action */
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(photos/lanes.jpg);
    background-position: bottom center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;

}

.cta h1{
    color: #fff;
    margin-bottom: 40px;
    font-family: "Luckiest Guy", system-ui;
    letter-spacing: 2px;
    padding: 0;
}


.hero-btn {
    background-color: #e63946;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
}

.hero-btn:hover {
    background-color: #ff6f61;
}

footer {
    text-align: center; 
    padding: 20px;
    background-color: transparent;
    color: black;
}

footer p {
    margin: 10px 0;
    color: black;
}

.fa-instagram {
    font-size: 50px; 
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-section, .quote-image-container {
        padding: 20px;
    }

    .headshot {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }

    .text-content p.info {
        font-size: 14px;
    }

    .vid {
        width: 100%;
    }

    .hero-btn {
        font-size: 16px;
    }
}

.headshot, .one {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.one {
    margin: 10px;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.payment {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.payment figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cash {
    max-width: 145px;
    height: auto;
    margin-bottom: -2px;
    margin-top: -18px;
}

.cash1 {
    max-width: 67px;
    height: auto;
    margin-bottom: 10px;
}

.quote-image-container {
    text-align: center;
    margin: 20px auto;
}

.quote, .quote2 {
    font-size: 1.2rem;
    font-style: italic;
    margin: 10px 0;
}

.small-text {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.heading {
    font-size: 2rem;
    margin-top: 60px;
    font-family: "Luckiest Guy", system-ui;
    font-weight: 400;
    font-style: normal;
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-video {
    margin-bottom: 20px;
}

.video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.vid video {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.vid_info{
    display: none;
    margin: 0 0 -85px;
}

.vid_info span {
    font-size: 40px;
    color: #861a1b;
    animation: blinkAnimation 3s infinite; 
}

@keyframes blinkAnimation {
    0%, 100% {
        opacity: 1; 
    }
    50% {
        opacity: 0; 
    }
}
.cta {
    background-color: #861a1b;
    color: #fff;
    padding: 40px 20px;
}

.hero-btn {
    background-color: #fff;
    color: #861a1b;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    background-color: #e7e7e7;
}


/* Click to enter page */
/* Full viewport height with centered content */
.enter-page {
    text-align: center;
    transition: opacity 1s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    position: relative;
    overflow: hidden;
}

.enter-heading {
    font-size: 3rem;
    animation: fadeInScale 1.5s ease-out forwards;
}

.enter-subheading {
    font-size: 1.5rem;
    margin-top: 10px;
    animation: fadeInScale 1.5s ease-out 0.5s forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.enter-heading {
    animation: slideInLeft 1s ease-out forwards;
}

.enter-subheading {
    animation: slideInRight 1s ease-out forwards;
}

.enter-btn {
    margin-top: 30px;
    padding: 10px 20px;
    font-size: 1.2rem;
    border: 2px solid #861a1b;
    background-color: transparent;
    color: #861a1b;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.enter-btn:hover {
    background-color: #861a1b;
    color: #fff;
    transform: scale(1.1);
}

/* Background flashing animation */
.enter-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('photos/image1.png') center center/cover no-repeat;
    opacity: 0.3;
    animation: flashEffect 15s infinite;
    z-index: -1; 
}

@keyframes flashEffect {
    0%, 100% {
        background: url('photos/Logo.png') center center/contain no-repeat;
    }
    25% {
        background: url('photos/unc_header2.png') center center/contain no-repeat;
    }
   
    50% {
        background: url('photos/Logo\ 3.png') center center/contain no-repeat;
    }
}
    
/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* For page fade-out when entering the site */
.enter-page.fade-out {
    opacity: 0;
}





/* Media Queries */
@media (max-width: 768px) {
    .content-section, .content-section1, .cta {
        padding: 20px 10px;
    }

    .video-list {
        flex-direction: column;
        gap: 10px;
    }

    .vid video {
        width: 100%;
        height: auto;
    }

    .payment {
        flex-direction: column;
        align-items: center;
    }
}
@media (min-width: 1920px){

}
/* Tablets (Portrait and Landscape) */
/* iPad Mini, iPad, iPad Air, iPad Pro 9.7" and 10.5" */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .Logo {
        position: absolute;
        top: 50%; 
        left: 50%;
        transform: translate(-50%, -50%); 
        width: 55vw;
        max-width: 1500px;
        height: auto;
    }
    .header-img {
        display: flex;
        margin-left: 70%;
        width: 260px;
        max-height: 600px;
        object-fit: contain;
    }
    .quote-image-container {
        text-align: center;
        background: url(photos/stadium.png) no-repeat top center;
        background-size: contain; 
        padding: 205px; 
        border-radius: 10px;
    }
    @keyframes typing {
        from { width: 0; }
        to { width: 13ch; }
    }
}
/* Landscape for iPads, tablets */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) { 
    .header-img {
        display: flex;
        margin-left: 70%;
        width: 355px;
        object-fit: contain;
        overflow: hidden;
        animation: fadeSlideIn 3s ease-in-out;
    }

    @keyframes typing {
        from { width: 0; }
        to { width: 18ch; }
    }
}

/* Mobile Phones (Portrait) */
@media (max-width: 480px) {
    .header-img {
        display: flex;
        margin: auto;
        width: 360px;
        max-height: 600px;
        object-fit: contain;
    }
    .Logo {
        position: absolute;
        top: 560px;
        width: 90vw;
        max-width: 1500px;
        height: auto;
    }
    .headshot {
        margin-right:0;
    }
    .quote-image-container {
        text-align: center;
        background: url(photos/stadium.png) no-repeat top center;
        background-size: contain; 
        padding: 115px; 
        border-radius: 10px;
    }
    .video-list {
        display: none;
    }
    .vid_info{
        display: block;
    }
    .cta{
    background-size: 160% auto;
    }

    @keyframes typing {
        from { width: 0; }
        to { width: 10ch; }
    }
    .content-section {
        position: relative;
        padding: 40px;
        background-color: #fff;
        margin: 20px auto;
        max-width: 1200px;
        border-radius: 8px;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
        overflow: hidden; 
    }
   
}
/* iPhone 14 Pro Max (Landscape) */
@media (max-width: 932px) and (orientation: landscape) {
    .header{
        padding: 0;
    }
    .header-img {
        display: flex;
        margin-left: 70%;
        width: 200px;
        max-height: 600px;
        object-fit: contain;
    }
   
    .headshot {
        margin-right:0;
    }
    .quote-image-container {
        text-align: center;
        background: url(photos/stadium.png) no-repeat top center;
        background-size: contain; 
        padding: 230px; 
        border-radius: 10px;
    }
    .video-list {
        display: none;
    }
    .vid_info{
        display: block;
    }
    .cta{
    background-size: 115% auto;
    }

    @keyframes typing {
        from { width: 0; }
        to { width: 13ch; }
    }

    .Logo {
        position: absolute;
        top: 50%; 
        left: 50%;
        transform: translate(-50%, -50%); 
        width: 55vw;
        max-width: 1500px;
        height: auto;
    }

    .content-section {
        position: relative; 
        padding: 40px;
        background-color: #fff;
        margin: 20px auto;
        max-width: 1200px;
        border-radius: 8px;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
        overflow: hidden; 
    }
    
}
/* Very Small Devices (e.g., older phones) */
@media (max-width: 320px) {
    .header-img {
        display: flex;
        margin-left: -50px;
        width: 360px;
        max-height: 600px;
        object-fit: contain;
    }

    .Logo {
        position: absolute;
        top: 560px;
        left: 160px;
        width: 90vw;
        max-width: 1500px;
        height: auto;
    }

    .cta {
        background-size: 180% auto;
    }

    @keyframes typing {
        from { width: 0; }
        to { width: 9.5ch; }
    }
}

