@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;
}

.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;
}

.main h1 {
  text-align: center;
  text-transform: uppercase;
  animation: 0.7s ease 0s forwards text-apear;
}

video {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #00000030;
  border-radius: 10px;
  padding: 20px;
  transform: scale(0);
  animation: 2s ease 0.7s tv forwards;
  cursor: pointer;
}

.controls {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  width: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  border: 1px solid #00000030;
  background-color: #00000010;
  border-radius: 10px;
  animation: 0.5s ease 2.7s forwards ctrls;
}

.box span {
  margin-top: 4px;
  font-size: 30px;
}

button {
  background-color:  var(--main-color);
  font-size: 20px;
  padding: 10px;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.playing {
  background-color:  var(--darker-color);
  cursor: not-allowed;
}

.playing:hover {
  background-color:  var(--darker-color);
}

.playing:focus {
  background-color:  var(--darker-color);
}

button:hover {
  background-color:  var(--lessdarker-color);
}

button:focus {
  background-color:  var(--main-color);
  box-shadow: inset 0 0 10px #000;
}

.others {
  padding: 10px;
  text-align: center;
  opacity: 0;
  animation: 0.5s ease 3.2s forwards text-apear;
}

.others a {
  color:  var(--main-color);
  margin: 25px;
}

.others a:hover {
  color:  var(--light-color);
}

#precur {
  color:  var(--main-color);
}

.main {
  margin-top: 150px;
  width: 100%;
  margin-bottom: 100px;
}

.main h2 {
  opacity: 0;
  animation: 0.5s ease 0.2s forwards text-apear;
}

section footer {
  margin-top: 50px;
  text-align: center;
  opacity: 0;
}

.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 apear {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tv {
  0% {
    transform: scalex(0) scaleY(0.005);
  }

  50% {
    transform: scalex(1) scaleY(0.005);
  }

  100% {
    transform: scalex(1) scaleY(1);
  }
}

@keyframes ctrls {
  0% {
    width: 0;
    opacity: 1;
    padding: 0;
  }

  100% {
    width: 200px;
    opacity: 1;
    padding: 10px;
  }
}

@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);
  }

  .main {
    margin-top: 300px;
    height: 100vh;
  }

  video {
    width: 80%;
  }

  .aff {
    margin-right: 60px;
  }

  .BOTTOM {
    text-align: center;
    color: #fff;
    background-color:  var(--main-color);
    padding: 20px;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    width: 100%;
    -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;
  }

  .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);
  }

  video {
    width: 50%;
  }
}
