@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+IN:wght@100..400&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background: white;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

header {
    color: black;
    background: white;
    padding: 50px 0;
}

h1 {
    opacity: 0;
    font-family: "Playwrite IN", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    /* Inicialmente invisível */
    transform: translateY(-50px);
    /* Posição inicial acima */
    animation: titleEntrance 1s forwards;
    /* Animação de entrada */
}

.caixa {
    position: relative;
    width: 940px;
    margin: 0 auto;
}

.caixa h1 {
    padding-left: 300px;
}

nav {
    position: absolute;
    top: 0px;
    right: 0;
}

nav li {
    display: inline;
    margin: 0 0 0 15px;
}

nav a {
    color: black;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
}

nav a:hover {
    color: rgb(138, 59, 125);
    text-decoration: underline;
}

.titulo-principal {
    background-color: #8BC6EC;
    background-image: linear-gradient(135deg, #8BC6EC 0%, #e195e2 100%);
    color: white;
    padding: 40px;
}

.titulo-principal h1 {
    text-align: center;
    font-size: 40px;
    opacity: 0;
    /* Inicialmente invisível */
    transform: translateY(-50px);
    /* Posição inicial acima */
    animation: titleEntrance 1s forwards;
    /* Animação de entrada */
}

/* Animação de entrada */
@keyframes titleEntrance {
    to {
        opacity: 1;
        /* Torna o título visível */
        transform: translateY(0);
        /* Retorna à posição original */
    }
}

p {
    padding: 20px;
}

.img-inicio {
    max-width: 350px;
    height: auto;
}

.apresentacao figcaption {
    text-align: center;
    font-style: 16px;
}

.apresentacao {
    padding: 100px;
    display: flex;
    align-items: center;
    /* Alinhar verticalmente */
    gap: 40px;
    /* Espaçamento entre texto e imagem */
}

.apresentacao p {
    text-align: justify;
    font-size: 20px;
}

.rodape {
    background: rgb(41, 69, 122);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.rodape h2 {
    font-family: "Playwrite IN", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.rodape img {
    max-height: 40px;
    /* Ajuste a altura da imagem */
}

.rodape .redes-sociais {
    display: flex;
    justify-content: center;
    /* Centralizar horizontalmente */
    margin: 0 20px;
    gap: 20px;
}

ul {
    list-style: none;
}

.example-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.example-2 .icon-content {
    margin: 0 10px;
    position: relative;
}

.example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
}

.example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
}

.example-2 .icon-content a:hover {
    color: white;
}

.example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
    height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"]~.tooltip {
    background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"]~.tooltip {
    background-color: #24262a;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"]~.tooltip {
    background: linear-gradient(45deg,
            #405de6,
            #5b51db,
            #b33ab4,
            #c135b4,
            #e1306c,
            #fd1f1f);
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"]~.tooltip {
    background-color: #ff0000;
}

.copyright {
    color: #FFFFFF;
    font-size: 13px;
    margin: 20px 0 0;
    padding: 10px;
}

/* ESTILIZAÇÃO DO MENU-MOBILE */
.caixa-mobile {
    background-color: #8BC6EC;
    background-image: linear-gradient(135deg, #8BC6EC 0%, #e195e2 100%);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 50px;
    left: 0px;
    width: 100%;
    height: 0;
    z-index: 10;
    visibility: hidden;
    transition: 0.5s;
    overflow: hidden;
}

.caixa-mobile nav a {
    color: white;
    display: block;
    padding: 20px 30px;
    width: 100%;
}

.caixa-mobile nav a:hover {
    background-color: rgb(217, 0, 127);
}

#botao-menu {
    background: transparent;
    width: 50px;
    height: 50px;
    outline: none;
    cursor: pointer;
    border: 5px solid rgba(17, 0, 91, 0.711);
    border-radius: 2px;
    transition: 0.2s;
    display: none;
}

.linha {
    position: relative;
    width: 20px;
    height: 3px;
    background-color: rgba(17, 0, 91, 0.711);
    display: block;
    margin: 5px auto;
    transform-origin: center;
    transition: 0.2s;
}

#botao-menu.ativar {
    border: 5px solid red;
}

#botao-menu.ativar .linha:nth-child(1) {
    transform: translateY(8px) rotate(-45deg);
    background-color: red;
}

#botao-menu.ativar .linha:nth-child(3) {
    transform: translateY(-8px) rotate(45deg);
    background-color: red;
}

#botao-menu.ativar .linha:nth-child(2) {
    width: 0;
}

.titulo,
.direita,
.esquerda,
.efeito-na-imagem1,
.efeito-na-imagem2,
.efeito-na-imagem3,
.efeito-na-imagem4 {
    visibility: hidden;
}

/*RESPONSIVIDADE PARA CELULAR*/
@media screen and (max-width: 1000px) {

    /* MENU */
    .caixa {
        display: none;
    }

    .caixa-mobile.abrir {
        visibility: visible;
        height: calc(100vh - 50px);
    }

    #botao-menu {
        display: block;
    }

    .caixa-mobile nav {
        position: absolute;
        top: 20px;
        left: 0;
    }

    /*CABEÇALHO*/
    header {
        padding: 0px;
    }

    /*TÍTULOS*/
    .titulo-principal h1 {
        font-size: 24px;
    }

    .titulo-principal {
        padding: 40px;
    }

    /*APRESENTAÇÃO*/
    .apresentacao {
        flex-direction: column;
        padding: 30px;
    }

    .apresentacao img {
        width: 75%;
    }

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

    .apresentacao figure {
        text-align: center;
    }

    /*RODAPÉ*/
    .rodape h2 {
        font-size: 20px;
    }
}