@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@400;500&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html{
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
}
nav{
    background: #fff;
    /* border: 2px solid red; */
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 5;
    /* align-items: center; */
    position: fixed;
    width: 100vw;
    width: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
nav #click{
    display: none;
}
nav .ham{
    margin-right: 20px;
    transition: all 0.3s ease;
    display: none;
}
nav .logo{
    /* border: 2px solid red; */
    display: flex;
    align-items: center;
}
nav .logo .name{
    font-size: 30px;
    color: #000;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;

}
nav .logo img{
    width: 70px;
    align-items: center;
    padding-right: 10px;
}
nav ul{
    /* border: 2px solid red; */
    display: flex;
    text-align: center;
    line-height: 50px;
    transition: all 0.3s ease;
}
nav ul li{
    list-style: none;
}
nav ul li a{
    color: #000;
    /* border: 2px solid orange; */
    margin: 10px;
    text-decoration: none;
    font-size: 17px;
    padding: 5px 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}
nav ul li a:hover{
    color: #EB4E57;
}
#myplan{
    background: #EB4E57;
    color: #fff;
    border-radius: 20px;
}

.sectitle{
    text-align: center;
    padding: 30px 0;
    margin-top: 20px;
    color: #EB4E57;
    font-weight: 600;
}


/* home section  */

.home{
    display: flex;
    /* height: 50vh; */
    /* align-items: center; */
    /* border: 2px solid red; */
    padding-top: 25vw;
    padding-bottom: 7vw;
    justify-content: space-evenly;
    flex-wrap: wrap;

}
.home .container{
    /* border: 2px solid orangered; */
    margin: 15px 25px;
    width: 45%;
}
.home .image{
    position: relative;
    width: 400px;
    left: -100%;
    /* margin-right: 10px; */
    animation-name: imgload;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes imgload {
    0%{
        left: -100%;
    }
    100%{
        left: 0;
    }
    
}
.home .image img{
    /* text-align: center; */
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);

}
.home .container:nth-child(2){
    /* height: 400px; */
    width: 50%;
    right: -100%;
    position: relative;
    animation-name: textload;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes textload {
    0%{
        right: -100%;
    }
    100%{
        right: 0;
    }
    
}
.home .container:nth-child(2) h1{
    color: #EB4E57;
    padding: 5px 5px;
    font-size: 2.5em;
    font-weight: 700;
}
.home .container p{
    padding: 25px 5px;
    font-size: 1.1em;
}

/* library section  */
.library{
    /* border: 2px solid red; */
    padding: 50px 0;
}
.library .container{
    /* border: 2px solid tomato; */
    display: flex;
    padding: 20px 0;
    justify-content: space-around;
    flex-wrap: wrap;
}
.library .container .iconbox{
    /* border: 2px solid red; */
    width: 100px;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px;
    color: #EB4E57;
    margin: 10px;
}
.library .container .iconbox i{
    color: #EB4E57;
    font-size: 30px;
    margin-bottom: 10px;
}
.library .container .iconbox span{
    font-weight: 600;
    /* text-transform: uppercase; */
    margin-top: 10px;
}



 /* plan section  */
.plan{
    /* border: 2px solid red; */
    padding: 50px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.plan .plan-card{
    /* background: #EB4E57; */
    color: #000;
    border: 2px solid #EB4E57;
    padding: 20px 20px;
    margin: 15px;
    border-radius: 15px;
    width: 300px;
    margin-top: 50px;
    /* box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2); */
}
.plan .plan-card:nth-child(2){
    transform: scale(1.1);
    position: relative;
    overflow: hidden;
}
.plan .plan-card:nth-child(2)::before{
    position: absolute;
    width: 140px;
    height: 25px;
    background: #EB4E57;
    content: '';
    top: 25px;
    left: -30px;
    transform: rotate(-45deg);
}
.plan .plan-card:nth-child(2)::after{
    position: absolute;
    width: 140px;
    height: 25px;
    /* background: #000; */
    content: 'Popular';
    top: -3px;
    color: #fff;
    left: -3px;
    font-weight: 600;
    transform: rotate(-45deg);
}
.plan .plan-card h2{
    font-weight: 600;
    text-align: center;
    font-size: 27px;
    margin: 20px 0;
}
.plan .plan-card ul {
    /* border: 2px solid orange; */
    padding: 5px 10px;
    /* margin: 2px 0; */
}
.plan .plan-card ul li {
    list-style: none ;
    line-height: 35px;
    font-weight: 500;
}
.plan .plan-card .available ul li i{
    color: #11a553;
    margin-right: 10px;
}

.plan .plan-card .unavailable ul li i{
    color: #EB4E57;
    margin-right: 10px;
}
.plan .plan-card button{
    background: #EB4E57;
    padding: 5px 20px;
    color: #fff;
    border: none;
    outline: none;
    margin-left: 22%;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
}

/* visitor section  */

.visitor{
    /* border: 2px solid red; */
    text-align: center;
    padding: 70px 0;
}
.visitor h2, h3{
    color: #EB4E57;
}
.visitor h2{
    padding: 15px 0;
    font-size: 40px;
    font-weight: 600;
}
.visitor h3{
    font-size: 25px;
    font-weight: 500;
}



@media all and (max-width: 1030px){
   .plan .plan-card:nth-child(2){
    transform: scale(1);
   }
   
}


@media all and (max-width: 1000px){
    .home .image{
        width: 60%;
    }
    .home .container:nth-child(2){
        width: 100%;
    }

}


@media all and (max-width: 800px){
  nav{
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-between;
    height: 80px;
    z-index: 5;
  }
  nav .ham{
    display: block;
  }
  nav ul{
    /* border: 2px solid red; */
    flex-direction: column;
    position: absolute;
    top: 79px;
    width: 80vw;
    height: 100%;
    padding: 10px 0;
    /* z-index: 0; */
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    left: -100%;
    display: block;
  }
    #click:checked ~ ul{
    left: 0;
    display: block;
    position: fixed;
  }
  nav ul li{
    margin: 25px 0;
  }

}



@media all and (max-width: 600px){
    .home .image{
        width: 90%;
    }
    .home .container:nth-child(2){
        width: 100%;
    }
    .home .container:nth-child(2) h1{
        font-size: 25px;
    }
    .home .container:nth-child(2) p{
        font-size: 14px;
    }

}