@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
    --dark-purple: #4E4395;
    --light-purple: #9A77B3;
    --light-purple-2: #655272;
    --light-black: #2b2929;
    --black: #000000;
    --dark-gray: #33313F;
    --white: #ffffff;
    --white-transparent: #ffffff1a;
    --grey: #CECECE;
    --border-right: 6px;
    --text-stroke-color: rgba(255, 255, 255, 0.6);
    --animation-color: #37FF8B;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #001224;
}

::-webkit-scrollbar-thumb {
    background: #4070f4;
    border-radius: 10px;
}

:root {
    --card-height: 300px;
    --card-width: calc(var(--card-height) / 1.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 85px;
    background: #000611;
    color: white;
    padding: 18px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    z-index: 999;
}

.sidebar:hover {
    width: 250px;
}

.sidebar:hover .logo_closed {
    display: none;
}

.sidebar:hover .logo_open {
    display: flex;
    opacity: 1;
    transition: 0.4s ease-in-out;
}

.logo_items {
    gap: 8px;
    transition: 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav_image {
    display: flex;
    width: 50px;
    justify-content: center;
    transition: 0.4s ease-in-out;
}

.logo_closed {
    width: 50px;
    transition: 0.4s ease-in-out;
}

.logo_open {
    opacity: 0;
    display: none;
    width: 150px;
    transition: 0.4s ease-in-out;
}

.menu_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 30px;
    overflow-y: auto;
    transition: 1s ease-in-out;
}

.menu_container::-webkit-scrollbar {
    display: none;
}

.flex {
    display: flex;
    align-items: center;
}

.item {
    list-style: none;
}

.link {
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 7.5px;
    color: white;
}

.link:hover {
    color: #fff;
    background: linear-gradient(180deg, #13326E, #264FAB, #4077FF);
    animation: animacao_link 0.1s ease-in-out;
}

@keyframes animacao_link {
    0% {
        background: linear-gradient(180deg, #13316e7a, #264eab73, #4076ff6e);
    }

    100% {
        background: linear-gradient(180deg, #13326E, #264FAB, #4077FF);
    }

}

.link span {
    white-space: nowrap;

}

.link i {
    height: 60px;
    min-width: 50px;
    display: flex;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

body {
    margin-left: 85px;
}

#BANNER_APOIADORES {
    display: flex;
    width: 100%;
    object-fit: cover;
    background: linear-gradient(360deg, #001f3f, #00356d);
    box-shadow: 3px 3px 25px black;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#section_apoiadores_1 {
    background: linear-gradient(180deg, #00356d, #00356d, #00438b, #0051a8, #0066d3);
    display: flex;
    flex-direction: column;
}

#section_apoiadores_1 .apoiadores_agradecimento {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.titulo_apoiadores {
    font-size: 55px;
    color: white;
    text-align: center;
}

#section_apoiadores_1 .apoiadores_agradecimento_texto1 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 2px solid #0066d3;
    border-radius: 20px;
    box-shadow: 0px 0px 15px rgba(0, 102, 211, 0.7);
    padding: 30px;
    margin-top: 20px;
    width: 93%;
    text-align: center;
    color: white;
    transition: 0.2s ease-in-out;
}

#section_apoiadores_1 .apoiadores_agradecimento_texto2 {
    margin-top: 20px;
}

#section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafo1,
#section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafo2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

#section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafos_icones {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 2px solid #0066d3;
    border-radius: 20px;
    box-shadow: 0px 0px 15px rgba(0, 102, 211, 0.7);
    margin-top: 20px;
    width: 45%;
    text-align: center;
    margin: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: 0.2s ease-in-out;
}

#section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafos_icones:hover {
    transform: translateY(-10px)
}


#section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafos_icones i {
    font-size: 50px;
    background: #001224;
    box-shadow: 0px 0px 15px rgba(0, 102, 211, 0.7);
    margin-right: 20px;
    height: 150px;
    width: 200px;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

#section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafos_icones p {
    padding: 20px;
    color: white;
}

#section_apoiadores_1 .apoiadores_agradecimento_texto2 #paragrafo_final {
    color: white;
    margin-top: 30px;
}

#section_apoiadores_1 .apoiadores_agradecimento_texto2 span {
    font-weight: bolder;
    text-shadow: 2px 2px 5px #007bff;
}


#section_apoiadores_2 {
    background-color: #0066d3;
    display: flex;
    flex-direction: column;
}

#section_apoiadores_2 .cards_apoiadores_1 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 50px;
}

#section_apoiadores_2 .card_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#section_apoiadores_2 .card_container h1 {
    color: white;
    position: relative;
    z-index: 1;
    margin-bottom: 70px;
    text-shadow: 2px 2px 5px #000611;
}

/* Estilo para o cabeçalho do card */
.card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    padding: 5px
}

.card-actions .btn-edit,
.card-actions .btn-delete {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 999;
}

.card-actions .btn-edit:hover {
    background-color: #007bff;
    color: #fff;
}

.card-actions .btn-delete:hover {
    background-color: #ff4d4d;
    color: #fff;
}

.card-actions i {
    font-size: 18px;
}


#section_apoiadores_2 .card {
    width: var(--card-width);
    height: var(--card-height);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 36px;
    perspective: 2500px;
    border-radius: 5px;
}

#section_apoiadores_2 .cover-image {
    width: 230px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    background-color: #003772;
    border: 1px solid #0066d3;
    box-shadow: 3px 3px 60px #002246;
}

#section_apoiadores_2 .wrapper {
    transition: all 0.5s;
    position: absolute;
    z-index: -1;
    border-radius: 20px;
}

#section_apoiadores_2 .card:hover .wrapper {
    transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
    box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}

#section_apoiadores_2 .wrapper::before,
#section_apoiadores_2 .wrapper::after {
    content: "";
    opacity: 0;
    transition: all 0.5s;
    position: absolute;
    left: 0;
    border-radius: 20px;
}

#section_apoiadores_2 .wrapper::before {
    top: 0;
    width: 230px;
    height: 100%;
    background-image:
        linear-gradient(to top, transparent 46%, rgba(12, 13, 19, 0.5) 68%, rgba(12, 13, 19, 0.5) 97%);
    border-radius: 20px;
}


#section_apoiadores_2 .card:hover .wrapper::before,
#section_apoiadores_2 .wrapper::after {
    opacity: 1;
}

#section_apoiadores_2 .card:hover .wrapper::after {
    height: 120px;
}

#section_apoiadores_2 .card .title {
    width: 100%;
    transition: transform 0.5s;
    margin-bottom: 130px;
}

#section_apoiadores_2 .card:hover .title {
    transform: translate3d(0%, -100px, 100px) rotateX(33deg);
    filter: drop-shadow(0px 0px 15px #007bff);
}

#section_apoiadores_2 .character {
    width: 105%;
    opacity: 0;
    transition: all 0.5s;
    position: absolute;
    z-index: -1;
    color: white;
    text-align: center;
    font-size: 13px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}


#section_apoiadores_2 .card:hover .character {
    opacity: 1;
    transform: translate3d(0%, -50%, 100px) rotateX(15deg);
}

.container {
    margin-top: 100px;
}


/* Estilo do modal */
.modal {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: 0.2s ease-in-out;
}

.modal-content {
    background: #00356d;
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0px 0px 15px rgba(0, 102, 211);
    text-align: center;
    position: relative;
    transition: 0.2s ease-in-out;
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #ffffff;
}

.modal-content form input,
.modal-content form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.modal-content form input:focus,
.modal-content form textarea:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

.modal-content form button {
    width: auto;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #0d72ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-content form button:hover {
    background-color: #0056b3;
    /* Azul mais escuro no hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.modal-content label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
    text-align: left;
    /* Alinha o texto à esquerda */
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

.close:hover {
    color: #0d72ff;
}

/* Botão para abrir o modal */
.div_btn-modal {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-modal {
    width: 240px;
    background-color: #00356d;
    color: #ffffff;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-modal:hover {
    background-color: #002246;
}

.section_apoiadores_3 {
    background: linear-gradient(360deg, #00356d, #00356d, #00438b, #0051a8, #0066d3);
    display: flex;
    justify-content: center;
    flex-direction: column;
}


.section_apoiadores_3 #titulo_section_apoiadores_3 {
    font-size: 55px;
    text-align: center;
    color: white;
}

.section_apoiadores_3 .cards_apoiadores_3 {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 20px;
}

.section_apoiadores_3 .cards_apoiadores_3 .card {
    position: relative;
    width: 370px;
    height: 350px;
    background-color: #003772;
    backdrop-filter: blur(12px);
    border: 2px solid #0066d3;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    perspective: 1000px;
}

.section_apoiadores_3 .cards_apoiadores_3 .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 211, 0.4);
}

.section_apoiadores_3 .cards_apoiadores_3 .card .front,
.section_apoiadores_3 .cards_apoiadores_3 .card .back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 20px;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
}

.section_apoiadores_3 .cards_apoiadores_3 .card .front {
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 2;
}

.section_apoiadores_3 .cards_apoiadores_3 .card .front h1 {
    font-size: 60px;
    margin: 0;
}

.section_apoiadores_3 .cards_apoiadores_3 .card .front p {
    font-size: 28px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px black;
    letter-spacing: 5px;
    font-weight: bold;
    margin-top: 10px;
    color: white;
}

.section_apoiadores_3 .cards_apoiadores_3 .card .back {
    background: transparent;
    color: #ffffff;
    transform: rotateY(180deg);
    text-align: justify;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.6);
}

.section_apoiadores_3 .cards_apoiadores_3 .card:hover .front {
    transform: rotateY(180deg);
}

.section_apoiadores_3 .cards_apoiadores_3 .card:hover .back {
    transform: rotateY(0deg);
}

.section_apoiadores_3 .cards_apoiadores_3 #networking {
    margin-top: 60px;
}

.cards_apoiadores_3 .front {
    position: relative;
    overflow: hidden;
    color: white;
    z-index: 1;
}

.cards_apoiadores_3 .front::before {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(5px) brightness(0.7);
    z-index: 0;
    box-shadow: inset 0 0 100px 20px black;
}

#front-visibilidade::before {
    background-image: url(./img/visibilidade.png);
}

#front-networking::before {
    background-image: url(./img/networking.png);
}

#front-credibilidade::before {
    background-image: url(./img/credibilidade.png);
}

.cards_apoiadores_3 .front * {
    position: relative;
    z-index: 1;
}

.section_apoiadores_3 p {
    color: white;
}

.section_apoiadores_3 .contato {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 80px;
    height: 40vh;
    transition: 0.2s ease-in-out;
}

.section_apoiadores_3 .email {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 2px solid #0066d3;
    border-radius: 50px;
    box-shadow: 0px 0px 15px rgba(0, 102, 211, 0.7);
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    flex-direction: column;
    transition: 0.2s ease-in-out;
}

.section_apoiadores_3 .email:hover {
    transform: scale(1.02)
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: white;
    color: #002c56;
    border: none;
    border-radius: 50%;
    font-size: 35px;
    cursor: pointer;
    opacity: 0.8;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
    padding-bottom: 3px;
    border: 1px solid #002c56;
}

#backToTop:hover {
    opacity: 1;
    transform: scale(1.1) rotate(-90deg);
}


footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-color: #00356d;
    padding: 20px;
}

footer ul {
    list-style-type: none;
    display: flex;
    gap: 50px;
}

footer ul a {
    text-decoration: none;
    color: white;
}

footer ul a:hover {
    color: #4070f4;
    transition: 0.3s ease-in-out;
}

.footer-linha {
    border: none;
    height: 2px;
    background-color: rgb(0, 166, 255);
    margin: 10px auto;
    width: 70%;
}

/* INÍCIO TAGS */

.dev,
.link-href {
    text-decoration: none !important;
    color: var(--white) !important;
}

.dev:hover,
.link-href:hover {
    background-position: 0;
}

.dev:hover::before,
.link-href:hover::before {
    width: 100%;
}


/* FIM TAGS */
/* INICIO CLASSES E IDS */
.link-href {
    background-image: linear-gradient(to right,
            var(--light-purple),
            var(--light-purple) 50%,
            var(--white) 50%) !important;
    background-size: 200% 100% !important;
    background-position: -100% !important;
    display: inline-block !important;
    padding: 5px 0 !important;
    position: relative !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transition: all 0.3s ease-in-out !important;
}

.link-href:before {
    content: '';
    background-color: #044285;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

#btn-mobile {
    display: none;
}

.navbar {
    width: 100% !important;
    height: 80px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 4rem !important;
    display: none !important;
    z-index: 300 !important;
}

.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .links {
    display: flex !important;
    gap: 2rem !important;
    font-size: 1rem !important;
}

.logo-mobile {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 22px !important;
}

/* FIM CLASSES E IDS */
/* INÍCIO MEDIA QUERIES */

@media screen and (max-width: 1024px) {

    body {
        margin: 0;
    }

    .sidebar {
        display: none;
    }

    header {
        display: flex;
        background-color: #000611;
    }

    .link-href-hidden {
        display: block !important;
    }

    .button {
        display: none;
    }

    .links li .link-href {
        font-size: 20px;
        padding: 12px !important;
        margin-top: 5px !important;
    }

    .links {
        padding: 0 !important;
    }

    .link {
        gap: 40px !important;
        margin-top: 50px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .link i {
        display: inline-flex;
        margin-right: 1px !important;
        padding: 0 !important;
        height: 40px !important;
        min-width: 40px !important;
    }

    #menu {
        display: block !important;
        position: absolute !important;
        width: 100%;
        top: 70px;
        right: 0px;
        background-color: #000611;
        transition: 0.6s;
        z-index: 1000;
        height: 0px;
        visibility: hidden;
        overflow-y: hidden;
    }

    #nav.active #menu {
        height: calc(100vh - 70px);
        visibility: visible;
        overflow-y: auto;
    }

    #menu a {
        padding: 1rem 0;
        margin: 0 1rem;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    }

    #btn-mobile {
        display: flex;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        gap: 0.5rem;
        color: var(--white);
    }

    #hamburger {
        border-top: 2px solid;
        margin-top: 3.5px;
        width: 20px;
    }

    #hamburger::after,
    #hamburger::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
        margin-top: 5px;
        transition: 0.3s;
        position: relative;
    }

    #nav.active #hamburger {
        border-top-color: transparent;
    }

    #nav.active #hamburger::before {
        transform: rotate(135deg);
    }

    #nav.active #hamburger::after {
        transform: rotate(-135deg);
        top: -7px;
    }

    .navbar .links {
        display: none;
        /* Oculta os links no modo responsivo, caso necessário */
    }

    .navbar {
        padding: 0 !important;
        display: flex !important;
    }

    .dev {
        font-size: 16px !important;
    }

    .button {
        visibility: hidden;
    }

    .link-href-login {
        visibility: visible;
    }



    @keyframes fade-in {
        5% {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        95% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes progress {
        to {
            transform: scaleX(1);
        }
    }


    #section_apoiadores_1 .apoiadores_agradecimento h1,
    .titulo_apoiadores,
    .section_apoiadores_3 #titulo_section_apoiadores_3 {
        font-size: 38px;
        color: white;
        margin-top: 40px;
        padding: 20px
    }


    #section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafos_icones {
        display: block;
    }

    #section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafo1,
    #section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafo2 {
        flex-direction: column;
    }

    #section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafos_icones {
        width: 100%;
    }

    #section_apoiadores_1 .apoiadores_agradecimento_texto2 .paragrafos_icones i {
        width: 100%;
        height: 100px;
    }

    #section_apoiadores_2 {
        height: auto !important;
        padding-bottom: 60px;
        display: flex;
        flex-direction: column;
    }

    #section_apoiadores_2 .cards_apoiadores_1 {
        display: block;
    }

    #section_apoiadores_2 .wrapper {}

    #section_apoiadores_2 .card_container h1 {
        margin-top: 50px;
    }

    #section_apoiadores_2 .card_container {
        width: 100% !important;
        /* Ocupa toda a largura */
        height: auto;
        padding: 0px;
    }


    .section_apoiadores_3 .cards_apoiadores_3 #networking {
        margin-top: 0px;
    }

    .section_apoiadores_3 .contato {
        text-align: center;
    }

    .section_apoiadores_3 .email {
        width: 100%;
        margin: 60px;
    }

    .section_apoiadores_3 p {
        font-size: 15px;
    }

    footer ul {
        flex-direction: column;
        gap: 15px;
    }
}