body {
    margin: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    padding: 15px 6%;
}


/*cabeçário e rodapé*/
/* header, footer{
    width: 100%;
    height: auto;
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    h1{
        margin-inline: calc(1% + 10px);
        align-self: center;
        color: white;
    }
    p{
        margin: 15px;
        color: rgb(200,200,200);
    }
} */

.identidade {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.logo-nome-inline{
    display: flex;
    flex-direction: row;
    align-items: center;
}
#logo{
    width:96px; height:96px;
    box-shadow: none;
}


.titulo{
    text-align: left;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #0B2345;
    margin-left: 30px;
}

.subtitulo{
    text-align: left;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: #000000;
    margin-left: 30px;
}

nav {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.navbutton {
    display: inline-block;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #0B2345;
    border-radius: 8px;
    transition: 200ms ease-in-out;
}
.navbutton:hover {
    background-color: rgba(0, 192, 255, 0.1);
    color: #008CFF;
}

main {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background-color: rgb(0, 60, 119);
    padding: 50px 6% 50px 6%;
    gap: 40px;
}

/*conteudo*/
h2{
    margin: 3%;
}

.carrossel {
    flex: 1;
    min-width: 0;
    text-align: left;
}


.imagens-botoes {
    flex: 1;
    min-width: 0;
    max-width: calc(400px + 8%);
    margin-left: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
    row-gap: 12px;
    align-items: center;
}

#foto-carrossel {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 720px;
    height: auto;
    border-radius: 12px;
    display: block;
}

#voltar {
    grid-column: 1;
    justify-self: end;
    transition: 150ms ease-in-out;
}

#avancar {
    grid-column: 2;
    justify-self: start;
    transition: 150ms ease-in-out;
}

.carrossel-nav {
    width: 75px;
    padding: 8px;
    font-size: 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

.carrossel-nav:hover {
    background-color: lightblue;
}


#ola {
    font-family: Arial, sans-serif;
    font-size: 85px;
    color: lightblue;
    margin: 0 0 25px;
}

#texto1 {
    font-family: Arial, sans-serif;
    font-size: 30px;
    color: white;
    line-height: 1.6;
    margin: 0;
    font-weight: bold;
}

#competencias {
    font-family: Arial, sans-serif;
    font-size: 25px;
    color: white;
    line-height: 1.7;
    padding-left: 25px;
    margin-top: 25px;
}

/*ícones de contato*/
#contato-botoes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
}

#botao-whatsapp,
#botao-email {
    width: 280px;
    min-width: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background-color: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

    transition: transform 200ms ease-in-out;
}

main.pagina-contato {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 45px;
    background-color: rgb(0, 60, 119);
    padding: 50px 6%;
}

#titulo-contato, #titulo-servicos {
    font-family: Arial, sans-serif;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    color: white;
    margin: 0;
}


#botao-whatsapp, #botao-email{
    width: 15%;
    min-width: 160px;
    display: flex; flex-direction: column;
    justify-content:space-around;
    border-radius: 18px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.75);
    a{
        text-decoration: none;
        color:black;
        transition: 200ms ease-in-out;
        &:hover{
            color:rgb(0, 60, 119)
        }
    }
}

#img-whatsapp, #img-email{
    width: 100%;
    box-shadow: 0 0 8px rgba(128, 128, 128, 0.75);
    border-radius: 16px;
    transition: 200ms ease-in-out;
    &:hover{
        transform: scale(1.1);
    }
}

main.pagina-sobre{
    padding: 50px 20%;
    text-align: center;
    font-family: Arial, sans-serif;
}

.sobre-titulo{
    margin-top: 0;
    font-size: 50px;
    color: white;
}

#sobre{
    font-size: 20px;
    color: white;
}
img{
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.75)
}

footer{
    background-color: rgb(0, 60, 119);
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 25px 6%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.rodape-nome {
    flex: 1;
    min-width: 0;
}

.titulo-rodape {
    font-family: Arial, sans-serif;
    font-size: 22px;
    color: white;
    white-space: nowrap;
    margin: 0;
}

.subtitulo-rodape {
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: white;
    margin: 5px 0 0;
}

/* Navegação central */

.rodape-navegacao {
    align-items: center;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.rodape-navegacao a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 200ms ease-in-out;
}

.rodape-navegacao a:hover {
    color: lightblue;
}

/* Créditos à direita */

.rodape-creditos {
    flex: 1;
    text-align: right;
    color: white;
}

.rodape-creditos p {
    color: white;
    font-size: 14px;
    margin: 5px 0;
}


/*servicos*/
.maincolumn{
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

#grid-servico{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.bloco-servico{
    margin: 2%;
    display: flex;
    flex-direction: row;
    flex: 0 0 80vw;
    max-width: calc(400px + 7%);
    transition: 200ms ease-in-out;
    border-radius: 20px;
    background-color: white;
    box-shadow:0 0 4px rgba(0, 0, 0, 0.5)
}

.img-servico{
    height: 25vw;
    min-height: 350px;
    max-width: 65%;
    object-fit: cover;
    border-radius: 16px;
}

.texto-servico{
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 24px;
}

.subtexto{
    font-size: 18px;
    color: rgb(80, 80, 80);
}

@media (max-width: 800px){

header{
    padding: 12px 4%;
}

main{
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
        padding: 30px 5%;
}

header nav{
        gap: 5px;
        flex-direction: column;
    }

.navbutton{
        font-size: 15px;
        padding: 8px;
        flex-direction: column;
}

.rodape-navegacao{
        font-size: 8px;
        padding: 8px;
        flex-direction: column;
}

.titulo-rodape {
        font-size: 17px;
    }

.bloco-servico{
    flex: 0 1 45%;
    max-width: none;
    min-width: 0;
    flex-direction: column;
    margin: 1%;
}

.img-servico{
    width: 100%;
    max-width: 100%;
    height: 200px;
    min-width: 0;
}

}