:root {
    --azul: #4e56ff;
    --verde: #48d259;
    --azul-2: #444ac6;
    --gradiente-color-1: #052258;
    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(--gradiente-color-1) 100%,
        var(--gradiente-color-1) 57%,
        var(--gradiente-color-1) 100%
    );
    background: -webkit-linear-gradient(
        left,
        #ffffff00 0%,
        var(--gradiente-color-1) 100%,
        var(--gradiente-color-1) 57%,
        var(--gradiente-color-1) 100%
    );
    background: linear-gradient(
        to right,
        #ffffff00 0%,
        var(--gradiente-color-1) 100%,
        var(--gradiente-color-1) 57%,
        var(--gradiente-color-1) 100%
    );
    padding-bottom: 80px;
}

.ebook-text h2 {
    font-weight: 800;
    font-size: 24px;
    line-height: 28.18px;
}

.ebook-text h3 {
    font-weight: 800;
    font-size: 24px;
    line-height: 28.18px;
}

.ebook-text p {
    font-weight: 800;
    font-size: 14px;
    line-height: 28, 18px;
}

.green-title {
    color: var(--verde);
}

.img-e-book img {
    position: relative;
    width: 400px;
    top: 60px;
    right: 30px;
}

/* Card Inscricao */

.card-inscricao {
    background-color: var(--azul-2);
    width: 340px;
    height: 380px;
}

.card-inscricao p {
    font-size: 13px;
}

.input-field {
    background-color: #323679;
    padding: 5px 15px;
    display: flex;
    gap: 10px;
    display: flex;
    align-items: center;
}

.input-field input {
    background-color: #323679;
    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: 45px;
    font-weight: bold;
    background-color: var(--verde);
    border: none;
    border-bottom: 8px outset #7aeb87a8;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 900;
}

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

/* video Section */

.video-section {
    background-color: #ebebeb;
    padding: 100px 0;
}

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

.video {
    height: 350px;
}

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

/* Mobile */

@media (max-width: 1200px) {
    .card-inscricao {
        width: 320px;
    }
}

@media (max-width: 992px) {
    .card-inscricao {
        width: 320px;
        position: relative;
        top: -134px;
    }
}

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

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

    .card-inscricao {
        top: 0;
    }
}

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

@media (max-width: 400px) {
    .card-inscricao {
        width: 100%;
    }
}

/* e-book */
@media (max-width: 1400px) {
    .img-e-book img {
        width: 340px;
        top: 51px;
        right: 19px;
    }
}

@media (max-width: 1200px) {
    .img-e-book img {
        width: 360px;
        top: 51px;
        right: 60px;
    }
}

@media (max-width: 992px) {
    .img-e-book img {
        width: 175px;
        top: 100px;
        right: -73px;
    }

    .gradiente-header {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .img-e-book img {
        width: 370px;
        top: -10px;
        right: -87px;
    }

    .gradiente-header {
        padding-bottom: 30px;
    }
}

@media (max-width: 567px) {
    .img-e-book img {
        width: 300px;
        top: -14px;
        right: -50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 400px) {
    .img-e-book img {
        width: 250px;
        top: -14px;
        right: -50%;
        transform: translateX(-50%);
    }

    .video {
        height: 250px;
    }
}

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

#errSnackbar {
    visibility: hidden;
    min-width: 250px;
    max-width: calc(100vw - 20px);
    background-color: #f5cf2f;
    color: #6631e8;
    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;
    }
}
