@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

.about-section {
    width: 80%;
    margin: auto;
    margin-top: 3em;
    padding-bottom: 25px;
    scroll-margin-block-start: 100px;
}

.about-section h1 {
    padding: 20px 10px 0px;
    text-align: center;
    font-size: 44px;
    font-weight: bold;
}

.about-col h2 {
    font-size: 36px;
    font-weight: 600;
    font-family: Poppins, sans-serif;
    padding-top: 0;
    text-align: center;
}

.about-container {
    margin-top: 2.5%;
    display: flex;
    justify-content: space-between;
}

.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.25);
}

.about-col img:hover {
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.25);
}

.about-col p {
    float: right;
    text-align: justify;
    padding: 15px 0px 25px;
    color: var(--light-black);
    font-size: 18px;
    font-weight: 300;
    line-height: 22px;
    font-family: Poppins, sans-serif;
}

@media screen and (max-width: 768px) {

    .about-section {
        width: 100%;
    }

    .about-container {
        display: flex;
    }

    .about-container h2 {
        padding: 0 0 10px 0;
    }

    .box-1 {
        margin-top: 0;
        flex-direction: column;
        padding: 0 5px;
    }

    .about-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .box-1 .about-col {
        padding: 0 5px;
    }

    .box-2 {
        flex-direction: column-reverse;
        padding: 0 5px;
        margin-top: 50px;
        margin-bottom: 25px;
    }

    .box-2 .about-col {
        padding: 0 5px;
    }

    .about-col p {
        padding: 0 10px 20px;
    }

    .about-col img {
        display: block;
        max-width: 95%;
        width: auto;
        height: auto;
    }

}