/* resetando os estilos */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

/* variaveis de estilos do site */
:root {
    --background-white: #fff;
    --foreground--purple: #6e07f3;
    --primary: #141c3a;
    --primary-light: #cdd3eb;
    --secondary: #5be8b9;
    --secondary-foreground: #141c3a;
}

/* ajuste padrão */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    font-family: -apple-system,'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* classe padrão do container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

/* header styles */
header {
    display: flex;
    align-items: center;
    flex-direction: column;
}
header .navbar {
    flex: 1;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
}
header .navbar .logo a img {
    width: 3.2rem;
    height: 3.2rem;
}
header .navbar .menu_opener {
    gap: 0.5rem;
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
    cursor: pointer;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.menu_opener span {
    width: 2rem;
    height: 0.1rem;
    display: block;
    background-color: var(--primary);
}
header nav.menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin-right: 4rem;
}
header nav.menu a {
    padding: 2rem;
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--primary);
}
header nav.opened {
    display: flex;
    height: max-content;
}
header nav.menu a.button {
    display: inline-block;
    border: 0.2rem solid var(--foreground--purple);
    background-color: var(--foreground--purple);
    color: var(--primary-foreground);
    border-radius: 1.5rem;
    padding: 0.8rem 1.5rem;
    transition: all ease .2s;
}
header nav.menu a.button:hover {
    background-color: var(--background-white);
    color: var(--foreground--purple);
}

.button{
    border: 0.2rem solid var(--foreground--purple);
    color: var(--´primary);
    transition: all ease .5s;
    display: inline-block;
    text-decoration: none;
    border-radius: 1.5rem;
    padding: 1rem 2rem;
    font-size: 2rem;
}

/* hero styles */
.hero {
    text-align: center;
    padding: 3rem 1rem 0 1rem;
}
.hero h1 {
    font-size: 2.5rem;
    line-height: 3.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    padding: 0 2rem;
}
.hero h2 {
    font-size: 1.5rem;
    line-height: 2.5rem;
    font-weight: normal;
    margin-bottom: 3rem;
    padding: 0 2rem;
}
.hero .hero-avatar {
    display: block;
    width: 15rem;
    height: auto;
    margin: auto;
    margin-bottom: 5rem;
}
.hero .hero-device {
    max-width: min(100%, 80rem);
    margin: auto;
    display: block;
    height: auto;
}

/* introduction styles */
.introducao {
    background-color: var(--foreground--purple);
    color: var(--background-white);
    padding: 5rem 0;
    text-align: center;
}
.introducao .text-box {
    max-width: 60rem;
    margin: auto;
    padding: 2rem;
}
.introducao .text-box .title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
}
.introducao .text-box .subtitle {
    font-size: 1.8rem;
    line-height: 3rem;
    text-align: center;
    margin-bottom: 8rem;
}

/* skills styles */
.habilidade_overlay {
    background-color: var(--foreground--purple);
    height: 10rem;
}
.habilidades .container {
    margin-top: -10rem;
}
.habilidades .grid {
    display: grid;
    margin: 0 2rem;
    border-radius: 1.5rem;
    grid-template-columns: 1fr;
    background-color: var(--background-white);
    box-shadow: 0 .3rem .5rem var(--primary-light);
}
.habilidades .habilidade {
    border-right: 0;
    text-align: center;
    padding: 5rem 2rem;
    border-bottom: .1rem solid var(--primary-light);
    color: var(--primary);
}
.habilidades .habilidade:last-child {
    border-right: 0;
    border-bottom: 0;
}

/* habilidade */
.habilidades .habilidade .habilidade_img {
    width: 7rem;
    height: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    margin: auto;

}
.habilidades .habilidade .habilidade_img img {
    width: 4rem;
    height: 4rem;
}
.habilidades .habilidade .habilidade_title {
    font-size: 2rem;
    font-weight: bold;
    margin: 3rem 0;
}
.habilidades .habilidade .habilidade_descricao {
    font-size: 1.6rem;
    line-height: 2.1rem;
}
.habilidades .habilidade .habilitade_subtitle {
    font-size: 1.5rem;
    color: var(--foreground--purple);
    margin-top: 5rem;
    margin-bottom: 1rem;
}
.habilidades .habilidade .habilidade_texto {
    font-size: 1.6rem;
    line-height: 2.5rem;
}
.habilidades .habilidade .habilidade_texto ul li {
    line-height: 2.5rem;
}

/* recent works styles */
.trabalhos_recentes {
    text-align: center;
    color: var(--primary);
    padding: 0 2rem;
}
.trabalhos_recentes .titulo {
    font-size: 2.5rem;
    margin-top: 8rem;
    margin-bottom: 3.5rem;
}
.trabalhos_recentes .subtitulo {
    font-size: 2rem;
    line-height: 2.7rem;
}
.trabalhos_recentes .subtitulo a {
    text-decoration: none;
    color: var(--foreground--purple);
}
.trabalhos_recentes .subtitulo a:hover {
    text-decoration: underline;
}
.trabalhos_recentes .grid {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* itens de grid */
.trabalhos_recentes .trabalho {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
}
.trabalhos_recentes .trabalho .image {
    width: 100%;
    height: auto;
    transition: all ease .5s;
}
.trabalhos_recentes .trabalho .overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0 0 0 0;
    background-color: var(--primary);
    color: var(--primary-light);
    padding: 2rem;
    font-size: 1.7rem;
    line-height: 2.5rem;
    transition: all ease .5s;
    opacity: 0;
}
.trabalhos_recentes .trabalho .button {
    margin-top: 2rem;
    display: inline-block;
    text-decoration: none;
    border-radius: 1.5rem;
    padding: 0.8rem 1.5rem;
    transition: all ease .2s;
    color: var(--primary-foreground);
    border: 0.2rem solid var(--foreground--purple);
}
.trabalhos_recentes .trabalho:hover .image {
    transform: scale(1.2);
}
.trabalhos_recentes .trabalho:hover .overlay {
    opacity: 1;
}
.trabalhos_recentes .vermais {
    margin: 6rem 0;
    display: inline-block;
    font-size: 2rem;
    border: 0.2rem solid var(--foreground--purple);
    border-radius: 1.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: all ease .5s;
}
.trabalhos_recentes .vermais:hover {
    background-color: var(--foreground--purple);
    color: var(--background-white);
}

/* company styles */
.empresas {
    text-align: center;
    padding: 8rem 2rem;
    color: var(--primary);
    border-top: 0.1rem solid var(--primary-light);
}
.empresas .title {
    font-size: 2rem;
    line-height: 2.5rem;
    font-weight: bold;
}
.empresas .grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.empresas .grid img {
    width: 100%;
}

/* colaboration's styles */
.colaboracao {
    background-color: var(--foreground--purple);
    padding: 8rem 2rem;
    text-align: center;
    color: var(--background-white   );
}
.colaboracao .title {
    font-size: 2.5rem;
    line-height: 3.2rem;
    margin-bottom: 2rem;
}
.colaboracao .colaboracao_subtitle {
    font-size: 1.6rem;
    line-height: 2.8rem;
    margin-bottom: 4rem;
}
.colaboracao .button {
    font-size: 2rem;
    display: inline-block;
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    text-decoration: none;
    transition: all ease .5s;
    color: var(--background-white);
    border: 0.2rem solid var(--background-white);
}
.colaboracao .button:hover {
    transition: all ease .5s;
    color: var(--foreground--purple);
    background-color: var(--background-white);
}

/* tesminonials styles */
.depoimentos {
    text-align: center;
    padding: 8rem 2rem;
    color: var(--primary);
}
.depoimentos .title {
    font-size: 3.2rem;
    line-height: 3.6rem;
    margin-bottom: 3rem;
}
.depoimentos .subtitle {
    font-size: 2.2rem;
    line-height: 2.5rem;
    margin-bottom: 6rem;
}
.depoimentos .sliders {
    max-width: 50rem;
    overflow-x: hidden;
    margin: auto;
}
.depoimentos .sliders input {
    display: none;
}
.depoimentos .sliders .slider-area {
    width: 200%;
    display: flex;
    transition: all ease .5s;
}
.depoimentos .sliders .slider-area .slider-item {
    width: 100%;
}
.depoimentos .sliders .slider-area .slider-item img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    margin-bottom: 4rem;
}
.depoimentos .sliders .slider-area .slider-item .depoimento_cliente {
    font-size: 1.7rem;
    line-height: 2.5rem;
    margin-bottom: 5rem;
}
.depoimentos .sliders .slider-area .slider-item .nome_cliente {
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 2rem;
}
.depoimentos .sliders .slider-area .slider-item .cargo_cliente {
    font-size: 1.2rem;
}
.depoimentos .slider-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.depoimentos .slider-nav label {
    display: block;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    border: 0.2rem solid var(--primary-light);
    margin-top: 3rem;
    transition: all ease .5s;
}

/* selecionando o slide do depoimento */
#slider-1:checked~.slider-area {
    margin-left: 0%;
}
#slider-2:checked~.slider-area {
    margin-left: -100%;
}
#slider-1:checked~.slider-nav .n1 {
    background-color: var(--foreground--purple);
}
#slider-2:checked~.slider-nav .n2 {
    background-color: var(--foreground--purple);
}

/* cta styles */
.call_to_action {
    background-color: var(--foreground--purple);
}
.call_to_action .overlay {
    background-color: var(--background-white);
    height: 6rem;
}
.call_to_action .container {
    margin-top: -6rem;
}
.call_to_action .container .area {
    margin: 0 2rem;
    padding: 4rem;
    background-color: var(--primary);
    color: var(--background-white);
    text-align: center;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    box-shadow: 0 .5rem .5rem rgba(0, 0, 0, .5);
}
.area_item {
    flex: 1;
}
.area_item .title {
    font-weight: bold;
    font-size: 2.2rem;
    line-height: 2.5rem;
}
.area_item .subtitle {
    font-size: 1.8rem;
}


/* footer styles */
footer {
    background-color: var(--foreground--purple);
    color: var(--primary-light);
    padding: 10rem 2rem;
    text-align: center;

}
footer .logo img {
    width: 4rem;
    height: auto;
    margin-bottom: 4rem;
}
footer .description {
    font-size: 1.8rem;
    line-height: 3rem;
    margin-bottom: 4rem;
}
footer .redes_sociais {
    display: flex;
    justify-content: space-between;
    max-width: 40rem;
    margin-bottom: 4rem;
    margin: auto;
}
footer .redes_sociais a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 0.2rem solid var(--primary-light);
    transition: all ease .5s;
    margin-bottom: 4rem;
}
footer .redes_sociais a:hover {
    opacity: .5;
}
footer .copy p {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
footer .copy p a {
    text-decoration: none;
    transition: all ease .5s;
    color: var(--primary-light);
}
footer .copy p a:hover {
    color: var(--primary);
}


/* RESPONSIVO TELA MAIOR QUE 600PX */
@media (width > 600px) {
    /* HEADER */
    header {
        flex-direction: row;
    }

    header .navbar .menu_opener {
        display: none;
    }

    header nav.menu {
        display: flex;
        flex-direction: row;
    }
    /* HERO */
    .hero h1 {
        font-size: 4rem;
        margin-bottom: 3rem;
    }
    .hero h2 {
        font-size: 2.8rem;
        line-height: 4.8rem;
    }
    .hero .hero-avatar {
        width: 22rem;
    }

    /* introdução */
    .introducao .text-box {
        width: 100%;
        max-width: 75rem;
    }

    .introducao .text-box .title {
        font-size: 3.5rem;
    }

    /* habilidades */
    .habilidades .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .habilidades .habilidade {
        border-bottom: 0;
        border-right: .1rem solid var(--primary-light);
    }

    /* trabalhos recentes */
    .trabalhos_recentes .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trabalhos_recentes .titulo {
        font-size: 3.5rem;
    }

    /* empresas */
    .empresas .title {
        font-size: 3.6rem;
        line-height: 4.6rem;
    }

    .empresas .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* COLABORAÇÃO */
    .colaboracao .title {
        font-size: 3.6rem;
        line-height: 4.4rem;
    }
    .colaboracao .colaboracao_subtitle {
        font-size: 2.2rem;
    }
}

/* RESPONSIVO TELA MAIOR QUE 900PX*/
@media (width > 900px) {
    .call_to_action .container .area {
        flex-direction: row;
    }

    /* empresas */
    .empresas .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* trabalhos recentes */
    .trabalhos_recentes .grid {
        grid-template-columns: repeat(3, 1fr);
    }

}