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

html {
    scroll-behavior: smooth;

    scroll-snap-type: y mandatory;

    scroll-padding-top: 60px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #000;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
}

.logo {
    margin: 0 auto;
    max-height: 140px;
    margin-top: 70px;
}

.menu-toggle-checkbox {
    display: none;
}

.menu-toggle-label {
    font-size: 24px;
    cursor: pointer;
    z-index: 110;
    position: relative;
    color: #fff;
}

.menu-toggle-label .burger-icon {
    display: block;
}

.menu-toggle-label .close-icon {
    display: none;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background: #333;
    color: #fff;
    padding-top: 80px;
    
    transform: translateX(-100%);
    
    transition: transform 0.3s ease-in-out;
    
    z-index: 105;
}

.side-menu ul {
    list-style: none;
}

.side-menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}
.side-menu li a:hover {
    background: #555;
}

.menu-toggle-checkbox:checked ~ .side-menu {
    transform: translateX(0);
}

.menu-toggle-checkbox:checked + .menu-toggle-label .burger-icon {
    display: none;
}

.menu-toggle-checkbox:checked + .menu-toggle-label .close-icon {
    display: block;
    color: pink; 
}



.full-page-panel {
    
    height: 100vh;
    width: 100%;
    
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    
    position: relative; 

    
    scroll-snap-align: start;
}

.full-page-panel h1 {
    font-size: 3rem;
    font-weight: 300;
}




.scroll-down-link {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #555;
    text-decoration: none;
    font-size: 30px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.scroll-down-link:hover {
    opacity: 1;
}

.section-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 

    
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    
    object-fit: cover;
    
    
    z-index: 1; 
}

.panel-content-overlay {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    
    width: 100%;
    height: 100%;
    
    
    color: #ffffff;
}


.panel-content-overlay h1 {
    font-size: 3rem;
    font-weight: 300;
    
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.panel-content-overlay .scroll-down-link {
    color: #ffffff;
    opacity: 0.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.panel-content-overlay .scroll-down-link:hover {
    opacity: 1;
}

.full-page-panel {
    background-color: #333; 
}




.video-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 200; 
    background: #000;
    
    
    opacity: 1;
    transition: opacity 1.5s ease-out;
}


#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.video-intro-hidden {
    opacity: 0;
    
    pointer-events: none; 
}




.main-content {
    
    
    padding-top: 150px; 
}

.main-site-hidden {
    opacity: 0;
    visibility: hidden; 
    transition: opacity 1.5s ease-in 1.3s;
}

.main-site-visible {
    opacity: 1;
    visibility: visible;
}


.loader-hidden {
    opacity: 0;
}



#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    
    opacity: 0; 
    
    transition: opacity 0.5s ease-in;
}


.video-visible {
    opacity: 1 !important;
}


.candal {
    font-family: "Candal", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.quantico {
  font-family: "Quantico", sans-serif;
  font-weight: 400;
  font-style: normal;
}



#section1 {
    background: url("media/sfestival.251114.jpg") top left;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: #333;
}

#section1 .sections-headers {
    position: absolute;
    left:7.5%;
    top:10%;
}

#section1 .sections-headers h1, #section1 .sections-headers h3 {
    font-size: clamp(1.5rem, 1rem + 3vw, 6rem);
    color: #fff;
    animation-name:glow;
    animation-duration:10s;
    animation-iteration-count:infinite;
    animation-direction:alternate;
    text-shadow: 3px 2px 0px #000 !important;
}

#section1 .sections-headers h2 {
    font-size: clamp(1.5rem, 2rem + 3vw, 6rem) !important;
    color: #e6007d;
    text-transform: uppercase;
    text-shadow: 4px 2px 3px #e2c174;
}

#section1 .sections-headers h4 {
    display: inline-block;
    font-size: clamp(1rem, 1rem + 2vw, 3rem) !important;
    padding: 10px;
    border-radius: 5px;
    border: 5px solid #e6007d;
    text-shadow: 4px 2px 3px #ccc;
    margin-top: 1em;
}

#section1 .sections-headers h4 a, #section1 .sections-headers h4 a:visited {
    color: #e6007d;
    text-decoration: none;
}

#section1 .sections-headers h3 {
    font-size: clamp(1rem, 1rem + 2vw, 3rem) !important;
}


@keyframes glow{
  from{text-shadow:0px 0px 5px #fff,0px 0px 5px #614ad3;}
  to{text-shadow:0px 0px 20px #fff,0px 0px 20px #614ad3;}
}



.site-footer {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px;
    background: #222;
    color: #aaa;
    scroll-snap-align: start;
    text-align: center;
    line-height: 1.5em;
}

.footer-section {
    
    flex: 1;
    min-width: 250px; 
    padding: 10px 20px; 
}

.footer-section a {
    border: 0;
    font-weight: bold;
    text-decoration: none;
    color:#aaa;
}

.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}
.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}


.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section img {
    max-width: 100%; 
    height: auto;
}

.footer-logo {
    height: 75px !important;
    width: auto;  
    margin-bottom: 10px; 
}

@media (max-width: 768px) {
    .site-footer {
        flex-direction: column; 
        align-items: center; 
    }
    .footer-section {
        text-align: center; 
        min-width: 100%;
        margin-bottom: 30px;
    }
}

.inner-section {
    background-color: #e2e2e2;
    justify-content: flex-start; 
    overflow-y: auto; 
    height: auto;
    padding-top: 80px; 
    padding-bottom: 40px;
}

.content-wrapper {
    display: flex;
    align-items: flex-start; 
    width: 80%; 
    max-width: 1400px; 
    
    
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.inner-section .content-wrapper:last-of-type {
     margin-bottom: 0;
}

.poster-image {
    flex-basis: 25%;  
    flex-shrink: 0;   
    text-align: center;
}

.poster-image p {
    padding: .5rem;
}
.poster-image img {
    width: 100%;      
    height: auto;     
    display: block;   
}

.poster-text {
    flex-basis: 75%;  
    padding: 2rem;    
    color: #333; 
    line-height: 1.75rem;
}

.poster-full-width {
    flex-basis: 100%;  
}

.poster-full-width p {
    margin: 1.5rem auto;  
}

.poster-text h3 {
    color: darkblue; 
    margin-top: 0;
    font-family: "Candal", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.poster-text h4 {
    color: #222; 
    margin-top: 1rem;
    font-family: "Quantico", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
}

.poster-text h5 {
    color: #e6007d; 
    margin-top: 0;
    font-family: "Candal", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.25rem, 2.75vw, 1.75rem);
}

.poster-text h6 {
    color: #222; 
    margin-top: 1rem;
    font-family: "Quantico", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.inner-link {
    color: #e6007d;
    text-decoration: none;
    font-weight: bold;
}

.inner-list li {
    list-style: none;
}

@media (max-width: 768px) {
    .logo {
        max-height: 100px;
    }

    
    .content-wrapper {
        flex-direction: column; 
        width: 90%; 
    }
       
    .poster-image,
    .poster-text {
        flex-basis: auto; 
        width: 100%;      
    }
    
    
    .poster-text {
        padding: 1.5rem;
    }

    .poster-image {
        max-width: 160px;
        margin: 0 auto;
    }

    #intro-video {
        object-fit: contain;
    }

}