/* Criando barra de navegação */
ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
}

nav {
    width: 50%;
}

a {
    text-decoration: none;
    display: block;
    color: rgb(255, 255, 255);
    font-size: 15.2061px;
    transition: ease-in-out 0.3s;
}

a:hover {
    color: rgb(2, 15, 134);
}

img {
    max-width: 100%;
    display: block;
}

.logo {
    padding: 15px 0;
}

.barra {
    width: 100%;
    background: rgba(196, 196, 196, 0.11);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    z-index: 1;
    border-bottom: solid 1px rgba(255, 255, 255, 0.452);
}

.barra-conteiner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.centralizador {
    max-width: 1000px;
    margin: 0 auto;
}

/* Barra de navegação terminada */



/* Criando início */
#inicio {
    background: linear-gradient(120deg, #c52238 50%, #10111e 50%);
    height: 100vh;
    display: flex;
    align-items: center;
}

.altura-ajuste {
    width: 100%;
}

.ajustador {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.apresentacao {
    max-width: 741px;
    color: #fff;
}

.descricao {
    font-size: 25px;
    grid-area: descricao;
}

.meu-nome {
    font-size: 50px;
    ;
}


/* Inicio icones midia sociais */
.social-networks {
    margin-top: 20px;
}

.icons {
    display: flex;
    column-gap: 25px;
}

.icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 26px;
    color: #fff;
    border-radius: 50%;
    outline: 2px solid #fff;
    transition-duration: .25s;
}

.icon:hover {
    outline-offset: 4px;
}

.icon:hover img {
    animation: social .25s;
}

.icon--linkedin img {
    height: 60px;
    width: 60px;
}

.icon--instagram img {
    height: 30px;
    width: 30px;
}

.icon--github img {
    height: 40px;
    width: 40px;
}

.icon--whatsapp img {
    height: 35px;
    width: 35px;
}

.icon--linkedin:hover {
    background-color: #0077b5;
    outline-color: #1da1f2;
}

.icon--linkedin img:hover {
    height: 75px;
    width: 75px;
}

.icon--instagram:hover {
    background: #f09433;
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    outline-color: #f09433;
}

.icon--instagram img:hover {
    width: 38px;
    height: 38px;
}

.icon--github:hover {
    background-color: #171515;
    outline-color: #171515;
}

.icon--github img:hover {
    height: 45px;
    width: 45px;
}

.icon--whatsapp:hover {
    background-color: #25d366;
    outline-color: #25d366;
}

.icon--whatsapp img:hover {
    height: 40px;
    width: 40px;
}

@keyframes social {
    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-15deg);
    }
}

/* Inicio icones midia sociais */



.link {
    font-size: 25px;
    width: 50%;
    text-align: center;
    padding: 12px 0;
    transition: ease-in-out 0.3s;
}

.link:hover {
    letter-spacing: 5px;
    color: white;
}

.desenho {
    width: 300px;
    grid-area: desenho;
}

@keyframes desenhoAnimacao {
    from {
        top: -15px;
    }

    to {
        top: 25px;
    }
}

.desenho2 {
    position: relative;
    animation: desenhoAnimacao 2.1s infinite alternate-reverse linear;
}

.close-menu {
    display: none;
}

.meu-nome::after {
    content: '|';
    margin-left: 5px;
    opacity: 1;
    animation: pisca .7s infinite;
}

@keyframes pisca {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (max-width:1200px) {

    #inicio {
        background: #10111e;
        height: auto;
    }

    .ajustador {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-around;
        align-items: center;
        padding-bottom: 50px;
    }

    .desenho {
        padding: 100px 0;
    }

    .apresentacao {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .linkedin {
        width: 479px;
        margin-top: 15px;
    }

    .esquerda {
        margin-left: 15px;
    }

    .direita {
        margin-right: 15px;
    }

    .icon--github:hover {
        background-color: #171515;
        outline-color: #fff;
    }

}

@media (max-width:950px) {
    .desenho {
        padding: 25px 0;
    }

    .altura-ajuste {
        display: flex;
        justify-content: center;
    }

    .organizador {
        max-width: 300px;
        display: grid;
        grid-template-columns: 300px;
        grid-template-areas:
            "desenho"
            "descricao";
        line-height: 35px;
    }

    #inicio {
        display: flex;
        justify-content: center;
    }

    .desenho {
        display: flex;
        justify-content: center;
    }

    .descricao {
        font-size: 20px;
    }

    .meu-nome {
        font-size: 30px;
    }

    .esquerda,
    .direita {
        margin: 0;
    }

    .logo {
        margin-top: 25px;
        display: flex;
        justify-content: center;
        padding: 0;
    }

    .barra {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu-centro {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .centralizador {
        margin: 0;
    }

    .barra-conteiner {
        width: 300px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 50px;
    }

    .barra-conteiner .logo {
        width: 100%
    }

    .direita ul {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .direita ul a {
        font-size: 35px;
    }

    /* Configurando menu mobile */
    .barra {
        display: block;
        position: fixed;
        top: -100vh;
        transition: ease 0.3s;
    }

    .close-menu-label::after {
        content: '≡';
        position: fixed;
        z-index: 2;
        top: 2rem;
        right: 2rem;
        background: #a2f;
        color: white;
        font-size: 3rem;
        line-height: 3rem;
        width: 3rem;
        height: 3rem;
        text-align: center;
        border-radius: 5px;
        cursor: pointer;
    }

    /* ✕ */
    .close-menu:checked~.barra {
        top: 0;
    }

    .close-menu:checked~.close-menu-label::after {
        display: block;
        content: '✕';
    }

    .barra .barra-conteiner ul li a {
        font-size: 25px;
    }

    .barra {
        background: rgba(0, 0, 0, 0.527);
    }

}

@media (max-width:340px) {
    .icon--linkedin img {
        height: 40px;
        width: 40px;
    }

    .icon--instagram img {
        height: 20px;
        width: 20px;
    }

    .icon--github img {
        height: 30px;
        width: 30px;
    }

    .icon--whatsapp img {
        height: 25px;
        width: 25px;
    }
}