@font-face {
    font-family: 'Font1';
    src: url("/img/Square.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    overflow-x: hidden;

    background: rgba(0, 0, 0, 0.897);
}

a {
    text-decoration: none;
}

/* Navegação */

nav {
    display: flex;
    width: 100%;
    justify-content: space-around;
    height: 80px;
    line-height: 80px;
    z-index: 111;
}

.navItems {
    display: flex;
}

.navItems li {
    list-style: none;
    margin: 0 15px;
}

.navItems li a,
h1 {
    font-size: 20px;
    letter-spacing: 3px;
    text-decoration: none;
    text-transform: capitalize;
    font-family: 'Font1';
}

.navItems li:hover a {
    transition: .5s ease-in-out;
}

/* Menu para mobile */

.mobile-menu {
    display: none;
    cursor: pointer;
    padding-top: 15px;
}

.mobile-menu div {
    width: 35px;
    height: 5px;
    background: #fff;
    margin: 8px;
}

/* Principal */

.wrapper {
    display: flex;
    flex-direction: column;
    height: 65vh;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.wrapper h2 {
    font-size: 18px;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
}

.wrapper h3 {
    font-size: 25px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.wrapper h2:hover,
#clique:hover {
    transition: .5s ease-in-out;
    color: #8700F3;
}

p {
    font-family: 'Font1';
    font-size: 25px;
}

.perfil {
    margin-bottom: 20px;
    width: 300px;
}

section {
    text-align: center;
    scroll-snap-align: start;
    font-family: 'Font1';
}

section h3 {
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.box i {
    color: white;
    font-size: 50px;
}

.apresentacao__links,
li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: 'Font1';
}

.apresentacao__links__link {
    background-color: #7000ff;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    border-radius: 16px;
    font-size: 20px;
    padding: 30px 20px;
    margin-top: 20px;
}

.apresentacao__links__link:hover {
    background-color: #240052;
    transition: 0.3s ease-in-out;
}

.blocos_linguagens,
h1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

h1 {
    margin-bottom: 20px;
}

.blocos_linguagens img {
    width: 100px;
}

/* Certicados e diplomas */

.certificados img {
    width: 400px;
    height: 400px;
    margin-bottom: 250px;
    border-radius: 20px;
}

#certificados {
    margin-bottom: 10px;
}

#certificados h1 {
    margin-bottom: -350px;
}

.blocos {
    padding: 300px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -100px;
}

.blocos p {
    color: black;
    font-size: 17px;
}

.box i {
    color: white;
    font-size: 50px;
}

.box {
    background: #232937;
    box-shadow: 5px 5px 5px 0px rgba(159, 85, 255, 0.75);
    border-radius: 20px;
    cursor: pointer;
    padding: 40px;
}

.bn632-hover {
    width: 200px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin: 20px;
    height: 55px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 50px;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.bn632-hover:hover {
    background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.bn632-hover:focus {
    outline: none;
}

.bn632-hover.bn24 {
    background-image: linear-gradient(to right,
            #6253e1,
            #852d91,
            #a3a1ff,
            #f24645);
    box-shadow: 0 4px 15px 0 rgba(126, 52, 161, 0.75);
}

/* Projetos */

#sobre {
    padding-bottom: 30%;
}

section h1 {
    padding: 120px;
    font-size: 22px;
}

.habilidades h1 {
    font-size: 22px;
}

.container {
    height: 520px;
    width: 935px;
    border-radius: 20px;
    overflow: hidden;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, 0%);
    box-shadow: 5px 5px 5px 0px rgba(159, 85, 255, 0.75);
}

.container .slide img {
    height: 100%;
    width: 100%;
}

.navigation {
    position: absolute;
    bottom: -570px;
    left: 889px;
    display: flex;
}

.bar {
    width: 15px;
    height: 15px;
    border: 2px solid white;
    margin: 6px;
    border-radius: 15px;
    cursor: pointer;
    transform: .5s ease;
}

.bar:hover {
    background-color: rgba(159, 85, 255, 0.75);
}

input {
    display: none;
}

.slides {
    display: flex;
    width: 500%;
    height: 100%;
}

.slide {
    width: 20%;
    transition: .6s;
}

#slide1:checked~.s1 {
    margin-left: 0;
}

#slide2:checked~.s1 {
    margin-left: -20%;
}

#slide3:checked~.s1 {
    margin-left: -40%;
}

#slide4:checked~.s1 {
    margin-left: -60%;
}

#slide5:checked~.s1 {
    margin-left: -80%;
}

/* Link menu */

.link {
    position: fixed;
    transform: translate(-50%, -50%);
    top: 95%;
    left: 50%;
    z-index: 1;
}

.link i {
    font-size: 35px;
    color: #8700F3;
}

#up {
    margin-bottom: 5px;
}

.link ul {
    display: flex;
    gap: 15px;
}

.link ul li {
    list-style: none;
    background: #fff;
    border-radius: 30px;
    padding: 7px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .5);
}

.link ul li:hover {
    transform: scale(1.2);
    transition: 1s;
}

.slidemobile {
    display: none;
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 10px;
    background-color: black;
}

::-webkit-scrollbar-thumb {
    background-color: blueviolet;
}

/* Definições mobile */

@media (max-width: 1200px) {
    .navigation {
        display: none;
    }

    .navItems {
        position: absolute;
        border-radius: 20px;
        background: #fff;
        align-items: center;
        justify-content: space-around;
        z-index: 1;
        transform: translateY(-120%);
        transition: transform 0.3s ease-in;
    }

    .wrapper {
        height: 90vh;
    }

    body {
        overflow-x: hidden;
    }

    .navItems li a {
        font-size: 20px;
        color: black;
    }

    .navItems.active {
        transform: translateX(0);
        top: 70px;
    }

    .mobile-menu {
        display: block;
        transition: 0.5s;
    }

    .mobile-menu.active .line1 {
        transform: rotate(-40deg) translate(-1px, 10px);
        transition: 0.5s;
    }

    .mobile-menu.active .line2 {
        opacity: 0;
    }

    .mobile-menu.active .line3 {
        transform: rotate(40deg) translate(-5px, -18px);
        transition: 0.5s;
    }

    p {
        text-align: center;
        font-size: 20px;
    }

    .blocos_linguagens img {
        width: 80px;
    }

    .container .slide img {
        height: 80%;
        width: 80%;
    }

    .container {
        top: 150%;
        box-shadow: none;
    }

    .blocos {
        margin-top: 0px;
        padding: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #certificados h1 {
        margin-top: 0px;
        margin-bottom: -150px;
    }

}

@media (max-width: 750px) {
    .perfil {
        width: 150px;
    }

    .navItems li a {
        font-size: 15px;
    }

    .navItems.active {
        height: 40px;
    }

    #clique {
        padding-bottom: 80px;
    }

    .blocos_linguagens img {
        width: 50px;
    }

    .link {
        display: none;
    }

    .container .slide img {
        height: 50%;
        width: 50%;
    }

    .container {
        top: 140%;
    }

    #certificados h1 {
        margin-top: 0px;
        margin-bottom: -100px;
    }

    .blocos {
        margin-top: 0;
        padding: 0px;
    }

}

@media (max-width: 400px) {

    .container .slide img {
        height: 40%;
        width: 40%;
    }

    .container {
        top: 160%;
    }

}

@media (max-width: 390px) {

    .container .slide img {
        height: 40%;
        width: 40%;
    }

    .container {
        top: 160%;
    }

}