body, html {
  height: 100%;
  margin: 0;
  font-size: 20px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.4em;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

#refresher   {
  display: none;
}

.arrowSpan {
  color: #29a329;
  font-size: 1.5em;
  font-weight: bold;
}

.arrows   {
  width: 4em;
  height: 4em;
  margin-bottom: 1em;
  user-select: none;
}

#theCaption {
  color: black;
  font-family: serif;
  font-size: 1.1em;
  text-align: left;
  user-select: none;
}

#tit {
  color: #e60000;
  margin-top: 1em;
  display: block;
  font-size: 1.4em;
  font-weight: bold;
}

.theTitles {
  user-select: none;
}

#hhlink {
  color: #f00000;
  font-size: 1.2em;
}

#theSlides {
  user-select: none;
}

#first, #second, #third {
   border: 3px solid #b35900;
   vertical-align: middle;
   padding: 0px 15px;
   background-color: #f3f300;
   border-radius: 1.3em;
   font-size: 0.8em;
   padding-top: 0.6em;
}

#first:hover, #second:hover, #third:hover {
   background-color: white;
}

#headerByline {
  font-size: 1.2em;
}

#videoP {
  width: 50%;
}

.pimg1, .pimg2, .pimg3 {
  position: relative;
  opacity: 0.90;
  background-position: center;
  object-fit: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  max-width: 100%;
}

.linkker {
  color: #ffff00;
  text-decoration: underline;
  font-size: 1.1em;
}

.linkker:hover {
  color: #ffffff;
  text-decoration: none;
}

.flagNames {
  text-decoration: none;
  color: black;
  display: block;
  margin: 0;
  margin-top: -0.3em;
}

#statsIframe {
  float: right;
  margin: 2em;
  width: 40%;
  height: 15em;
  background-color: #eeeeee;
  margin-top: 1.3em;
  border-radius: 15px;
  overflow: scroll;
}

.languageSelect {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  width: 98%;
  justify-content: center;
  margin-top: 0.5em;
}

.languageSelect > div {
  margin: 10px;
  text-align: center;
}

.indented {
  margin-left: 20px;
  margin-top: -10px;
}

.indented2 {
  margin-left: 40px;
  margin-top: -20px;
}

.bottomLinks:hover {
  color: white;
}

a {
  color: #00ffff;
}

a:hover {
  color: #e80000;
  text-decoration: underline;
}

.littleLetters {
  margin: 0;
  padding: 0;
  margin-top: 0.5em;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: none;
  font-weight: bold;
  display: block;
  line-height: 20%;
}

.arlittleLetters {
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: none;
  font-weight: bold;
}

.littleflags   {
   margin: 4px auto;
   padding: 0;
   margin-top: 5px;
   width: 3em;
   border: none;
}

.pimg1 {
  background-image: url('img/header2.png');
  width: 98%;
  max-height: 200px;
}

#videoFrame {
  border-radius: 15px;
  margin-bottom: 1.2em;
}

.section {
  text-align: left;
  padding: 20px 80px;
}

.section-dark {
  background-color: #282e34;
  color: #ddd;
}

#hiPoints {
  list-style-type: none;
  font-family: serif;
  font-weight: normal;
  color: #0000cc;
  font-size: 1.2em;
  margin-top: -0.15em;
  margin-left: -2em;
}

#hiPoints > li{
  padding-bottom: 0.2em;
}

.redSun {
  color:#e30000;
}

#mainMenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  column-gap: 10px;
  margin-top: 0.8em;
  width: min(960px, 95%);
}

#mainMenu > a {
  color: #007700;
  text-decoration: none;
  font-family: serif;
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 0.3em;
}

#mainMenu > a:hover {
  color: red;
  text-decoration: underline;
}


.ptext {
  position: absolute;
  top: 50%;
  width: 98%;
  text-align: center;
  color: black;
  font-size: 1.5em;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: bold;
  font-family: "Lato", sans-serif;
}

.ptext .border {
  background-color: red;
  color: #fff;
  padding: 20px;
  line-height: 1.6em;
}

.pimg1 .ptext, .pimg2 .ptext, .pimg3 .ptext {
  top: 75%;
}

#languageSelect {
  margin-bottom: 20px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 1.0);
}

.menuItem {
  color: #0000b8;
  text-decoration: none;
  font-size: larger;
}

.dropbtn {
    background-color: #f2f2ff;
    color: #4444ff;
    padding: 2px 4px;
    font-size: 1.2em;
    border: 2px solid #4444ff;
    cursor: pointer;
    margin-bottom: -4px;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 200px;
    box-shadow: 0px 8px 16px
      0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: left;
  }

  .dropdown-content a {
    color: black;
    padding: 6px 16px;
    text-decoration: none;
    display: block;
    font-size: 1.0em;
  }

  .dropdown-content a:hover {
    background-color: #f1f1f1
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown:hover .dropbtn {
    background-color: #ffffe6;
  }

h1 {
  color: yellow;
  text-align: center;
  display: block;
  margin-top: -148px;
  margin-bottom: 60px;
  font-size: 3.0em;
  font-weight: 900;
  text-shadow: -1px -1px 0 #000,	1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

h2 {
  line-height: 110%;
  color:#0000ee;
  text-align: center;
  margin-top: -100px;

}

h3 {
  color: white;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 2.5em;
  letter-spacing: .1em;
  text-shadow: -1px -1px 0 #000,	1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  color: yellow;
}

button {
  font-size: 24px;
  margin-bottom: 10px;
  border-radius: 10px;
  background-color: #efe;
}

.plusser {
  background-color: #eef;
}

#settingsImg {
  margin-bottom: 15px;
  width: min(785px, 90%);
  filter: brightness(90%);
  border-radius: 15px;
  margin-left: 0;
}

#thirdBG {
  width: min(985px, 98%);
  height: auto;
}

#problemsID {
  display: block;
  margin-top: -150px;
  margin-bottom: 113px;
}

#bottomName {
  color: #f90;
  font-size: 1.6em;
}

@media only screen and (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .dropbtn {
      margin-top: -4px;
      font-size: 1.1em;
  }

  #hhlink {
    font-size: 1.1em;
  }

  #topBG, #secondBG  {
    object-fit: none;
    height: 200px;

  }

  h1 {
    margin-top: -142px;
    margin-bottom: 75px;
  }

  button {
    margin-top: 10px;
    font-size: 26px;
  }

  .pimg2   {
    margin-top: 50px;
  }

  #statsIframe {
    float: none;
    margin: auto;
    margin-bottom: 2em;
    width: 90%;
    height: 15em;
    background-color: #eeeeee;
    margin-top: 1.3em;
    margin-left: 1.5em;
  }
}

@media only screen and (max-width: 825px) {
  body {
    font-size: 16px;
  }

  h1 {
    margin-top: -120px;
    margin-bottom: 50px;
    font-size: 2.2em;
  }

  h2 {
    margin-top: -80px;
  }

  #videoFrame {
    width: 480px;
    margin-top: -10px;
  }

  button {
    margin-top: 10px;
    font-size: 26px;
  }

  #bottomName {
    color: #f90;
    font-size: 1.2em;
  }

  #statsIframe {
    float: none;
    margin: auto;
    margin-top: 1.8em;
    margin-bottom: 2em;
    width: 90%;
    height: 15em;
    background-color: #eeeeee;
    margin-top: 1.3em;
  }

  .arlittleLetters {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    font-weight: bold;
  }

  .dropbtn {
      margin-top: -4px;
      font-size: 1.1em;
  }

}

@media only screen and (max-width: 700px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2em;
  }

  .menuItem {
    font-size: 1em;;
  }

  #headerByline {
    font-size: 1.0em;
  }

  #hhlink {
    font-size: 1.0em;
  }

  #copyrightDiv {
    margin-top: -50px;
  }

  .indented {
    margin-left: 0;
    margin-top: -10px;
  }

  .indented2 {
    margin-left: 15px;
    margin-top: -20px;
  }

  .arlittleLetters {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    font-weight: normal;
    margin-top: -0.3em;
  }

  #bottomName {
    color: #f90;
    font-size: 1.1em;
  }

  #videoFrame {
    width: 320px;
    margin-top: 10px;
  }

  .section {
    text-align: left;
    padding: 30px 30px;
    width: 90%;
  }

  h1 {
    margin-top: -120px;
    margin-bottom: 55px;
    font-size: 2em;
  }

  h2 {
    margin-top: -70px;
  }

  h3 {
    font-size: 1.7em;
  }

  #problemsID {
    margin-top: -103px;
  }

  #bottomSec {
    margin-top: -35px;
    margin-bottom: 50px;
  }

  button {
    margin-top: 10px;
    font-size: 20px;
  }

  #middleTable {
    font-size: 1.0em;
    padding-left: 3px;
    padding-right: 3px;
    margin-left: 2px;
    margin-right: 2px;
  }

  #playStoreButtons {
    background: black;
  }

  .littleflags   {
    margin: 4px auto;
    padding: 0;
     margin-top: 2px;
     width: 2.2em;
     padding-right: 2px;
  }

  .littleLetters {
    padding: 0;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    font-weight: normal;
  }

  #statsIframe {
    float: none;
    margin: auto;
    margin-top: 1.8em;
    margin-bottom: 2em;
    width: 90%;
    height: 15em;
    background-color: #eeeeee;
    margin-top: 1.3em;
  }

}
