* {
    box-sizing: border-box;
}

@font-face {
font-family: "ernesto";
src: url("fonts/AftaSansThin-Regular.otf") format("opentype");
}


@media (min-width: 1024px) {
    
body {
	/*background: url("images/sabana.jpg");*/
    font-family: 'ernesto', Segoe UI;
    box-sizing: border-box;
    background-size: cover;
	margin: 0;
	padding: 0;
    object-fit: cover;
	font-family: Segoe UI;
	}
    
    header {
        width: 100%;
        background: #2F2E41;
    }

    #menu {
        width: 890px;
        margin: auto;
        color: #fff;
        text-align: right;
        padding: 10px;
    }
    
    #menu a {
        text-decoration: none;
        width: 100%;
        color: #fff;
    }

.dropdown:hover .dropdown-content {
    display: block;
    }


h2 {
    font-size: 12px;
}

h3 {
    font-size: 20px;
    font-weight: 300;
}

h1 {
    font-size: 28px;
    font-weight: 300;
    padding: 5px;
    color: #005BDB;
    background: #fff;
}    
    
#container {
    width: 100%;
    margin: auto;
    height: auto;
    overflow: hidden;
    background: rgb(255, 255, 255);
}

#container .left {
    width: 50%;
    height: 100%;
    z-index: 5;
    float: left;
    position: relative;
    box-shadow: 0 0 20px #000;
    text-align: center;
    font-size: 12px;
    background:url("mail_background.jpg") no-repeat center #000;
    background-size: 80%;
}

#container img {
    width: 60%;

    }
    
#container .left .logo {
    width: 60%;
    margin: 0;
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#container .right {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
    float: right;
}
    
#container .right #login-form {
    position: absolute;
    top: 50%;
    width: 40%;
    left: 30%;
    transform: translate(-50%, -50%);
    }    

input[type=text], input[type=password] {
    border: none;
    color: #000;
    width: auto;
    outline: inherit;
    border: none;
    border: 1px solid #000;
    padding: 18px;
    padding-left: 15px;
    border-radius: 4px;
    font-size: 1em;
    margin-bottom: 20px;
    transition:0.2s ease all;
}

select {
    padding: 10px;
    color: #000;
    border: 1px solid #000;
    border-radius: 4px;
}

input[type=submit] {
    padding: 15px;
    width: 120px;
    margin-top: 10px;
    cursor: pointer;
    margin-left: 0;
    color: #fff;
    font-size: 1em;
    border: none;
    border-radius: 4px;
    background: #005BDB;
    transition:0.2s ease all;
}

input[type=submit]:hover {
    background: #2937B2;
    color: #fff;
    box-shadow: 0 0 5px #000;
    }

.message {
    width: auto;
    color: #000;
    text-align: left;
    
}
    
input[type=text]:focus, input[type=password]:focus {
	box-shadow: 0 0 5px #4F4F4F;
    border: 1px solid #000;
    }

    
    
    
    
    
    
    
}





@media (max-width: 1023px) {
    *{
        font-family: 'ernesto', Segoe UI;
    }
    #container .left {display: none;}
    
    #container .right {
        max-width: 350px;
        margin: auto;
        padding: 20px;
        padding-top: 5px;
    }
    
    
input[type=text], input[type=password] {
    border: 0px;
    background: #fff;
    width: 280px;
    border-bottom: 1px solid #000;
    padding: 15px;
    padding-left: 5px;
    font-size: 14px;
    border-radius: 0px;
    margin-bottom: 20px;
    
}

select {
    padding: 10px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 4px;
}

input[type=submit] {
    padding: 10px;
    border: 0px;
    width: 100px;
    margin-top: 10px;
    cursor: pointer;
    margin-left: 0;
    border-radius: 4px;
    color: #fff;
    background: #005BDB;
    border: 2px solid #fff;
}
    
    h2 {
        font-size: 1em;
    }
    
}


























