@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500;600;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #000;
    font-family: 'Poppins';
}

body {
    position: relative;
    width: 100vw;
    height: 100vh;
    padding: 0 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-left: 100vw solid #999;
    border-top: 100vh solid #FFF;
    z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
    padding: 0 4rem;
}

div.email, div.success {
    color: #FFF;
    background: #e30613;
    font-size: 2rem;
    text-decoration-color: #FFF;
    padding: .5rem 3rem;
}

div.success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.not-found-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

div#n {
    font-size: 10rem;
    line-height: 10rem;
    color: #e30613;
    font-weight: 500;
}

div#desc {
    font-size: 5rem;
    color: #e30613;
    font-weight: 200;
}

form {
    margin-bottom: 6rem;
}

div.main-text {
    font-size: 3rem;
    margin-bottom: 2rem;
}

div.buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

div.buttons button {
    flex: 1;
    border: 0;
    font-size: 1.2rem;
    padding: 1rem 3rem;
    border: 1px solid #e30613;
    z-index: 0;
    transition: background .1s ease-in-out;
}

div.buttons button.cancel:hover {
    background: #c00713;
}

div.buttons button.confirm:hover {
    background: #DEDEDE;
}

div.buttons button.cancel {
    color: #FFF;
    background: #e30613;
}

div.buttons button.confirm {
    color: #e30613;
    background: #FFF;
}

@media only screen and (max-width: 1024px) {
    body {
        padding: 0 3rem;
    }

    div.email {
        width: auto;
    }

    div.main-text {
        text-align: center;
    }
}

@media only screen and (max-width: 730px) {
    img {
        padding: 0;
    }
    div.email {
        font-size: 1.5rem;
        padding: .5rem;
    }

    div.main-text {
        text-align: center;
        font-size: 2.5rem;
    }
}

@media only screen and (max-width: 500px) {
    body {
        padding: 0 1rem;
    }

    div.email {
        font-size: 1rem;
    }

    form {
        margin-bottom: 3rem;
    }

    div.main-text {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    div.buttons {
        flex-direction: column;
    }

    div.buttons button {
        width: 100%;
        padding: .5rem 1rem;
    }
}