/* ------------- FONTS ------------- */

@font-face {
  font-family: "test";
  src: url("test.woff") format("woff");
}

/* ------------- STARTER ------------- */

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #16161e;
  color: white;
}

/* ------------- TRANSITIONS AND SHADOWS ------------- */

a,
a:visited,
a:hover,
.box .box-container:hover,
.box .box-container {
  -webkit-transition: all 150ms ease-in-out;
  -moz-transition: all 150ms ease-in-out;
  -ms-transition: all 150ms ease-in-out;
  -o-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}

.box .box-container:hover {
  -webkit-box-shadow: 4px 4px 15px -5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 4px 15px -5px rgba(0, 0, 0, 0.75);
  box-shadow: 4px 4px 15px -5px rgba(0, 0, 0, 0.75);
}

.box .box-container {
  -webkit-box-shadow: 4px 4px 15px -5px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 4px 4px 15px -5px rgba(0, 0, 0, 0.25);
  box-shadow: 4px 4px 15px -5px rgba(0, 0, 0, 0.25);
}

/* ------------- CONTAINER STYLING ------------- */

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  margin-top: -50px;
  background: rgb(22, 22, 30);
  background: linear-gradient(
    0deg,
    rgba(22, 22, 30, 1) 0%,
    rgba(26, 27, 38, 1) 100%
  );
}

/* ------------- LINK STYLING ------------- */

a,
a:visited {
  color: #a9b1d6;
}

a:hover {
  color: #7aa2f7;
}

a,
a:visited,
a:hover {
  text-decoration: none;
}

.box .box-container .link {
  font-family: "test";
  font-size: 28px;
  padding: 10px 0px 10px 15px;
  text-align: left;
}

/* ------------- TIME STYLING ------------- */

.container .time {
  font-family: "test";
  font-size: 160px;
  margin-bottom: 80px;
}

/* ------------- BOX STYLING ------------- */

.box {
  width: auto;
  max-width: 950px;
  z-index: 1001;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 50px;
  column-gap: 50px;
}

.box .box-container {
  background-color: #23283d;
  width: 200px;
  height: 252px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-content: center;
}

/* .box .box-container:not(:last-child) {
  margin-right: 50px;
} */

.box .box-container .heading {
  margin: 25px 0 9px 15px;
  font-family: "test";
  font-size: 33px;
  text-align: left;
}

/* ------------- MODE TOGGLE STYLING ------------- */
.mode-toggle {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: "test";
  font-size: 20px;
  color: #a9b1d6;
  cursor: pointer;
  z-index: 1002;
  padding: 5px 10px;
  background-color: #23283d;
  border-radius: 5px;
  transition: all 150ms ease-in-out;
}

.mode-toggle:hover {
  color: #7aa2f7;
  box-shadow: 4px 4px 15px -5px rgba(0, 0, 0, 0.75);
}

/* Clase para ocultar el contenedor de Entertainment */
.work-mode .box-container:nth-child(1) {
  display: none;
}

/* ------------- WAVE ANIMATION ------------- */

.wave-container .wave {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("wave.svg");
  background-size: 990px 100px;
  background-repeat: repeat-x;
}

.wave-container .wave.wave1 {
  animation: animate 30s linear infinite;
  z-index: 1000;
  opacity: 1;
  animation-delay: 0s;
  bottom: 0;
}

.wave-container .wave.wave2 {
  animation: animate2 15s linear infinite;
  z-index: 999;
  opacity: 0.5;
  animation-delay: -5s;
  bottom: 10px;
}

.wave-container .wave.wave3 {
  animation: animate 30s linear infinite;
  z-index: 998;
  opacity: 0.2;
  animation-delay: -2s;
  bottom: 15px;
}

.wave-container .wave.wave4 {
  animation: animate2 5s linear infinite;
  z-index: 997;
  opacity: 0.7;
  animation-delay: -5s;
  bottom: 20px;
}

@keyframes animate {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 990px;
  }
}

@keyframes animate2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -990px;
  }
}

/* ------------- MEDIA QUERY ------------- */

@media only screen and (max-width: 985px) {
  .box {
    width: auto;
    max-width: 450px;
  }
}
