@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: black;
    color: white;
    font-family: 'Titillium Web', sans-serif;
    height: 100%;
}

h1 {
    font-size: 6rem;
  }

p {
    font-size: 3rem;
}
  
  @media (max-width: 1200px) {
    h1 {
        font-size: 4rem;
    }
    p {
        font-size: 2rem;
    }
  }

  @media (max-height: 960px) {
    h1 {
        font-size: 4rem;
    }
    p {
        font-size: 2rem;
    }
  }
  
  @media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    p {
        font-size: 1.5rem;
    }
  }

  @media (max-height: 768px) {
    h1 {
        font-size: 3rem;
    }
    p {
        font-size: 1.5rem;
    }
  }
  
  @media (max-width: 768px) {
    h1 {
        font-size: 1.4rem;
    }
    p {
        font-size: 0.7rem;
    }
  }

  @media (max-height: 546px) {
    h1 {
        font-size: 1.4rem;
    }
    p {
        font-size: 0.7rem;
    }
  }
  
  @media (max-width: 576px) {
    h1 {
        font-size: 1rem;
    }
    p {
        font-size: 0.5rem;
    }
  }

  @media (max-height: 368px) {
    h1 {
        font-size: 1rem;
    }
    p {
        font-size: 0.5rem;
    }
  }

.fixed-nav {
    position: fixed;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    box-sizing: border-box;
    transition: top 0.3s;
    font-family: 'DejaVu Sans Mono', sans-serif;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-family: 'DejaVu Sans Mono', sans-serif;
}

.about {
    font-family: 'Titillium Web', sans-serif;
}

.contact{
    font-family: 'Titillium Web', sans-serif;
}


.nav-links li {
    flex: 1;
    text-align: center;
}

.nav-links li.logo {
    flex: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 10px 20px;
}

.nav-links img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.articleabout {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
  
  .article-container, .article-text {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
  #timeline-video {
    width: 30vw;
    height: auto;
    max-width: 75%;
    max-height: 50%;
    padding-left: 10vw;
    padding-top: 10vh;
    padding-bottom: 10vh;
  }
  
  .article-text p {
    padding-right: 75px;
    padding-left: 75px;
    text-align: center;
    overflow-y: auto;
  }

#video-head, #video-head2 {
    width: 100%;
    height: 90vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#intro-video, #intro-video2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-text, .video2-text {
    position: absolute;
    color: white;
    font-size: 3em;
    text-align: center;
    z-index: 2;
}

.aboottxt {
    justify-content: center;
    display: flex;
}

.video-text.top-left {
    top: 8vh;
    left: 15vw;
    animation: slideInFromLeft 1.4s forwards;
    animation-delay: 0.5s;
}

.video-text.bottom-right {
    bottom: 8vh;
    right: 15vw;
    animation: slideInFromRight 1.4s forwards;
    animation-delay: 0.5s;
}

.video2-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeIn 1.4s forwards;
    animation-delay: 0.5s;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#portfolio-head {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background: #f4f4f4;
    color: black;
    padding: 50px 0;
    box-sizing: border-box;
}

.video-container {
    text-align: center;
    width: 80vw; /* Adjusted width to leave space for text */
    position: relative;
    margin-bottom: 20px;
}

.custom-iframe {
    width: 80%;
    height: calc(60vw * 9 / 16); /* Maintain 16:9 aspect ratio */
}

.image-playlist {
    width: 48%;
    padding: 10px;
    box-sizing: border-box;

}



.video-description {
    position: relative;
    bottom: -50px; /* Adjusted to leave space for the description */
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.exciting-text {
    font-family: 'Titillium Web', sans-serif; /* Ensure font matches */
    color: black;
    animation: slideInFromLeft 1.4s forwards; /* Left-to-right transition */
    opacity: 0; /* Initially hidden for animation */
    margin-bottom: 50px;
    padding: 20px;
    animation-delay: 0.5s; /* Delay for effect */
}

#form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: #f4f4f4;
    color: black;
    padding: 50px;
    box-sizing: border-box;
}

#form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    color: #333;
}

#form form {
    width: 100%;
    max-width: 600px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

#form input[type="text"],
#form input[type="email"],
#form textarea {
    width: 100%;
    max-width: 600px;
    max-height: 200px;
    min-height: 40px;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    color: #333;
}

#form input[type="text"]:focus,
#form input[type="email"]:focus,
#form textarea:focus {
    border-color: #007BFF;
    outline: none;
}

#form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

#form input[type="submit"]:hover {
    background-color: #0056b3;
}

.social-media-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icon {
    margin: 0 10px;
}

.social-icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-icon img:hover {
    transform: scale(1.1);
}