/*GENERAL*/

*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    width: auto;
}
body{
    background-color: #e6e6e6;
    position: relative;
}

/*HEADER*/

header{
    background-color: #015294;
    height: 8.125em;
    left: 0;
    right: 0;
}
.logo{
    margin: 0px 0px 0px 0px;
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 100%;
}
.WD{
    position: absolute;
    height: 120px;
    bottom: 0;
}
.HP{
    position: absolute;
    right: 0;
    top: 1em;
    height: 90px;
    margin: 5px 5px 5px 0px;
}
.logo > img{
    filter: drop-shadow(2px 1px 1px black);
}

/*MAIN*/

main{
    display: flex;
    justify-content: center;
    padding: 30px 20px 0px 20px;
}
.textdiv{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.contacto{
    flex-direction: column;
}
.cuadroUbicacion{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.ubicacion{
    border: 2px solid black;
    width: fit-content;
    height: fit-content;
}
.ubicacion iframe{
    width: 320px;
    height: 275px;
}
.tarjetaMadre{
    flex-direction: column;
}
.subTarjetas{
    flex-direction: row;
}
.tarjeta{
    background-color: #d3d3d3;
    margin: 0.5em;
    padding: 0.5em;
    border-radius: 10px 0px 10px 0px;
    box-shadow: black 3px 3px 25px 3px;
}
.tarjeta img{
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

/*flecha arriba*/

.conteiner-arriba{
    visibility: hidden;
    /*
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 5rem;
    height: 5rem;
    z-index: -1;*/
}
/*
.boton-arriba{
    width: 0rem;
    height: 0rem;
    background: rgb(37, 57, 75);
    border-radius: 0% 25% 0% 25%;
    cursor: pointer;
    transition: .2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.boton-arriba:hover{
    background: rgb(57, 89, 117);
}

.boton-arriba i{
    position: absolute;
    font-size: 3rem;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #FFF;
    transition: .2s;
}

.show{
    z-index: 10;
}

.show .boton-arriba{
    animation: popup .3s ease-in-out;
    width: 5rem;
    height: 5rem;
    z-index: 11;
}

.show i{
    transform: translate(-50%, -50%) scale(1);
}

@keyframes popup{
    0%{
        width: 0rem;
        height: 0rem;
    }
    50%{
        width: 6rem;
        height: 6rem;
    }
    100%{
        width: 5rem;
        height: 5rem;
    }
}*/

/*FOOTER*/

footer{
    background-color: #015294;
    position: relative;
    bottom: 0;
    right: 0;
    left: 0;
}

.sello{
    height: 5rem;
}

@media(min-width: 600px){
    .tarjeta img{
        width: 200px;
        height: 200px;
    }
    .ubicacion iframe{
        width: 450px;
        height: 350px;
    }
}

@media(min-width: 900px){
    .tarjetaMadre{
        flex-direction: row;
    }
    .subTarjetas{
        flex-direction: column;
    }
    .tarjeta{
        margin: 1em;
        padding: 1em;
    }

    .contacto{
        flex-direction: row;
    }
}

@media(min-width: 1200px){
/*GENERAL*/

/*HEADER*/

header{
    position: fixed;
}
.logo{
    margin: 0px 100px 0px 100px;
}
.WD{
    height: 130px;
}
.HP{
    position: static;
    height: 120px;
    margin: 5px 0px 5px 0px;
}

/*MAIN*/

main{
    padding: 200px 20px 0px 20px;
}
.ubicacion iframe{
    width: 700px;
    height: 550px;
}
.tarjeta{
    margin: 2em;
    padding: 2em;
}
.tarjeta img{
    width: 270px;
    height: 270px;
}

/*flecha arriba*/

.conteiner-arriba{
    visibility: visible;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 5rem;
    height: 5rem;
    z-index: 1;
}

.boton-arriba{
    width: 0rem;
    height: 0rem;
    background: rgb(37, 57, 75);
    border-radius: 0% 25% 0% 25%;
    cursor: pointer;
    transition: .2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.boton-arriba:hover{
    background: rgb(57, 89, 117);
}

.boton-arriba i{
    position: absolute;
    font-size: 3rem;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #FFF;
    transition: .2s;
}

.show{
    z-index: 10;
}

.show .boton-arriba{
    animation: popup .3s ease-in-out;
    width: 5rem;
    height: 5rem;
    z-index: 11;
}

.show i{
    transform: translate(-50%, -50%) scale(1);
}

@keyframes popup{
    0%{
        width: 0rem;
        height: 0rem;
    }
    50%{
        width: 6rem;
        height: 6rem;
    }
    100%{
        width: 5rem;
        height: 5rem;
    }
}

/*FOOTER*/

}