@media screen and (min-width: 868px) {
    body {
        display: flex;
        background-image: linear-gradient(45deg, var(--cor-1), var(--cor-2));
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    main {  
        margin: 0;
        width: 700px;     
        flex-direction: row;
    }

    #imagem {
        width: 50%;
    }

    #imagem img {
        height: 100%;
        border-radius: 30px 0 0 30px;
    }

    section#login {
        width: 50%;
    }
}

@media screen and (min-width: 1000px) {
    main {
        flex-direction: row-reverse;
        max-width: 800px;
    }

    #imagem {
        width: 50%;
    }

    #imagem img {
        border-radius: 0 30px 30px 0;
    }
}

@media print {
    main {
        display: none;
    }

    body::after {
        font-family: 'Courier New', Courier, monospace;
        content: 'Esse conteúdo não funciona para impressoras';
    }
}