.hero_small{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    height: fit-content;
    z-index: 9;
    height: calc(80% - 100px);
    overflow: inherit;
}
.hero_overlay_small{
    width: 100%;
    height: calc(100% - 100px);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(0deg, #101116 6.5%, rgba(16, 18, 23, 0.20) 100%);
}
.hero_content_small{
    margin-top: 20px;
    z-index: 11;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.hero_content_small p{
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    width: auto;
    max-width: 90%;
    font-family: 'Grenze';
    font-weight: 500;
    font-size: 30px;
    color: var(--col-txt);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    line-height: 40px;
}
.hero_picture_small{
    height: 200px;
    max-width: 90%;
    width: auto;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.5));
    z-index: 60;
    margin-bottom: 50px;
}
.hero_content_small .left{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 50%;
    float: left;
}
.hero_content_small .left img{
    height: 800px;
    width: auto;
    max-height: 85%;
}
.hero_content_small .right{
    height: 100%;
    width: 50%;
    float: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero_content_small .right img{
    width: 650px;
    max-width: 65%;
    margin-bottom: 50px;
}

.main-color {
    background: linear-gradient(180deg, #101116 17.5%, #1A2D3C 58%, #1F3545 67.5%, #1C3445 75.5%, #22455C 100%);
}
.demon-theme .main-color {
    background: linear-gradient(180deg, #101116 17.5%, #2A1619 58%, #32181A 67.5%, #32181A 75.5%, #491C1C 100%);
}
.lizard-theme .main-color {
    background: linear-gradient(180deg, #101116 17.5%, #291F19 58%, #352518 67.5%, #34261A 75.5%, #49321C 100%);
}
.dlc-theme .main-color {
    background: linear-gradient(180deg, #101116 17.5%, #351450 58%, #430D6D 67.5%, #350F53 75.5%, #300D49 100%);
}

.grid-container {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 50px;
    width: 1200px;
    max-width: 100%;
}
.grid-container a {
    display: flex;
    justify-content: center;
}

.grid-card {
    width: auto;
    height: 500px;
    transition: 0.2s ease-in-out;
}
.grid-card:hover {
    cursor: pointer;
    transform: scale(1.2);
    filter: brightness(130%) contrast(125%);
}

.class_info_container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding-bottom: 50px;
    margin-bottom: 50px;
    margin-top: 50px;
    overflow: hidden;
}
.class_info_container .left{
    float: left;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    max-width: 100%;
    min-width: 600px;
    padding-right: 100px;
    padding-left: 100px;
}
.class_info_container .left img{
    width: 300px;
    height: auto;
}
.class_info_container .left h6{
    font-size: 70px;
    color: var(--col-secondary);
}
.class_info_container .left .subtitle{
    color: var(--col-subheadline);
    font-family: 'Grenze';
    font-weight: 500;
    font-size: 35px;
    margin-top: -12px;
    text-align: center;
    line-height: 0.6;
}
.class_info_container .left .subtitle span {
    font-size: 22px;
}
.class_info_container .left .desc{
    color: var(--col-txt);
    font-family: 'Grenze';
    font-weight: 300;
    font-size: 23px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 600px;
}


.class_info_container .right{
    float: right;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}
.class_info_container .right h6{
    font-size: 80px;
    color: var(--col-secondary);
}
.class_info_container .ability_container{
    display: flex;
    justify-content: center;
    align-items: start;
    width: 950px;
    height: 230px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.class_info_container .text_box{
    display: flex;
    justify-content: center;
    align-items: left;
    flex-direction: column;
    overflow: hidden;
    height: fit-content;
}
.class_info_container .text_box .title{
    color: var(--col-headline);
    font-size: 48px;
}
.class_info_container .text_box .type{
    color: var(--col-subheadline);
    font-family: 'Grenze';
    font-weight: 300;
    font-size: 25px;
    margin-top: -10px;
}
.class_info_container .text_box .desc{
    color: var(--col-txt);
    height: 110px;
    padding-right: 5px;
    font-family: 'Grenze';
    font-weight: 300;
    font-size: 22px;
    overflow: scroll;
	margin-right: 5px;
}
.class_info_container .text_box .desc::-webkit-scrollbar{
	width: 5px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.class_info_container .text_box .desc::-webkit-scrollbar-thumb {
    background-color: var(--col-secondary);
    border-radius: 10px;
    border: 0px solid var(--col-secondary);
}
.class_info_container .ability_container video{
    height: 230px;
    width: auto;
}
.class_info_container .ability_container .video{
    height: 230px;
    width: auto;
}

.title_box{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 110px;
}
.title_box img{
    height: 80px;
    width: auto;
}
.title_box .text{
    width: 410px;
    margin-left: 15px;
}

.class_stats_container{
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    width: 600px;
}
.class_stats_container p{
    width: 100%;
    color: var(--col-txt);
    font-size: 30px;
    margin-top: 10px;
}
.class_stats_container #colorcontainer{
    width: 390px;
    height: 35px;
}

.color-red { background-color: var(--col-red); }
.color-brown { background-color: var(--col-brown); }
.color-blue { background-color: var(--col-blue); }
.color-yellow { background-color: var(--col-yellow); }
.color-orange { background-color: var(--col-orange); }
.color-purple { background-color: var(--col-purple); }
.color-darkred { background-color: var(--col-darkred); }
.color-gray { background-color: var(--col-gray); }
.class_stats_container .box { width: 35px; height: 35px; display: inline-block; margin: 2px; border-radius: 6px; border-color: none;}

.color-red{
    background-color: var(--col-red);
}


@media (max-width: 1200px) {

    .class_stats_container{
        width: 180px;
    }
    .class_stats_container p{
        width: 170px;
        font-size: 23px;
        margin-top: 3px;
    }
    .class_stats_container #colorcontainer{
        width: 170px;
        height: 15px;
    }
    .class_stats_container .box { width: 15px; height: 15px; margin: 1px; border-radius: 2px;}

    .hero_small{
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
        height: fit-content;
        z-index: 9;
        height: calc(80% - 300px);
        overflow: inherit;
    }
    .hero_overlay_small{
        width: 100%;
        height: calc(100% - 0px);
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
		background: linear-gradient(0deg, #101116 6.5%, rgba(16, 18, 23, 0.20) 100%);
    }
    .hero_content_small p{
        font-size: 10px;
        line-height: 15px;
        width: 100%;
		text-align: center;
    }
    .hero_content_small .left img{
        height: 280px;
    }
    .hero_content_small .right img{
        width: 850px;
        max-width: 85%;
        margin-bottom: 20px;
    }

    .grid-container {
        overflow: hidden;
        padding: 0px; /* Reduced padding for smaller screens */
        grid-template-columns: repeat(2, 1fr); /* Explicitly setting two columns for mobile */
    }

    .grid-card {
        height: 300px; /* Adjusting height for a more flexible layout on mobile */
    }
    .grid-card:hover {
        cursor: pointer;
        transform: scale(1.0);
        filter: brightness(130%) contrast(125%);
    }



    .class_info_container .left{
        width: 100%;
        margin-bottom: 60px;
    }
    .class_info_container .left img{
        width: 300px;
        height: auto;
    }
    .class_info_container .left h6{
        font-size: 50px;
        color: var(--col-secondary);
    }
    .class_info_container .left .subtitle{
        color: var(--col-subheadline);
        font-family: 'Grenze';
        font-weight: 500;
        font-size: 35px;
        margin-top: -10px;
    }
    .class_info_container .left .desc{
        color: var(--col-txt);
        font-family: 'Grenze';
        font-weight: 300;
        font-size: 20px;
        width: 350px;
    }



    .class_info_container .right{
        float: right;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        width: 100%;
    }
    .class_info_container .right h6{
        font-size: 55px;
        color: var(--col-secondary);
    }
    .class_info_container .ability_container{
        display: flex;
        justify-content: center;
        align-items: start;
        width: 100%;
        height: 110px;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .class_info_container .text_box{
        display: flex;
        justify-content: center;
        align-items: left;
        flex-direction: column;
        overflow: hidden;
        height: fit-content;
        width: 50%;
    }
    .class_info_container .text_box .title{
        color: var(--col-headline);
        font-size: 20px;
        margin-top: 0px;
		line-height: 80%;
    }
    .class_info_container .text_box .type{
        color: var(--col-subheadline);
        font-family: 'Grenze';
        font-weight: 300;
        font-size: 13px;
        margin-top: 0px;
    }
    .class_info_container .text_box .desc{
        color: var(--col-txt);
        font-family: 'Grenze';
        font-weight: 300;
        font-size: 15px;
		overflow: scroll;
		height: 48px;
    }
    .class_info_container .ability_container .video{
        height: auto;
        width: 50%;
    }
    .class_info_container .ability_container video{
        height: auto;
        width: 100%;
    }
    .title_box{
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 50px;
    }
    .title_box img{
        height: 40px;
        width: auto;
    }
    .title_box .text{
        width: 100%;
        margin-left: 5px;
    }


}
