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

a{
    text-decoration: none;
    color: white;
}

body {
    font-family: "Kode Mono", sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.background-zoom {
    width: 100%;
    height: 100vh;
    background-image: url('images/bg.gif');
    background-size: cover;
    background-position: center;
    transform: scale(1.0); /* initial zoomed-in */
  }
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  /* Ensure it takes full viewport size */
    z-index: 0;
}

#headerContact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  /* Ensure it takes full viewport size */
    background-image: url(images/bg2.png) ;
    background-size: cover; /* Resize the background image to cover the entire container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */

}

#video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

#logo-container {
    position: absolute;
    top: 7%;
    left: 12%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 17em;
    height: 15em;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.logo.active {
    opacity: 1;
}

.buttons {
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1;
}

.button {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
}

.button:hover {
    background-color: rgba(255, 255, 255, 1);
}

#menu {
    position: absolute;
    bottom: 15%;
    left: 55%;
}

.menuButton {
    color: white;
    font-size: 2.0em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    margin-bottom: 0.5em;
}

.menuButton:hover {
    color: white;
    text-shadow: 0 0 10px white, 0 0 20px white;
}
#footer{
    position: absolute;
    bottom: 3%;
    left:22%;

}

.social{
    display: inline;
    color: white;
    margin: 0 0.5em;
    font-size: 1.35em;
    transition: color 0.3s ease, text-shadow 0.3s ease;

}
.social:hover {
    color: white;
    text-shadow: 0 0 10px rgb(255, 255, 255), 0 0 20px white;
}

#mail{
    position: absolute;
    top: 40%;
    left:8%;
    color: white;
}
.back { 
    color: white;
    line-height: 1; /* or a smaller value like 1.1 */
}

.backArrow {
    display: block;
    margin-bottom: -4px; /* reduce vertical spacing */
    font-size: xx-large;
}
#backMenu{
    margin: 5%;
}

#about{
    position: absolute;
    top: 13%;
    left:15%;
    color: white;
    width: 70%;
}

.about{
    text-align: justify;
    text-justify: inter-word;
}
/* Small phones (portrait) */
@media (max-width: 480px) {
    .menuButton {
      font-size: 1.5em;
    }
    .logo {
      width: 15em;
      height: 12em;
    }
    #about {
      width: 90%;
      left: 5%;
      font-size: 1rem;
    }
    #footer {
      flex-direction: column;
      align-items: center;
      gap: 20px;
      position: absolute;
    
    }
    #mail {
      flex-direction: column;
      gap: 20px;
    }
    #menu{
      position: absolute;
      top: 50%;
      font-size: x-large;
    }
  }
  
  /* Tablets (portrait and landscape) */
  @media (min-width: 600px) {
    .menuButton {
      font-size: 2em;
    }
    .logo {
      width: 22em;
      height: 18em;
    }
  }
  
  /* Tablets and up */
  @media (min-width: 768px) {
    #menu {
      display: flex;
      justify-content: center;
      gap: 40px;
      right: 25%;
    }
    .menuButton {
      font-size: 3em;
    }
    #footer {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-top: 30px;
      left: 5%;
    }
    .logo {
      width: 30em;
      height: 25em;
    }
    #about {
      position: absolute;
      top: 20%;
      left: 15%;
      color: white;
      width: 70%;
    }
    #backMenu {
      margin: 3%;
    }
    #mail {
      display: flex;
      justify-content: center;
      gap: 40px;
      right: 10%;
      top: 50%;
    }
  }
  
  /* Desktop and up */
  @media (min-width: 1024px) {
    #logo-container {
      position: absolute;
      top: 10%;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    #about{
        position: absolute;
        top: 20%;
        left: 15%;
        color: white;
        width: 70%;
    }
    #mail {
      width: 60%;
      margin: 50px auto;
      font-size: 1.3rem;
      line-height: 1.8;
    }
    #footer {
      font-size: 1.1rem;
    }
  }
  
  /* Large desktops (Full HD and above) */
  @media (min-width: 1440px) {
    .logo {
      width: 35em;
      height: 28em;
    }
    .menuButton {
      font-size: 3.5em;
    }
    #about{
        position: absolute;
        top: 20%;
        left: 15%;
        color: white;
        width: 70%;
        font-size: x-large;
    }
    #mail {
      width: 50%;
      font-size: 1.5rem;
      line-height: 2;
    }
    #footer {
      font-size: 1.2rem;
      gap: 50px;
    }
    #menu{
      position: absolute;
      left: 70%;
    }
  }
  