@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
    font-family: 'Gonzi';
    src: url('./img/GonziExpandedPERSONALUSE-RegularItalic.otf');
}

@font-face {
    font-family: 'Gonzi-light';
    src: url('./img/GonziExpandedPERSONALUSE-LightItalic.otf');
}


* {
    padding: 0;
    margin: 0;
}

body {
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
    font-family: "IBM Plex Mono", monospace;

    background-color: #0e0e0e;
}

.container {
    height: 100dvh;
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.sec {
    height: 100%;
    min-width: 100dvw;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    scroll-snap-align: start;
    position: relative;

    overflow: hidden;
}

.sec>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 20px;

}

#sec1 {
    background-image: url(images/avatar.jpg);
    background-size: cover;
    background-position: 0% 30%;
    color: white;
}

#sec1 h1 {
    font-size: 30px;
    width: 60vw;
    font-weight: 500;
    padding: 0;
    margin: 0;
    text-align: center;
}

.faixa {
    position: absolute;
    left: 100%;
    font-size: 40px;
    font-family: "Gonzi";
    white-space: nowrap;
    opacity: 0.5;
}

.faixa-sec1 {
    bottom: 0px;
    animation: marquee-inverse 10s linear infinite;
}

.faixa-sec2 {
    top: 0;
    animation: marquee 10s linear infinite;
}

.faixa-sec1:hover {
    animation: marquee 60s linear infinite;
}

.faixa-sec2:hover {
    animation: marquee 60s linear infinite;
}

@keyframes marquee {
    from {
        left: 0;
    }

    to {
        left: -100%;
    }
}

@keyframes marquee-inverse {
    from {
        right: 0;
    }

    to {
        right: -100%;
    }
}

.btn {
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    width: 300px;
    cursor: pointer;
}

.btn_work {
    background-color: #f5f54d;
    color: black;
}

.btn_contact {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #f5f54da6;
    color: white;
}





#sec2 {
    background-color: #f5f54d;
}

#sec2 p {
    font-family: "Gonzi";
    font-weight: 100;
}

#sec2 div>.elements {
    width: 80%;
    height: 100%;
    display: flex;
    gap: 15%;
}

#sec2 .elements>div {
    flex: 1;
    flex-direction: column;
    display: flex;
    justify-content: center;
}

.info {
    min-width: 30vw;
    z-index: 1;
}

.hologram {
    width: 300px;
    position: absolute;
    bottom: 8%;
    right: 38%;
    opacity: 0.4;
    animation: rotateHologram 50s linear infinite;
    transition: transform 0.3s ease-in-out;

}

.hologram:hover {
    transform: scale(1.2) !important;
    animation: none;
}


@keyframes rotateHologram {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ast {
    width: 100px;
}

.info>p {
    text-align: justify;
    letter-spacing: 1.5px;
    font-size: 22px;
    line-height: 1.5em;
}

.btn_info {
    margin-top: 50px;
    border: 2px solid black;
    background-color: black;
    color: white;
    z-index: 3;
}

.skills {
    min-width: 30vw;
    position: relative;
}

.skills .img-skills {
    background-image: url(images/avatar.jpg);
    background-size: cover;
    width: 30vw;
    height: 30vw;
    position: relative;
}

.img-skills p {
    position: absolute;
    bottom: -3vw;
    right: -8vw;
    width: 300px;
    font-size: 13px;
    text-shadow: 1px 1px 1px #f5f54d;
}


#sec3 {}

#sec3 .grid-content {
    height: 100dvh;
    width: 100vw;
    display: flex;
    flex-direction: row;
    gap: 0;

    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.grid-head {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.grid-desktop {
    width: 65%;
    margin-top: -10%;
}

.grid-logo {
    width: 40%;
}

.grid-video {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.g-video {
    width: 90%;
}

.grid-video {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
  }
  
  .grid-head {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
  }
  
  /* animação quando visível */
  .grid-video.show {
    opacity: 1;
    transform: translateX(0);
  }
  
  .grid-head.show {
    opacity: 1;
    transform: translateX(0);
  }

#sec4 {
    display: flex;
    color: black;
    background-color: #f5f54d;
    padding: 0 10vw;
    box-sizing: border-box;
}

.ast-sec4 {
    position: absolute;
    opacity: 0.2;
    right: 5%;
    top: 5%;
    width: 300px;
    animation: rotateAsc 50s linear infinite;
}

@keyframes rotateAsc {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



#sec4 .action {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.action h1 {
    font-family: 'Gonzi-light';
    /* text-transform: uppercase; */
    font-size: 70px;
    max-width: 600px;
    text-align: center;
    font-weight: 400;

    text-shadow: 2px 2px 1px #f5f54d;
}

.btn_work_sec4 {
    background-color: #0e0e0e;
    color: white;
}

.btn_contact_sec4 {
    background-color: transparent;
    border: 2px solid #0e0e0e;
    color: black;
}

#sec4>.sec4-links {
    display: flex;
    flex-direction: row;
    align-items: start;
    flex: 1;
    gap: 50px;
}

#sec4>.sec4-links>div {
    display: flex;
    flex-direction: column;
}

.sec4-links h2 {
    font-family: 'Gonzi-light';
    font-size: 40px;
    margin-bottom: 10px;

    font-weight: 400;
}

.sec4-links a {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    margin: 0 0 3px 5px;
    cursor: pointer;
    font-family: 'Gonzi-light';
    font-style: none;
    color: black;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.sec4-links a:hover {
    background-color: #0e0e0e;
    color: #f5f54d;
    transform: scale(1.1);
}

@media(max-width: 1050px) {

    #sec1 h1 {
        font-size: 30px;
        width: 70vw;
    }

    .action h1 {
        font-size: 50px;
    }

    #sec3 .grid-content {
        flex-direction: column-reverse;
    }

    .grid-head {
        flex-direction: row;
    }

    .grid-desktop {
        width: 40%;
    }

    .grid-logo {
        width: 30%;
    }

    .g-video {
        width: 60%;
    }

    #sec4 {
        padding: 0;
    }
}

@media(max-width: 950px) {
    #sec2 div>.elements {
        width: 90%;
    }
}

@media(max-width: 850px) {

    #sec2 .elements {
        flex-direction: column;
    }

    #sec2 div>.elements {
        width: 70%;
    }


    .info {
        min-height: 40vh;
        display: flex;
        flex-direction: column;
        justify-content: end;
        margin-bottom: 5vh;
    }

    .info p {
        font-size: 18px;
    }

    .ast {
        width: 80px;
    }

    .btn_info {
        margin: 20px auto 0 auto;
    }


    .skills {
        margin: auto;
    }

    .hologram {
        width: 300px;
        bottom: 20%;
        right: 10%;
    }

    .skills .img-skills {
        width: 320px;
        height: 320px;
    }

    .img-skills p {
        bottom: -60px;
        right: -150px;
        width: 200px;
        font-size: 13px;
    }

    #sec4 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20vh 10vw;
        gap: 10vh;
    }

    #sec4 .action {
        justify-content: end;
    }

    .ast-sec4 {
        width: 150px;

    }

    #sec4 .sec4-links {
        align-items: start;
    }

    #sec4 h1 {
        font-size: 50px;
        align-content: end;
    }
}

@media(max-width: 650px) {

    #sec2 div>.elements {
        gap: 15%;
    }

    #sec2 .elements>div {
        flex: 1;
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-content: center;
    }

    .hologram {
        width: 250px;
        bottom: 30%;
        right: 10%;
    }

    .ast {
        width: 70px;
    }

    .info>p {
        text-align: justify;
        letter-spacing: 1.2px;
        font-size: 15px !important;
        line-height: 1.2em;
    }

    .skills .img-skills {
        width: 280px;
        height: 280px;
    }

    .img-skills p {
        bottom: -40px;
        right: -80px;
        width: 200px;
        font-size: 12px;
    }


    .grid-head {
        flex-direction: column;
        justify-content: end;
    }

    .grid-desktop {
        width: 60%;
        margin-top: 0 !important;
    }

    .grid-logo {
        width: 30%;
        margin-top: 10%;
        margin-bottom: -20%;
    }

    .grid-video{
        align-items: center;
    }

    .g-video {
        width: 90%;
    }
}

@media(max-width: 450px) {

    .faixa {
        font-size: 35px;
    }

    .faixa-sec1 {
        animation: marquee-inverse 5s linear infinite;
    }

    .faixa-sec2 {
        animation: marquee 5s linear infinite;
    }

    #sec2>div>.elements {
        /* gap: 10%; */
    }

    .hologram {
        width: 200px;
        bottom: 35%;
        right: 0%;
    }

    .ast {
        width: 60px;
    }

    .skills .img-skills {
        width: 250px;
        height: 250px;
    }

    .img-skills p {
        bottom: -40px;
        right: -80px;
        width: 200px;
        font-size: 12px;
    }

    #sec4 h2 {
        font-size: 35px;
    }

    .ast-sec4 {
        width: 100px;

    }
}

@media(max-width: 375px) {

    .btn_info {
        width: 250px;
    }

    .skills .img-skills {
        width: 220px;
        height: 220px;
    }

    .img-skills p {
        font-size: 11px;
    }

}