body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
  font-family: var(--font);
  overflow-x: hidden;

  &.modal-open {
    overflow-y: hidden;
  }
}

.container {
  max-width: 1440px;
  width: 90%;
  margin-inline: auto;
  
  &.middle {
    width: 60%;
    margin-inline: auto;
  }
}

main {
  flex-grow: 1;
}

button {
  border-radius: var(--full-border-radius);
  border: none;
  cursor: pointer;
  color: white;
  background-color: var(--primary);
  font-size: 2rem;
  padding: 0.75rem 4rem;

  @media screen and (max-width: 920px) {
    font-size: 1.5rem;
  }

  &[disabled] {
    background-color: var(--secondary);
    opacity: .5;
    cursor: not-allowed;
  }
}

.spacing {
  height: 10rem;
  width: 100%;
}

.box {
  width: calc(100vw - 2rem);
  margin-inline: auto;
  border-radius: var(--small-border-radius);

  @media screen and (max-width: 920px) {
    width: 100vw;
    border-radius: 0;
  }
}

.pink {
  color: var(--secondary);
}

#account {
  display: grid;
  grid-auto-flow: column;
  gap: .5rem;
  align-items: center;
  text-decoration: none;
  color: black;
}

h1 {
  font-size: 4rem;
  font-weight: 300;
}

h2 {
  font-size: 3.5rem;
}

h3 {
  font-size: 2.75rem;
  font-weight: 200;
}

h4 {
  font-size: 1.75rem;
}

h5 {
  font-size: 1.25rem;
}

.modal {
  z-index: 3000;
  position: relative;
  display: none;

  &.active {
    display: block;
  }

  .modal__backdrop {
    width: 100vw;
    height: 100vh;
    background-color: #00000066;
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    justify-content: center;
    align-items: center;

    .modal__content {
      justify-self: center;
      align-self: center;
      background-color: white;
      border-radius: 2rem;
      max-width: 1400px;
      gap: 2rem;
      display: grid;

      
      .modal__header {
        display: grid;
        grid-auto-flow: column;
        padding: 2rem;
        padding-bottom: 0;

        button {
          justify-self: flex-end;
          padding: .25rem;
          background-color: white;
          color: var(--primary);
          font-size: 1.5rem;
        }
      }
      
      .modal__body {
        padding: 4rem;
        padding-top: 0;
        padding-bottom: 6rem;
        display: grid;
        gap: 4rem;
        grid-template-columns: 1fr 1fr;

        .options {
          display: grid;
          gap: 1.5rem;

          h4 {
            margin: 0;
          }

          label {
            display: flex;
            align-items: center;
            gap: 2rem;
            cursor: pointer;

            input {
              display: none;
            }

            input:checked + .marker {
              background-color: var(--secondary);
            }
            
            .marker {
              border-radius: 100vmax;
              width: 2rem;
              height: 2rem;
              outline: 1px solid var(--secondary);
            }
          }
        }

        .submit {
          display: grid;
          justify-content: center;
          grid-column: span 2;

          &.active {
            button {
              display: block;
            }
          }
        }
      }
    }
  }
}

.decorated {
  position: relative;

  img {
    position: absolute;
    width: 95%;
    left: 0;
    bottom: -1rem;
  }
}

.hide {
  display: none !important;
}

.card {
  display: grid;
  gap: 2rem;
  position: relative;
  border-radius: var(--medium-border-radius);
  border: 2px solid white;
  background-color: var(--secondary);
  color: white;
  padding: 4rem 4rem;
  box-shadow: 0px 6px 3px 0px rgba(0, 0, 0, 0.20);

  .sticker {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    overflow: hidden;
    position: absolute;
    text-transform: uppercase;
    top: -3.5rem;
    left: -3.5rem;
    color: white;
    
    &.top {
      left: 0;
      right: 0;
    }
    
    .circle {
      background-color: var(--primary-light);
      border-radius: var(--full-border-radius);
      border: 2px solid white;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      padding: .5rem;
      z-index: 2;

      font-size: 1.125rem;

      b {
        font-size: 1.4rem;
        font-weight: 700;
      }
    }

    .content {
      z-index: 1;
      background-color: var(--primary-light);
      padding: .5rem 3rem;
      border-radius: .5rem;
      border: 2px solid white;
      margin-left: -2rem;
    }
  }

  @media screen and (max-width: 820px) {
    .sticker {
      top: -2.5rem;
      left: -2rem;

      .circle {
        padding: .25rem;
        font-size: 1rem;

        b {
          font-size: 1rem
        }
      }
    }
  }
}
