@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
}

header {
    width: 100%;
    height: 60px;
    margin-top: 20px;
    position: absolute;
    z-index: 1;
}

.container__menu {
    max-width: 1200px;
    height: 60px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width: 768px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }
}

.menu {
    display: flex;
    justify-content: space-around;
}

.menu ul {
    display: flex;
    margin-left: 12%;
}

.menu ul li {
    list-style: none;
    margin-left: 16px;
}

.menu ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #000000;
    background: #a5b0e6;
    padding: 6px 20px;
    border-radius: 10px;
    border: 4px solid rgb(39, 28, 112);
    cursor: pointer;
    box-shadow: 1px 1px 30px -12px #21108d;
    transition: all 300ms;
    text-transform: uppercase;
    
}
.menu ul li a:hover{
    background-color: rgb(6, 9, 50);
    color: white;
}
body {
    background: #ffffff;
}

.container__card {
    padding-top: 120px;
    max-width: 1200px;
    margin: auto;
    /* margin-top: 100px; */
    /* ES PARA DAR EL EFECTO DE GIRO */
    perspective: 1000px;
    display: flex;
    /* ALINEACION DE LAS TARJETATAS */
    justify-content: center;
    /* DISPLAY UNO AL LADO DEL OTRO */
    flex-wrap: wrap;
}

.card__father {
    border-radius: 60px;
    /* MAGENES PARA CADA TARJETA */
    margin: 20px;
    /* EFECTO DE GIRO ATRAS */
    perspective: 1000px;
}

/* GIRO DE LA TARJETA */
.card__father:hover .card {
    transform: rotateY(180deg);
}

/* LA TARJETA CON TODOS LOS EFECTOS UNIDOS */
.card {
    width: 250px;
    height: 300px;

    position: relative;
    /* DA EL EFECTO 3D AL GIRAR LA TARJETA */
    transform-style: preserve-3d;
    transition: all 600ms;
}

/* ESTABLEZCO TAMAÑO Y UBICACION DEL 
CONTENEDOR FRENTE DE LA TARJETA */
.card__front {
    background-size: cover;
    background-position: center;
}


/* PARA AMBAS CARAS */
.card__front,
.card__back {
    width: 100%;
    height: 100%;
    /* POSICION SIEMPRE ABSOLUTA */
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    border-radius: 20px;
}

/* ROTACION DE LA PARTE DE 
ATRAS DE LA TARJETA */
.card__back {
    transform: rotateY(180deg);
    background: #96dfe2;
    background: radial-gradient(circle farthest-corner at center center, #96dfe2 0%, #114f81 80%);
    background: -webkit-radial-gradient(circle farthest-corner at center center, #96dfe2 0%, #114f81 80%);
    background: -moz-radial-gradient(circle farthest-corner at center center, #96dfe2 0%, #114f81 80%);
}

.card__back a {
    /* text-decoration lo usamos para quitar la linea de los
    links */
    text-decoration: none;
    background-color: #499dae;
    border: 3px solid rgb(24, 2, 89);
    border-radius: 10px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 20px;
    color: rgb(21, 8, 71);
    cursor: pointer;
    box-shadow: 1px 1px 30px -12px #1f21b1;
    padding: 10px 20px;

}

/* ADENTRO FRENTE TARJETA */
.body__card_front {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 40px;
    /* USAMOS MARGIN-TOP PARA 
    ACOMODAR EL TEXTO. TENER EN CUENTA 
    EL TAMAÑO DEL CONTENEDOR */
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    /* SALIENTE DEL TEXTO */
    transform: translateZ(60px);
}

/* ESTABLECER FONDO DE CONTENEDOR
POR SI NO SE CARGAN LAS IMAGENES */
.bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* TRASLUCIDO */
    background: rgba(0, 0, 0, 0.076);
    border-radius: 20px;
}

.body__card_back {
    padding: 40px;
    text-align: center;
    /* SEPARAR EL TEXTO DEL LA PARTE TRASERA; */
    transform: translateZ(60px);
}

/* EL PARRAFO DE ATRAS */
.body__card_back p {
    margin-top: 20px;
    font-size: 14px;
}

/* BOTON */
.body__card_back input {
    padding: 10px 40px;
    margin-top: 30px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: white;
    background: #0b2b45;
    box-shadow: 1px 1px 30px -5px #58B0F6;
    border-radius: 10px;
    transition: box-shadow 600ms;
}

.body__card_back input:hover {
    box-shadow: 1px 1px 30px 0px #449de6;
}


/* inicio del footer */

footer {
    width: 100%;
    height: 300px;
    background: #bbceed;
    color: rgb(11, 37, 92);

}

.container-footer-all {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.container-body {
    display: flex;
    justify-content: space-between;
    columns: 3;
    column-gap: 5%;
    margin-left: 5%;
    margin-right: 5%;
}

.col {
    max-width: 400px;
}

.col h1 {
    font-size: 22px;
}
.col label{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #072e57;
    text-align: center;
}
.col img {
    border-radius: 20px;
    border: #0b2b45 4px solid;
    box-shadow: 0px 0px 29px 8px rgba(32, 75, 155, 0.75);
    -webkit-box-shadow: 0px 0px 29px 8px rgba(32, 75, 155, 0.75);
    -moz-box-shadow: 0px 0px 29px 8px rgba(32, 75, 155, 0.75);
}

.footer {
    height: 22px;
    margin-left: 20%;
    display: flex;
    justify-content: space-between;
}

.copyright a {
    text-decoration: none;
    color: rgb(25, 14, 71);
    font-weight: bold;

}
