:root {
    --azul: #4e56ff;
    --verde: #48d259;
    --azul-2: #444ac6;
}

* {
    font-family: "Roboto", sans-serif;
}

/* Principal */
.blue-header {
    background-color: var(--azul);
}

.binary-header {
    background-image: url("../img/binary-background.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.gradiente-header {
    background: #ffffff00;
    background: -moz-linear-gradient(
        left,
        #ffffff00 0%,
        var(--azul) 100%,
        var(--azul) 57%,
        var(--azul) 100%
    );
    background: -webkit-linear-gradient(
        left,
        #ffffff00 0%,
        var(--azul) 100%,
        var(--azul) 57%,
        var(--azul) 100%
    );
    background: linear-gradient(
        to right,
        #ffffff00 0%,
        var(--azul) 100%,
        var(--azul) 57%,
        var(--azul) 100%
    );
    padding-bottom: 20px;
}
.principal {
    padding-bottom: 50px;
}

.principal h1 {
    font-size: 2.5rem;
    font-weight: 300;
    text-transform: uppercase;
}

.principal h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.principal h2 strong {
    color: #50eb62;
    font-weight: 900;
}

.principal .row {
    margin-top: 50px;
}

.thumb {
    max-width: 100%;
}

.principal iframe {
    aspect-ratio: 16/9;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
}

.btn-promo {
    all: unset;
    display: inline-block;
    padding: 10px 40px;
    color: #000;
    font-weight: 900;
    background-color: #26d83b;
    border-radius: 5px;
    border-bottom: solid 9px rgb(99, 223, 99);
    max-width: 100%;
    width: 300px;
    text-align: center;
    cursor: pointer;
    transition: 0.6s;
}

.btn-promo :hover {
    transform: scale(1.05);
}

.form {
    max-width: 380px;
    margin-inline: auto;
    border: solid 1px #ffffff8a;
    border-radius: 5px;
    padding: 30px;
    background: linear-gradient(to bottom, #444ac6, #4e56ff);
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    
}

.form-item {
    background-color: transparent;
    padding: 10px;
    margin: 15px 0;
    border-radius: 3px;
    border: solid 1px #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
}

.form h3 {
    font-size: 24px;
}

.form-item input {
    all: unset;
    color: #fff;
}

.form-item input::placeholder {
    color: #fff;
    font-size: 12px;
}

.form button {
    color: #fff;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 3px;
    background-color: var(--verde);
    border-bottom: solid 7px #65ee77;
    font-weight: 900;
    color: black;
    transition: 0.6s;
}

.form button:hover {
    transform: scale(1.05);
}

.form p {
    margin-top: 20px;
    font-size: 11px;
}

/* Footer */
.footer {
    text-align: center;
    color: var(--azul);
    padding: 50px 0 20px 0;
    font-size: 11px;
}

.footer p {
    margin: 20px 0;
}

.social-medias {
    display: flex;
    justify-content: center;
}

.social-medias img {
    width: 20px;
    height: 20px;
    display: flex;
    align-self: center;
    justify-content: center;
}

.social-medias div {
    border: solid 2px var(--azul);
    border-radius: 50%;
    margin: 0 10px;
    padding: 10px;
}

.social-medias div:hover {
    background-color: #7077fa5e;
}

/* Breakpoints */
@media( max-width: 992px ) {
    .form, .principal .row {
        margin-top: 30px;
    }
}


@media (max-width: 567px) {
    .social-medias div {
        margin: 0 5px;
    }
}




/* SNACKBAR
*************/

#errSnackbar {
    visibility: hidden;
    min-width: 250px;
    max-width: calc(100vw - 20px);
    background-color: var(--azul);
    color: #fff;
    font-weight: 800;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 10;
    left: 50%;
    bottom: 30px;
    display: grid;
    grid-template-columns: 40px auto;
    gap: 8px;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 0 8px rgb(102 49 232 / 77%);
    transform: translateX(-50%);
  }
  
  
  #errSnackbar.show {
    visibility: visible;
    animation: snackbar-fadein 0.5s, snackbar-fadeout 0.5s 2.5s;
  }
  
  @keyframes snackbar-fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
  
    to {
        bottom: 30px;
        opacity: 1;
    }
  }
  
  @keyframes snackbar-fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
  
    to {
        bottom: 0;
        opacity: 0;
    }
  }
  
