
html {
    height: 100%;
    width: 100%;
    background:#060609;
  
  }
  
  *{
    margin: 0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
   
  }
  body{
    color: #f7f7f7;
  }
    /* navigation */
  .header {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
  }
  .skip{
    text-align: center;
  }
  .logo {
    float: left;
    display: block;
    transition: all 0.2s ease-in-out;
  }
  
  .logo:hover {
    transform: scale(1.2) rotate(-20deg); /* Increase the size on hover */
   
  }
  .skip {
    font-size: 18px;
    color: #717891;
    text-decoration: none;
    font-weight: 500;
    transition: all .3s ease-in-out, letter-spacing 0.3s ease-in-out;
    position: relative;
  }
  
  .skip::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #717891; /* Change this to the color you want for the underline */
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
  }
  
  .skip:hover {
    letter-spacing: 1px;
    color: #f7f7f7;
  }
  
  .skip:hover::before {
    visibility: visible;
    transform: scaleX(1);
  }


  .navbar a{
    font-size: 18px;
    color: #717891;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: all .3s ease-in-out, letter-spacing 0.3s ease-in-out;
    position: relative;
    
  
  }
  .navbar a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #717891; /* Change this to the color you want for the underline */
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
  }
  .navbar a:hover,
  .navbar a.active{
    
    letter-spacing: 2px;
    color: #f7f7f7;
    transform: scale(1.2) rotate(-20deg); /* Add scale and rotation for the hover effect */
  
    
  }
  .navbar a:hover:before {
    visibility: visible;
    transform: scaleX(1);
  }
  

  /* aside contents*/
  .sidebar {
    
    color: #717891;
    padding: 20px;
    min-width: 150px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height:100%;
    background: #060609;
    border: 2px solid #717891;
    border-radius: 8px;
    font-size: 19px;
    text-decoration:none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
    position: sticky; /* Add this line to make the sidebar sticky */
    top: 0; /* Add this line to position the sidebar at the top of the screen */
    left: 20px; /* Adjust the left spacing as needed */
}
    
  
  .sidebar ul {
    list-style: none;
    padding: 0;
  }
  
  .sidebar li {
    margin-bottom: 5px;
  }
  .sidebar a {
    text-decoration: none;
    color: #717891;
    display: inline-block;
    position: relative;
    transition: letter-spacing 0.3s ease-in-out; /* Add this line for the animation */
  }
  .sidebar a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    transform: scaleX(0); /* Initial value for the underline */
    transform-origin: right;
    transition: transform 0.3s ease-in-out; /* Add this line for the animation */
  }
  
  .sidebar a:hover {
    letter-spacing: 2px; /* Increase the space between letters on hover */
    color: #f7f7f7;
  }
  
  .sidebar a:hover::after {
    transform: scaleX(1); /* Expand the underline on hover */
    transform-origin: left;
  
  }
  /*main*/
  .main{
    max-width: 1000px;
    margin: 0 auto;
  }
  .main h4{
    font-size: 1.3rem;
    margin-top: 20px;
    color: #717891;
  }
  .main h3{
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #717891;
    font-weight: 600;
  }
  .main h2{
    font-size: 2rem;
    margin-bottom: 15px;
    color: #717891;
    font-weight: 600;
  }
    .main p{
    font-size: 1rem;
    line-height: 1.5;
    color: #f7f7f7;
    margin-top: 15px;
  }
  .main li{
    font-size: 1rem;
    line-height: 1.5;
    color: #f7f7f7
  }
  .heading{
    width:90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin:20px auto;
  }
  .heading h1{
    font-size: 3rem;
    color: #f7f7f7;
    margin-bottom: 10px;
    position: relative;
  
  }


  .container{
    width:90%;
    margin: 0 auto;
    padding: 10px 20px;
    margin-bottom: 100px;
  }
  .contents{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  .education-image{
    flex:1;
    margin-right: 40px;
    overflow: hidden;
  }
  .education-image img{
    border: 2px solid #717891;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    display: block;
    transition: .5s ease;
  }
  

  .education-text{
    flex:1;
  }
    

  .container2{
    margin-bottom: 100px;
    margin-top: 100px;
    width:90%;
    margin: 0 auto;
    padding: 10px 20px;
  }
  .contents2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  .happy-family{
    flex:1;
    margin-right: 40px;
    overflow: hidden;
  }
  .happy-family img{
    max-width: 100%;
    height: auto;
    display: block;
    border: 2px solid #717891;
    border-radius: 8px;
  }

  .prevention-text{
    flex:1;
  }



  /* footer*/
  footer {
    margin-top: auto;
    background-color: #050505;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
  }
  
  .footer_container {
    width: 100%;
    padding: 70px 20px 20px;
    flex-grow: 1;
  }
  
  .footer_nav {
    margin: 30px 0;
  }
  
  .footer_nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
  }
  
  .footer_nav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1em;
    opacity: 0.7;
    position: relative; /* Add this to create a positioning context for the ::before pseudo-element */
  }
  
  .footer_nav ul li a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #fff; /* Change this to the color you want for the underline */
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
  }
  
  .footer_nav ul li a:hover {
    opacity: 1;
  }
  
  .footer_nav ul li a:hover::before {
    visibility: visible;
    transform: scaleX(1);

  }


  @media (max-width: 700px){
    *{
      flex-direction:column;
    }
    .heading{
      flex-direction:column;
    }
  
    .footer_nav ul{
      flex-direction:column;
    }
    .footer_nav ul li{
      width:100%;
      text-align:center;
      margin:10px;
    }
    
    .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar a {
    margin: 10px;
    }

  .header {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center text */
  }
  }