@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;
}

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;
  gap: 50px;
  overflow: hidden;
}

.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 {
            margin: 120px 40px 0px 40px;
        }

        .dep {
            display: grid;
            justify-content:center;
            
        }

        .dep a {
            text-decoration: none;
        }

        .sem {
            background-color: #23252e;
            height: 9vh;
            width:30rem; 
            box-sizing: border-box;
            margin-top: 30px;
            border-radius: 5px;
            color: #c6cbdf;
            padding: 5px;
        }

        .sem p {
            text-align: center;
            
        }

        .sem span {
            font-size: 15px;
            font-weight: bold;
            color: aliceblue;
        }

        .sem:hover{
          border: 3px solid rgb(223, 16, 116);
          
          }

        footer {
            margin-top: 330px;
            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;
            top: 60px;
        }

        .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;
          }
        
         
          
          .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;
}

.sem{
  width: 100%; 
}

}
    
