#order #plan {
  padding: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  #order #plan {
    flex-direction: row;
  }
}

#order .progress {
  display: none;
  align-items: center;
  flex-direction: column;
}

#selection .icon {
  display: none;
}

@media (min-width: 768px) {
  #order .progress, #selection .icon {
    display: flex;
  }
}

#order .progress span {
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(to bottom, #000 0, #000 5px, transparent 5px, transparent 10px);
}

#order .icon {
  font-size: 2rem;
  position: absolute;
  left: -1rem;
  background-color: white;
}

#order .option input[type=radio]:checked + span, #order .option input[type=checkbox]:checked + span {
  display: block;
}

#order .option span {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  outline: 2px solid var(--blue);
}

#order .option {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background-color: #eee;
  box-shadow: 0 0 1px black;
  height: 100%;
}

#order .option input[type=radio], #order .option input[type=checkbox] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer !important;
  opacity: 0;
}

#order .options {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  #order .options {
    padding: 0 2rem;
  }
}

#order .option p {
  flex: 1;
}

#order .cost {
  position: relative;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 3rem auto;
  padding: 1rem;
  background-color: #eee;
  box-shadow: 0 0 1px gray;
  gap: .5rem;
}

@media (min-width: 768px) {
  #order .cost {
    position: sticky;
    top: 3rem;
    right: 0;
    width: max-content;
    height: max-content;
  }
}

#order .cost:before, #order .cost:after {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 5px;
  content: '';
  background-image: linear-gradient(135deg, transparent 66%, gray, #eee 70%), linear-gradient(45deg, #eee 33%, gray 34%, transparent 44%);
  background-repeat: repeat-x;
  background-position: -6px 0;
  background-size: 10px 100%;
}

#order .cost:after {
  top: 100%;
  bottom: 0;
  background-image: linear-gradient(135deg, #eee 33%, gray 34%, transparent 44%), linear-gradient(45deg, transparent 66%, gray, #eee 67%);
}

#order .split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  gap: 1rem;
}

#order .split > div:first-of-type {
  font-weight: bold;
}

#order .hidden {
  color: transparent;
}

#order .contactdata > div {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  gap: 1rem;
}

#order #preview {
  width: 100%;
  height: 50vh;
  background: #eee;
  outline: 3px solid black;
}

#order #copy {
  width: 100%;
  height: 100%;
  background: #eee;
}

#order fieldset {
  border: none;
  width: 100%;
}

#order {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  margin: auto;
}

.contactdata {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 1rem;
  max-width: 500px;
}

.value:before {
  content: '€';
}

#domain, #mailbox, #maildomain {
  text-transform: lowercase;
}

#plan select, #plan input, #ModalToggle, #maildomain {
  cursor: pointer;
  height: 100%;
}

/* modal */

#myModal {
  position: fixed;
  z-index: 999999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow: auto;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 5%;
  background-color: rgba(0, 0, 0, .9);
  gap: 1rem;
}

.modal-content {
  animation-name: zoom;
  animation-duration: .4s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  font-family: sans-serif;
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 35px;
  transition: .3s;
  color: #f1f1f1;
}

.close:hover, .close:focus {
  cursor: pointer;
  text-decoration: none;
  color: #bbb;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

body.modal-open {
  overflow: hidden;
}

#ModalToggle {
  font-size: x-large;
}

#preview {
  margin-top: 1rem;
}

