@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  margin: 0;
  padding: 0;
  background-color: rgb(122, 166, 247);
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
}

.box {
    background-color: #dbd0bf;
    /* display: grid; */
    justify-content: center;
    align-items: center; 
    color: #5c5955;
    padding: 0.5rem;
    margin: 0 5rem;
    box-shadow: 20px 20px 100px 2rem;
    position: relative;
}

.container .row {
  box-shadow: 0px 0px 15px #7c7a7a;
  border-radius: 15px;
}

.container .col {
  text-align: center;
  font-size: small;
  color: rgb(9, 9, 88);
  background-color: #ebe4de;
}

.container img {
  max-height: fit-content;
}
.switch {
  width: 60px;
  height: 30px;
  border-radius: 15px;
  background-color: rgb(65, 65, 65);
  transition: 0.3s;
  position: relative;
}

.flicker {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: rgb(211, 210, 210);
  position: absolute;
  top: 5px;
  left: 5px;
  transition: 0.3s;
  box-shadow: inset -4px -4px 4px rgba(104, 104, 104, 0.9);
}

.dark {
  background-color: rgb(57, 57, 57);
  transition: 0.3s;
}

.half-moon {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  top: 5px;
  left: 35px;
  box-shadow: inset -4px -4px 0 0 rgba(255, 255, 255, 0.9);
  position: absolute;
}

.dark .flicker {
  transform: translateX(30px);
}

.dark > * {
  color: rgb(255, 255, 255);
}

.main {
  height: 80%;
  margin: 0;
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: rgb(202, 201, 201);
}

.main a {
  color: rgb(108, 66, 130);
  text-decoration: none;
}

.dark .main {
  background-color: rgb(51, 51, 53);
}

.square {
  width: 48%;
  margin: 1%;
  height: 250px;
  text-align: center;
  background-color: rgb(255, 255, 255);
  border-color: rgb(29, 28, 28);
  border-style: solid;
  border-radius: 3%;
}

.square h2 {
  margin: 50px 0 10px 0;
}

.visit {
  align-content: center;
  font-size: 15px;
  background-color: rgb(208, 209, 209);
  opacity: 0.8;
}

.dark .square {
  background-color: rgb(32, 32, 32);
}

.sub-section {
  display: flex;
  flex-wrap: wrap;
  border-color: rgb(65, 65, 65);
  background-color: rgb(117, 114, 114);
}

.sub-section a {
  color: rgb(67, 39, 81);
  text-decoration: none;
}

.dark .sub-section {
  background-color: rgb(82, 55, 76);
}

a {
  color: rgb(101, 39, 133);
  text-decoration: none;
}

.dark a {
  color: rgb(131, 87, 153);
}

#funanzi {
  background-image: url("images/videos/Funanzi.mp4");
  background-size: cover;
}

#val_hotel {
  background-image: url("images/videos/val_hotel.mp4");
  background-size: cover;
}

.cube_image {
  position: relative;
  width: 50%;
  height: 350px;
  display: block;
}

.cube {
  position: absolute;
  width: 80px;
  height: 80px;
  transform: rotate(-25deg) skew(25deg);
}

.cube::before {
  position: absolute;
  content: "";
  width: 21px;
  height: 100%;
  transform: skewY(-45deg);
  left: -20px;
  bottom: -10px;
}

.cube::after {
  position: absolute;
  content: " ";
  width: 100%;
  height: 21px;
  transform: skewX(-45deg);
  left: -10px;
  bottom: -20px;
}

canvas {
  display: block;
}

#bootstrap {
  left: 350px;
  bottom: 40px;
  background-image: url(images/bootstrap.png);
  background-size: cover;
  background-color: rgb(134, 132, 132);
  box-shadow: -70px 70px 20px rgb(118, 118, 118);
}

#bootstrap::before {
  background-color: rgb(58, 56, 56);
}

#bootstrap::after {
  background-color: rgb(88, 81, 81);
}


#javascript {
  left: 450px;
  bottom: 200px;
  background-image: url(images/js.png);
  background-size: cover;
  background-color: rgb(223, 219, 219);
  box-shadow: -40px 40px 20px rgb(118, 118, 118);
}

#javascript::before {
  background-color: rgb(58, 56, 56);
}

#javascript::after {
  background-color: rgb(88, 81, 81);
}

#html {
  left: 100px;
  bottom: 80px;
  background-image: url(images/html.png);
  background-size: cover;
  background-color: rgb(134, 132, 132);
  box-shadow: -50px 50px 20px rgb(118, 118, 118);
}

#html::before {
  background-color: rgb(58, 56, 56);
}

#html::after {
  background-color: rgb(88, 81, 81);
}

#css {
  left: 250px;
  bottom: 240px;
  background-image: url(images/css.png);
  background-size: cover;
  background-color: rgb(134, 132, 132);
  box-shadow: -80px 80px 20px rgb(118, 118, 118);
}

#css::before {
  background-color: rgb(58, 56, 56);
}

#css::after {
  background-color: rgb(88, 81, 81);
}

footer {
  color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  padding: 20px 10px;
  background-color: rgb(15, 15, 15);
}

@media only screen and (min-width: 780px) {
  .square {
    height: 380px;
  }

  a {
    text-decoration: none;
  }

  #funanzi {
    background-image: url("images/videos/Funanzi.mp4");
    background-size: cover;
  }
}

@media only screen and (max-width: 900px) {
  .cube_image {
    display: none;
  }
}