.container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  --primary-color: #208269;

  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
  box-sizing: border-box;
  background: var(--primary-color);
}

.container * {
  box-sizing: border-box;
}

.backgroundImg {
  position: absolute;
  bottom: 0;
  left: 25%;

  object-fit: cover;
  width: 100vw;
  height: 100vh;
}

.separation {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 5px);

  height: 100%;
  clip-path: polygon(0% 0%, 100% 0%, 2% 70%, 43% 100%, 0% 100%);
  background: var(--primary-color);
  aspect-ratio: 448 / 1080;
}

.container b {
  font-weight: 700;
}

.main {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;

  display: grid;
  grid-template-rows: max-content minmax(0, 1fr) max-content;
  gap: 36px;

  width: 50%;
  background: var(--primary-color);
  padding: 36px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  justify-self: center;
  align-self: center;

  max-width: 384px;
  width: 100%;
  margin: 24px;
}

.actionButtons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.advancedOptions {
  display: flex;
  flex-direction: column;
  gap: 20px;

  transition-property: opacity;
  transition-duration: 0.2s;
}

.advancedOptions.hidden {
  opacity: 0;
  pointer-events: none;
}

.container h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
}

.container p {
  margin: 0;
}

.container form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;

  font-weight: 600;
}

.container form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.container button {
  --button-text-color: var(--primary-color);
  --button-background-color: #fff;
  --button-border: 1px solid transparent;
  --button-hover-background-color: rgba(255, 255, 255, 0.7);
  --button-focus-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--button-text-color);
  background-color: var(--button-background-color);
  border-radius: 100px;
  border: var(--button-border);
  padding: 12px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  outline: none;

  transition-property: box-shadow, background-color;
  transition-duration: 0.2s;
}

.container button.inverted {
  --button-text-color: #fff;
  --button-border: 1px solid #fff;
  --button-background-color: transparent;
  --button-hover-background-color: rgba(0, 0, 0, 0.1);
}

.container button:hover {
  background-color: var(--button-hover-background-color);
}

.container button:focus {
  box-shadow: var(--button-focus-box-shadow);
}

.container input[type="text"] {
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  outline: none;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid transparent;
  font-family: inherit;

  /*
     * HACK
     * Extremely long transition delay to prevent autofill styling from applying
     */
  transition-property: color, background-color, box-shadow;
  transition-delay: 500000s, 500000s, 0s;
  transition-duration: 0.2s;
}

.container input[type="text"]:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.container input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.toggles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.toggleLabel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  font-weight: 600;
  cursor: pointer;
}

.toggle {
  position: relative;
  width: 36px;
  height: 20px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;

  background-color: #efefef;
  border: 1px solid #e2e0e3;
  border-radius: 50px;
  transition: 0.2s;
}

.slider::before {
  content: "";

  position: absolute;
  right: calc(100% + 1px);
  top: -1px;

  box-sizing: border-box;
  height: 20px;
  width: 20px;
  background-color: white;
  border-radius: 50px;
  border: 1px solid #e2e0e3;
  transform: translateX(100%);
  transition: 0.2s;
}

input:checked + .slider {
  background-color: #1abc9c;
}

input:focus + .slider {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

input:checked + .slider:before {
  right: 19px;
}

@media (min-width: 2560px) {
  .mountain {
    left: 15%;
  }
}

@media (max-width: 1024px) {
  .mountain {
    display: none;
  }

  .separation {
    display: none;
  }

  .main {
    width: 100%;
  }
}
