@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat&family=Ysabeau+Office:ital,wght@1,1&display=swap');

*{
    margin: 0;
    padding: 0;
}

body{
    font-family: "Montserrat",sans-serif;
}

/* ##############################################SECTION 1######################################### */

.section1{
    background: linear-gradient( rgba(4,9,30,0.7), rgba(4,9,30,0.7)),url('../Images/about/about11.jpg');
    width: 100%;
    height: 100%;
    text-align: center;
    background-size: cover;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    display: flex;
}

.section1 .topic h1{
    font-family: "Montserrat",sans-serif;
    font-style:normal;
    color: white;
    font-size: 65px;
    font-weight: 1000;
}

.section1 .topic p{
    color: white;
    font-size: 18px;
    letter-spacing: 0.1px;
    line-height: 35px;    
}

body h1{
    padding: 5%;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 0%;
    text-align: center;
 }

/* ##############################################SECTION 3######################################### */

.section3 .container{
    margin: 0 auto;
    width: 90%;
    text-align:justify;
    display: flex;
}

.section3 .container p{
    flex-basis: 60%;
    font-size: 19px;
    padding: 1rem;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 0.2px;
}

.section3 .container .image{
    flex-basis: 40%;
    padding: 1rem;
}

.section3 .container .image img{
    height: 100%;
    width: 100%;
}

/* ##############################################SECTION 4######################################### */

.section4 {
    margin: 7% auto 0;
    width: 100%;
    padding: 0 4rem 4rem;
}

.section4 .container{
    display: flex;
    justify-content: space-between;
    padding:0.1 rem;
}

.section4 .container .column{
    display: inline;
    justify-content: space-between;
    padding: 3rem;
    margin: 0.5rem;
}

.section4 .container  #col1{
    flex-basis: 10%;
    border-radius: 8rem;
    transform: rotateY(360deg);
    transition: all 1s ease;
}

.section4 .container  #col1 img{
    height:150px;
    width:150px;
}
.section4 .container  #col4 img{
    height:150px;
    width:150px;
}

.section4 .container  #col4{
    flex-basis: 10%;
    border-radius: 8rem;
    transform: rotateY(360deg);
    transition: all 1s ease;
}

.section4 .container  #col3{
    display: none;
    flex-basis: 10%;
    border-radius: 8rem;
}

.section4 .container  #col2{
    flex-basis: 90%;
}
   
.section4 .container #col2 h3{
    font-family: 'Great Vibes', cursive;
    font-size: 45px;
    padding-bottom: 0.5rem;
    font-weight: 800;
    line-height: 30px;
    letter-spacing: 0.1px;
}

.section4 .container #col2 p{
    font-size: 19px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 0.2px;
    font-style: italic;
    text-align: justify;
    padding: 0 50px;
}

.section4 .container:hover #col1{
    transform: rotateY(180deg);
    transition: all 1s ease;
}

.section4 .container:hover #col4{
    transform: rotateY(180deg);
    transition: all 1s ease;
}

/* ##############################################SECTION 5######################################### */

.section5 .container{
    background-position: center;
    width: 100%;
    padding: 2rem 0;
    background: linear-gradient( rgba(4,9,30,0.5), rgba(4,9,30,0.5)),url('../Images/about/about10.jpg') no-repeat;
    background-size: cover;
    text-align:justify;
}

.section5 .container .para{
    margin: 5rem 0;
    position:relative;
}

.section5 .container p{
    color: white;
    font-size: 19px;
    padding: 7rem 3rem;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 0.2px;
}

.section5 .paral{
    position: absolute;
    border: 1px solid rgb(13, 9, 153);
    background-color: rgb(13, 9, 153);
}

.section5 .paraline1{
    top: 0;
    left: 0;
    width: 50%;
    height: 3px;
}

.section5 .paraline2{
    top: 3%;
    left: 0;
    width: 30%;
    height: 3px;
}

.section5 .paraline3{
    bottom: 3%;
    right: 0;
    width: 30%;
    height:3px;
}

.section5 .paraline4{
    bottom: 0;
    right: 0;
    width: 50%;
    height:3px;
}

/* ##############################################MOBILE VIEW######################################### */

@media(max-width:850px){

    /* ##############################################SECTION 1######################################### */
    .section1{
        min-height: 70vh;
        height: 50%;
    }

    .section1 .topic h1{
        font-size: 32px;
        font-weight: 500;
        padding: 8rem 0 1rem 0;
    }

    .section1 .topic p{
        font-size: 13px;
        line-height: 25px;
    }

    body h1{
        font-size: 27px;
        text-align: center;
        margin-top: 0.5rem;
    }

    /* ##############################################SECTION 3######################################### */

    .section3 .container{
        margin: 1rem 1rem;
        display:block;
    }

    .section3 .container p{
        font-size: 15px;
        font-weight: 300;
        line-height: 20px;
        letter-spacing: 0.1px;
    }

    .section3 .container .image{
        padding: 0;
        text-align: center;
    }

    .section3 .container .image img{
        height: 30%;
        width: 90%;
    }

    /* ##############################################SECTION 4######################################### */

    .section4{
        margin: 1rem 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .section4 .container{
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    
    .section4 .container .column{
        padding: 0;
        margin: 0;
       align-items: center;
    }

    .section4 .container #col4{
        display: none;
    }
    
    .section4 .container #col3{
        display:block;
    }

    .section4 .container #col2 h3{
        font-size: 25px;
        margin: 1rem 0;
        font-weight: 500;
        line-height: 25px;
    }

    .section4 .container #col2 p{
        font-size: 15px;
        font-weight: 200;
        line-height: 20px;
        padding: 0 2rem 1rem 2rem;
    }

    .section4 .container:hover #col3{
        transform:none;
    }

    .section4 .container  #col1 img{
        height:100px;
        width:100px;
    }

    .section4 .container  #col3 img{
        height:100px;
        width:100px;
    }
    
/* ##############################################SECTION 5######################################### */

    .section5 .container{
        margin: auto;
        padding: 1rem 0;
    }

    .section5 .container .para{
        margin: 2rem 0;
    }

    .section5 .container p{
        font-size: 15px;
        font-weight: 300;
        line-height: 20px;
        letter-spacing: 0.1px;
        padding: 5rem 2rem ;
    }
}