@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");

* {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  color: #1c1c1c;
  text-decoration: none;
  overflow: hidden;
}

body {
  height: 98vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f4f4f4;
}

.bloque {
  border: 1px solid #1c1c1c;
  padding: 20px 40px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  width: 50%;
  background: #f2f2f2;
}

.informacion img {
  width: 25px;
}

.informacion {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.foto {
  display: flex;
  width: 30%;
  align-items: center;
  justify-content: center;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  align-items: center;
}

.foto img {
  border-radius: 50%;
  width: 100%;
  max-width: 250px;
}

h1 {
  font-size: clamp(2.5rem, 3.5vw, 3rem);
  margin: 5px 0;
}

h2 {
  font-size: clamp(1.375rem, 3vw, 1.5rem);
  margin: 5px 0;
}

p {
  font-size: clamp(0.875rem, 2vw, 1rem);
  margin: 5px 0;
}

@media (max-width: 820px) {
  .bloque {
    flex-direction: column-reverse;
    padding: 20px;
    width: 80%;
  }

  .informacion {
    width: 100%;
  }

  .foto {
    width: 100%;
  }

  .foto img {
    width: 150px;
  }

  .links {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .body {
    height: auto;
  }
}

