*{
  padding:0;
  margin:0;
  text-decoration: none;
  list-style:none;
  box-sizing: border-box;
}
body{
  font-family:poppins;
  background:  #e7f0fc; 
  margin: 0;
}
nav{
  border-radius: 7px;
  background: rgb(254, 254, 254);
  height:80px;
  width:100%;
  position: fixed;
}
label.logo{
  color:rgb(73, 112, 166);
  font-size:35px;
  line-height: 80px;
  padding: 0 100px;
  font-weight:bold;
}
nav ul{
 float: right;
 margin-right:20px;
}
nav ul li{
  display:inline-block;
  line-height:80px;
  margin: 0 5px;
}
nav ul li .a1{
  color:rgb(96, 127, 158);
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  transition: all 1s;
}
.a1.active,.a1:hover{
  text-shadow:2px 2px 5px rgb(153, 153, 213) ;
  color: rgba(150, 169, 224, 0.999);
  font-size: 18px;
}
.checkbtn{
  font-size: 30px;
  color: rgb(255, 255, 255);
  float:right; 
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
}
#check{
  display:none;

}
/*FIRST*/
@media (max-width: 952px) {
  nav {
    background: rgb(254, 254, 254);
    height: 80px;
    width: 100%;
    position: fixed;
    border-bottom: 2px solid rgb(78, 99, 139);
    border-radius: 0 0 7px 7px;
    z-index: 10;
  }

  .checkbtn {
    font-size: 30px;
    color: rgb(78, 99, 139);
    line-height: 80px;
    margin-left: 30px;
    cursor: pointer;
    display: block;
    z-index: 1;
    position: absolute;
  }

  label.logo {
    position: absolute;
    top: 0;
    right: 30px;
    font-size: 24px;
    line-height: 80px;
    color: #1a2c42;
    font-weight: bold;
    padding: 0 20px;
  }

  ul {
    position: absolute;
    width: 220px;
    height: 670px;
    background: #cddff8f4;
    top: 80px;
    left: 0; /* Set left to 0 to remove the gap */
    transition: all 0.5s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 150px;
    gap: 50px;
    pointer-events: none;
    opacity: 0;
  }

  nav ul li {
    display: block;
    line-height: 14px;
  }

  nav ul li .a1 {
    font-size: 16px;
    text-decoration: none;
    color: #1a2c42;
  }

  .a1:hover,
  .a1.active {
    background: none;
    color: #0d1c2e;
    font-weight: medium;
    text-shadow: 1px 1px 5px #6f7c8c;
  }

  #check:checked ~ ul {
    opacity: 1;
    pointer-events: auto;
  }
}


