
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

:root {
    --linear-gradient: linear-gradient(90deg, #4897D4, #1E864B, #FE7005, #5C2FCA);
    --color-blue: #4897D4;
    --color-purple: #5C2FCA;
    --color-green: #1E864B;
    --color-orange:#FE7005;
    --color-clean: #F9F9F9;
    --color-white: #fff;
    --color-black: #000;
    --font-texto: 'Inter', sans-serif;
    --font-titulo: 'Cairo', sans-serif;
}

/* banner pagina */
.page-img{
    background-image: url(../img/projetos.png);
}

.projeto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem; 
    box-sizing: border-box;
}

.projeto-conteudo {
    width: 100%;
    padding: 1.25rem;
    margin-top: 1.5rem; 
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    align-items: center; 
}

#imagem-conteudo {
    width: 486px;
    height: 380px;
    border-radius: 50px;
}

.projeto-texto {
    text-align: justify;
    margin-top: 0; 
}

.btn-saiba-mais {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    background-color: var(--color-orange);
    border: none;
    color: var(--color-white);
    font-family: var(--font-texto);
    font-weight: bold;
    float: right;
    font-size: 20px;
    border: 2px solid var(--color-orange);
    text-decoration: none;
    margin-right: -4px;
}

.btn-saiba-mais:hover {
    background-color: var(--color-white);
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
}


.foto-transformar {
    width: 100%;
}

/* ===== TABLET ===== */
@media screen and (min-width: 1025px) and (max-width: 1300px) {

    .projeto-conteudo {
        gap: 16px;
    }

}

/* ===== MOBILE ===== */
@media screen and (max-width: 1024px) {
    .projeto {
        padding: 2rem 0; 
    }

    .projeto-conteudo {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #imagem-conteudo {
        width: 100%;
        height: auto;
        max-width: 90%;
        margin-top: -30px;
    }

    .projeto-texto {
        width: 90%;
        margin-top: 0;
        align-items: center;
    }

    .btn-saiba-mais {
        width: 100%; 
        float: none;
        text-align: center;
        display: block;
        text-decoration: none; 
        outline: none; 
        justify-items: center; 
        margin: 0;
    }

    .foto-transformar {
        width: 100%;
        height: 300px; 
        object-fit: cover;
        object-position: left center; 
    }
}