* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.hamburger {
    display: block;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }
.LOGO{
  width: 100px;
  height: auto;
  margin-left: 5px;
  margin-top: 5px;
   box-shadow: 5px 0px 4px 0px #72a9da; 
  border-radius: 50%;
}

header a {
  display: inline-block;
  width: auto;
  max-width: 100px;
  margin-right: 15px;
  
}
body{
  width: 100%;
}
.nav-menu {
  flex-grow: 1;
}
header {
  display: flex;
  align-items: center;
  background: #12142b;
  padding: 10px 20px;
  justify-content: flex-start;
  gap: 30px;
  flex-direction: row;
  padding-right: 40%;
  width: 100%;

}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-direction: row;
  align-items: center;
  padding: 0;
  margin: 0;
}

.nav-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
    font-size: 24px;

}

.nav-menu ul li a:hover{
  color:  #73aadb;
} 

#portada{
  margin-top: 40px;
  align-content: center;
  align-items: center;
  width: 95%;
  border-radius: 15px;
}



body{
  background-color: #12142b;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
}

.nosotros p{
font-family: "Roboto", sans-serif;
font-weight: 350;
font-style: normal;
width: 80%;
text-align: center;
font-size: 19px;
margin-left: 9%;
}
.nosotros{
  background-color: white;
  margin-top: 10%;
  border: solid black 1px;
  border-radius: 15px;
  align-items: center;
  
  align-content: center;
  text-align: center;
  width: 80%;
  padding-bottom: 50px;
}
.nosotros h2{
  font-size: 40px;
  margin-right: 25px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color:black;
  font-weight: 500;
  position: relative;
  
}

.nosotros .boton{
  background-color: #4778c5;
  color: white;
  margin-top: 50px;
  border-radius: 20px;
  align-content: center;
  width: 25%;
  margin-left: 36%;
  height: 80px;
  
  font-size: 21px;
  font-family: "Poppins", sans-serif;
}

.boton a{
  text-decoration: none;
  color: white;
}
* {
  box-sizing: border-box;
}

.carousel-container {
  width: 90%;
  padding-top:5% ;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 5%;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s linear;
}

.carousel-item {
  flex: 0 0 150px;
  margin-right: 15px;
  background-color: #ffff;
  text-align: center;
  padding: 5px;
  border-radius: 10px;
}

.carousel-buttons {
  display: none;
}

#servi{
  font-size: 40px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color:black;
  position: relative;
  
  
}

.flip-card {
  background-color: transparent;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  border: 1px solid #f1f1f1;
  perspective: 1000px;
  position: relative;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  position: relative;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #47a7d5;
  color: black;
}
.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Style the back side */
.flip-card-back {
  background-color: #47a7d5;
  color: white;
  transform: rotateY(180deg);
  
 
}


.Servicios{
  background-color: white;
  
  border: solid black 1px;
  border-radius: 15px;
  height:auto;
  width: 85%;
  display: flex;
  flex-direction: column;
  padding-bottom: 8px;
  align-content: center;
  
  
}

.tarjetas{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}
.Servicios h3{
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.Servicios p{
  
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  width: 100%;
}
.Servicios ul{
  width: 100%;
  
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.cambio{
  background-color: white;
  width: 100%;
  height:auto;
  display: flex;
  padding-bottom: 35px;
  padding-top: 35px;
  flex-direction: column;
  align-content: center;
  text-align: center;
  align-items: center;

}
footer{
  background-color: black;
  height: auto;
  width: 100%;
  
}
footer img{
  display: flex;
  justify-content: center;
  width: 18%;
  margin-right: 10px;
  margin-left: 40%;
  
}


.Contactos{
  position: relative;
  margin-right: 400px;
  color: white;
  
  align-items: center;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 16px;
}

.contactos{
  position: absolute;
  display: flex;
  align-content: center;
  margin-left: 53%;
  margin-bottom: 100px;
  flex-direction: row;
  align-items: center;
  text-align: center;
  color: white;
  flex-wrap: wrap;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-style: normal;
}
.contactos i{
  margin-right: 20px;
  font-size: 20px;
}
.contactos2 i{
  margin-right: 20px;
  font-size: 20px;
}
.contactos3 i{
  margin-right: 20px;
  font-size: 20px;
}
.contactos2{
  position: absolute;
  display: flex;
  align-content: center;
  margin-left: 53%;
  margin-top: 50px;
  flex-direction: row;
  align-items: center;
  text-align: center;
  color: white;
  flex-wrap: wrap;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-style: normal;
}
.contactos3{
  position: absolute;
  display: flex;
  align-content: center;
  margin-left: 53%;
  margin-top: 100px;
  flex-direction: row;
  align-items: center;
  text-align: center;
  color: white;
  flex-wrap: wrap;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.icons{
  display: flex;
  font-size: 50px;
  justify-content: center;
  padding-top: 8%;
  flex-direction: row;
  gap: 10px;
  color: white;
  
}
#fc{

text-decoration: none;
  color: white;
}
#whatsapp{
text-decoration: none;
  color: white;
}
#ig{

text-decoration: none;
  color: white;
}
@media screen and (max-width: 1024px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding-right: 20px;
  }

  .nav-menu {
    width: 100%;
  }

  .nav-menu ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
    padding-left: 10px;
  }

  .flip-card {
    width: 45%;
    height: auto;
  }

  .flip-card-back {
    width: 100%;
    height: auto;
  }

  .nosotros .boton {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }

  footer {
    height: auto;
    padding-bottom: 30px;
  }

  footer img {
    width: 120px;
    margin: 10px auto;
  }

  .contactos,
  .contactos2,
  .contactos3 {
    position: static;
    margin: 10px auto;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .Contactos {
    margin: 10px auto;
  }

  .icons {
    font-size: 40px;
    flex-wrap: wrap;
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
 
  .hamburger {
    display: flex;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

  header{
    display: flex;
    flex-direction: row;
  }
  .nav-menu ul {
    display: none;
    flex-direction:row;
    gap: 20px;
    padding: 10px;
    background: #12142b;
  }

  .nav-menu.active ul {
    display: flex;
  }

  .carousel-item {
    flex: 0 0 120px;
  }
.icons{
  margin-bottom: 20px;
}
.flip-card-back {
  background-color: #47a7d5;
  color: white;
  transform: rotateY(180deg);
  height: auto;
  width: 220px;
 
}
.flip-card-back b p{
  font-size: 13px;
}
.flip-card-back ul{
  font-size: 13px;
}
footer{
  display: flex;
  justify-content: center;
  flex-direction: column;
}
}

@media screen and (max-width: 480px) {
  .LOGO {
    width: 80px;
  }
.hamburger {
    display: flex;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

  header{
    display: flex;
    flex-direction: row;
  }
  .nav-menu ul {
    display: none;
    flex-direction:row;
    gap: 20px;
    padding: 10px;
    background: #12142b;
  }

  .nav-menu.active ul {
    display: flex;
  }

  .nosotros p {
    font-size: 16px;
  }
.flip-card-back {
  background-color: #47a7d5;
  color: white;
  transform: rotateY(180deg);
  height: auto;
  width: 220px;
 
}
.flip-card-back b p{
  font-size: 13px;
}
.flip-card-back ul{
  font-size: 13px;
}
footer{
  display: flex;
  justify-content: center;
  flex-direction: column;
}
  .Servicios h3 {
    font-size: 13px;
  }
}
