@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: 75px;
    }
}


.img-top {
    width: 100%;
    height: 300px; 
    background: url(../../../imagens/produtos/expan&cond/mesher-header.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: 4%;
    }
}
@media screen and (max-width: 600px) {
    .img-top p {
        font-size: 20px; 
        top: 4%;
    }
}


.container {
    display: flex;
    padding: 1.5rem 3rem 0.5rem 3rem;
    gap: 5rem;
}
.expansao,
.perfuracao {
    flex: 1;  
}
.title {
    display: flex;
    align-items: center;
    padding-bottom: 2rem;
}

.expan-conteudo {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}
.expan-conteudo > div:first-child,
.perf-conteudo > div:first-child {
    width: 60%;
    text-align: justify;
}

.expan-content img {
    padding-top: 10px;
    width: 100%; 
    max-width: 242px;
}

.perf-conteudo {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}


.additional-images {
    display: flex;
    flex-direction: column; 
}
.additional-images img {
    max-width: 300px; 
    width: 100%;
    margin-bottom: 15px; 
}

.end {
    padding: 2rem 3rem;
}

.products ul {
    list-style: none;
    padding-top: 0.5rem;
    margin: 0;
}

.products li {
    display: flex;
    align-items: center;
    margin-bottom: 10px; 
}

.products li img {
    margin-right: 10px; 
    max-width: 25px;
    width: 100%;
}
.products a {
    text-decoration: none;
    color:  #f29400;
    padding-bottom: 5px;
}



@media screen and (max-width: 1000px) { 
    .expan-conteudo,
    .perf-conteudo {
        flex-direction: column;
    }
    .expan-conteudo > div:first-child,
    .perf-conteudo > div:first-child {
        width: 100%;
    }
    .expan-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .expan-content img {
        max-width: 300px; 
        width: 100%;
        padding-top: 2rem;
    }
    .additional-images {
        align-items: center;
    }
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 1.5rem 1rem 1.5rem;
    }
    .expan-conteudo {
        padding-top: 10px;
        flex-direction: column;
        padding-bottom: 15px;
    }
    .expan-content {
        width: 100%; 
    }
    .expan-content img {
        max-width: 80%;
        width: 100%; 
    }
    .additional-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .title {
        padding-bottom: 1rem;
    }
}

@media screen and (max-width: 500px) {
    .expan-content img { 
        max-width: 300px;
    }
    .additional-images {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        align-items: center;
        justify-items: center;
    }
    .additional-images img {
        width: 100%;
        height: auto;
    }
}


@media screen and (min-width: 1500px) {
    .img-top,
    .container,
    .end {
        padding: 0px 300px;
    }
}