.calc, .calc *, .calc :before, .calc :after {
  box-sizing: border-box;
}

.calc *:focus {
  outline: none;
}

.calc {
  display: flex;
  flex-wrap: wrap;
}
.calc .calc-title {
  margin-bottom: 30px;
  flex: 0 0 100%;
  max-width: 100%;
  font-family: "Roboto", Sans-serif;
  font-size: 2em;
  line-height: 1;
  font-weight: 600;
  color: #3a3a3a;
}
.calc .calc-form {
  margin-bottom: 30px;
  flex: 0 0 calc(100% - 400px);
  max-width: calc(100% - 400px);
}
.calc .calc-field {
  margin-bottom: 20px;
}
.calc .calc-field__label {
  margin-bottom: 5px;
}
.calc .calc-field__input {
  padding: 0 10px;
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 8px;
  line-height: 1;
  background-color: #ddd;
  color: #3a3a3a;
  transition: 350ms;
  transition-duration: 350ms;
  cursor: pointer;
}
.calc .calc-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 8px;
  font-family: "Roboto", Sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  background-color: #D6E100;
  color: #3a3a3a;
  transition: 350ms;
  transition-duration: 350ms;
  cursor: pointer;
}
.calc .calc-btn:hover {
  background-color: #D6E100;
  color: #3A3A3A;
  opacity: 0.75;
}
.calc .calc-btn > svg {
  margin-right: 5px;
}
.calc .calc-results {
  margin-bottom: 30px;
}
.calc .calc-results__title {
  margin-bottom: 15px;
  flex: 0 0 100%;
  max-width: 100%;
  font-family: "Roboto", Sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  color: #3a3a3a;
}
.calc .calc-result {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #3a3a3a;
}
.calc .calc-result__name {
  margin-right: 5px;
}
.calc .calc-result__value {
  font-weight: bold;
}
.calc .calc-result + .calc-result {
  margin-top: 5px;
}
.calc .calc-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 400px;
  max-width: 400px;
}
.calc .calc-preview__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 768px) {
  .calc .calc-form {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .calc .calc-preview {
    display: none;
  }
}