main{
  padding: 130px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}
h1{
  color: red;
  text-decoration: underline;
  font-size: clamp(1em, 2vw, 1.8em);
  text-align: center;
}
p{
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-wrap: wrap;
}
section{
  width: 100%;
  display: flex;
  padding: 45px;
  height: 25rem;
  max-height: 30rem;
  background-color: #f1f1f1;
  justify-content: center;
  align-items: center;
  img{
    width: 40%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
  }
  div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 35px;
    height: 100%;
    h2{
      color: rgb(114, 0, 0);
      font-size: clamp(1em, 2vw, 1.8em);
    }
    p{
      font-size: clamp(0.8em, 1.5vw, 1.2em);
      font-weight: 700;
    }
  }
}
.enlace{
  display: flex;
  flex-direction: column;
  width: 50%;
  height: fit-content;
  a{
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #c7c7c7;
    transition: background-color 0.3s;
  }
  a:hover{
    background-color: #a7a7a7;
  }
}
@media screen and (max-width: 768px){
  section{
    position: relative;
    img{
      position: absolute;
      width: 100%;
      height: 100%;
      z-index: 0;
    }
    div{
      height: fit-content;
      width: fit-content;
      padding: 15px;
      z-index: 1;
      background-color: #f1f1f18e;
    }
  }
  .enlace{
    width: 90%;
  }
}