@font-face { font-family: League Spartan; src: url('../fonts/LeagueSpartan-VariableFont_wght.ttf'); }
@font-face { font-family: Lexend Exa; src: url('../fonts/Lexend-VariableFont_wght.ttf'); } 

body, html {
  margin: 0;
  padding: 0;
  height: 90%;
}

body {
  overflow: hidden;
}

.train-redirect-link{
  background-color: black;
  color: white;
  border: none;
  border-radius: 30px;
  width: 200px;
  transition: 0.3s
}

.train-redirect-link:hover{
  background-color: rgb(198, 198, 198);
  opacity: 0.5;
  color: black;
}

.train-text {
  font-family: "League Spartan";
  font-optical-sizing: auto;
  font-size: 20px;
  text-align: center;
}

header{
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgb(5, 5, 5);
  color: white;
  height: 80px;
  position: fixed;
  z-index: 1;
  width: 100%;
  margin-top: -80px;
}

.header-text {
  font-family: "League Spartan";
  font-optical-sizing: auto;
  font-size: 20px;
  text-align: center;
}

header ul{
  display: flex;
  list-style: none;
  gap: 50px;
} 

a {
  color:white;
  font-family: Lexend Exa;
  font-size: 16px;
  text-decoration: none;
}

.menu-items {
  display: flex;
  align-items: center;
}

.menu-items a {
  margin-right: 20px;
}

.hamburger-lines {
  display: none;
}

.checkbox {
  display: none;
}

#logo{
  height:60%;
}

#logo-inner {
  height: 70px;
}

.svg-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px;
}

.svg-container object {
  display: flex;
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 88%;
}
.svg-container object:nth-child(1) {
  z-index: 2;
}

.svg-container object:nth-child(2) {
  z-index: 1;
  opacity: 0.2; 
}

#mobile{
  display: none;
}


@media screen and (max-width: 361px){

  #desktop {
    display: none;
  }

  #mobile {
    display: block;
  }

  body, html {
      margin: 0;
      padding: 0;
      height: 100%;
  }
  
  .svg-container {
      position: fixed;
      margin-top: 60px;
      width: 100vw;
      height: 90vh;
      overflow: hidden; 
  }
  
  .svg-container object {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }
  .svg-container object:nth-child(1) {
      z-index: 1;
  }
  
  /*      Header      */
  
  header{
      display: fixed;
      justify-content: space-around;
      align-items: center;
      background-color: rgb(5, 5, 5);
      color: white;
      height: 80px;
  }
  
  header {
      position: fixed;
      z-index: 1;
      display: flex;
      width: 100%;
      margin-top: 0px;
  }
  
  a {
      color:white;
      font-family: League Spartan;
      font-size: 16px;
      text-decoration: none;
  }
  
  .menu-items {
      display: none;
  }

  .hamburger-lines {
      display: block;
  }

  .checkbox:checked ~ .menu-items {
      display: block;
  }

  .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  
  #logo{
    margin: 20px;
  }
  /*      Hamburger Menu      */
  .container {
      width: 100%;
      margin: 0;
      padding: 0; 
  }
  .navbar {
      width: 100%;
      background-color: black;
      opacity: 100;
      box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
  }
    
  .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 62px;
  }
    
  .navbar .menu-items {
      display: flex;
      gap: 20px
    }
    
  .navbar .nav-container a {
      text-decoration: none;
      color: #ffffff;
      font-weight: 500;
      font-size: 1.2rem;
      padding: 0.7rem;
    }
    
  .navbar .nav-container a:hover{
      font-weight: bolder;
    }
    
  .nav-container {
      display: block;
      position: relative;
      height: 60px;
    }
    
  .nav-container .checkbox {
      position: absolute;
      display: block;
      height: 32px;
      width: 32px;
      top: 20px;
      left: 20px;
      z-index: 5;
      opacity: 0;
      cursor: pointer;
    }
    
  .nav-container .hamburger-lines {
      display: block;
      height: 26px;
      width: 32px;
      position: absolute;
      top: 17px;
      left: 20px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    
  .nav-container .hamburger-lines .line {
      display: block;
      height: 4px;
      width: 100%;
      border-radius: 10px;
      background: #ffffff;
    }
    
  .nav-container .hamburger-lines .line1 {
      transform-origin: 0% 0%;
      transition: transform 0.4s ease-in-out;
    }
    
  .nav-container .hamburger-lines .line2 {
      transition: transform 0.2s ease-in-out;
    }
    
  .nav-container .hamburger-lines .line3 {
      transform-origin: 0% 100%;
      transition: transform 0.4s ease-in-out;
    }
    
  .navbar .menu-items {
      padding-top: 120px;
      background-color: black;
      height: 100vh;
      width: 100%;
      transform: translate(-150%);
      display: flex;
      flex-direction: column;
      margin-left: -40px;
      padding-left: 50px;
      transition: transform 0.5s ease-in-out;
      text-align: center;
  }
    
  .navbar .menu-items li {
      margin-bottom: 1.2rem;
      font-size: 1.5rem;
      font-weight: 500;
    }

  .nav-container input[type="checkbox"]:checked ~ .menu-items {
      transform: translateX(0);
  }
   
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
     transform: rotate(45deg);
  }
    
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
      transform: scaleY(0);
  }
    
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
      transform: rotate(-45deg);
  }
    
  .nav-container input[type="checkbox"]:checked ~ .logo{
      display: none;
  }
  
  }