html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body {
  font: 16px/32px sans-serif;
  color: #000;
  background-color: #ffffff;
}

.container {
  min-height: 25rem;
  background-color: #f7f7f7
}

.threeds .threeds__field {
  border-bottom: 1px solid #cccccc;
  margin-bottom: .5rem;
  height: 2rem;
  width: 30rem;
  display: flex;
  background-color: white;
}

.threeds__field--label {
  font-size: 0.675rem;
  color: rgb(0, 0, 0);
  line-height: .8rem;
  margin-top: 1rem;
  margin-right: .5rem;
  padding-right: .5rem;
  letter-spacing: 1px;
}

.threeds .threeds__form .threeds__submit:focus,
.threeds .threeds__form .threeds__submit:hover {
  background-color: #ccc;
}

.threeds {
  min-height: 18rem;
  padding: 1rem 1.5rem 1rem 1.5rem;
  margin: 0.5rem auto;
  width: auto;
}

.threeds .threeds__form .threeds__submit {
  background: transparent;
  cursor: pointer;
  width: 10rem;
  background-color: rgb(0, 0, 0);
  outline: 0;
  border: 0;
  color: #ffffff;
  outline: 0;
  font-size: 1.125rem;
  line-height: 1.5rem;
  padding: 1rem 0;
  transition: background 0.3s ease;
}

.threeds__field input, .threeds__field__copy input {
  border: none;
  width: 30rem;
}


.threeds__field__copy input {
  background-color: #f7f7f7;
}


.threeds__textarea textarea {
  background-color: transparent;
  border: 1px solid #cccccc;
  width: 30rem;
  background: white;
}

.threeds__postmessage__box {
  width: 30rem;
  margin-left: .5rem;
  margin-top: 3rem;
  padding-left: 3rem;
}

.threeds__postmessage__response {
  border: 1px solid #cccccc;
  width: 30rem;
  min-height: 8rem;
}

.threeds__field__copy {
  border: 1px solid #cccccc;
  margin-bottom: .5rem;
  height: 3rem;
  align-items: center;
  width: 30rem;
  position: relative; 
  display: inline-block; 
  display: flex;
  background-color: #f7f7f7;
}

/* Container for flexboxes */
.row {
  display: flex;
  flex-wrap: wrap;
}

/* Stack columns */
@media screen and (max-width: 600px) {
  .row {
    flex-direction: column;
  }
}

.threeds__form__column {
  margin-right: 2rem;
}

.threeds__copy {
  background: transparent;
  width: 5rem;
  background-color: rgb(0, 0, 0);
  outline: 0;
  color: #ffffff;
  outline: 0;
  height: 3rem;
  font-size: 1.125rem;
  line-height: 1.5rem;
  padding: 1rem 0;
  transition: background 0.3s ease;
  position: absolute; 
  top: 0; 
  right: 0; 
  border: none; 
  cursor: pointer; 
}

.threeds__copy:hover {
  background-color: #ccc;
}

.threeds__copy:active {
  background-color: #3be332;
}


