﻿body {
  font-family: Verdana,'sans serif';
  margin-top: 0;
  margin-left: 0;
  background-color: #E6E6FA;
  font: rgb(10,10,10);
  background-image: url(blue_square2.svg);
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: 25px;
}

nav {
  /*margin: 0 0 auto 0;*/
  background-color: RGB(70, 70, 85);
  height: 50px;
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.19), 0 6px 20px 2px rgba(0, 0, 0, 0.20);
  border-bottom: 1px solid black;
  opacity: 0.9;
}

nav a {
  float: left;
  width: 200px;
  height: 50px;
  text-align: center;
  /*vertical-align: top;*/
  font-size: 1.1em;
  color: white;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.69), 0 3px 10px rgba(0, 0, 0, 0.60);
}

nav a:hover {
  background-color: black;
}

h1 {
  font-family: 'Poiret One', cursive;
  color: white;
  text-align: center;
  margin-top: 80px;
  letter-spacing: 2.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.69), 0 3px 10px rgba(0, 0, 0, 0.60);
}

.one-line {
  padding-top: 10px;
  height: 40px;
}

#tony1 {
  position:fixed;
  right:1px;top:1px;opacity:0.9;
  width: 35px;
  text-align: right;
  border-style:solid;
  border-width: 1px;
  border-radius: 10%;
}

/*
.first-form {
  margin-top: 80px;
} */

form {
  width: 90%;
  margin: 10px auto 10px auto;
  min-height: 180px;
  padding: 5px;
}

input.color-input {
  display: block;
  margin: 20px auto 10px auto;
  width: 80%;
  max-width: 400px;
  white-space: initial;
  height: 25px;
  background-color: #E6E6FA;
  /* background-color: #ffffcc; */
  /* font-weight: bold; */
  text-align: center;
  font-family: Consolas, Courier New, monospace, Palatino, Verdana, 'sans serif';
  font-weight: bold;
}

.boldOutput {
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
}

textarea, #newParagraphOut {
  display: block;
  margin: 20px auto 10px auto;
  width: 80%;
  max-width: 400px;
  height: 250px;
  background-color: #E6E6FA;
  /* background-color: #ffffcc; */
  /* font-weight: bold; */
  text-align: left;
  text-overflow:
  font-size: 0.8em;
  font-family: Consolas, Courier New, monospace, Palatino, Verdana, 'sans serif';
}

/* output {
  display: block;
  margin: 10px auto 10px auto;
  width: 80px;
  height: 30px;
  background-color: white;
  font-weight: bold;
  font-size: 1.3em;
  text-align: center;
  border: solid black 1px;
} */

.button {
  display: block;
  margin: 0 auto 10px auto;
  width: 90%;
  max-width: 120px;
  height: 25px;
  color: white;
  background-color: RGB(80, 80, 95);
  /* background-color: #eeeeee; */
  font-weight: bold;
  text-align: center;
  font-family: Palatino, Verdana, 'sans serif';
  cursor: pointer;
}

.buttonM {
  display: block;
  margin: 0 auto 10px auto;
  width: 90%;
  max-width: 180px;
  height: 25px;
  color: white;
  background-color: RGB(80, 80, 95);
  /* background-color: #eeeeee; */
  font-weight: bold;
  text-align: center;
  font-family: Palatino, Verdana, 'sans serif';
}

.buttonL {
  display: block;
  margin: 0 auto 10px auto;
  width: 90%;
  max-width: 200px;
  height: 25px;
  color: white;
  background-color: RGB(80, 80, 95);
  /* background-color: #eeeeee; */
  font-weight: bold;
  text-align: center;
  font-family: Palatino, Verdana, 'sans serif';
}

.flexbox-model {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  }

.js-challenges {
  width: 60%;
  margin-top: 10px;
  background-color: #BAB6EB;
  box-shadow: 4px 4px 8px -2px rgba(0, 0, 0, 0.39), 6px 6px 20px -2px rgba(0, 0, 0, 0.40);
  /* background-color: #ffccff; */
  /* background: radial-gradient(ellipse farthest-corner at 45px 45px , #BAB6EB 20%, rgba(0, 0, 255, .05) 50%, #BAB6EB 95%); */
}

legend {
  font-weight: bold;
  font-size: 0.9em;
}

label {
  font-size: 0.9em;

}

#newParagraphOut {
  font-size: .8em;
  white-space: initial;
  overflow: hidden;
}

@media (max-width: 1028px) and (min-width: 641px){
    nav {
      height: 100px;
    }
    h1 {
      margin-top: 130px;
    }
    nav a:nth-of-type(4) {
      clear: left;
    }
    .js-challenges {
      width: 80%;
    }
  }

  @media (max-width: 640px) {
    nav {
      height: 90px;
    }
    h1 {
      margin-top: 130px;
    }
    nav a {
      font-size: 0.9em;
      height: 30px;
    }

    nav a:nth-of-type(3) {
      clear: left;
    }
    .js-challenges {
      width: 90%;
    }
  }
