@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter/Inter-VariableFont_opsz\,wght.ttf");
  font-style: normal;
}

* {
  font-family: "Inter", sans-serif;
}

body {
  background-color: #f7f7f7;
  overflow-x: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  align-self: center;
  /* max-width: 1920px; */
  margin: 0 auto;
}

.content {
  overflow-x: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  align-self: center;
  /* max-width: 1920px; */
  margin: 0 auto;
}

img {
  object-fit: contain;
}

.content > div {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  width: 50%;
  max-width: 50%;
}
.content > div img {
  max-width: 700px;
  margin-bottom: 30px;
}
.content > div h3 {
  font-size: 24px;
}

.content > img {
  width: 50%;
  max-width: 50%;
  flex: 1;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
}

.text p {
  font-size: 18px;
}

p,
h3 {
  margin: 0;
}

.botones {
  display: flex;
  gap: 20px;
}

a {
  white-space: nowrap;
  padding-inline: 40px;
  padding-block: 10px;
  border-radius: 20px;
  color: black;
  outline: 1px solid black;
  text-decoration: none;
  height: fit-content;
  display: flex;
  width: fit-content;
}

a:hover {
  background-color: black;
  color: white;
}

a.black:hover {
  background-color: white;
  color: black;
}

a.black {
  background-color: black;
  color: white;
}

@media (max-width: 900px) {
  .content {
    flex-direction: column;
    padding-block: 10%;
  }

  .content > img {
    width: 100%;
    object-fit: cover;
    max-width: none;
    height: 30%;
  }

  .content > div img {
    margin-bottom: auto;
  }

  .content > div {
    width: 80%;
    max-width: none;
    height: 70%;
    padding-bottom: 10%;
    gap: 15px;
  }

  .botones {
    flex-direction: column;
    gap: 10px;
  }
  p,
  h3 {
    text-align: center;
  }

  a {
    margin: 0 auto;
  }
}
