@import url('https://fonts.googleapis.com/css2?family=Alegreya&family=Bungee+Spice&family=Lato:wght@300&family=Poppins:wght@200&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    /* font-weight: bold; */
}

.impact-container{
    max-width: 87vw;
    margin: auto;
}

.impact-container2{
    max-width: 70vw;
    margin: auto;
}

#impact-header{
    background:url("https://static.igem.wiki/teams/4746/wiki/science.jpg");
    background-position: center center;
    background-size:cover;
    height:250px;
    margin-bottom: 120px;
}

.impact-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 250px;
}

.impact-content h3{
    font-size: 40px;
    color: #646464;
}

.impact-content img{
    width: 150px;
}

.impact-p h3{
    font-size: 25px;
    margin-bottom: 10px;
}

.impact-line{
    width: 100%;
    height: 1px;
    background-color: #c2c2c2;
    margin-bottom: 20px;
}

.impact-p p{
    font-size: 22px;
    line-height: 40px;
    text-align: justify;
    color: #646464;
}

.inforgraphic-img{
    width: 100%;
}

.inforgraphic-img img{
    width: 90%;
    margin: auto;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

#impact{
    margin-bottom: 70px;
}

#inforgraphic{
    margin-bottom: 40px;
}

#inforgraphic h3{
    font-size: 25px;
    margin-bottom: 30px;
}

@media screen and (max-width: 840px) {
    .impact-content img{
        width: 100px;
    }

    .impact-content h3{
        font-size: 30px;
    }

    .impact-container2{
        max-width: 80vw;
        margin: auto;
    }
}

@media screen and (max-width: 590px) {
    .impact-content img{
        width: 70px;
    }

    .impact-content h3{
        font-size: 25px;
    }

    .inforgraphic-img img{
        width: 100%;
    }

    .impact-p p{
        font-size: 18px;
        line-height: 40px;
        text-align: justify;
    }
}
