*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    display: flex ;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: rgb(81, 106, 122);

}
.banner {
  width: 100%;
  height: auto;
  display: block;
}

  /* Aplicamos la tipografía */
body {
            margin: 0;
            font-family: 'Montserrat', sans-serif;
            background-color: #d4b59c;
            color: #333;
        }

header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
            background-color: #e9b99d;
            border-bottom: 2px solid #f08343;
            
          border-radius: 30px;
        }

        .logo img {
            height: 60px;
            border-radius: 10px;
        }
.bienvenida {
            flex-grow: 1;
            text-align: center;
            font-size: 1.5em;
            font-weight: 700;
            color: #2c3e50;
            letter-spacing: 1px;
        }

.contenedor {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 40px;
            gap: 20px;
        }

 .card h3 {
            font-weight: 600;
        }
 .card p {
            font-weight: 400;
            font-size: 0.95em;
            line-height: 1.4;
        }

.link a {
            font-weight: 600;
            text-decoration: none;
            color: #1a73e8;
 }

.banner {
  width: 100%;
  height: auto;
  display: block;
}


.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  background: #9b9b9b69;
  position: fixed;
  width: 10%;
  z-index: 50;
}
.navbar{
  display: flex;
  margin-right: 10px;
}
.logo{
  margin-left: 30px;
}
.logo a{
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 28px;
}
.navbar a{
  display: block;
  padding: 23px 20px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 28px;
}
.navbar a:hover{
  background: #3f3f3f;

}
header{
  display: flex;
  justify-content: center;
  align-items: center;
}
.header{
  height: 60vh !important;
  background: url(img/encabezado.jpeg) no-repeat center;
  background-size: cover;
}

.title{
    margin-bottom: 40px;
    font-size: 60px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
  
  }
  .content{
    height: 58vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   }

.card{
    position: relative;
    width: 300px;
    height: 350px;
    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: 45px;
    line-height: 45px;
    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 .link{
    border-top:solid 1px #f3f3f3 ;
    height: 50px;
    line-height: 50px;

}
.card .back .link a{
    color: #f3f3f3;
}
.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) ;
}