:root {
    --checkmark: 50px;
}

* {
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
    background: #1f1f1f;
    color: #fff;
    overflow-x: hidden;
}

html, body, input, textarea, .wysiwyg {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.btn {
    background: rgb(148, 7, 15);
    background: linear-gradient(90deg, rgb(129, 7, 13) 0%, rgba(200, 8, 19, 1) 62%, rgb(129, 7, 13) 100%);
    border-radius: 6px;
    font-size: 30px;
    border: none;
    padding: 8px 20px;
    color: #fff;
    margin: 20px 0 40px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn span {
    transition: all 0.3s;
    display: inline-block;
}

.btn:hover {
    transform: scale(1.3);
}

.btn:hover span {
    transform: scale(1.2) rotate(-20deg);
}

input[type="checkbox"] {
    height: 18px;
    width: 18px;
    display: block;
    position: relative;
    border-radius: 2px;
    margin: 0;
    padding: 0;
}

input:checked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    pointer-events: none;
    background-color: #f9b435;
    border-radius: inherit;
}

input:checked::before {
    content: '√';
    color: #000;
    font-size: var(--checkmark);
    line-height: var(--checkmark);
    font-weight: 600;
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: var(--checkmark);
    width: var(--checkmark);
    z-index: 100;
    pointer-events: none;
    transform: rotate(9deg) translate(-1px, 7px);
}

input {
    padding: 10px 20px;
}

input, .wysiwyg {
    font-weight: 500;
    font-size: 16px !important;
    line-height: 16px !important;
}

textarea {
    padding: 20px;
    resize: none;
    height: 240px;
    word-break: break-all;
}

@media (max-width: 870px) {
    textarea {
        height: 480px;
    }
}

input, textarea, .wysiwyg, select {
    border-radius: 6px;
    outline: none;
    border: 1px solid #1f1f1f;
    background-color: #fff;
    color: #000;
}

input:focus-visible {
    outline: none;
}

.icon {
    height: 16px;
}

.icon.mr {
    margin-right: 10px;
}

.icon.ml {
    margin-left: 10px;
}

.card {
    padding: 20px;
    margin: 20px;
    border-radius: 20px;
    max-width: 1200px;
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -10;
    background: rgb(148, 7, 15);
    background: linear-gradient(90deg, rgb(129, 7, 13) 0%, rgba(200, 8, 19, 1) 62%, rgb(129, 7, 13) 100%);
    border-radius: inherit;
}


h1 {
    font-weight: 1000;
    font-size: 50px;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 20px 0;
}

.v4Logo {
    height: 70px;
}

.lightning {
    height: 70px;
    width: 60px;
    margin: 0 -15px;
    z-index: 10;
}

.headerInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.headerInfo label {
    position: relative;
    width: 32%;
    flex-grow: 1;
}

.headerInfo label.data {
    width: 210px;
}

.headerInfo label div {
    position: absolute;
    z-index: 10;
    color: #000;
    opacity: 0.8;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.headerInfo label input {
    width: 100%;
}

.behaviours h2 {
    font-style: italic;
    margin: 0 0 20px 0;
}

.grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    grid-template-areas:
        "label-0 label-1 label-4 label-4"
        "label-2 label-3 label-9 label-9"
        "label-5 label-6 label-7 logo"
        "label-8 label-10 xxxxxx logo";
    align-items: center;
    grid-gap: 10px;
    grid-auto-rows: 1fr;
}

.grid label {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 14px;
}

.label-0 {
    grid-area: label-0;
}

.label-1 {
    grid-area: label-1;
}

.label-2 {
    grid-area: label-2;
}

.label-3 {
    grid-area: label-3;
}

.label-4 {
    grid-area: label-4;
}

.label-5 {
    grid-area: label-5;
}

.label-6 {
    grid-area: label-6;
}

.label-7 {
    grid-area: label-7;
}

.label-8 {
    grid-area: label-8;
}

.label-9 {
    grid-area: label-9;
}

.label-10 {
    grid-area: label-10;
}

.bgLightning {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
    filter: brightness(0) invert(1);
}

.bgLightning.l1 {
    top: 20px;
    right: 20px;
    height: 80%;
}

.bgLightning.l2 {
    top: 80px;
    left: 100px;
    height: 120px
}

img.logo {
    grid-area: logo;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 1020px) {
    .grid {
        display: flex;
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 900px) {
    .headerInfo {
        flex-direction: column;
    }

    .headerInfo label, .headerInfo label.data {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .card {
        padding: 30px 12px;
        margin: 12px;
        width: calc(100% - 24px);
    }

    .headerInfo {
        flex-direction: column;
    }

    .grid {
        grid-gap: 25px;

    }

    .grid label {
        font-size: 16px;
        line-height: 16px;
    }

    .grid input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    .bgLightning.l1 {
        top: unset;
        right: 20px;
        height: auto;
        width: 55%;
        bottom: 360px;
    }

    .bgLightning.l2 {
        left: 10px;
        top: -30px;
    }

    .btn {
        padding: 12px 30px;
        color: #fff;
        margin: 28px 0 40px;
        transition: all 0.3s;
    }
}

/* ANIMAÇÕES */
@keyframes pop-xablau {
    0% {
        transform: scale(1.3);
        filter: brightness(100);
    }
}

@keyframes opacityReveal {
    0% {
        opacity: 0;
    }
}

@keyframes comeRight {
    0% {
        transform: translateX(100vw);
    }

    30% {
        transform: translateX(5vw);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes comeLeft {
    0% {
        transform: translateX(-100vw);
    }

    30% {
        transform: translateX(-5vw);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes stayHidden {
    0%, 100% {
        opacity: 0;
    }
}

.lightning {
    animation: opacityReveal 1s ease-in-out;
}

h1 {
    animation: pop-xablau 0.5s 4s;
}

.v4Logo {
    animation: stayHidden 1s, comeLeft 1s 1s ease-in;
}

.power {
    animation: stayHidden 1s, comeRight 1s 1s ease-in;
}

.headerInfo>*, .behaviours>*, textarea, .wysiwyg, .bgLightning, .btn {
    animation: stayHidden 2s, opacityReveal 1s 2s ease-in;
}