* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Georgia, sans-serif;

  background-image: url("img/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  color: white;
}

/* CONTENEDOR PRINCIPAL */

.pagina {
  width: 100%;
  min-height: 100vh;

  padding: 30px 20px 80px;

  background: rgba(0, 0, 0, 0.25);
}

/* =========================
   HEADER
   ========================= */

.header {
  text-align: center;
  margin-bottom: 70px;
}

/* FOTO REDONDA */

.foto-perfil {
  width: 130px;
  height: 130px;

  object-fit: cover;

  border-radius: 50%;

  border: 3px solid #e5c789;

  box-shadow:
    0 0 15px #fff,
    0 0 30px #cba96b,
    0 0 50px rgba(203, 169, 107, 0.7);
}

/* NOMBRE */

.nombre {
  display: flex;

  justify-content: center;
  align-items: center;

  gap: 8px;

  margin-top: 15px;
}

.nombre h1 {
  margin: 0;

  font-family: Georgia, serif;

  font-size: 48px;

  color: #d9b56e;
}

.nombre img {
  max-width: 100px;
}

.icono {
  color: #d9b56e;

  font-size: 45px;
}

.header h2 {
  margin: -2px 0 0;

  font-size: 25px;

  font-weight: 400;
}

/* =========================
   SERVICIOS
   ========================= */

.servicios {
  width: min(100%, 1000px);

  margin: auto;

  display: flex;
  flex-direction: column;

  gap: 40px;
}

/* =========================
   CARD
   ========================= */

.card {
  display: flex;

  width: 100%;

  min-height: 380px;

  overflow: hidden;

  border-radius: 40px;

  background: linear-gradient(110deg, #383530, #b69d79);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* FOTO */

.card-imagen {
  width: 40%;

  flex-shrink: 0;
}

.card-imagen img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

/* CONTENIDO */

.card-contenido {
  flex: 1;

  padding: 20px 45px 25px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-contenido img {
  max-width: 100px;
}

/* TITULO */

.card-titulo {
  display: flex;
  align-items: center;

  gap: 10px;
}

.card-titulo .icono {
  font-size: 40px;
}

.card-titulo h3 {
  margin: 0;

  color: #000;

  font-family: Georgia, serif;

  font-size: 42px;

  line-height: 0.9;
}

.card-titulo span {
  font-size: 25px;
}

/* FRASE */

.frase {
  display: flex;
  flex-direction: column;

  margin: 15px 0;

  font-family: Georgia, serif;

  font-size: 42px;

  line-height: 0.9;
}

.frase strong {
  color: white;
}

.frase em {
  color: #fdca64;
  font-style: normal;
}

/* DESTACADO */

.destacado {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 5px 15px;

  margin: 5px 0 15px;

  background: #f4d79d;

  color: #000;
}

.destacado img {
  max-width: 100px;
}

.destacado p {
  margin: 0;

  font-size: 30px;
  line-height: 1.05;
}

/* EXPERIENCIA */

.experiencia {
  margin: 0;

  font-size: 22px;

  line-height: 1.25;
}

.h3naranja {
  color: #c99a44 !important;
}

.spannaranja {
  color: #c99a44 !important;
}

#card2 {
  background-color: #ffddae;
}

#card-white-border {
  border: 2px solid white;
  border-radius: 20px;
  padding: 20px;
}

#card3 {
  background: linear-gradient(110deg, #383530, #b69d79);
}

/* =========================
   CELULAR
   ========================= */

@media (max-width: 700px) {
  .pagina {
    padding: 20px 12px 50px;
  }

  .header {
    margin-bottom: 40px;
  }

  .foto-perfil {
    width: 110px;
    height: 110px;
  }

  .nombre h1 {
    font-size: 40px;
  }

  .nombre .icono {
    font-size: 35px;
  }

  .header h2 {
    font-size: 21px;
  }

  /* CARD VERTICAL */

  .card {
    flex-direction: column;

    border-radius: 28px;
  }

  .card-imagen {
    width: 100%;
    /* height: 280px; */
  }

  .card-contenido {
    padding: 25px;
  }

  .card-titulo h3 {
    font-size: 32px;
  }

  .card-titulo span {
    font-size: 20px;
  }

  .frase {
    font-size: 36px;
  }

  .destacado p {
    font-size: 20px;
  }

  .experiencia {
    font-size: 18px;
  }
}
