body {
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(../imagenes/fondo.jpg);
    background-attachment: fixed;
    background-size: 100vw 100vh;
}

input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    background: #2b2a28;
    color: #fff;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 26px;
    transition: opacity 0.2s;
}

button:hover { 
    opacity: 0.8;
}

hr { 
    border-color: #2b2a28;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar { 
    width: 20%;
}

.container { 
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

.modal {
    display: block;
    position: fixed;
    z-index: 1;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background: #fefefe;
    margin: 5% auto 15% auto;
    border: 1px solid #888;
    width: 80%;
}

.close {
    position: absolute;
    right: 25px; top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: red;
    cursor: pointer;
}

.animate {
    animation: animatezoom 0.6s;
}

t[type=text], input[type=password], button, .modal-content, .container {
    border-radius: 6px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

input[type=text]:focus, input[type=password]:focus {
    border-color: #2b2a28;
    box-shadow: 0 0 8px rgba(43,42,40,0.15);
}

button {
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.modal-content, .container {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

@keyframes animatezoom {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/*-------------------------Responsive design-------------------------*/

@media (min-width:350px) and (max-width:759px) {
    body { 
        background-image: url(../imagenes/fondo_v2.jpeg);
    }
}

@media (max-width:446px) and (min-width:279px) {
    #h1login { 
        font-size: 20px;
    }
}

@media (max-width:278px) {
    #h1login {
        font-size: 14px;
    }
}