#parallax {
  background-image: url('./Pictures/Rubick\'s_Cube_Background.webp');
}

#parallax p {
  color: #000000;
}

#title {
  margin: auto;
  margin-top: 5vw;
  border-radius: 10vw;
  box-shadow: inset 2vw 2vw 3vw var(--shadow), inset -2vw -2vw 3vw var(--light);
  background: var(--main-color);
  display: flex;
  align-items: center;
  width: 94vw;
  height: auto;
}

#title p {
  padding: 4vw;
  margin: auto;
  text-align: right;
  font-size: 6vw;
  font-weight: normal;
}

#title a {
  margin: 4vw;
}

#title img {
  width: 30vw;
  height: 30vw;
  border-radius: 8vw;
  box-shadow: 1vw 1vw 2vw var(--shadow), -1vw -1vw 2vw var(--light);
  background: var(--main-color);
  padding: 2vw;
  margin-left: auto;
  cursor: pointer;
}

#intro {
  border-radius: 5vw;
  display: grid;
  grid: auto / auto auto;
  grid-gap: 0vw;
  margin: auto;
  margin-top: 5vw;
  width: 90vw;
  height: 45vw;
  background-image: url('./Pictures/Wallpaper1.webp');
  background-size: 150vw;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 0vw 10vw;
}

#subsandviews {
  display: grid;
  width: 22vw;
  height: 35vw;
  padding: 2vw;
  margin: auto;
  flex-direction: column;
  align-content: center;
  font-weight: normal;
  border-radius: 3vw;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 0.1vw solid rgba(255, 255, 255, 0.25);
}

.counters {
  font-size: 5vw;
  margin-bottom: 0vw;
  padding-top: 0vw;
  padding-bottom: 0vw;
  font-weight: normal;
  color: #ffffff;
}

.subtitles {
  font-size: 3vw;
  margin-top: 0vw;
  margin-bottom: 0vw;
  padding-top: 0vw;
  padding-bottom: 2vw;
  color: #ffffff;
}

#introparagraph {
  width: 46vw;
  height: 35vw;
  margin: auto;
  padding: 2vw;
  padding-top: auto;
  padding-bottom: auto;
  text-indent: 5vw;
  font-size: 2vw;
  font-weight: 100;
  border-radius: 3vw;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 0.1vw solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

#carousel {
  margin-top: 5vw;
}

#container {
  width: 90vw;
  margin: auto;
  overflow-y: hidden;
  overflow-x: hidden;
  display: flex;
  border-radius: 6vw;
  box-shadow: 1vw 1vw 2vw var(--shadow), -1vw -1vw 2vw var(--light);
}

.item {
  display: inline;
  align-items: center;
  object-fit: contain;
  height: 45vw;
}

.carouselshowcase {
  flex: 0 0 5vw;
  margin: 1vw;
  height: 43.4vw;
  width: 88vw;
  border-radius: 5vw;
  object-fit: cover;
}

#links {
  margin-top: 3vw;
  width: 100%;
  display: flex;
  justify-content: center;
}

#links a {
  border-radius: 10vw;
  display: inline-flex;
  padding: 2vw 6vw;
  background: var(--up-one);
  box-shadow: 0vw 0vw 2vw var(--shadow);
  margin: 0 3vw;
}

#links a:hover {
  background: var(--main-color);
}











@media (orientation: landscape) {

  #container a {
    height: 23vw;
  }

  #parallax {
    height: 23vw;
    background-position: top left;
  }

  #title {
    border-radius: 5vw;
    width: 43vw;
    height: 19vw;
    margin: 0vw;
    margin-top: 2vw;
    order: 2;
  }

  #title p {
    width: 23vw;
    padding: 0vw;
    margin: 0.5vw;
    font-size: 2.5vw;
  }

  #title a {
    margin: 2vw;
  }

  #title img {
    width: 13vw;
    height: 13vw;
    border-radius: 4vw;
    padding: 1vw;
  }

  #intro {
    border-radius: 4vw;
    width: 45vw;
    height: 27vw;
    margin: 0vw;
    margin-top: 3vw;
    background-size: 85vw;
    background-position: 50vw 0vw;
    order: 4;
  }

  #subsandviews {
    border-radius: 3vw;
    padding: 2vw;
    width: 12vw;
    height: 20vw;
  }

  .counters {
    font-size: 3vw;
  }

  .subtitles {
    font-size: 2vw;
    padding-bottom: 1vw;
  }

  #introparagraph {
    width: 18vw;
    height: 20vw;
    text-indent: 2vw;
    font-size: 1vw;
  }

  #carousel {
    order: 3;
  }

  #container {
    width: 46vw;
    border-radius: 4vw;
    order: 3;
  }

  .carouselshowcase {
    height: 21vw;
    width: 44vw;
    border-radius: 3vw;
  }

  #links a {
    padding: 1vw 3vw;
    margin: 0 2vw;
  }
}