/* 
    https://www.w3schools.com/css/tryit.asp?filename=trycss_form_responsive
    Style sheet slightly modified version of w3's.
*/

* {
  box-sizing: border-box;
}

body {
  background-color: #1c313a;
  color: #CFD8DC;
}

input[type=text],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

input[type=color] {
  border:0;
  padding:0;
  width:42px;
  height:42px;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
  font-size: 1.5rem;
}

.container {
  border-radius: 5px;
  background-color: #4d646f;
  padding: 20px;
  margin-bottom: 20px;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

.col-fixed {
  float: left; 
  width: 96px;
  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,
  .col-fixed,
  input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

.coords {
  font-size: 1.2rem;
  padding: 5px;
}