::selection {
  background: #007333;
  color: #fff;
}

html,
body {
  font-family: "Rubik", sans-serif;
  background-color: #e6f1eb;
  height: fit-content;
  padding: 0;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

#homelink:hover {
  color: #fff;
}

.brand {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.TOP a {
  color: #fff;
}

.TOP a:hover {
  color: #80ffb7;
}

.TOP #TITLE {
  margin-top: 15px;
  text-transform: uppercase;
  float: right;
}

#LINKS {
  position: relative;
  margin: 10px;
  bottom: 0;
  text-transform: uppercase;
}

#sel {
  font-weight: bold;
}

#sel:hover {
  color: #fff;
  font-weight: bold;
  cursor: default;
}

.TOP {
  background-color: #007333;
  width: 100%;
  color: #fff;
  -webkit-box-shadow: 0px 1px 41px -10px #000000;
  -moz-box-shadow: 0px 1px 41px -10px #000000;
  -o-box-shadow: 0px 1px 41px -10px #000000;
  box-shadow: 0px 1px 41px -10px #000000;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 999;
}

.main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 150px auto;

}

h1 {
  line-height: 10px;
}

h2 {
  font-size: 30px;
  text-align: center;
}

.main h2 {
  animation: 0.5s ease 0s forwards text-apear;
}

table, td {
  padding: 20px;
}

input[type="text"], textarea {
  font-size: 20px;
  padding: 5px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #007333;
}

textarea {
  resize: none;
  width: 100%;
}

input[type="submit"] {
  font-size: 20px;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1px solid #007333;
  background-color: #007333;
  color: #fff;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #003317 ;
}

.opz {
  opacity: 0.5;
}

.line {
  height: 5px;
  margin: auto;
  margin-bottom: 20px;
  width: 0%;
  border-radius: 5px;
  background-color: #007333;
  animation: 1s ease 0.7s forwards line;
}

iframe {
  width: 100vw;
  opacity: 0;
  animation: 2s ease 1.5s forwards text-apear;
}

.BOTTOM a {
  color: #fff;
}

.BOTTOM a:hover {
  color: #80ffb7;
}

.contact {
  float: left;
}

.aff {
  float: right;
  text-align: right;
}

.contact .left {
  float: left;
  margin-right: 20px;
}

.contact .right {
  float: left;
}

@keyframes text-apear {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes line {
  0% {
    width: 0;
  }

  100% {
    width: 50%;
  }
}

@media only screen and (max-device-width: 800px) {
  /* PHONE */
  body {
    font-size: 40px;
  }

  .TOP {
    height: 150px;
  }

  .TOP img {
    height: 100px;
    width: auto;
  }

  iframe {
    height: 1400px;
  }
  .main {
    overflow: hidden;
  }
  #TITLE {
    font-size: 60px;
  }

  .brand {
    transform: translateY(-20px);
  }

  #LINKS {
    transform: translateY(-60px);
  }

  .main h2 {
    margin: 200px 100px 50px 100px;
  }

  .BOTTOM {
    text-align: center;
    color: #fff;
    background-color: #007333;
    padding: 20px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    width: 100vw;
    -webkit-box-shadow: 0px 1px 41px -10px #000000;
    -moz-box-shadow: 0px 1px 41px -10px #000000;
    -o-box-shadow: 0px 1px 41px -10px #000000;
    box-shadow: 0px 1px 41px -10px #000000;
  }

  .BOTTOM {
    font-size: 20px;
  }

  .aff {
    margin-right: 60px;
  }
}

@media only screen and (min-device-width: 800px) {
  /* PC */
  iframe {
    
  height: 1400px;
  }
  body {
    font-size: 20px;
  }

  .TOP {
    height: 100px;
  }

  #TITLE {
    font-size: 40px;
  }

  .main h2 {
    margin-top: 50px;
  }

  .BOTTOM {
    width: 100%;
    color: #fff;
    background-color: #007333;
    padding: 20px;
    overflow: hidden;
    bottom: 0;
    width: 100vw;
    -webkit-box-shadow: 0px 1px 41px -10px #000000;
    -moz-box-shadow: 0px 1px 41px -10px #000000;
    -o-box-shadow: 0px 1px 41px -10px #000000;
    box-shadow: 0px 1px 41px -10px #000000;
  }

  .aff {
    margin-right: 50px;
  }

  #LINKS {
    transform: translateY(-40px);
  }
}
