* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: Poppins;
  src: url(../Poppins/Poppins-Light.ttf);
}

body {
  height: 100vh;
  display: flex;
  background-color: rgb(87, 189, 139);
  transition: background 0.3s ease;
  position: relative;
  font-family: Poppins, sans-serif;
  overflow: hidden;
}

.field-budget,
.field-type,
.field-name,
.field-surname,
.field-email,
.field-password,
.field-finish {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  height: 50px;
  width: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  transition: all 0.3s ease;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: none;
}

select {
  width: 100%;
  cursor: pointer;
  padding: 1rem;
}

.field-type::after {
  content: "\25BC";
  position: absolute;
  top: 0;
  right: 5%;
  padding: 1rem;
  pointer-events: none;
}

::-webkit-scrollbar {
  display: none;
}

.field-features {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: #353535;
  font-size: 20px;
  height: 500px;
  width: 500px;
  border-radius: 5px;
  overflow-y: scroll;
  padding: 20px 30px;
  transition: all 0.3s ease-in;
}

.field-features .feature {
  margin: 5px 0px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 7px 10px;
  outline: 1px solid #e6e6e6;
  transition: all 0.2s ease-in;
}

.field-features h3 {
  padding-bottom: 10px;
}

.field-features h5 {
  padding-bottom: 3px;
}

.field-features .feature i {
  cursor: pointer;
  pointer-events: all;
  color: rgb(87, 87, 87);
}

.field-features .feature i,
.field-features .feature input {
  margin: 5px 0px;
}

.field-type i,
.field-budget i,
.field-name i,
.field-surname i,
.field-email i,
.field-password i,
.field-finish i {
  padding: 10px;
  cursor: pointer;
  pointer-events: all;
}

.field-budget input,
.field-type input,
.field-name input,
.field-surname input,
.field-email input,
.field-password input,
.field-finish input {
  height: 100%;
  border: none;
  outline: none;
  background: none;
  flex: 1;
}

div.inactive {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 50%);
}

div.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%);
}

@keyframes shake {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(10deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

:root {
  --modal-duration: 1s;
  --modal-color: #428bca;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  margin: 10% auto;
  width: 60%;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
}

.modal-header h2,
.modal-footer h3 {
  margin: 0;
}

.modal-header {
  background: var(--modal-color);
  padding: 15px;
  color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.modal-body {
  padding: 10px 20px;
  background: #fff;
}

.modal-footer {
  background: var(--modal-color);
  padding: 10px;
  color: #fff;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.close {
  color: #ccc;
  float: right;
  font-size: 30px;
  color: #fff;
}

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

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.get_quote {
  outline: none;
  /* border: none; */
  background: none;
  border-color: #44b18b;
  box-shadow: none;
  color: #4cc99d;
  padding: 10px 15px;
  border-radius: 10px;
  margin-top: 10px;
}

.submitbtn {
  margin-top: 20px;
  padding: 12px 15px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid rgb(40, 124, 84);
  background-color: rgb(51, 172, 113);
  color: #fff;
  transition: all 0.2s ease-in-out;
}
.submitbtn:hover {
  padding: 12px 20px;
  font-size: 16px;
  border: 1px solid rgb(28, 82, 56);
  background-color: rgb(45, 141, 95);
}
