﻿*, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    height: 100vh;
    font-family: sans-serif;
}

.left-form {
    width: 50%;
    height: 100%;
    overflow: hidden;
    float: left;
    background: #fff url('../img/fondo1.jpg') no-repeat center;
    background-size: cover;
}

.right-form {
    width: 50%;
    height: 100%;
    margin: 0;
    float: left;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.right-form form {
    height: 100%;
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.right-form2 {
    width: 50%;
    height: 100%;
    margin: 0;
    float: left;
    background-color: #fff;
    display: flex;
    justify-content: center;
}
.right-form2 form {
    height: 100%;
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.right-form h2 {
    font-size: 2em;
    color: darkblue;
    margin: 20px 0;
    font-weight: bold;
}

.right-form form > input {
    width: 100%;
}

.right-form input[type="submit"] {
    width: 100%;
    background-color: darkblue;
    color: #fff;
    border: none;
    font-size: 18px;
    padding: 8px 30px;
}

@media only screen and (max-width: 768px){
    .left-form{
        display: none;
    }
    .right-form {
        width: 100%;
    }
    .right-form form {
        width: 95%;
        padding: 0 1em;
    }
}