/* Fonte do site */
@font-face {
    font-family: yugioh;
    src: url(../fonte/yu-gi-oh-matrix-bold.ttf);
}


*,
*::after,
*::before {
    box-sizing: border-box;
}

:root {
    --clr-bg: #1B1C47;
    --clr-header: #090909;
    --clr-elements: #3b488f;
    --clr-font: #fff;
}

body {
    background-color: #1B1C47;
    font-family: yugioh;
}


/* HEADER */
header {
    position: fixed;
    width: 80%;
    max-width: 80%;
    height: 70px;
    background-color: var(--clr-header);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
    top: 0;
    left: 10%;
    z-index: 1000000;
    transition: all 1s ease-in-out;
}

header.scrolled {
    background-color: transparent;
}

.caixa-esquerda,
.caixa-direita {
    width: 40%;
    height: 70px;
}

#logo {
    display: block;
    width: clamp(13rem, 16vw, 30rem);
    position: fixed;
    z-index: 1000000;
    padding-left: 1rem;
}

#logo img {
    height: 91px;
    width: 90%;
}

.caixa-direita {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-grow: 1;
    transition: all .3s ease-in-out;
}

#menu li,
a {
    text-decoration: none;
    color: var(--clr-font);
    font-size: 32px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

#menu li:hover {
    border-bottom: 3px solid #BF3124;
    transition: all 0.5s;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    display: none;
}

.bar {
    width: 100%;
    height: 20%;
    background-color: #fff;
}


main {
    transition: all .3s ease-in-out;
    overflow: hidden;
    padding-top: 70px;
}


/* EVENTOS */
.header {
    max-width: 80%;
    height: 50vh;
    background-image: url(../img/background/background-space.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagem-nos {
    max-width: 80%;
    height: 80%;
}

.imagem-nos img{
    width: 100%;
    height: 100%;
}


:root {
    --primary: #FFCE00;
    --secondary: #FE4880;
    --dark: #212121;
    --light: #F3F3F3;
}

.fundo {
    max-width: 80%;
    margin: 0 auto;
    margin-top: 30px;
    background-image: url(../img/background/eventos.png);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 2rem 0;
}

.card {
    width: calc(33vw/1.5);
    height: 33vw;
    perspective: 1000px;
}

.card1__inner,
.card2__inner,
.card3__inner {
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
}

.card1__inner.is-flipped,
.card2__inner.is-flipped,
.card3__inner.is-flipped {
    transform: rotateY(180deg);
}

.card__face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 5px;
}

.card__face--front img {
    width: 100%;
    height: 100%;
}

.card__face--back {
    background-color: var(--light);
    transform: rotateY(180deg);
}

.card__content {
    width: 100%;
    height: 100%;
}

.card__content img {
    width: 100%;
    height: 100%;
}

.pp {
    display: block;
    width: 128px;
    height: 128px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background-color: #FFF;
    border: 5px solid #FFF;
    object-fit: cover;
}

.card__header h2 {
    color: #FFF;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.card__body {
    padding: 30px;
}

.card__body h3 {
    color: var(--dark);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card__body p {
    color: var(--dark);
    font-size: 18px;
    line-height: 1.4;
}

/* FORMULARIO DO EVENTO */

#forms {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 120vh;
    margin: -20px 0 50px;
}

h1 {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: bold;
    margin: 0;
    color: #fff;
    margin-top: 10px;
}

.bem-vindo {
    font-size: clamp(1.5rem, 3vw, 3rem);
    color: #fff;
}

.texto {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #fff;
}

span {
    font-size: 30px;
}

h2 {
    text-align: center;
}

.form-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 3rem);
}

.texto {
    font-weight: 100;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

#esqueceu {
    color: #fff;
    text-decoration: none;
    margin-top: 15px;
    font-size: clamp(1rem, 2.5vw, 2.5rem);
}

#name,
#email,
#senha,
#data,
#rua,
#cep {
    border-radius: 10px;
    border: 1px solid black;
    opacity: 0.80;
}

.form-label {
    font-size: clamp(1.5rem, 2.8vw, 3rem);
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: .5rem
}

input {
    padding: .5rem;
    margin: 8px 0;
}

button {
    border-radius: 20px;
    border: 1px solid #F2eee3;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    padding: 12px 45px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    border-color: red;
    align-self: center;
    margin-top: 1rem;
}

button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

button.ghost {
    background-color: #000;
    border-color: red;
    color: #fff;
    cursor: pointer;
}

.entrar {
    width: 200px;
    margin-left: 150px;
    cursor: pointer;
}

form {
    background-color: #8A3030;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
}


.formulario {
    background-image: url(../img/background/background-eventos-formulario.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 60px;
    position: relative;
    width: 80%;
    height: 280vh;

}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.formulario.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.formulario.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.formulario.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    background: -webkit-linear-gradient(to right, rgb(5, 0, 0), rgba(0, 0, 0, 0.351));
    background: linear-gradient(to right, rgb(5, 0, 0), rgba(0, 0, 0, 0.351));
    background-repeat: no-repeat;
    background-size: cover;
    color: black;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay {
    background: -webkit-linear-gradient(to right, rgb(5, 0, 0), rgba(0, 0, 0, 0.351));
    background: linear-gradient(to right, rgb(5, 0, 0), rgba(0, 0, 0, 0.351));
    background-repeat: no-repeat;
    background-size: cover;
    color: black;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.formulario.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {
    transform: translateX(-20%);
}

.formulario.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.formulario.right-panel-active .overlay-right {
    transform: translateX(20%);
}

.angry-grid {
    max-width: 80%;
    margin: 0 auto;
}

/* FOOTER */
footer {
    margin: 5vh auto 10vh auto;
    max-width: 80%;
    background: url(../img/background/background-space.jpg) center center no-repeat;
    background-size: cover;
    background-color: #fff;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
}

.footer-content {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer-left-container,
.footer-middle-container,
.footer-right-container {
    width: 33.3%;
    height: 35vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-left-title-container,
.footer-right-content-container {
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-left-title-container {
    justify-content: space-between;
}

.footer-right-content-container {
    justify-content: baseline;
}

.footer-left-title-container,
a,
.follow-us-title {
    color: var(--clr-font);
    text-decoration: none;
}

.footer-left-title-container,
a,
.follow-us-title {
    color: var(--clr-font);
    text-decoration: none;
}

.footer-left-title-container,
.follow-us-title,
.list-names {
    color: var(--clr-font);
    text-decoration: none;
}

.footer-left-image {
    width: clamp(13rem, 16vw, 30rem);
    height: clamp(7rem, 6vh, 10rem);
}

.footer-image {
    width: 100%;
    height: 100%;
}

.footer-image img {
    width: 100%;
    height: 100%;
}

.link-container {
    width: 80%;
    height: 80%;
}

.footer-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.list-links,
.list-names,
.list-links,
.icon-link {
    margin: 0;
    font-size: 30px;

}

.list-names,
.footer-left-title,
.follow-us-title {
    font-size: clamp(1.2rem, 1.8vw, 2.5rem);
}

.icon-link i {
    color: var(--clr-font);
}

.social-icons-container {
    width: 100%;
    margin-top: 2rem;
}

.social-list {
    display: flex;
    justify-content: space-evenly;
}

.icon-link i {
    font-size: 2.5rem;
}

.copyright-container {
    width: 100%;
    border-top: 2px solid var(--clr-font);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 1rem 1rem 1.5rem 1rem;
}

.copyright-text {
    margin-top: 1rem;
}

.copyright-title,
.copyright-text {
    color: var(--clr-font);
    font-size: clamp(1rem, 1.5vw, 2.5rem);
    text-align: center;
}

.follow-us-title,
.footer-left-title {
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    font-weight: bold;
}

.copyright-text{
    padding: 0;
}

#imagem-responsivo-formulario {
    background: url(../img/background/formulario-responsivo.png) center center no-repeat;
    background-size: cover;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 5vh;
}

/* DESKTOP */
@media screen and (max-width: 1920px) {
    .formulario-mobile {
        display: none;
    }

    .angry-grid {
        display: none;
    }
}

@media (min-width: 1200px) and (max-width: 1919px) {
    .formulario-mobile {
        display: none;
    }

    .angry-grid {
        display: none;
    }

    
    .header {
        height: 500px;
    }

    .entrar {
        width: 200px;
        margin-left: 5px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .formulario-mobile {
        display: none;
    }

    .angry-grid {
        display: none;
    }

    .header {
        height: 400px;
    }

    .entrar {
        width: 200px;
        margin-left: 5px;
    }

}

/* TABLET */

@media (min-width: 768px) and (max-width: 991px) {
    .formulario-mobile {
        display: none;
    }

    .angry-grid {
        display: none;
    }

    .header {
        height: 380px;
    }

    .entrar {
        width: 200px;
        margin-left: 10px;
    }

}

/* celular */

@media (min-width: 481px) and (max-width: 767px) {
    .formulario-mobile {
        display: block;
    }

    .angry-grid {
        display: block;
    }

    /* 
    .fundo {
        flex-direction: column;
    } */

    .header {
        height: 300px;
    }

    .formulario {
        display: none;
    }

    #forms {
        display: none;
    }

}

@media (min-width: 319px) and (max-width: 480px) {
    .formulario {
        display: none;
    }

    #forms {
        display: none;
    }

    .formulario-mobile {
        display: block;
    }

    .angry-grid {
        display: block;
    }

    .header {
        height: 280px;
    }

}


/* FOOTER NÃO MEXER! */
@media only screen and (max-width: 767px) {
    .footer-content {
        flex-direction: column;
        margin-top: 30px;
    }

    .footer-left-container {
        height: auto;
        padding: 1rem;
    }

    .footer-left-container,
    .footer-middle-container,
    .footer-right-container {
        width: 100%;
    }

    .footer-left-image {
        margin-top: 1rem;
    }

    .footer-right-content-container,
    .footer-list,
    .footer-left-title-container {
        padding: 0;
    }

    .footer-right-container {
        height: auto;
        padding-top: 1rem;
    }

    .footer-right-content-container {
        height: 100%;
        justify-content: space-around;
    }
}

/* HEADER NÃO MEXER */
@media only screen and (max-width: 1199px) {

    header {
        justify-content: space-between;
    }

    .caixa-direita {
        display: none;
    }

    .hamburger-icon {
        display: flex;
        margin-right: 1rem;
        float: right;
    }

    .caixa-direita.show-menu {
        position: fixed;
        top: 70px;
        width: 80%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        height: 25vh;
        align-items: flex-end;
        justify-content: space-evenly;
        padding-right: 1rem;
        background-color: var(--clr-header);
        z-index: 999;
    }

    .caixa-direita.scrolled {
        background-color: transparent;
    }

    main.main-down {
        padding-top: calc(70px + 25vh);
    }

}