@media (prefers-reduced-motion: no-preference) {
    * {
      scroll-behavior: smooth;
    }
  }
   
 body{
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #1B1D25;
    overflow: auto; 
}

body::-webkit-scrollbar {
  display: none;
}

.background-video-container{
  position:fixed;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}
.background-video-container video{
  height: 120vh;
  width: 100%;
  object-fit: cover;
}


  header{
    background-color: aliceblue;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    margin: 20px 40px 0 40px;
    border-radius: 5px;
    position: fixed;
    width: 95%;
    top:0;
  }

  header span{
      color:rgb(223, 16, 116);
  }
  
  header div{
    margin-left: 20px;
  }

  .logo a{
    text-decoration: none;
    color: black;
    line-height: 2rem;
    font-family: Comic Sans MS, Comic Sans, cursive;
    font-size: 1.5rem;
  }

  header ul{
    margin-right: 20px;
    
  }
  .nav {
    display:flex;
    flex-direction: row;
    gap: 50px;
    overflow: hidden;
    box-sizing: border-box;
    align-items: center;
  }

  .nav a{
    text-decoration: none;
    color: black;
  }

  .nav a:hover{
    border-bottom: 2px solid rgb(227, 61, 19);
    color:rgb(223, 16, 116) ; 
  }

  .nav li{
    display: inline-flex;
  }

  .menu{
    display: none;
    border: 2px solid black;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    
  }

  .menu span {
    width: 25px;
    height: 3px;
    background: #ee55a2ad;
    display: block;
    margin: 5px 0;
  }

  .line{
    height:3px;
    width:20px;
    background-color: black;
    margin-bottom: 3px;
    
  }


  main{
    font-family: "Ceviche One", system-ui;
    font-weight: 400;
    font-style: normal;
    margin: 0 auto;
    margin-top: 400px;    
    font-size:100px;
    letter-spacing: 22px;
    
  }

  main  h1{
    text-align: center;
    z-index: -1;
    color: #ee55a2ad ;
    text-shadow: 5px 5px 6px rgba(242, 242, 238, 0.678);
  }

  main h1:hover{
    transform: rotateX(360deg);
    transition: 2s;
  }


  footer{
    top: 1000px;
    position:absolute;
    width: 100%;
    background-color: rgb(22, 23, 30);
    height:150px;
    color: rgb(156 163 175);
    text-align: center;
    padding-top: 20px;
  }

  footer hr{
    width:95%;
  }

  footer a{
    color:rgb(156 163 175);
    text-decoration: none;
  }
  
  footer a:hover{
    color:#e5e7eb;
  }

  .footer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 20px 40px 0 40px;
  }

  .logo2 a{
    color: #e5e7eb;
    font-size: 2.5rem;
    line-height: 2rem;
    text-decoration: none;
    font-family:Montserrat, sans-serif;

  }

.nav1 {
  display: flex;
  gap: 30px;
  overflow: hidden;
}

.nav1 a{
  text-decoration: none;
  color: rgb(156 163 175);
}

.nav1 li{
  display: block;
}

@media all and (max-width: 640px) {

  .header{
    width: 90%;
    margin-left: 20px;
    margin-right: -20px;
  }

 
  
  .nav{
    flex-direction: column;
     max-height: 0;
     background-color: aliceblue;
     min-width: 100%;
     position: absolute;
     top: 60px;
     left: 0;
     gap: 0px;
     margin-right: 20px;
 }

  .nav li{
    display:block;
    padding: 10px 0;

  }

  .nav.open {
    max-height: 300px;
}

  ul{
    text-align: center;
  }

  .menu{
    display:block;
    position: absolute;
    right: 20px;
  }

 footer{
  height:380px;
  
 }
 .nav1{
  flex-direction: row;
  flex-wrap: wrap;
 }

 main  h1{
  z-index: -1;
  font-size: 100px;
  
  
}
  
}
