/* PREVENTS MOBILE BROWSERS FROM RESIZING TEXT */
@media screen and (max-device-width: 480px) {
  body {
    -webkit-text-size-adjust: none;
  }
  .footer {
    margin: 6.5em 0 1.5em 0;
  }
}
/* GLOBAL STYLES */
body {
  background-color: #DCDCE2;
  margin: 0;
}
.container {
  width: 100%;
}
/* SMALL FLEXIBLE LAYOUT */
@media (min-width: 0em) {
  .header-container {
    display: flex;
    justify-content: center;
  }
  .header {
    width: 100%;
    margin: 1.6em 0;
    padding: 0 1.5em;
  }
  .header-logo {
    float: left;
  }
  .header-divider,
  .header-divider img {
    display: block;
    width: 100%;
    height: 1px;
  }
  #addressee,
  #result {
    margin: 2.625em 0;
  }
  .alert-container {
    display: flex;
    justify-content: center;
    margin-top: 2em;
    margin-bottom: 0em;
  }
  .alert {
    width: 37.5em;
    padding: 0 1.5em;
  }
  .alert-box {
    width: fit-content;
    padding: .5em 1em;
    background-color: #737581;
    /* border: solid #737581;
    border-width: 1px; */
    border-radius: 2px;
    -webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.24);
    -moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.24);
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.24);
  }
  .form-container,
  .text-container {
    display: flex;
    justify-content: center;
  }
  .form-container {
    margin-bottom: 3.5em;
  }
  form,
  .text {
    width: 100%;
    margin: 0 1.5em;
  }
  .input {
    font-family: 'Inconsolata', monospace;
    font-weight: 400;
    font-size: 1em;
    color: #606066;
    line-height: 1.8em;
    width: 100%;
    padding: 1.6em 0;
    background-color: #DCDCE2;
    border-width: 0 0 1px 0;
    border-color: #cfcfd5;
    border-style: solid;
    outline: none;
  }
  #top-input {
    border-width: 1px 0;
  }
  textarea {
    vertical-align: top;
    resize: none;
  }
  ::-webkit-input-placeholder {
  color: #606066;
  opacity: .4;
  font-family: 'Source Code Pro', monospace;
  }
  :-ms-input-placeholder {
    color: #606066;
    opacity: .4;
    font-family: 'Source Code Pro', monospace;
  }
  ::-moz-placeholder {
    color: #606066;
    opacity: .4;
    font-family: 'Source Code Pro', monospace;
  }
  [type="submit"] {
    font-family: 'Source Code Pro', monospace;
    font-weight: 400;
    font-size: 1em;
    color: #606066;
    /*line-height: 1.8em;*/
    padding:0;
    margin-top: 1em;
    background-color: #EDEDED;;
    border-width: 0;
    outline: none;
    cursor: pointer;
    margin: 2.625em 0;
  }
  [type="submit"]::-moz-focus-inner {
      padding: 0;
      border: 0
  }
  .back-container {
    display: flex;
    justify-content: center;
    margin: 3.5em 0;
  }
  .back-container a {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .back {
    width: 100%;
    text-align: center;
    margin: 1.6em 0;
    padding: 0 1.5em;
  }
  .more-container {
    display: flex;
    justify-content: center;
    margin: -2.4em 0 -1.9em 0;
  }
  .more-container a {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .more {
    width: 100%;
    text-align: center;
    margin: 1.6em 0;
    padding: 0 1.5em;
  }
}



/* FULL WIDTH LAYOUT */
@media (min-width: 40.5em) {
  .header {
    width: 37.5em;
    padding: 0;
  }
  .alert-container {
    margin-top: 3em;
    margin-bottom: 2em;
  }
  form,
  .text {
    width: 37.5em;
    margin: 0;
  }
  .back-container a {
    width: 37.5em;
  }
  .back {
    width: 37.5em;
    padding: 0;
  }
  .more-container a {
    width: 50em;
  }
  .more {
    width: 50em;
    padding: 0;
  }
}


/* HOVER STYLES */
#logo-link,
.white-link,
.dark-link {
  transition: .275s ease-out;
}
#logo-link:hover {
  background-color: white;
}
.more-container a {
  transition: background-color .275s ease-in-out 0s, width 0s ease .275s;
  background-color: #DCDCE2;
}
.more-container p {
  transition: color .275s ease-in-out;
}
.more-container a:hover {
  transition: width 0s ease 0s, background-color .275s ease-in-out 0s;
  width: 100%;
  background-color: #ededed;
}


[type="submit"] {
  transition: .275s ease-out;
}
[type="submit"]:hover {
  /*color: white;*/
  background-color: white;
}
.back-container a {
  transition: background-color .275s ease-in-out 0s, width 0s ease .275s;
}
/*.back-container p {
  transition: color .275s ease-in-out;
}*/
.back-container a:hover {
  transition: width 0s ease 0s, background-color .275s ease-in-out 0s;
  width: 100%;
  background-color: #ededed;
}
/*.back-container a:hover p {
  color: white;
}*/

/* FONT STYLES */
h1 {
  font-family: 'Source Code Pro', monospace;
  font-weight: 400;
  font-size: 1em;
  color: #606066;
  margin: 0;
  line-height: 1.8em;
}
h2 {
  font-family: 'Source Code Pro', monospace;
  font-weight: 400;
  font-size: 1em;
  color: #606066;
  margin: 0;
  line-height: 1.8em;
}
p {
  font-family: 'Inconsolata', monospace;
  font-weight: 400;
  font-size: 1em;
  color: #606066;
  margin: 0;
  line-height: 1.8em;
}
a {
  text-decoration: none;
  /*background-color: #EDEDED;*/
}
#logo-link {
  color: #606066;
  text-decoration: none;
}
#alert-text {
  color: #EDEDED;
}
