@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,600&family=Poppins&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: navajowhite;
    scroll-behavior: smooth;
    font-family: 'poppins',sans-serif;


}
:root{
    --bg-color:#081b29;
    --second-bg-color:#112e42;
    --text-color:#ededed;
    --main-color:#00abf0;
}
html{
    font-size: 69.5%;
    overflow-x: hidden;
}
body{
    background:var(--bg-color);
    color: var(--text-color);
}

.read ul li{
    font-size: 1.7rem;
    padding: 1.5rem;
    padding-left: 2.5rem;
    box-sizing: border-box;
    border-radius: 3rem;
    border: .3rem solid var(--main-color);
    margin-top: 3rem;
    margin-left: 10rem;
    width: 80%;
    
}
.btn-box {
margin-left: 30%;
text-align: center;
margin-top: 2rem;
margin-bottom: 2rem;

}
.big{
    box-sizing: border-box;
    border: .2rem solid var(--text-color);
    border-radius: 10rem;
    margin: 5rem;
}
.big h1{
    text-align: center;
    font-size: 3.5rem;
}
span{
    color: var(--main-color);
}
.small{
  padding: 2rem;
}
.small ul{
  list-style: none;
  display: flex;
  flex-direction: column;
  text-align: center;
 
}
.small ul li {
   
    border-radius: 20rem;
    text-align: center;
   padding: 2rem;
    font-size: 2rem;
    border: .2rem solid var(--main-color);
    margin: 1.7rem;
}
.small ul li a{
    
    text-decoration: none;
    color: var(--text-color);

}
.btn-box .btn{ position: relative;
    display: inline-flex;
    justify-content:center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
    margin-left: 2rem;

}
.btn-box .btn:hover{
    color: var(--main-color);
}
.btn-box .btn:nth-child(2)
{
    background: transparent;
    color: var(--main-color);
    
}
.btn-box .btn:nth-child(2):hover{
    color: var(--bg-color);

}
.btn-box .btn:nth-child(2)::before{
    background: var(--main-color);
}


.btn-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background:var(--bg-color);
    z-index: -1;
    transition: .5s;
}
.btn-box .btn:hover::before{
    width: 100%;
}

@media (max-width:371px){
    html{
        font-size: 50%;
    }
   .big{
    margin: 1.7rem;
    margin-top: 7rem;
   }
    .big h1{
      
        font-size: 2.3rem;

    }
    .small ul li {
       
       
        font-size: 1 rem;
        
    }
    .read ul li {
        margin-left: 5rem;
        
    }
    .btn-box .btn{
        margin-right: 12rem;
    }

}
@media (max-width:462px){

  .read ul li {
        margin-left: 2rem;
        
    }
    .big{
        margin: 2rem;
        margin-top: 5.5rem;
       }
        .big h1{
          
            font-size: 1.8rem;
    
        }
        .small ul li {
           
           padding: 1.3rem;
            font-size:1.2rem;
            
        }
        .btn-box .btn{
            margin-right: 12rem;
        }

}
@media (max-width:638px){

    .read ul li {
          margin-left: 5rem;
          
      }
  
  }

