@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');

* {
    font-family: "Didact Gothic", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

@media screen and (min-width: 768px) {
    body {
        padding-top: 70px;
    }
}

.img-top {
    width: 100%;
    height: 300px; 
    background: url(../../../imagens/sobrenos/historias/Header_Margreth.jpg)  no-repeat center center;
    background-size: cover;
    background-position: center;
}
.img-top p {
    position: absolute;
    top: 25%;
    left: 50px;
    color: white;
    font-size: 3vw;
    text-shadow: 2px 2px 4px #000000;
}

@media screen and (max-width: 768px) {
    .img-top {
        height: 200px;
    }
    .img-top p {
        font-size: 24px; 
        top: 6%;
    }
}
@media screen and (max-width: 550px) {
    .img-top {
        height: 150px;
    }
    .img-top p { 
        top: 4%;
    }
}

.container {
    display: flex;
    padding: 2rem 3rem 3rem 3rem;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%; 
    box-sizing: border-box; 
    gap: 2rem;
}

.img {
    max-width: 40%;
}
.img img {
    width: 100%;
    height: auto; 
}

.content {
    font-size: 14px;
    max-width: calc(60% - 2rem);
    text-align: justify;
}
.content p {
    padding-bottom: 15px;
}

@media screen and (max-width: 1150px) {
    .container {
        flex-direction: column-reverse;
    }

    .img {
        max-width: 80%; 
    }
    .content {     
        max-width: 100%; 
    }
}
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1.5rem 3rem 1.5rem;
    }
    .img {
        max-width: 100%; 
    }
}


@media screen and (min-width: 1500px) {
    .container {
        padding-left: 300px;
        padding-right: 300px;
    }
}