:root {
  --layout-side-padding: 1.5rem;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande',
    'Lucida Sans', Arial, sans-serif;
  line-height: 1.75;
}

h1 {
  margin-block: 0 1.5rem;
  font-size: 1.5rem;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

p {
  margin-block: 1.5rem;
}

/* START: Header */
.header {
  height: 3.5625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f2f2f2;
}

.header__logo {
  width: 6.375rem;
}
/* END: Header */

/* START: Main */
.main {
  width: calc(min(100%, 75rem) - (var(--layout-side-padding) * 2));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  margin-block: 1.5rem 0;
}

.main__content {}

.main__content-section {
  margin-block: 1.5rem;
}

.main__picture {
  margin-inline: calc(var(--layout-side-padding) * -1);
}

.main__picture-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 375 / 500;
}
/* END: Main */

/* START: Listbox */
.c-listbox {
  display: block;
  position: relative;

  &:focus-within {
    .c-listbox__button {
      outline-style: solid;
      outline-width: 2px;
    }
  }
}

.c-listbox__select {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  outline: 2px solid transparent;
  outline-offset: 2px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  opacity: 0;
}

.c-listbox__button {
  background-color: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 0.1875rem;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.125rem;
}
/* END: Listbox */

@media only screen and (min-width: 50rem) {
  h1 {
    font-size: 2rem;
    text-align: unset;
  }

  /* START: Header */
  .header {
    height: 4.5rem;
  }

  .header__logo {
    width: 8.25rem;
  }
  /* END: Header */

  /* START: Main */
  .main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    margin-block: 2.5rem;
  }

  .main__content {
    align-self: center;
  }

  .main__picture {
    margin-inline: 0;
  }

  .main__picture-img {
    aspect-ratio: 570 / 804;
  }

  .main__content-section {
    max-width: 21rem;
  }
  /* END: Main */
}
