/*Style page for the responsive contact form*/

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

input[type=text], select, textarea{
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the label to display next to the inputs */
label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 12px 12px 12px 0;
  display: inline-block;
}

/* Style the submit button */
button{
  font-family: 'cabin', sans-serif;
  background-color: #143541c8;
  color: white;
  padding: 15px 20px;
  border: none;
  cursor: pointer;
  float: right;
}

/* Style the container */
.contact-container {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--contentBackground);
  border: 20px solid var(--contentBorder);
  border-radius: 10px;
  padding: 10px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex-grow: 1;
}

.contact-box {
  max-width: 850px;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
  /*margin: 20px auto auto auto;*/
}

.contact-container h2{
  font-family: 'Poppins', sans-serif;
  font-size: 1.45em;
  font-weight: 500;
  text-align: center;
  
}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, .button {
    width: 100%;
    margin-top: 0;
  }
}