/* ESTILO GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Oswald", sans-serif;
}

body {
    background-color: black;
    height: 100vh;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.btn-contato button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    color: black;
    background-color: grey;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

h2.titulo {
    color: rgb(192, 192, 192);
    font-size: 35px;
    text-shadow: 1px 4px 1px rgb(0, 0, 0);
    text-align: center;

}

button:hover {
    box-shadow: 0px 0px 8px white;
    transform: scale(1.05);
}

/* ESTILO DO CABEÇALHO */
header {
    padding: 0 4%;
}

header>.interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    color: rgb(192, 192, 192);
    font-size: 24px;
    font-weight: 600;
    text-shadow: 1px 4px 1px rgb(0, 0, 0);
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover {
    color: white;
    transform: scale(1.05);
}

header nav ul {
    list-style-type: none;
}

header nav ul li {
    display: inline-block;
    padding: 85px;
}

/* ESTILO DO TOPO DO SITE */
section.topo-do-site {
    padding: 40px 10%;
}

section.topo-do-site .flex {
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.topo-do-site h1 {
    color: rgb(192, 192, 192);
    font-size: 45px;
    text-shadow: 1px 4px 1px rgb(0, 0, 0);
}

.topo-do-site .txt-topo-site p {
    color: white;
    font-size: 20px;
    text-shadow: 1px 4px 1px rgb(0, 0, 0);
    text-align: justify;
    margin: 26px 0;
}

/* ESTILO DO SOBRE */
section.sobre {
    padding: 100px 4%;
}

section.sobre .flex {
    gap: 40px;
}

.sobre .sobre-box {
    width: 100%;
    color: white;
    font-size: 20px;
    text-shadow: 1px 4px 1px rgb(0, 0, 0);
    text-align: justify;
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: .2s;
    margin-left: 10px;
    cursor: pointer;
}

.sobre .sobre-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.445);
}

.sobre .sobre-box i {
    font-size: 70px;
    color: rgb(192, 192, 192);
    text-shadow: 1px 4px 1px rgb(0, 0, 0);
}

.sobre .sobre-box h3 {
    font-size: 28px;
    color: rgb(192, 192, 192);
    text-shadow: 1px 4px 1px black;
    margin: 15px 0
}

.sobre .links-box {
    color: white;
    font-size: 20px;
    text-shadow: 1px 4px 1px rgb(0, 0, 0);
    text-align: justify;
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: .2s;
    cursor: pointer;
    margin-left: -100;
}

.sobre .links-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.445);
}

.sobre .links-box i {
    font-size: 70px;
    color: rgb(192, 192, 192);
    text-shadow: 1px 4px 1px rgb(0, 0, 0);
}

.sobre .links-box h3 {
    font-size: 28px;
    color: rgb(192, 192, 192);
    text-shadow: 1px 4px 1px black;
    margin: 15px 0
}

.links-box a {
    color: white;
}

.btn-social button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: grey;
    font-size: 30px;
    cursor: pointer;
    margin: 15px;
    float: inline-end;
    transition: .2s;
}

/* ESTILO DO PORTFÓLIO */
section.portfolio {
    width: 1200px;
    margin: 0 auto;
    margin-top: 200px;
    padding: 80px 4%;
    position: relative;
    box-shadow: 0 0 40px 10px rgba(153, 153, 153, 0.541);
    border-radius: 2%;
}

section.portfolio .flex {
    justify-content: space-around;
    margin-top: 30px;
    margin-bottom: 30px;
}

.img-port {
    width: 360px;
    height: 460px;
    background-size: cover;
    background-position: 100% 0%;
    transition: 5s;
    cursor: pointer;
    border-radius: 10px;
    position: relative;
}

.img-port:hover {
    background-position: 100% 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.534);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: white;
    opacity: 0;
    transition: .5s;

}

.overlay:hover {
    opacity: 1;
}

/* ESTILO DO RODAPÉ */

footer {
    padding: 0px 4%;
    box-shadow: 0 0 40px 10px rgba(153, 153, 153, 0.541);
}

footer .flex {
    justify-content: space-between;
}

footer .line-footer {
    padding: 20px 0;
}

.borda {
    border-top: 2px solid grey
}

footer .line-footer p i {
    color: rgb(192, 192, 192);
    font-size: 22px;
}

footer .line-footer p a {
    color: white;
}

@media screen and (max-width: 1065px) {

    /* CLASSES GERAIS */
    .flex {
        flex-direction: column;
    }

    .topo-do-site .flex {
        flex-direction: column-reverse;
    }

    /* ESTILOS GERAIS */
    .interface {
        padding: 40px 4%;
        max-width: 1280px;
        margin: 0 auto;
    }

    /* CABEÇALHO */
    .menu-desktop,
    .btn-contato {
        display: none;
    }

    /* TOPO DO SITE */
    section.topo-do-site .flex {
        gap: 40px;
    }

    section.topo-do-site {
        padding: 20px 8%;
    }

    .topo-do-site h1 {
        font-size: 30px;
    }

    /* SOBRE */
    .sobre .sobre-box {
        padding: 40px 8%;
    }

    /* PORTFOLIO */
    section.portfolio {
        width: 100%;
        padding: 80px 8%;
    }

    .img-port {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    /* RODAPÉ */
    footer .flex {
        flex-direction: column;
    }

    footer .line-footer {
        text-align: center;
    }

    /* BTN-SOCIAL */
    .btn-social {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
}
