:root {
    --rosa: #e93f8c;
    --roxo-bg: #4f25a8;
    font-family: "Raleway", sans-serif;
}

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

/* Gradiente/binary Section */
.header {
    background-color: #0d0d30;
}

.header-section {
    background-image: url("../img/bg-image-header.jpg");
    text-align: center;
}

.header-section-mask {
    background: linear-gradient(
        0deg,
        #0d0d30 0.3%,
        rgba(13, 13, 48, 0.274) 100%
    );
}

.header-section-mask-2 {
    background: linear-gradient(90deg, rgba(13, 13, 48, 0) 0%, #0d0d30 100%);
    padding: 70px 0;
}

.principal {
    padding: 80px 0;
    background: rgb(233, 63, 140);
    background: linear-gradient(
        180deg,
        rgba(233, 63, 140, 1) 0%,
        rgba(142, 37, 168, 1) 21%,
        rgba(79, 37, 168, 1) 81%,
        rgba(79, 37, 168, 1) 100%
    );
    text-align: center;
}


.binary-header {
    background: rgb(143, 96, 237);
    background: linear-gradient(
        90deg,
        rgb(143, 96, 237) 0%,
        rgba(143, 96, 237, 0.473) 120%
    );
    min-height: 70vh;
}

.gradiente-header {
    background: rgb(36, 37, 57);
    background: linear-gradient(
        90deg,
        rgba(36, 37, 57, 1) 0%,
        rgba(143, 96, 237, 0) 120%
    );
    padding-bottom: 40px;
    min-height: 70vh;
}

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

.ebook-text h3 {
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 40px;
}

.ebook-text p {
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 30px;
}

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

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

/* Card Inscricao */

.card-inscricao {
    background-color: var(--roxo-bg);
    width: 320px;
    padding: 20px;
}

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

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

.input-field input {
    background-color: #451e97;
    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(--rosa);
    border: none;
    border-bottom: 8px outset #e93f8c;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 900;
    transition: 0.3s;
}

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

/* footer */

.footer {
    background-color: var(--roxo-bg);
    text-align: center;
    color: #fff;
    padding: 50px 0;
    font-size: 14px;
}

.footer p {
    margin: 20px 0;
}

.footer-description p {
    width: 60%;
}

.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 #fff;
    border-radius: 50%;
    margin: 0 10px;
    padding: 10px;
}

.social-medias div:hover {
    background-color: var(--rosa);
    transition: 0.5s;
}

/* Mobile */

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

@media (max-width: 992px) {
    .bg-img {
        background-size: cover;
    }

    .footer-description p {
        width: 100%;
    }
}

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

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

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

@media (max-width: 400px) {
}

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

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