@import url('//fonts.googleapis.com/css2?family=Alex+Brush&family=Noto+Sans+Georgian:wght@100;200;300;400;500;600;700;800;900&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100&family=Roboto:wght@100;300;400;500;700;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'roboto', sans-serif;
}

.sec1{
    background-image: url('https://teachnook.com/assets/termsandconditions/sec1bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
   height: 80vh;
   display: flex;
    align-items: center;
}

.sec1 h1{
    font-size: 36px;
    text-align: center;
    color: white;
    margin: auto;

    /* padding: 17%; */
    
}

/* Section 2 */

a{
    text-decoration: none;
}
.details{
    width: 90%;
     background-color: #F2F4FA;
    color: black;
    margin: auto;
    margin: -8% 5% 5% 5%;
    padding: 1% 4% 4% 4%;
}

.details p{
    margin-top: 3%;
    font-size: 19px;
    line-height: 30px;
}

.details h2{
    color: #324FAD;
   line-height: 30px;
    margin-top: 3%;
    font-size: 30px;
}
.details h3{
    color: #324FAD;
   line-height: 24px;
    margin-top: 3%;
    font-size: 30px;
}


/* Mobile Version  */
@media screen and (max-width:1100px) {
.sec1{
    height: 75vh;
}
}


@media screen and (max-width:950px) {
.sec1{
    height: 75vh;
}
}
@media screen and (max-width:750px) {
    .sec1 {
        height: 70vh;
    }

.sec1 h1 {
    padding: 22%;
}

.details p {
font-size: 18px;
}
.details h2 {
    font-size: 28px;

}
.details h3 {
    font-size: 22px;
}
}

@media screen and (max-width:650px) {
    .sec1 {
        height: 67vh;
    }

    .sec1 h1{
        font-size: 33px;
    }


.details p {
font-size: 18px;
}
.details h2 {
    font-size: 27px;

}
.details h3 {
    font-size: 21px;
}
}

@media screen and (max-width:550px) {
    .sec1 {
        height: 60vh;
    }
    .sec1 h1{
        font-size: 30px;
    }
    .details p {
        font-size: 16px;
        }

        .details h2 {
            font-size: 24px;
        
        }
        .details h3 {
            font-size: 20px;
        }
}

@media screen and (max-width:500px) {
    .sec1 {
        height: 59vh;
    }
    .sec1 h1{
        font-size: 28px;
    }
    .details p {
        font-size: 16px;
        }

        .details h2 {
            font-size: 23px;
        
        }
        .details h3 {
            font-size: 20px;
        }
}

@media screen and (max-width:450px) {
    .sec1 {
        height: 55vh;
    }

    .sec1 h1{
        font-size: 27px;
    }
    .details p {
        font-size: 15px;
        }

        .details h2 {
            font-size: 22px;
        
        }
        .details h3 {
            font-size: 19px;
}
}

@media screen and (max-width:420px) {
    .sec1 h1{
        font-size: 23px;
    }
}

@media screen and (max-width:350px) {
    .sec1 {
        height: 52vh;
    }

    .sec1 h1{
        font-size: 22px;
    }
    .details p {
        font-size: 15px;
        }

        .details h2 {
            font-size: 21px;
        
        }
        .details h3 {
            font-size: 18px;
}
}