* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'CocoBiker';
    src: url('../font/CocoBiker.ttf');
}

body {
    background-color: black;
}

/*========================= HEADER =========================== */

.text-box {
    margin-left: 3em;
    margin-top: 130px;
    max-width: 600px;
    color: white;
    letter-spacing: 3px;
}

.text-box h1 {
    font-size: 45px;
    font-family: 'CocoBiker';
    margin-bottom: 30px;
    color: goldenrod;
}

.text-box a {
    display: inline-block;
    text-decoration: none;
    background: #4b0303;
    color: goldenrod;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 30px;
    font-size: 18px;
    margin-top: 50px;
    border-radius: 6px;
}

.text-box a:hover {
    opacity: 70%;
    transition: 2s;
}

.text-box a:active {
    opacity: 60%;
}

.image {
    position: absolute;
    top: 0;
    right: 10%;
    z-index: 1;
}

.image img {
    display: block;
    padding-top: 100px;
    width: 530px;
    height: 640px;
    margin-bottom: -205px;
}




/* ========================  FIM DA HEADER ====================================== */

/* FAQ E QUESTÕES */

.box {
    display: flex;
    bottom: 3em;
    height: 20px;
    margin-bottom: 4em;
    background-color: #4b0303;
    border: 1px solid #4b0303;

}

.faq {
    margin-top: 13rem;
    margin-left: 3em;
    padding-top: 30px;
    width: 90%;
    text-align: center;
}

.faq h2 {
    text-transform: uppercase;
    margin-bottom: 2em;
    font-family: 'CocoBiker';
    color: white;
}

.butterfly {
    width: 22px;
    height: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    float: left;
    margin-top: 2px;
}

.faqs__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px 0;
}

.faqs__item {
    max-width: 45%;
}

.faqs__item h3 {
    text-align: left;
    color: white;
    margin: 20px 0;
    font-weight: bolder;
}

.faqs__item span {
    color: white;
    margin: 0 10px 0 0;
}

.faqs__item p {
    text-align: justify;
    color: #999;
    letter-spacing: 2px;
}

.faqs__item a {
    color: #ed2727;
    text-decoration: none;

}

.faq__parallax {
    margin-top: 5em;
    margin-bottom: 8em;
    border: 3px solid rgb(65, 11, 11);
    width: 100%;
    height: 200px;
    background-image: url('../img/esse.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.faq__parallax h4 {
    color: white;
    font-family: 'CocoBiker';
    font-size: 50px;
}


.btn {
    position: relative;
    padding: 15px 20px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.4);
    color: #999;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    font: 700 15px consolas;
    overflow: hidden;
}

.btn span:nth-child(1) {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #171618, #ed2727);
    animation: animate1 2s linear infinite;
}

@keyframes animate1 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.btn span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, #171618, #ed2727);
    animation: animate2 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate2 {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.btn span:nth-child(3) {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to left, #171618, #ed2727);
    animation: animate3 2s linear infinite;
}

@keyframes animate3 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.btn span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to top, #171618, #ed2727);
    animation: animate4 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate4 {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}


/* ======================== RESPONSIVIDADE ===================================== */

@media only screen and (max-width: 500px) {

    .text-box {
        margin: 5em 1em 1em 1em;
        background-color: white;
        font-size: 1.5em;
        padding: 20px;
        letter-spacing: 3px;
        color: #4b0303;
        line-height: 170%;
        width: 350px;
    }

    .image {
        display: none;
    }

    .text-box h1 {
        text-align: center;
    }

    .text-box a {
        text-align: justify;
        margin-top: 4em;
        text-align: center;
        margin-left: 40px;
        color: goldenrod;

    }

    .box {
        left: 170%;
        margin-left: 0;
        width: auto;

    }

    .faqs__container {
        margin-right: 20px;
    }

    .btn {
        letter-spacing: normal;
        font-size: 15px;
        font-weight: bold;
        color: goldenrod;
    }
}

@media only screen and (max-width: 370px) {
    .text-box {
        padding-top: 1em;
        margin: 3em auto;
        width: 300px;
        text-align: justify;
        letter-spacing: normal;
    }

    .text-box a {

        margin: 1em 0 1em 2em;

    }

    .box {
        display: none;
    }

    .faqs__container {
        margin: 0 auto;
    }

    .faqs__item {
        width: 400px;
        margin: 2em 1em 1em 1em;
    }

    .faqs__item p {
        text-align: justify;
        ;
        width: 230px;


    }

    .faqs__item h3 {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .faq h2 {
        font-size: 20px;
        text-align: center;
        margin-right: 5em;
    }

    .faq__parallax {
        width: 350px;
        margin: 1em auto;
        position: relative;
    }

    .faq__parallax h2 {

        font-size: 20px;

    }

    .faq__parallax a {
        right: 25%;
    }
}