*{
margin: 0;
padding: 0
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

img{
    max-width: 100%
}

h2{
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 0
}

p{
    margin-bottom: 20px
}
b{
    font-weight: 800;
    font-style: normal;
    padding: 0 3px
}

body {
    background-image: url('assets/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: "inter-24pt", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 1px;
    color: #EBEDDD;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    transition: transform 0.35s ease;
    height: 150px;
    background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 100%
);
    
}

.site-header.hide {
    transform: translateY(-100%);
}

.header-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

/* Navigation */
.main-nav ul {
    display: flex;
    margin: 0 -20px 0 0;
    padding: 0;
    list-style: none;
    align-items: center
}

.main-nav a {
    color: #EBEDDD;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 20px;
    display: block;
    position: relative;
}

.main-nav a:hover {
    color: #D367A2;
}

/* Active item */
.main-nav li.active a {
    color: #D367A2;
}

.main-nav li.active a::after, .main-nav li:hover a::after {
    content: "×";
    display: block;
    text-align: center;
    font-size: 24px;
    position: absolute;
  left: 0;
  right: 0;
    top: 30px
}


.hero-video {
    width: 100%;
    height: 95vh;
    position: relative
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-section {
    min-height: 100vh;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  padding: 120px 80px;
  gap: 100px;
  max-width: 1920px;
  margin: 0 auto;
    position: relative;
    scroll-margin-top: -50px;
}

.about-image {
  position: relative;
  left: -100px;
  width: 120%;
}

.about-image img {
    width: 120%;
    display: block;
}

.about-content {
    max-width: 500px;
    margin: 0 auto;
}


.about-content span {
    color: #D367A2;
    font-weight: 500;
}
.about-content span:first-of-type {
    padding: 0 1px
}


.about-x {
    position: absolute;
    width: 40px
}

.x-1 {
    left: 3%;
    top: 15%;
}
.x-2 {
    left: 50%;
    top: 15%;
}
.x-3 {
    left: 53%;
    top: 15%;
}
.x-4 {
    left: 3%;
    bottom: 20%;
}

.x-6 {
    right: 8%;
    bottom: 20%;
}
.x-7 {
    right: 5%;
    bottom: 20%;
}

.x-8 {
    right: 5%;
    bottom: 24%;
}

.x-9 {
    right: 5%;
    bottom: 28%;
}


.us {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 180px;
}


.ticker {
    overflow: hidden;
    width: 100%;
    position: absolute;
    font-style: italic;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    max-width: 100vw;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 120s linear infinite;
    padding: 10px 0;
    
}

.ticker-track span {
    flex-shrink: 0;
    white-space: nowrap;
}

/* White strip */
.ticker-top {
    bottom: 10px;
    transform: rotate(3deg);
    background: #082A1A;
    color: #EBEDDD;
    
}

.site-footer .ticker-top{
    bottom: auto;
    top: 0
}

.student .ticker-top {
  bottom: 50px;
}

/* Pink strip */
.ticker-bottom {
  bottom: -5px;
  transform: rotate(-2deg);
  background: #D367A2;
  color: #082A1A;
}

.student .ticker-bottom {
  bottom: 35px;
}

.site-footer .ticker-bottom{
    bottom: auto;
    top: -5px
}

.ticker-bottom .ticker-track {
    animation-direction: reverse;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}



.site-footer {
    background: #EBEDDD;
    color: #082A1A;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    padding: 120px 80px;
    position: relative
}

.footer-logo{
    margin-top: 40px
}
.footer-acknowledgements p {
    max-width: 650px;
}

.teachers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.teacher-list {
    list-style: none;
    counter-reset: teachers;
    font-weight: 600;
}

.teacher-list li {
    counter-increment: teachers;
    display: grid;
    grid-template-columns: 40px 1fr;
}

.teacher-list li::before {
    content: counter(teachers, decimal-leading-zero);
    font-weight: 700;
    font-style: italic
}


.video-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(211, 103, 162, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: min(90vw, 1200px);
}

.modal-content video {
    width: 100%;
    display: block;
}

.modal-close {
  position: absolute;
  left: 50%;
  top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 20px;
      background: #EBEDDD;
    color: #082A1A;
    transform: translateX(-50%);
    font-weight: 500
}


.student-hero {
    height: 95vh;
    position: relative;
    display: grid;
    grid-template-columns: 140px minmax(300px, 600px) auto;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
    max-width: 1920px;
    margin: 0 auto

}

.student-bio {
  max-width: 600px;
}

.student-name img {
    height: 70vh
}
.student-image{
 align-self: end;
    justify-self: center;
}
.student-image img {
    height: 80vh;
        width: auto;
    display: block;
    
}

.student-links a{
    color: #D367A2;
  text-decoration: none;
  display: block;
  font-size: 16px;
  line-height: 26px;
}


.hero-splash {
    min-height: calc(100dvh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;     
    text-align: center;
    padding: 40px;
    overflow: hidden
}

.hero-splash .logo {
    margin-top: -60px;
    margin-bottom: 20px;
}

.hero-splash .logo img {
    display: block;
    width: 300px;
    height: auto;
    max-width: 100%;
}

.hero-splash .info {
    max-width: 800px;
}

.hero-splash h1 {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
}

.hero-splash h1:nth-of-type(2) {
    color: #D367A2
}

.hero-splash h3 {
    margin-bottom: 40px;
}

.hero-splash .ticker-top{
    bottom: 50px;
}
.hero-splash .ticker-bottom{
    bottom: 35px;
}

#timer {
/*    display: flex;*/
    display: none;
    justify-content: center;
    gap: 40px;
    
}

#timer > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .ticker {
        font-size: 8px;
    }
    .hero-splash .logo {
  margin-top: -150px;
    }
    .hero-splash h1{
        max-width: 300px;
    }
    .hero-splash h1:nth-of-type(2) {
    margin-top: 20px;
}
.hero-splash .ticker-bottom {
  transform: rotate(-8deg);
  bottom: 45px;
}
}

