body{
    background-color: var(--bg-color);
    background-image:  linear-gradient(#222 1px, transparent 1px), linear-gradient(to right, #222 1px, var(--bg-color) 1px);
    background-size: 50px 50px;
}

main {
    width: 1000px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 5em;
    font-weight: 700;
    margin: 20px;
}

.slide {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.gallery-slide {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
}

.content-container {
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.gallery{
    width: auto;
    max-width: 100%;
    height: 170px;
    display: grid;
    overflow-x: auto;
    grid-auto-columns: 235px;
    grid-template-rows: 100%;
    grid-auto-flow: column;
    gap: 10px;
    box-sizing: border-box;
    align-content: center;
    align-items: center;
    padding: 10px;
}

.img img.full{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.gallery img.full{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.gallery::-webkit-scrollbar {
    background: #7c7c7c;
    border-radius: 10px;
}

.gallery::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.gallery img{
    width: 100%;
    height: 150px;
    object-fit: contain;
    background-color: #313338;
    border-radius: 10px;
    box-sizing: border-box;
    transition: transform 0.15s ease-in-out;
}

.gallery img.active{
    transform: scale(0.9) translateY(-10px);
}

.slide:nth-child(even) {
    flex-direction: row-reverse;
}

.gallery-slide:nth-child(even) .content-container{
    flex-direction: row-reverse;
}

section.content {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text_slide.active{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text_slide{
    display: none;
}

section.img {
    position: relative;
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #52545f;
    border-radius: 20px;
    background-color: #313338;
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px;
    user-select: none;
}

.hover_effects{
    transition: transform 0.4s ease-out, border 0.25s ease-out;
}

section.hover_effects:hover::before {
    content: '';
    position: absolute;
    border-radius: 20px;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.05), transparent 50%);
}

section.hover_effects:hover {
    border: 1px solid #a3a3a3;
}

.content-container section{
    height: 100%;
}

.img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1/1;
}

.video{
    position: relative;
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #52545f;
    border-radius: 20px;
    background-color: #313338;
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px;
    user-select: none;
}

.video iframe{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    aspect-ratio: 1/1;
}

.chat{
    aspect-ratio: 1/1;
}

h2 {
    font-size: 3em;
    font-weight: 700;
    align-self: flex-start;
}

.content p, .content li{
    font-size: 1.5em;
    font-weight: 400;
    line-height: 1.25;
}

.chat {
    width: 100%;
    height: 50%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #52545f;
    border-radius: 20px;
    background-color: #313338;
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px;
    user-select: none;
}

.chat .user{
    font-size: 2rem;
    background-color: rgb(84, 171, 206);
    border-radius: 20px;
    padding: 10px;
}

.chat .bot{
    align-self: flex-end;
    font-size: 2rem;
    background-color: rgb(84, 206, 84);
    border-radius: 20px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.chat .bot p{
    font-size: 1.5rem;
}

.slide{
    position: relative;
}

@media (max-width: 1000px) {
    .img-desc{
        display: none;
    }
    main {
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
    }
    main > section {
        flex-direction: column !important;
        gap: 0;
        height: auto;
        min-height: 100vh;
        justify-content: space-evenly;
    }

    .content-container {
        flex-direction: column !important;
    }

    .gallery-slide {
        height: auto;
        min-height: 50%;
    }

    .content-container {
        flex-direction: column;
        gap: 0;
        height: auto;
        min-height: 100%;
    }

    section.content {
        height: auto;
        width: 100%;
        padding: 20px;
    }

    .img{
        height: auto;
    }

    .img img{
        width: 100%;
        min-height: fit-content;
        border-radius: 20px;
    }
}

.arrows{
    position: fixed;
    bottom: 50px;
    right: 50px;
    display: flex;
    flex-direction: column;
}

.arrows i{
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 2rem;
    padding: 10px;
    box-sizing: border-box;
}

.arrows i.up{
    opacity: 0;
}

.arrows i:hover{
    transform: scale(1.2);
}

.gallery img{
    cursor: pointer;
}