* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* esses 3 itens acima dentro do * são uma boa prática para zerar as margens que são adicionadas automaticamente em cada navegador */
.logo-mario {
    height: 200px;
}



button {
    background-color: #C51111;
    color: white;
    border-radius: 3px;
    border: none;
    width: 200px;
    height: 50px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600px;
    letter-spacing: 1px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    position: relative;
}

.texto {
    position:absolute;
    transition: 0.4s ease;
}

.texto-normal {
    transform: translateY(0);
}

.texto-hover {
    transform: translateY(100%);
    opacity: 0;
}

button:hover {
    background-color: #1eb70a;
}

button:hover .texto-normal {
    transform: translateY(-100%);
    opacity: 0;
}

button:hover .texto-hover {
    transform: translateY(0);
    opacity: 1;
}

.img-mario-luigi {
    height: 500px;
}

body {
    
    height: 100vh; /* essa altura é para que a página ocupe a tela inteira*/
}

.caixa-principal {
    width: 40%;
}

.caixa-video {
    position: fixed;
    top: 0;
    z-index: -1; /* posiciona os itens no eixo z, ou seja, quem fica a frente e quem fica atrás */
    
}

p {
    color: white;
    font-size: 20px;
}

video {
    min-height: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
}

.caixa-mae {
    display: flex;
    align-items: center; /* ajusta verticalmente*/
    justify-content: space-around; /*ajusta horizontalmente*/
    padding: 100px; /*padding é a margem interna do bloco do body*/
    height: 100vh;
}

.mascara {
    height: 100vh;
    width: 100vw;
    background: linear-gradient(109deg, rgba(10, 12, 16, 0.99) 15%, rgba(10, 12, 16, 0.7) 50%, rgba(10, 12, 16, 0.99) 85%);
    position: fixed;
    top: 0;
}

.link-whatsapp img {
    height: 70px;
    position: fixed;
    right: 20px;
    bottom: 20px;
}

.header {
    display: flex;
    align-items: center;
    gap: 30px; /*para os objetos distanciarem uns dos outros*/
    margin: 30px;
}

.header a{
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.header img {
    height: 60px;
}

.header a:hover {
    color: #C51111;
    transition: 0,5s color ease-in-out;
}

.botao-contato:hover {
    background-color: #069737; 
    font-size: 20px; 
    transition: 0.5s ease-in-out; 
}

.formulario-enviar-mensagem {
    background-color: white;
    display: flex;
    gap: 20px;
    flex-direction: column;
    position: fixed;
    top: 30%;
    left: -300px;
    padding: 20px;
    border-radius: 5px;
    transition: left 1s ease-in-out;
}

input {
    height: 40px;
    border-radius: 5px;
    border: 1px solid gray;
    padding: 5px;
    outline-color: #18D80F;
}

textarea {
    width: 270px;
    height: 100px;
    border-radius: 5px;
    border: 1px solid gray;
    padding: 5px;
    outline-color: #18D80F;
}


.mascara-formulario {
    visibility: hidden;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(109deg, rgba(10, 12, 16, 0.99) 15%, rgba(10, 12, 16, 0.7) 50%, rgba(10, 12, 16, 0.99) 85%);
    transition: visibility 1s ease-in-out;
}

.irmaos {
    font-size: 24px;
    font-weight: 700;
    margin-top: 25px;
    letter-spacing: 1px;
}

.formulario-enviar-mensagem button {
    display: block;
    margin: 20px auto 0 auto;
}

.link-whatsapp img {
    display: inline-block; 
    animation: tremer 2s infinite;
}

@keyframes tremer {
    0% { transform: translateX(0); }
    5% { transform: translateX(-4px); }
    10% { transform: translateX(4px); }
    15% { transform: translateX(-4px); }
    20% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

@media(max-width: 1100px) {

    p {
        display: none;
    }

    .caixa-mae {
        flex-direction: column;
        padding: 10px;
    }

    .caixa-principal {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: flex-start;
    }

    .img-mario-luigi {
        width: 80vw;
        height: auto;
    }

    .header {
        margin: 10px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }

    .header a {
        font-size: 22px;
    }

}