/* === normalize.css defaults === */
html, button, input, select, textarea {
  color: #222;
}
body {
  font-size: 1em;
  line-height: 1.4;
}
a {
  color: #666666;
  text-decoration: none;
}
a:hover {
  color: #222222;
}

/* === main.css === */
html {
  height: 100%;
  color-scheme: light dark;
}
body, html {
  width: 100%;
  padding: 0;
  margin: 0;
}
body {
  padding-top: 40px;
  padding-bottom: 20px;
}
.lingojam-logo-text {
  color: white;
}
.lingojam-logo-text span {
  color: #b93d3d;
}

/* === translator.css === */
.main-title {
  margin-top: 10px;
}
.main-title h1 {
  font-family: 'Myriad Pro', Verdana, Arial, Helvetica, sans-serif;
  font-size: 70px;
  font-size: 3.5vw;
  text-transform: uppercase;
  color: #FFF;
  letter-spacing: 5px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  text-shadow:
    1px 1px 0 #CCC,
    2px 2px 0 #CCC,
    3px 3px 0 #444,
    4px 4px 0 #444,
    5px 5px 0 #444,
    6px 6px 0 #444,
    5px 5px 15px #999;
}
.main-title .subtitle {
  text-align: center;
  font-family: Georgia, Arial, Sans Serif;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  color: #555555;
  margin-top: 15px;
}
.translate-container {
  margin-top: 20px;
  height: auto;
}
#ghetto-text, #english-text {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30%;
  background-image: none;
}
.box-shadow-1 {
  border: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border-radius: 2px;
}
.halving-div-left {
  width: 50%;
  display: inline;
  float: left;
}
.halving-div-right {
  width: 50%;
  display: inline;
  float: right;
}
.between-halving-divs {
  width: 0;
}
.translate-container .transdiv {
  background-color: #ffffff;
  padding: 0;
  height: 400px;
}
.translate-container .english {
  margin-left: 20px;
  margin-right: 10px;
}
.translate-container .ghetto {
  margin-left: 10px;
  margin-right: 20px;
}
.translate-container textarea {
  width: 100%;
  height: 100%;
  border: none;
  resize: none;
  outline: none;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 2px;
  font-size: 24px;
  font-family: 'Noto Sans', sans-serif;
}
.white-section-area-thing {
  width: 800px;
  max-width: 95%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  padding: 20px;
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
.intro .intro-p {
  font-family: 'Noto Sans', sans-serif;
  margin: 0;
  margin-bottom: 20px;
}
.intro a {
  color: #00a3e1;
}
.intro h1, .intro h2, .intro h3, .intro h4, .intro h5, .intro h6 {
  text-align: center;
}
.intro h2 {
  margin-top: 1.5em;
}
.intro > *:first-child {
  margin-top: 0;
}

/* === Dark Mode === */
@media (prefers-color-scheme: dark) {
  body {
    background: black;
    color: #d7d7d7;
  }
  .translate-container textarea {
    background: #1d1d1d !important;
    color: #d7d7d7;
  }
  .white-section-area-thing {
    background: #1d1d1d;
  }
  html, button, input, select, textarea {
    color: #d7d7d7;
  }
  .main-title h1 {
    filter: brightness(0.8);
  }
  .translate-container .transdiv {
    background: #1d1d1d !important;
  }
  .lingojam-logo-text {
    color: #d0d0d0;
  }
  a {
    color: #88c8e8;
  }
  a:hover {
    color: #aad4f0;
  }
}

/* === Responsive === */
@media screen and (max-width: 768px) {
  .halving-div-left {
    width: 95%;
    float: none;
    display: block;
    height: 200px;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  .halving-div-right {
    width: 95%;
    float: none;
    display: block;
    height: 200px;
    margin: 0 auto;
    margin-top: 10px;
  }
  .translate-container .transdiv {
    height: 200px;
  }
  .translate-container .ghetto {
    margin: 0;
  }
  .translate-container .english {
    margin: 0;
  }
  .translate-container {
    margin-bottom: 20px;
  }
  .intro {
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 20px;
    width: 95%;
  }
}
@media screen and (max-width: 500px) {
  .white-section-area-thing {
    padding: 10px;
  }
  .translate-container textarea {
    padding: 10px;
    font-size: 18px;
  }
}
