@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;800&display=swap");

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  color: #121212;
  font-family: "Outfit", sans-serif;
  background-color: #f9ffe7;
}

.container {
  max-width: 1440px;
  padding: 2rem;
  margin-inline: auto;
}

.spacer {
  width: 100%;
  height: 30vh;
}

.arch {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  max-width: 1100px;
  margin-inline: auto;
}

.arch__left {
  display: flex;
  flex-direction: column;
  min-width: 300px;
}

.arch__left .arch__info {
  max-width: 356px;
  height: 100vh;
  display: grid;
  place-items: center;
}

.arch__left .arch__info h2.header {
  font-family: Outfit;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.84px;
}

.arch__left .arch__info p.desc {
  color: rgba(18, 18, 18, 0.8);
  font-size: 18px;
  letter-spacing: -0.54px;
  margin-block: 6px 0;
  line-height: normal;
}

.arch__right {
  flex-shrink: 1;
  height: 100vh;
  width: 100%;
  max-width: 540px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.arch__right .img-wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 400px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.arch__right .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .arch { gap: 30px; }
}

@media (max-width: 768px) {
  .arch {
    flex-direction: column;
    gap: 20px;
  }
  .arch__left,
  .arch__right { display: contents; }
  .arch__right {
    height: auto;
    max-width: 100%;
  }
  .arch__right .img-wrapper {
    position: static;
    transform: none;
    height: 360px;
    width: 100%;
    margin-bottom: 20px;
  }
  .arch__left .arch__info {
    height: auto;
    padding: 20px 0;
  }
}

@media (max-width: 560px) {
  .arch { gap: 12px; }
  .container { padding: 10px; }
  .arch__right .img-wrapper {
    border-radius: 10px;
    height: 280px;
  }
}
