@import url("conf.css");


::selection {
  background:  var(--main-color);
  color: #fff;
}

html,
body {
  font-family: "Rubik", sans-serif;
  background-color: #e6f1eb;
  height: 100%;
  padding: 0;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

#homelink:hover {
  color: #fff;
}

 ul {
  list-style-type: "✓ ";
}

li {
  padding-bottom: 10px;
}

.brand {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.TOP a {
  color: #fff;
}

.TOP a:hover {
  color:  var(--light-color);
}

.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:  var(--main-color);
  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;
}

section {
  opacity: 0;
}

.s1 {
  animation: 0.5s ease 0.2s forwards apear;
}

.s2 {
  animation: 0.5s ease 0.4s forwards apear;
}

.s3 {
  animation: 0.5s ease 0.6s forwards apear;
}

.s1 header {
  animation: 0.7s ease .7s forwards line;
}

.s2 header {
  animation: 0.7s ease .9s forwards line;
}

.s3 header {
  animation: 0.7s ease 1.2s forwards line;
}

.s1 article {
  animation: 1s ease 1.3s forwards text-apear;
}

.s2 article {
  animation: 1s ease 1.5s forwards text-apear;
}

.s3 article {
  animation: 1s ease 1.7s forwards text-apear;
}

.s1 footer {
  animation: 1s ease 1.9s forwards imgs;
}

.s2 footer {
  animation: 1s ease 2.1s forwards imgs;
}

.s3 footer {
  animation: 1s ease 2.3s forwards imgs;
}

section header {
  color:  var(--main-color);
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: solid 2px;
  width: 0;
  white-space: nowrap;
}

.main {
  text-align: justify;
  margin-top: 150px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.BOTTOM a {
  color: #fff;
}

.BOTTOM a:hover {
  color:  var(--light-color);
}

.contact {
  float: left;
}

.aff {
  float: right;
  text-align: right;
  margin-right: 20px;
}

.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: 100%;
  }
}

@keyframes apear {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes imgs {
  0% {
    opacity: 0;
    transform: scale(.7);
  }

  100% {
    opacity: 1;
    transform: translateX(1);
  }
}

@media only screen and (max-device-width: 800px) {
  /* PHONE */
  body {
    font-size: 40px;
  }

  .TOP {
    height: 150px;
  }

  .TOP img {
    height: 100px;
    width: auto;
  }

  #TITLE {
    font-size: 60px;
  }

  .brand {
    transform: translateY(-20px);
  }

  #LINKS {
    transform: translateY(-60px);
  }

  section header {
    font-size: 50px;
  }

  section {
    margin: 40px;
    width: 80%;
    opacity: 0;
  }

  section article {
    font-size: 30px;
    margin-top: 20px;
    opacity: 0;
  }

  section footer {
    text-align: center;
    opacity: 0;
  }
  section img {
    max-width: 90%;
    border-radius: 20px;
  }

  .line {
    visibility: hidden;
  }

  img {
    max-width: 80%;
  }

  .BOTTOM {
    text-align: center;
    color: #fff;
    background-color:  var(--main-color);
    padding: 20px;
    overflow: hidden;
    position: relative;
    width: 100wv;
    -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;
  }
}

@media only screen and (min-device-width: 800px) {
  /* PC */
  body {
    font-size: 20px;
  }

  .TOP {
    height: 100px;
  }

  #TITLE {
    font-size: 40px;
  }

  section {
    float: left;
    width: calc(33vw - 85px);
    padding: 20px;
    margin: 20px;
    height: 100%;
  }
  
section article {
  height: 450px;
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 10px;
  opacity: 0;
}


  section header {
    font-size: 30px;
  }

  section footer {
    display: flex;
    height: 400px;
    margin-bottom: 50px;
    justify-content: center;
    align-items: end;
    text-align: center;

    opacity: 0;
  }

  section img {
    
    max-width: 90%;
    border-radius: 20px;
  }

  .line {
    height: 100%;
    width: 1px;
    margin-top: 40px;
    margin-bottom: 40px;
    background-color: black;
    float: left;
  }

  img {
    max-width: 90%;
  }

  .BOTTOM {
    color: #fff;
    background-color:  var(--main-color);
    padding: 20px;
    overflow: hidden;
    position: relative;
    width: 100wv;
    -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;
  }

  #LINKS {
    transform: translateY(-40px);
  }
}
