* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url(../assets/Design\ sem\ nome\ \(1\).svg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 80vh;
}

h1 {
    font-size: 4rem;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: -2rem;
    z-index: 10;
    filter: drop-shadow(0 0 5px white);
}


.container {
    width: 70%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 30px;
    position: relative;
    overflow: hidden;

}

.cortina {
    position: absolute;
    height: 100%;
    width: 50%;
    background: linear-gradient(rgb(135, 255, 155) 0%, rgb(0, 226, 139) 100%);
    left: 0;
    right: auto;
    transition: 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

button {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    background-color: transparent;
    border-radius: 10rem;
    padding: 6rem;
    border: 1px solid rgba(255, 255, 255, 1);
    cursor: pointer;
    transition: .5s;
}

button:hover {
    transform: scale(1.5);
    border: 1px solid rgba(255, 255, 255, 0);
}


form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 3rem;

}



input {
    background-color: transparent;
    padding: .2rem 1rem;
    border: 1px solid gray;
    border-radius: 10px;
    font-size: 1.2rem;
    outline: none;
    box-shadow: 0 0 5px white;
    margin-top: .3rem;
    color: white;
}

label {
    font-size: 1.2rem;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-weight: bold;
    margin-top: 1rem;
}

input[type=submit] {
    margin-top: 2rem;
    font-size: 2rem;
    z-index: 0;
    cursor: pointer;
}


#cadastro-msg,
#login-msg {
    color: white;
    font-size: 1.2rem;
    margin-top: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    filter: drop-shadow(0 0 5px green);
}

h2 {
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

#login-loading,
#registro-loading {
    display: flex;
    padding-top: 2rem;
}


.dot:first-child {
    animation-delay: .3s;
}

.dot:nth-child(2) {
    animation-delay: .6s;
}

.dot:last-child {
    animation-delay: .9s;
}


.dot {
    height: 1rem;
    width: 1rem;
    background-color: white;
    animation: loading 1s ease-in-out infinite;
    border-radius: 50%;
    margin: .5rem;
}

@keyframes loading {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

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


@media screen and (max-width: 1000px) {
    body {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
        height: 90%;
    }

    input {
        width: 80%;
    }

    input[type=submit] {
        margin-top: 2rem;
        font-size: 1.2rem;
        z-index: 0;
        cursor: pointer;
    }

    label {
        font-size: 1rem;
    }

    button {
        font-size: 1.5rem;
    }

    .container {
        flex-direction: column;
        height: 100%;
        overflow: auto;
        margin: 1rem;
    }

    .cortina {
        display: none;
    }

    form {
        flex: auto;
        padding: 1rem;
    }
}