@font-face {
    font-family: "LECO";
    src: url('Fonte/LECO.otf') format('opentype');
}

@font-face {
    font-family: "Square2";
    src: url('Fonte/Square2.ttf') format('opentype');
}

body {
    background-color: black;
}

header {
    display: flex;
    justify-content: right;
    margin: 0px;
}

nav img {
    width: 30px;
    margin-left: 10px;
    margin-right: 10px;


}

#Logo {
    display: flex;
    justify-content: center;
    margin-left: 0px;
    padding: 0px;
    align-items: center;
}

.back-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -100;
}

.Countdown {
    display: flex;
    align-items: center;
    z-index: 10;
    font-family: "LECO";
    flex-wrap: wrap;
    justify-content: center;
    color: #fe0000
}

.text {
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
    margin: 1rem 2rem;
}

.Countdown-el {
    text-align: center;

}

h1 {
    display: flex;
    margin-top: 5009px;
    color: #fe0000;
    justify-content: center;
    font-family: "leco";
    font-size: 25px;
}


.start-button {
    display: flex;
    justify-content: center;
}

#open-modal {
    display: flex;
    margin-top: 37%;
    justify-content: center;
}

button {
    padding: .3rem 1.2rem;
    background-color: #000000;
    color: #fe0000;
    border: 5px solid;
    border-color: #fe0000;
    cursor: pointer;
    opacity: 0.8;
    font-family: "leco";
    font-size: 45px;
    transition: 0.2s;
    display: flex;
    text-decoration: none;
    width: 250px;
    justify-content: center;
}


button:hover {
    opacity: 1;
    font-size: 50px;
    width: 300px;
}

#Capitulos,
#what,
#Contribua {
    width: 280px;

}

#what {
    cursor: auto;
}

#Capitulos:hover,
#what:hover,
#Contribua:hover {
    width: 300px;
}


a {
    text-decoration: none;
}

#fade,
#modal {
    transition: 0.5s;
    opacity: 1;
    pointer-events: all;
}

#fade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 5;
}

#modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 1400px;
    max-width: 60%;
    padding: 50px;
    border-radius: 0.5rem;
    border: 5px solid;
    border-color: #fe0000;
    background-color: #000000;
}

.modal-header {
    display: flex;
    text-align: center;
    align-items: center;
    color: #fe0000;
    font-family: "leco";
    justify-content: center;
    border-bottom: 1px solid #fe0000;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    font-size: 30px;
}

.modal-body {
    display: flex;
    margin-bottom: 1rem;
    padding-top: 2rem;
    justify-content: space-between;

}

h3 {
    display: flex;
    color: #fe0000;
    font-family: "Square2";
    font-size: 25px;
    justify-content: center;
    margin-top: 25px;
    opacity: 0.9;
    margin-bottom: -25px;
}



#modal.hide,
#fade.hide {
    opacity: 0;
    pointer-events: none;
}

#modal.hide {
    top: 0;
}

h4 {
    display: flex;
    color: #fe0000;
    font-family: "Square2";
    font-size: 20px;
    flex-direction: column;
    position: fixed;
    bottom: 0;
}

@media screen and (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        justify-content: none;
        align-items: center;
        align-content: center;

    }

    button {
        display: flex;
        justify-content: center;
        font-size: 40px;
        margin: 10px;
        width: 250px;
        font-size: 50px;
    }

    button:hover {
        width: 300px;
        font-size: 53px;
    }

    h3 {
        margin-bottom: 20px;
        margin-top: 0;
    }

    #margem {
        margin-bottom: -20px;
    }

    .modal {
        padding: 50px;
    }

    .modal-header {
        font-size: 24px;
    }

    #what {
        padding: .3rem 1.2rem;
    }

    #open-modal {
        margin-top: 165%;
        margin-bottom: 30px;
    }
}

@media screen and (width: 2560px) {

    #open-modal {
        margin-top: 1500px;
    }
}