:root {
    --azul: #4E56FF;
    --verde: #48D259;
    --azul-2: #444AC6;
    font-family: 'Raleway', sans-serif;
}


/* Gradiente/binary Section */

.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;
}

.text-header-container {
    width: 475px;
}

.card-inscricao {
    position: relative;
}

.ebook-dev {
    max-width: 100%;
    position: relative;
    bottom: -100px;
    left: -25px;
}

.dev {
    font-size: 24px;
    font-weight: 400;
}

.page-title {
    font-size: 32px;
    font-weight: 900;
}

.page-title strong, .text-header strong {
    color: var(--verde);
}

.text-header {
   font-size: 16px; 
}

.box-form {
    width: 440px;
    position: absolute;
    bottom: -210px;
    padding: 35px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 11px;
    text-align: center;
    background-color: #7077FF;
}

.box-form p {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}

.box-form p strong {
    font-weight: 700;
}

.box-form img {
    position: absolute;
    right: 10px;
    top: 10px;
}

/* Card Inscricao */
.modal-form {
    background-color: var(--azul-2);
    padding: 45px 35px 25px 35px;
    max-width: 350px;
    border: none;
    color: #fff;
    text-align: center;
}

.modal-form::backdrop {
    background: #141414a4;
}

.close-modal {
    all: unset;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    position: absolute;
    top: 5px;
    right: 15px;
}

.input-field {
    background-color: var(--azul);
    padding: 5px 15px;
    display: flex;
    gap: 10px;
    display: flex;
    align-items: center;
}

.input-field input {
    background-color: var(--azul);
    border: none;
    color: #fff;
    width: 100%;
    padding: 5px;
}

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

.input-field input:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.btn-card {
    width: 100%;
    height: 53px;
    font-weight: bold;
    background-color: var(--verde);
    border: none;
    border-bottom: 8px outset #7aeb87a8;
    border-radius: 3px;
    font-size: 17px;
    font-weight: 900;
    transition: .3s;
}

.btn-card:hover{
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    background-color: #27e656;
}


/* video Section */

/* .video-section {
    background-color: #EBEBEB;
    padding: 170px 0 100px 0;
}

.video-section h2 {
    color: var(--azul);
    font-weight: 800;
    font-size: 18px;
}

.video-section iframe{
    aspect-ratio: 16/9;
    max-width: 700px;
    width: 100%;

} */

/* footer */

.footer {
    text-align: center;
    color: var(--azul);
    padding: 170px 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;
}

/* Mobile */
@media (max-width: 992px) {
    .gradiente-header {
        padding-bottom: 50px;
    }

    .card-inscricao {
        margin-top: 30px;
    }

    .ebook-dev {
        position: static;
        margin-top: 240px;
        display: block;
        margin-inline: auto;
    }

    .footer {
        padding-top: 50px;
    }

    .box-form {
        position: static;
        margin-top: 40px;
    }

    .img-mobile {
        max-width: 100%;
    }

    /* .video-section {
        padding: 70px 0;
    } */
}

@media (max-width: 768px) {
    .iframe {
        width: 100%; 
    }

    .ebook-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .text-header {
        font-size: 18px;
    }
}

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

    .box-form {
        max-width: 100%;
    }
}

@media (max-width: 400px) {


    .video {
        height: 250px;
    }
}

/* 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: 10000;
    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;
    }
  }
  

