@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Poppins";
    width: 100%;
    height: 100vh;
}

@media (min-width: 768px) {
    #menu-button.menu-btn, .side-menu {
      display: none !important;
    }
  }

footer{
    text-align: center;
    color: gray;
    font-weight: 300;
}

/* PARTE SUPERIOR (NAV) */

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    position: relative;
}

@media (min-width: 768px) {
    nav {
        width: 600px;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    nav a {
        font-family: "Poppins";
        text-decoration: none;
        font-size: 18px;
        color: #000;
        margin: 10px;
        cursor: pointer;
        position: relative;
        border: none;
        background: none;
        text-transform: uppercase;
        transition: color 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    nav a:after {
        content: "";
        pointer-events: none;
        bottom: -2px;
        left: 50%;
        position: absolute;
        width: 0%;
        height: 2px;
        background-color: #0047af;
        transition: width 400ms cubic-bezier(0.25, 0.8, 0.25, 1), left 400ms;
    }

    nav a:hover,
    nav a:focus {
        color: #0047af;
    }

    nav a:hover:after,
    nav a:focus:after {
        width: 100%;
        left: 0%;
    }

    nav a.active {
        color: #0047af;
    }

    nav a.active:after {
        width: 100%;
        left: 0%;
    }
}


img{
    width: 200px;
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
}

.links{
    position: absolute;
    top: 50%;
    left: 91%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    max-height: 35px;
}
.links-button{
    color: gray;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
#face:hover{
    color: #0047af;
}
#insta:hover{
    color: #c6318a;
}
#wpp:hover{
    color: #40ea5f;
}

/* FORMULÁRIOS */

.card {
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-inner {
    width: 450px;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    margin-bottom: 20px;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 2px solid #0047af;
    border-radius: 10px;
}

.card-back {
    transform: rotateY(180deg);
}

.card.flip .card-inner {
    transform: rotateY(180deg);
}

h1 {
    font-size: 30px;
    margin-bottom: 20px;
}

.form {
    width: 100%;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 20px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    padding: 0 20px;
    border: 2px solid #2f2f2f;
    border-radius: 40px;
    background: transparent;
    color: #000;
    font-size: 16px;
    box-sizing: border-box;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
}

.remember-forgot, .switch-link {
    width: 100%;
    font-size: 14.5px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    accent-color: #fff;
}

.remember-forgot a, .switch-link a {
    color: #0047af;
    text-decoration: none;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
}

.remember-forgot a:hover, .switch-link a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    height: 45px;
    background: #0047af;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
