@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --main-color: #00eeff;
    --text-color: #ffffff;
    --bg-color-01: #000000;
    --bg-color-02: #0c0c0cd0;
    --color-00: #0000001a;
    --color-port1: #002e5d;
    --color-port2: #2b2d32;

    /* Extra */

    --color-01: #999999;
    --color-02: #009539;
    --color-03: #7950f2;
    --color-04: #c00000;
    --color-05: #232323;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

html {
    font-family: "Poppins", sans-serif;
    font-weight: 16px;
    font-style: normal;
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color-01);
    color: var(--text-color);
    max-width: 100vw;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.1rem;
    background-color: var(--bg-color-01);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 0rem;
    color: var(--text-color);
    font-weight: 100;
    cursor: default;
}

.nav-responsive {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-color-01);
}

.nav a, .nav-responsive a {
    font-size: 1.2rem;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    transition: 0.4s;

    /*border: solid 1px var(--color-02); /* Teste */
}

.nav a:hover, .nav-responsive a:hover {
    color: var(--main-color);
}

section {
    min-height: 100vh;
    padding: 2rem 2rem 2rem;
}

span {
    color: var(--main-color);
}

.home {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.home-img img {
    width: 50%;
}

.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-color-02);
    padding: 2rem;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.about-content {
    flex: 1 1 50%;
    max-width: 50%;
    padding-right: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;

}

.about-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--main-color);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.about-img {
    flex: 1 1 50%;
    max-width: 50%;
    display: flex;
    justify-content: center;
}

.about-img img {
    max-width: 100%;
    height: 40%;
}

.about-content a.btn {
    justify-content: center;
    display: inline-block;
    text-align: center;
    margin-bottom: 1rem;
}

.home-content {
    width: 50%;
}

.home-content h1, .about-content h1 {
    font-weight: 700;
    line-height: 1.3;
    font-size: 2.7rem;
}

.home-content h3, .about-content h3 {
    font-weight: 700;
    font-size: 1.6rem;
}

.home-content p, .about-content p {
    margin-top: 1.2rem;
    text-align: justify;
}

.services h2, .portfolio h2, .contact h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.services-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.services-container .services-box {
    padding: 2rem 1rem 2.5rem;
    border-radius: 1.2rem;
    text-align: center;
    border: solid 0.15rem var(--main-color);
    background-color: var(--bg-color-02);
    transition: 0.5 ease;
}

.services-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 25rem;
    margin-bottom: 1rem;
}

.services-container .services-box {
    padding: 2rem 1rem 2.5rem;
    border-radius: 1.2rem;
    text-align: center;
    border: solid 0.15rem var(--bg-color-01);
    background-color: var(--bg-color-02);
    transition: 0.5 ease;
}

.services-container .services-box:hover {
    border-color: var(--main-color);
    transform: scale(1.01);
}

.services-box i {
    font-size: 4.3rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 1.5rem;
}

.services-box p {
    max-height: 99px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.services-box p.collapsed {
    max-height: none;
}

.portfolio {
    background-color: var(--bg-color-02);
}

.portfolio-container {
    display: grid;
    gap: 1.2rem;
}

.portfolio-box {
    position: relative;
    border-radius: 0.6rem;
    box-shadow: 0 0 0.6rem var(--bg-color-01);
    overflow: hidden;
    display: flex;
}

.portfolio-box img {
    width: 100%;
    transition: 0.5s ease;
}

.portfolio-box img:hover {
    transform: scale(1.1);
}

.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(30rem);
    transition: 0.5s ease;
    background: linear-gradient(transparent, var(--main-color));
}

.portfolio-box .port1 {
    background: linear-gradient(transparent, var(--color-port1));
}

.portfolio-box .port2 {
    background: linear-gradient(transparent, var(--color-port2));
}

.portfolio-box:hover .portfolio-layer {
    transform: translateY(0);
}

.portfolio-layer h4 {
    font-size: 1.8rem;
}

.portfolio-layer p {
    margin: 0.2rem 0 0.5rem;
}

.portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: var(--text-color);
    border-radius: 50%;
}

.portfolio-layer a i {
    font-size: 1.2rem;
    color: var(--bg-color-02);
}

form {
    max-width: 45rem;
    margin: 0.6rem auto;
    text-align: center;
    margin-bottom: 2rem;
}

form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

form .input-box input, form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--bg-color-02);
    border-radius: 0.5rem;
    margin: 0.4rem 0;
}

form textarea {
    resize: none;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1.2rem;
    background-color: var(--bg-color-01);
}

.social-media img {
    width: 3.5rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: solid 0.20rem var(--main-color);
    border-radius: 50%;
    font-size: 1.9rem;
    color: var(--main-color);
    margin: 1rem 0.5rem;
    transition: 0.5s ease;
}

.social-media a:hover {
    background-color: var(--main-color);
    color: var(--bg-color-02);
    box-shadow: 0 0 0.3rem var(--main-color);
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background-color: var(--main-color);
    border-radius: 2rem;
    color: var(--bg-color-02);
    font-weight: 600;
    letter-spacing: 0.1rem;
    transition: 0.3s ease;
    margin-top: 1.2rem;
}

.btn:hover {
    box-shadow: 0 0 0.3rem var(--main-color);
    background-color: inherit;
    color: var(--main-color);
    cursor: pointer;
}

/* menu hamburguer */

.menu-hamburguer {
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
    width: 2rem;
    height: 0.3rem;
    background-color: var(--text-color);
    margin: 0.4rem 0;
    transition: 0.3s ease;
}

.change .bar1 {
    transform: translate(0, 0.65rem) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -0.65rem) rotate(45deg);
}

/* /menu hamburguer */

/* ------------------------------------------------------------------------------------------- */

/* Media queries para celulares, tablets, notebooks e desktops */

/* Extra Small (xs): Smartphone (portrait) FINALIZADO */
@media (max-width: 575px) {
    body, html {
        overflow-x: hidden;
    }

    .nav {
        display: none;
    }

    .nav-responsive {
        display: block;
    }

    .nav-responsive {
        display: none;
        position: absolute;
        top: 90%;
        left: 0;
        width: 100%;
        padding: 0rem;
        background-color: var(--bg-color-01);
        z-index: 1000;
    }

    .nav-responsive a {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    header {
        padding: 0.5rem 1rem;
        height: 70px;
    }

    .home-content {
        margin: 0;
    }

    .home {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-img {
        margin-top: 5rem;
        order: -1;
        width: 700px;
        max-width: 700px;
    }

    .home-img img {
        max-width: 100%;
        height: auto;
    }

    .home-content {
        width: 95%;
    }

    .home-content h1 {
        font-size: 1.5rem;
        text-align: start;
    }

    .home-content p {
        font-size: 1rem;
        text-align: justify;
    }

    .social-media a {
        margin: 1.0rem 0.2rem;
    }

    .home-content .btn {
        margin-bottom: 4rem;
    }

    .services-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 4rem;
    }
    
    .services-box {
        width: 96%;
        max-width: 96%;
        margin-bottom: 1rem;
    }

    .services-box .bx-code-alt {
        margin-bottom: 1rem;
    }

    .services-box .bx-code-curly {
        margin-bottom: 1rem;
    }

    section {
        padding: 0;
    }

    .portfolio {
        margin-bottom: 1rem;
    }

    .portfolio-container {
        width: 96%;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .portfolio-box {
        position: relative;
        width: 100%;
        margin: 0;
    }
    
    .portfolio-layer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        padding: 0.3rem;
        box-sizing: border-box;
        height: 50%;
        overflow: hidden;
    }
    
    .portfolio-layer h4 {
        font-size: 1.3rem;
        margin: 0;
        padding: 0.2rem;
    }
    
    .portfolio-layer p {
        margin: 0;
        padding: 0.4rem;
        font-size: 0.9rem;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        
    }
    
    .contact {
        padding-top: 3rem;
        width: 96%;
        margin: 0 auto;
        justify-content: space-between;
    }

    .contact .btn {
        padding: 1rem;
    }

    .about {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    
    .about-content {
        width: 95%;
        max-width: 500px;
        margin-bottom: 1rem;
        text-align: justify;
        padding: 0;
    }

    .about-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .about-img {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 500px;
        margin-bottom: 1rem;
        order: -1;
        padding: 3rem;
    }

    .about-img img {
        max-width: 100%;
        height: auto;
    }
    
    .about-content p {
        font-size: 1rem;
        text-align: justify;
        margin-bottom: 1rem;
    }

    .about .btn {
        display: inline-block;
        margin-top: 1rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .services-box p {
        max-height: 99px;
        overflow: hidden;
        transition: max-height 0.5s ease;
        white-space: normal;
        position: relative;
    }

    .services-box p.collapsed {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
    }

    .services-box p.expanded {
        max-height: 1000px;
        display: block;
    }
}

/* Small (sm): Smartphone (landscape) e tablets FINALIZADO */
@media (min-width: 576px) and (max-width: 767px) {
    body, html {
        overflow-x: hidden;
    }
    
    .nav {
        display: none;
    }

    .nav-responsive {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 0;
        background-color: var(--bg-color-01);
        z-index: 1000;
    }

    .nav-responsive a {
        display: block;
        padding: 1rem;
        text-align: center;
        font-size: 1.2rem;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1.1rem;
        background-color: var(--bg-color-01);
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 100;
    }

    .home-content {
        margin: 0;
    }

    .home {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-img {
        margin-top: 5rem;
        order: -1;
        width: 800px;
        max-width: 800px;
    }

    .home-img img {
        max-width: 100%;
        height: auto;
    }

    .home-content {
        width: 95%;
    }

    .home-content h1 {
        font-size: 1.5rem;
        text-align: start;
    }

    .home-content p {
        font-size: 1rem;
        text-align: justify;
    }

    .social-media a {
        margin: 1.0rem 0.2rem;
    }

    .home-content .btn {
        margin-bottom: 2rem;
    }

    .services-container {
        flex-direction: column;
        align-items: center;
        margin-bottom: 4rem;
    }
    
    .services-box {
        width: 105%;
        margin-bottom: 1rem;
    }

    .services-box .bx-code-alt {
        margin-bottom: 1rem;
    }

    .services-box .bx-code-curly {
        margin-bottom: 1rem;
    }

    .portfolio-container {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .portfolio-box {
        width: 100%;
        margin-bottom: 1rem;
    }

    .portfolio-layer {
        height: 50%;
        padding: 0.3rem;
    }

    .portfolio-layer h4 {
        font-size: 1.3rem;
    }

    .portfolio-layer p {
        font-size: 0.9rem;
    }

    .contact {
        padding-top: 3rem;
        width: 96%;
        margin: 0 auto;
    }

    .about {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    
    .about-content {
        width: 95%;
        max-width: 500px;
        margin-bottom: 1rem;
        text-align: justify;
        padding: 0;
    }

    .about-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .about-img {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 500px;
        margin-bottom: 1rem;
        order: -1;
        padding: 3rem;
    }

    .about-img img {
        max-width: 100%;
        height: auto;
    }
    
    .about-content p {
        font-size: 1rem;
        text-align: justify;
        margin-bottom: 1rem;
    }

    .about .btn {
        display: inline-block;
        margin-top: 1rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .services-box p {
        max-height: 99px;
        overflow: hidden;
        transition: max-height 0.5s ease;
        white-space: normal;
        position: relative;
    }

    .services-box p.collapsed {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
    }

    .services-box p.expanded {
        max-height: 1000px;
        display: block;
    }
}

/* Medium (md): Tablet FINALIZADO */
@media (min-width: 768px) {
    body, html {
        margin: 0;
        padding: 0;
    }

    .menu-hamburguer {
        display: none;
    }

    .nav {
        display: block;
        margin-right: 2rem;
    }

    .nav-responsive, .nav-responsive a {
        display: none;
    }

    .home {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        padding-top: 1rem;
    }

    .home-content {
        flex: 1;
        text-align: left;
        max-width: 50%;
    }

    .home-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .home-content p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .social-media {
        margin-bottom: 1rem;
    }

    .home-img {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        max-width: 50%;
    }

    .home-img img {
        max-width: 100%;
        height: auto;
        width: 90%;
    }

    .services {
        margin: 0.5rem;
        padding-left: 1rem;
    }

    .services-container {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }
    
    .services-box {
        width: 105%;
        margin-bottom: 1rem;
    }

    .services-box .bx-code-alt {
        margin-bottom: 1rem;
    }

    .services-box .bx-code-curly {
        margin-bottom: 1rem;
    }

    .services-box p {
        max-height: 99px;
        overflow: hidden;
        transition: max-height 0.5s ease;
        white-space: normal;
        position: relative;
    }

    .services-box p.collapsed {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
    }

    .services-box p.expanded {
        max-height: 1000px;
        display: block;
    }

    .portfolio h2 {
        margin: 2rem;
    }

    .portfolio {
        margin: 3rem;
    }

    .about {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    
    .about-content {
        width: 95%;
        max-width: 500px;
        margin-bottom: 1rem;
        text-align: justify;
        padding: 0;
    }

    .about-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .about-img {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 500px;
        margin-bottom: 1rem;
        order: -1;
        padding: 3rem;
    }

    .about-img img {
        max-width: 100%;
        height: auto;
    }
    
    .about-content p {
        font-size: 1rem;
        text-align: justify;
        margin-bottom: 1rem;
    }

    .about .btn {
        display: inline-block;
        margin-top: 1rem;
        margin-bottom: 2rem;
        text-align: center;
    }
}

/* Large (lg): Notebook */
@media (min-width: 992px) {
    .home {
        padding: 2rem 2rem 0;
    }

    .services {
        margin-top: 0;
        margin-bottom: 0;
    }

    .portfolio {
        margin-top: 0;
        margin-bottom: 2rem;
        padding: 0 2rem 0;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .contact .form {
        margin-bottom: 0;
    }

    .contact {
        padding-bottom: 0;
    }
}

/* Extra Large (x1): Desktop */
@media (min-width: 1200px) {
    .home {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .home-img {
        display: grid;
        place-items: center;
        max-width: 30%;
    }

    .home-content,
    .home-img {
        flex: 1;
    }

    .home-img img {
        width: 100%;
        height: auto;
    }

    .home-content h1 {
        font-size: 2.1rem;
    }

    .home-content h3 {
        font-size: 2rem;
    }

    .social-media {
        margin: 0;
    }

    .services {
        padding-top: 0rem;
        padding-bottom: 0rem;
    }

    .services-container {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }
    
    .services-container .services-box {
        width: 45%;
        padding: 2rem 1rem 2.5rem;
        border-radius: 1.2rem;
        text-align: center;
        border: solid 0.15rem var(--main-color);
        background-color: var(--bg-color-02);
        transition: 0.5 ease;
        margin-bottom: 2rem;
    }
    
    .services-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 25rem;
    }
    
    .services-box:hover {
        border-color: var(--main-color);
        transform: scale(1.01);
    }

    .portfolio {
        padding-bottom: 2rem;
        margin-bottom: 0;
    }

    .portfolio h2 {
        margin-top: 0rem;
    }

    .portfolio-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
    }
    
    .portfolio-box {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .portfolio-box img {
        height: 100%;
        object-fit: cover;
    }

    .portfolio-box .portfolio-layer {
        padding: 0 4rem;
        transform: translateY(50rem);
    }

    .portfolio-box:hover .portfolio-layer {
        transform: translateY(0);
    }

    .contact h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .contact {
        height: auto;
        padding-top: 3rem;
        padding-bottom: 0;
    }
}