body {
  margin: 0;
  padding: 0;
  background-color: black;
  overflow-x: hidden;
  font-family: 'Dead Kansas', cursive;
}

.welcome-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 0 20px;
    box-sizing: border-box;
}

.welcome-text h1 {
    color: white;
    font-size: clamp(1.8rem, 3vw, 4rem);
    text-align: center;
    text-shadow: 1px 1px 0px black;
    font-weight: 300;
    line-height: 1;
    margin: 0;
}

.welcome-text h1 {
  color: white;
  font-size: 4rem;
  text-align: center;
  text-shadow: 1px 1px 0px black;
  font-weight: 300;
}

.welcome-text .welcome-text-black {
  color: black;
  text-shadow: 1px 1px 0px white;
}

.welcome-text .welcome-text-red {
  color: red;
  text-shadow: 1px 1px 0px white;
}

.intro-text {
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 2rem);
}

.slice-container {
  display: flex;
  height: 80%;
  z-index: 1;
}

.slice {
    position: relative;
    width: 33.333%;
    height: 100vh;
    overflow: hidden;
    transform: skewX(-10deg);
    margin-left: -20px;
    margin-right: -20px;
    box-sizing: border-box;
}

.slice img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slice-text {
    position: absolute;
    bottom: -10px;
    left: -10%;
    right: -10%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    transform: skewX(10deg);
    transition: height 0.5s ease;
    overflow: hidden;
    text-align: center;
    padding: 10px 30px;
    box-sizing: border-box;
}

.slice-text h2 {
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    margin-bottom: 10px;
}

.slice-text p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    margin-bottom: 20px;
}

.slice-text img {
  width: 50%;
  height: auto;
  display: block;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 5));
}

.slice:hover img {
  transform: scale(1.2);
}

.slice:hover .slice-text {
  height: 50%;
}

.button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.discord-button {
  display: block;
  background-color: #7289DA;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  width: 33%;
  font-weight: 300;
}

.discord-button:hover {
  background-color: #677bc4;
}

.slice-button {
  display: block;
  background-color: #ff0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  width: 100%;
  font-weight: 300;
}

.button-container {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 0;
  transform: translateY(100%);
  transition: height 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33%;
  left: 33%;
}

.slice:hover .button-container {
  height: 30%;
  transform: translateY(0%);
}

@media screen and (max-width: 1000px) {

    .welcome-text {
        height: 120px;
        padding: 20px;
    }

    .welcome-text h1 {
        font-size: 2rem;
    }

    .slice-container {
        flex-direction: column;
    }

    .slice {
        width: 100%;
        height: 35vh;
        transform: none;
        margin: 0;
    }

    .slice img {
        transform: none !important;
    }

    .slice-text {
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        transform: none;
        padding: 15px;
    }

    .slice:hover .slice-text {
        height: auto;
    }

    .button-wrapper {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin-top: 15px;
        height: auto;
        flex-direction: column;
    }

    .button-container {
        position: static;
        transform: none;
        height: auto;
        width: 100%;
        left: auto;
    }

    .slice-button,
    .discord-button {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        font-size: 16px;
    }

}