.hero {
    display: flex;
    justify-content: center;
    gap: 6vw;
    align-items: center;
    height: max(80vh, 450px);
}


.hero > .text {
    display: flex;
    flex-direction: column;
}

.hero h1 {
    font-weight: 600;
    font-size: 2.8em;
    line-height: 1em;
}

.hero h3 {
    font-weight: 400;
    font-size: 1.2em;
    color: var(--text-800);
    margin-top: 20px;
}

.hero button {
    margin-top: 20px;
}

.hero img {
    max-width: min(20%, 300px);
}

@media (max-width: 1050px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero h3 {
        font-size: 1em;
    }
}

@media (max-width: 900px) {
    .hero img {
        display: none;
    }
}



.features {
    width: 70vw;
    display: flex;
    flex-direction: column;
    gap: 15vh;
    margin: 7.5vh auto 15vh auto;
    padding-bottom: 15vh;
    padding-top: 7.5vh;
    
    border-width: 1px;
    border-style: solid;
    border-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, var(--background-100) 30%, var(--background-100) 75%, rgba(0,0,0,0) 100%);
    border-image-repeat: stretch;
    border-image-slice: 1;
    border-image-outset: 0;
}

.features .feature {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8vh;
}

.features .feature.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 800px) {
    .features .feature {
        flex-wrap: wrap;
    }
    
    .features .feature.reverse {
        flex-direction: row;
    }
}

.features .feature .content {
    width: min(max(50%, 300px), 700px);
    height: fit-content;
}

.features .feature img {
    width: 200px;
}

.features .feature h2 {
    font-weight: 500;
    font-size: 2em;
    margin-bottom: 10px;
}

.features .feature p {
    color: var(--text-800);
}

.features .rotate-right {
    transform: rotateY(22deg) skewY(-6deg);
}

.features .rotate-left {
    transform: rotateY(-22deg) skewY(6deg);
}




.discord {
    width: 70vw;
    margin: auto;
}

.discord .top {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--background-100);
}

.section .top p {
    max-width: 350px;
    color: var(--text-800);
}

.section .top h2 {
    font-weight: 400;
    font-size: 2.4em;
    margin-bottom: 10px;
}

.discord .spitsection {
    display: flex;
}

.spitsection div .text {
    max-width: 60%;
}

.spitsection div .text h4 {
    font-size: 1.4em;
    font-weight: 500;
}

.spitsection div .text p {
    color: var(--text-800);
}


.discord-chat {
    display: flex;
    flex-direction: column;
    margin: 20px auto !important;
}


.discord-chat .command-suggestions {
    display: flex;
    flex-direction: column;
    background-color: var(--background-100);
    border-radius: 20px;
    padding: 10px 20px;
    margin: 4px 4px;
}

.discord-chat .command-suggestions .title {
    display: flex;
    height: 20px;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.discord-chat .command-suggestions .title h3 {
    font-weight: 600;
    font-size: 0.8em;
}

.discord-chat .command-suggestions .title img {
    height: 100%;
    border-radius: 100%;
}

.discord-chat .command-suggestions .suggestion {
    border-radius: 10px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.discord-chat .command-suggestions .suggestion:hover {
    background-color: var(--background-200);
}

.discord-chat .command-suggestions .suggestion h5 {
    font-size: 0.9em;
    font-weight: 600;
}

.discord-chat .command-suggestions .suggestion p {
    font-size: 0.7em;
    color: var(--text-800);
}

.discord-chat input {
    background-color: color-mix(in srgb, var(--background-100) 90%, black);
    border: none;
    outline: none;
    border-radius: 10px;
    height: 30px;
    padding: 4px 15px;
    color: var(--text);
}


.logElements {
    --base-x: 0px;
    --base-z: 180px;
    --y: 0px;
    position: relative;
    perspective: 2000px;
    perspective-origin: 50%;
    aspect-ratio: 1/2;
    height: 300px;
    margin-right: auto !important;
    margin-left: 0px !important;
    width: 330px;
}

.logElements .logElement {
    margin: auto;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: color-mix(in srgb, var(--background-100) 80%, transparent);
    backdrop-filter: blur(24px);
    border: 1px solid var(--background-100);
    padding: 16px 20px;
    border-radius: 20px;
    height: fit-content;
    width: fit-content;
    cursor: default;
    position: absolute;
    transform: skewY(-4deg) rotateX(-14deg) rotateY(20deg) translateZ(var(--z)) translateX(var(--x)) translateY(var(--y));
    transition-duration: 0.2s;
    transition-property: translate background-color border-color;

    
}

.logElements .logElement * {
    filter: grayscale(0.8);
    transition-duration: 0.2s;
    transition-property: filter;
}

.logElements .logElement:hover * {
    filter: grayscale(0);
}

.logElements .logElement:last-child * {
    filter: grayscale(0);
}

.logElements .logElement:hover ~ :last-child * {
    filter: grayscale(0.8);
}

.logElements .logElement:hover {
    translate: 0 -20px;
    background-color: color-mix(in srgb, var(--background-200) 90%, transparent);
    border-color: var(--background-200);
    filter: none;
}

.logElements .logElement:first-child {
    --z: calc(-1 * var(--base-z));
    --x: calc(var(--base-x) + 3%);
    --color: #f63030;
}

.logElements .logElement:nth-child(2) {
    --z: 0;
    --x: var(--base-x);
    --color: var(--accent);
}

.logElements .logElement:last-child {
    --z: var(--base-z);
    --x: calc(var(--base-x) - 3%);
    --color: #54bd2a;
}

.logElements .logElement .title {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color)
}

.logElements .logElement .title .icon {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: color-mix(in srgb, color-mix(in srgb, var(--color) 90%, var(--background-100)) 40%, transparent);
}

.logElements .logElement .date {
    color: var(--text-600);
    font-size: 0.8em;
}

.spitsection > div > div.element {
    margin: auto;
    width: 80%;
}


.spitsection .log {
    border-left: 1px solid var(--background-100);
    padding-left: 30px;
}


@media (max-width: 1150px) {
    .spitsection .log {
        border-left: none;
        padding-left: 0px;
        border-top: 1px solid var(--background-100);
        padding-top: 30px;
    }

    .spitsection {
        flex-wrap: wrap;
        gap: 30px;
    }
    
}

@media (max-width: 600px) {
    .logElements {
        width: 200px;
    }
}






.modules {
    margin: 20vh auto;
    width: 70vw;
}

.hovercard-container {
    display: grid;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    margin: 30px 0px;

    grid-template-columns: repeat(3, 236px);
    gap: 10px;
    grid-auto-rows: minmax(150px, auto);
}

@media (max-width: 800px) {
    .hovercard-container {
        grid-template-columns: repeat(2, 236px);
    }
}

@media (max-width: 550px) {
    .hovercard-container {
        grid-template-columns: repeat(1, 236px);
    }
}

.hovercard .blob {
    filter: blur(40px);
    position: absolute;
    z-index: -1;
    top: 0;
    opacity: 0;
    left: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 70%, transparent);
    transition: all 300ms ease-in-out;
  }
  
  .hovercard .blobstore {
    display: hidden;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
  }
  
  .hovercard {
    overflow: hidden;
    padding: 3px;
    margin: 0;
    background: color-mix(in srgb, var(--background-100) 50%, transparent);
    border-radius: 10px;
    position: relative;
    transition: all 300ms ease-in-out;
  }
  
  .hovercard .inner {
    border-radius: 7px;
    padding: 10px;
    width: 210px;
    height: 150px;
    background: color-mix(in srgb, var(--background-100) 100%, transparent);
    backdrop-filter: blur(80px);
    transition: all 300ms ease-in-out;
  }

  .hovercard h1 {
    font-size: 1.5em;
  }
  
  .hovercard .title {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hovercard .title i {
    font-size: 1.6em;
    color: var(--accent);
  }

  .hovercard p {
    font-size: 0.9em;
    color: var(--text-800);
  }

  .hovercard:hover > .inner {
    background:  color-mix(in srgb, var(--primary) 10%, transparent);
    backdrop-filter: blur(80px);
  }

  .modules .more {
    text-align: center;
    color: var(--text-800);
  }

  .modules .disclaimer {
    text-align: center;
    color: var(--text-400);
    font-size: 0.6em;
    margin-top: 4px;
  }
  