body {
  font-family: "Josefin Sans";
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

#main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

h1 {
  text-align: center;
  font-style: normal;
  font-weight: 100;
  font-size: 36px;
  line-height: 47px;
  color: #000000;
}

.slider {
  box-sizing: border-box;
  margin-bottom: 1em;
}

.button-group,
.button-group .button {
  border-color: rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.button-group {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  display: flex;
  flex-direction: row;
}

a.button {
  text-decoration: none;
  color: #000;
}

.slider .header,
.slider .header .control select {
  border: 1px solid rgba(0, 0, 0, 0.26);
}

.slider .header .control,
.button-group .button,
.slider select {
  padding: 6px;
}

.button-group .button {
  border-right: 1px solid rgba(0, 0, 0, 0.26);
  padding-right: 14px;
  padding-left: 14px;
  cursor: pointer;
}

.button-group .button.selected {
  border-bottom: 3px solid #787878;
}

.button-group .button:hover {
  background: rgba(0, 0, 0, 0.1);
}

.button-group .button svg {
  height: 14px;
  margin-bottom: -3px;
  opacity: 0.8;
}

.button-group .button:last-child {
  border-right: 0;
}

.slider .header {
  box-sizing: border-box;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  border-radius: 8px 8px 0 0;
  border-bottom: 0;
  padding: 5px 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.slider .header .control select {
  color: #000;
  background: #fff;
  width: 236px;
  border-radius: 4px;
}

.slider .header select,
.slider .header label,
.slider .header .button {
  font-family: "Inter";
  font-weight: 300;
  font-size: 11px;
}

.slider .header label {
  display: block;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
  color: rgba(0, 0, 0, 0.62);
  margin-bottom: 4px;
}

.hide {
  display: none;
}

.full {
  width: 100%;
}

.original-image {
  width: 100%;
}
.slider .gallery,
.slider img {
  aspect-ratio: 1024/600;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.reveal {
  width: 50%;
  height: 100%;
}

.container {
  padding: 0 8px 8px 8px;
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
}

.slider .gallery {
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.26);
  overflow: hidden;
  position: relative;
}

.slider .reveal {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slider .handle {
  position: absolute;
  top: 50%;
  transform: translateX(-22px) translateY(-22px);
  pointer-events: none;
  left: 50%;
  z-index: 1;
}

.mobile-control-select {
  display: none;
}

.disclaimer {
  width: 100%;
  background: #292a2d;
  color: #fff;
  display: flex;
  flex-direction: row;
  margin-bottom: 1em;
  opacity: 0.9;
  transition: opacity 300ms;
}

.disclaimer:hover {
  opacity: 1;
}

.disclaimer .disclaimer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  display: none;
}

.disclaimer .disclaimer-text {
  padding: 10px;
  flex: 1;
  text-align: center;
  font-style: italic;
}

.disclaimer .disclaimer-text svg {
  width: 10px;
  margin-bottom: -7px;
}

@media (max-width: 900px) {
  h1 {
    font-size: 24px;
    line-height: 32px;
  }
}

@media (max-width: 750px) {
  .slider .header {
    padding: 0;
  }

  .slider .header .control:not(.selected),
  .slider .header .control label {
    display: none;
  }

  .slider .header .control .button-group .button {
    flex: 1;
    text-align: center;
  }

  .slider .header .control {
    padding: 10px;
  }

  .slider .header .control select {
    width: 100%;
  }

  .slider .header {
    flex-direction: column;
  }

  .slider .header .mobile-control-select {
    display: flex;
  }

  .slider .header .mobile-control-select label {
    font-size: 13px;
    padding: 12px 0;
    cursor: pointer;
    flex: 1;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.26);
    border-right: 1px solid rgba(0, 0, 0, 0.26);
    background: rgba(0, 0, 0, 0.03);
  }

  .slider .header .mobile-control-select label:last-child {
    border-right: 0;
  }

  .slider .header .mobile-control-select label svg {
    margin-bottom: -3px;
    margin-right: 3px;
    opacity: 0.6;
  }

  .slider .header .mobile-control-select label.selected svg {
    opacity: 0.8;
  }

  .slider .header .mobile-control-select label:hover svg {
    opacity: 0.8;
  }

  .slider .header .mobile-control-select label.selected {
    border-bottom: 0;
    background: transparent;
  }

  .button-group .button svg {
    height: 13px;
  }

  h1 {
    font-size: 18px;
  }
}

.modal-wrapper {
  position: fixed;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal {
  width: 785px;
  height: 460px;
  background: #fff;
  border-radius: 17px;
  overflow: hidden;
  display: flex;
  font-family: "Inter", sans-serif;
  position: relative;
}

.modal img {
  height: 100%;
}

.modal-content {
  padding: 50px;
}

.modal-content h1 {
  margin: 0 0 30px 0;
  padding: 0;
  text-align: left;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
}

.modal-content p {
  margin: 0 0 30px 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
}

.modal-content label {
  font-weight: 500;
  display: block;
  font-size: 16px;
}

.modal-content input {
  margin-top: 10px;
  display: block;
}

.modal-content input {
  box-sizing: border-box;
  width: 100%;
  font-size: 14px;
  padding: 12px;
}

.modal-content input[type="email"] {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 8px;
}

.modal-content input[type="submit"] {
  background: #00b2ff;
  border-radius: 29px;
  border: 0;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  margin-top: 30px;
  cursor: pointer;
}

.modal-content input[type="submit"]:hover {
  opacity: 0.8;
}

.modal-content input[type="submit"]:active {
  opacity: 0.5;
}

.modal .close {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 9px;
  border-radius: 50px;
}

@media (max-width: 750px) {
  .modal {
    width: calc(100% - 30px);
    height: auto;
    max-height: calc(100% - 30px);
    flex-direction: column;
    overflow-y: scroll;
  }

  .modal .close {
    background: #fff;
  }

  .modal img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  }

  .modal-content {
    padding: 20px;
  }
}
