* {
  box-sizing: border-box;
}

/**********************
      header
***********************/
header {
  width: 100%;
}

.fa-bars:before {
  display: none;
}

header nav {
  margin-left: 200px;
  margin-bottom: 10px;
}

header nav a {
  text-decoration: none;
  color: DimGray;
  font-size: 18px;
  font-family: arial, sans-serif;
  padding-right: 105px;
}

header button {
  padding: 8px 25px;
  background-color: DarkSlateGray;
  color: white;
}

/**********************
         first block
***********************/
.main {
  width: 100%;
  background-color: WhiteSmoke;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.one {
  margin-left: 5%;
}

.one img {
  width: 14%;
  margin-left: 35%;
}

.one span {
  color: grey;
  font-family: arial, sans-serif;
}

.one form {
  margin-top: 10px;
}

.one input {
  width: 33%;
  padding-top: 5px;
  border-style: none;
  border-radius: 5%;
  border: .1em solid lightsteelblue;
}

.one button {
  width: 10%;
  padding-top: 5px;
  background-color: LightSteelBlue;
  border-style: none;
  border-radius: 5%;
  border: .1em solid lightsteelblue;
}

.two {
  text-align: center;
}

.two img {
  width: 30%;
  text-align: center;
}

/**********************
         second block
***********************/
h1 {
  text-align: center;
  font-size: 20px;
  font-weight: 100;
  font-family: arial, sans-serif;
}

.jwli {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 100px;
}

.jwli span {
  border-top: .1em solid pink;
  font-weight: bold;
  font-family: arial, sans-serif;
}

.jwlione {
  text-align: center;
  font-size: 16px;
  font-weight: 100;
  font-family: arial, sans-serif;
  font-style: italic;
  color: rgb(115, 152, 198);
  margin: 35px 0 47px 0;
}

/**********************
         third block
***********************/
.third {
  width: 100%;
  background-color: WhiteSmoke;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.japan {
  margin: 5%;
}

.japan h1 {
  text-align: left;
  font-size: 20px;
  font-family: arial, sans-serif;
}

.japan p {
  font-size: 18px;
  text-align: left;
  font-family: arial, sans-serif;
  font-weight: 100;
  line-height: 2em;
}

.tokyo {
  margin: 10%;
}

.tokyo img {
  padding-bottom: 30px;
  padding-left: 50px;
}

.tokyo p {
  color: grey;
  text-align: center;
  font-family: arial, sans-serif;
}

/**********************
         4th block
***********************/
.who {
  margin-top: 5%;
}

.who h1 {
  text-align: center;
  font-family: arial, sans-serif;
}

.atsuko {
  width: 100%;
  border: .1em solid silver;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.toko {
  margin: 10%;
}

.fish {
  margin: 3%;
}

.fish h1 {
  text-align: left;
  font-size: 18px;
  font-family: arial, sans-serif;
  font-weight: bold;
}

.fish p {
  font-size: 18px;
  text-align: left;
  font-family: arial, sans-serif;
  font-weight: 100;
  line-height: 2em;
}

/**********************
         5th block
***********************/
.foundation {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2%;
}

.foundation h1 {
  text-align: left;
  color: grey;
  font-size: 20px;
}

.foundation p {
  text-align: left;
  font-family: arial, sans-serif;
  font-size: 18px;
  padding-right: 8%;
}

/**********************
         footer
***********************/
footer {
  width: 100%;
  display: grid;
  margin-top: 2%;
}

.news {
  background-color: LightSteelBlue;
  height: 80px;
  display: inline-block;
}

.news p {
  color: white;
  float: left;
  margin: 2% 6% 0 8%;
}

.news form {
  float: left;
  margin-top: 2%;
  margin-left: 12%;
}

.news input {
  padding-right: 120px;
  border-style: none;
  border-radius: 5%;
  border: .1em solid lightslategrey;
}

.news button {
  padding-right: 20px;
  background-color: CornflowerBlue;
  border-style: none;
  border-radius: 5%;
  border: .1em solid lightslategrey;
  color: white;
}

.links {
  background-color: CornflowerBlue;
}

.linksone {
  margin-top: 2%;
  color: white;
  font-size: 16px;
  border-bottom: .1em solid white;
  margin-left: 8%;
  margin-right: 15%;
}

.linksone a {
  text-decoration: none;
  color: white;
  margin-left: 7%;
}

.linksone span+a {
  margin-left: 35%;
}

.linkstwo {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  margin-top: 2%;
  margin-left: 8%;
  padding-right: 14%;
}

.linkstwo a {
  text-decoration: none;
  color: white;
}

.linkstwo li {
  list-style: none;
}

.linkstwo ul {
  color: white;
  padding-left: 0;
}

/* *****************
      MEDIA Q
*******************/
@media screen and (max-width: 500px) {
  .fa-bars:before {
    display: block;
    color: lightslategrey;
    margin: 50%;
  }

  nav {
    display: none;
  }

  .main {
    display: block;
    height: 350px;
  }

  .one {
    margin-left: 5%;
  }

  .one h1 {
    font-size: 22px;
  }

  .one p {
    text-align: center;
    font-size: 18px;
    margin-right: 3px;
  }

  .one img {
    width: 37%;
    margin-left: 30%;
  }

  .one form {
    margin-top: 18px;
    margin-bottom: 10px;
  }

  .one input {
    width: 65%;
  }

  .one button {
    width: 24%;
  }

  .two img {
    display: none;
  }

  #frog {
    font-size: 20px;
  }
.jwli{
  display: none;
}
  .third {
    display: block;
  }

  .japan h1 {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    padding-top: 5%;
  }

  .japan p {
    display: none;
  }

  .tokyo img {
    width: 100%;
    padding: 0;
  }

  .tokyo p {
    padding-bottom: 2%;
  }

  .who h1 {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    padding-top: 5%;
  }

  .atsuko {
    display: block;
  }

  .fish span {
    display: none;
  }

  .fish p {
    text-align: center;
  }

  .toko img {
    width: 100%;
    margin: 0;
  }

  .foundation {
    display: block;
    margin-left: 3%;
  }

  .foundation h1 {
    text-align: center;
  }

  .foundation span {
    display: none;
  }

  .news {
    display: none;
  }

  .linksone {
    display: none;
  }

  footer {
    display: block;
  }

  .linkstwo {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .linkstwo {
    text-align: center;
  }

  .a {
    display: none;
  }
}

@media (min-width: 501px) and (max-width: 1447px) {

  nav {
    display: inline-block;
  }
  header button{
    display: none;
  }
  header nav {
    margin:15px 0 10px 100px;
  }

  header nav a {
    font-size: 18px;
    padding-right: 100px;
  }

  .main {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .one {
    margin-left: 5%;
  }

  .one h1 {
    font-size: 22px;
  }

  .one p {
    text-align: center;
    font-size: 18px;
    margin-right: 3px;
  }

  .one img {
    width: 37%;
    margin-left: 30%;
  }

  .one form {
    margin-top: 18px;
    margin-bottom: 10px;
  }

  .one input {
    width: 65%;
  }

  .one button {
    width: 24%;
  }

  .two img {
    width: 50%;
    text-align: center;
  }

  #frog {
    font-size: 20px;
  }

  .jwli {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: 100px;
  }

  .jwlione {
    margin: 20px 10px;
  }

  .third {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .japan h1 {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    padding-top: 5%;
  }


  .tokyo img {
    width: 100%;
    padding: 0;
  }

  .tokyo p {
    padding-bottom: 2%;
  }

  .atsuko {
    width: 100%;
    border: .1em solid silver;
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .toko img {
    width: 100%;
    margin: 0;
  }

  .foundation {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 2%;
  }

  .foundation h1 {
    text-align: left;
    font-size: 20px;
    padding-left: 4%;
  }

  .foundation p {
    text-align: left;
    font-size: 18px;
    padding-right: 8%;
    padding-left: 4%;
  }
  .linksone span+a {
    margin-left: 12%;
  }

}
