html,
body {
    font-family: 'Lato';
    margin: 0;
}

.container {
    display: grid;
    grid-template: 50px 1fr 50px /250px 1fr 250px;
    /* grid-gap: filas columnas; */
    grid-gap: 0px;
    height: 100vh;
    width: 100vw;
    grid-template-areas: "header header header" 
                         "nada1 contenido nada2" 
                         "footer footer footer";
}
.header {
    grid-area: header;
}
.nada2 {
    grid-area: nada2;
}
.contenido {
    grid-area: contenido;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.contenedor{
    border: none;
    padding: 50px;
    width: 50%;
    background-color: white;
    /* margin-left: 50px; */
    font-family: 'Montserrat';
}

input {
    width: 50%;
    outline: 0;
    padding: 13px;
    border: 1px solid #707070;
    box-shadow: none;
    color: #066664;
    border-radius: 5px;
    transition: border-color .25s;
    display: flex;
    justify-content: center;
    margin-bottom: 55px;
}
    
input:focus {
    border: 1px solid ;
}

::placeholder {
    color: #C9C9C9;
    font-family: 'Montserrat';
    font-size: 13px;
    font-weight: 600;
}

svg {
    width: 450px;
}

#solo-metal{
    animation: move-metal-solo 1.5s ease-in-out forwards;
}

/* candado */

.candadoC0{fill:#A7A7A7;}
.candadoC1{fill:#2D2C2C;}
.candadoC2{fill:#515151;stroke:#515151;stroke-width:5;stroke-miterlimit:10;}
.candadoC3{fill:none;stroke:#9CCC9C;stroke-width:6;stroke-miterlimit:10;}


@keyframes move-metal-solo{
    0%{
        transform: translateY(0);
    }
    80%{
        transform: translateY(85px);
    }
    90%{
    transform: translateY(89px);
    }
    100%{
        transform: translateY(85px);
    }
}

/* .relleno{
    opacity: 0;
    animation-name: aparecer;
    animation-duration: .3s;
    animation-delay: 2.3s;
    animation-fill-mode: forwards;
}

.borde{
    stroke-dasharray: 1030;
    stroke-dashoffset: 1030;
    animation-name: draw, aparecer2;
    animation-duration: 2s, .3s;
    animation-delay: 0s, 2.3s;
    animation-fill-mode: forwards;
} */

.footer {
    grid-area: footer;
    background-color: #707070;
    position: relative;

    width: 100vw;
    height: 50px;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 0px;
    padding-top: 0px;
}

.footer a {
    color: white;
}

.footer a:hover {
    color: #68A0CB
}

.footer-links {
    display: flex;
    width: 30vw;
    justify-content: space-between;

}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    } 
}

@keyframes aparecer{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}



@keyframes cerrar{
    0%{
        transform: translateY(0);
    }
    100%{
        transform: translateY(-20);
    }
}


@media screen and (max-width: 480px){

    .container {
        display: grid;
        grid-template: 10vh 1fr 10vh / 1fr 320px 1fr;
        /* grid-gap: filas columnas; */
        grid-gap: 0px;
        /* height: 100%;
        width: 100vw; */
        grid-template-areas: "header header header" 
                             "nada1 contenido nada2" 
                             "footer footer footer";
    }

    .contenido {
        grid-area: contenido;
        display: grid;
        justify-items: center;
        grid-template-rows: 25% 75%;
    }

    .contenedor{
        border: none;
        padding: 0;
        width: 100%;
        background-color: white;
        margin: 0;
        font-family: 'Montserrat';
    }

    .contenedor h1 {
        text-align: center;
        font-size: 20px;
    }

    .contenedor h3 {
        text-align: center;
        font-size: 15px;
    }

    svg{
        grid-column: 1;
        grid-row: 1;
        display: flex;
        justify-self: center;
        width: 250px;
    }

    form {
        display: grid;
        justify-items: center;
    }

    input {
        width: 50%;
        outline: 0;
        padding: 13px;
        border: 1px solid #707070;
        box-shadow: none;
        color: #066664;
        border-radius: 5px;
        transition: border-color .25s;
        display: flex;
        justify-content: center;
        margin-right: 0;
    }

    .footer {
        height: 10vh;
        display: block;
        font-size: 14px;
        text-align: center;
        position: inherit;
        bottom: 0;
        z-index: 3;
        width: 100%;
        background-color: #707070;
    }

    .footer-info {
        padding-top: 3%;
    }

    .footer-links {
        display: flex;
        padding: 3%;
        justify-content: space-evenly;
        width: 90vw;
    }
}