

body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url('imagesdata/futuro.jpeg');
}

header {
    font-size: 2em; /* Ajusta el tamaño según tus preferencias */
    color: #fcfafa; /* Ajusta el color según tus preferencias */
    text-align: center;
    padding-bottom: 5vh;
    padding-top: 5vh;
  }

img {
    max-width: 100%;
    max-height: 100%;
}

label {
    font-size: large;
    color: antiquewhite;
    margin-right: 20px;
    margin-left: 20%;
    font-style: normal;
    font-family: "Arial";
    font-weight: bold;
}

select {
    justify-content: center;
    font-size: medium;
    font-style: normal;
}

button {
    margin-right: 20%;
    margin-left: 20%;
}

h2 {
   display: flex;
   justify-content: center;
    color: aliceblue;
}

section {
   display: flex;
   justify-content: center;
}

ul {
    display: flex;
    margin: revert-layer;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
}

li {
    ul {
        display: flex;
        margin: revert-layer;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        list-style: none;
    }
}



.card {
    position: relative;
    width: 400px;
    height: 450px;
    margin: 20px;
}

.card .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

.card .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}

.card .front img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #fff;
    background: rgba(0,0,0,.4);
    text-align: center;
}

.card .back {
    transform: perspective(600px) rotateY(180deg);
    background: rgb(3, 35, 54);
    padding: 15px;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 10px #000;
}


.card .back h3 {
    font-size: 30px;
    margin-top: 20px;
    letter-spacing: 2px;
}

.card .back p {
    letter-spacing: 1px;
} 

.card:hover .front {
    transform: perspective(600px) rotateY(180deg);
}

.card:hover .back {
    transform: perspective(600px) rotateY(360deg);
}

footer {
    display: flex;
    justify-content: center;
 }  
