.about{
    padding: 5rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5rem;

    height: auto;
}

.about-head{
    width: 100%;
}
.about h2{
    text-align: left;
}

.about img{
    width: auto;
    height: 30rem;
}

.about p{
    font-size: 3rem;
    line-height: 4rem;
    text-align: center;
    width: 90%;
}

.resume{
    margin-top: -3%;
    display: flex;
    align-self: center;
}

.img-container{
    width: 20rem;
    height: 30rem;
    background-color: white;

    background-image: url(../assets/images/my\ photo.jpeg);

    background-position: center;
    background-size: cover;
}

@media (max-width: 768px) {
.about{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about p{
    font-size: 1.8rem;
    line-height: 2.5rem;
    text-align: left;
    width: 90%;
}
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about{
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about p{
    font-size: 2rem;
    line-height: 2.8rem;
    text-align: left;
    width: 90%;
}
}