.main-theme-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    margin: 15px auto;
    font-size: 1.125rem;
    align-items: flex-start;
    color: var(--text-color);
}

.themes-by-class-container {
    width: 60%;
    padding: 30px;
    background-color: var(--second-color);
    border-radius: 15px;
    border: 2px solid var(--base-border-color);
    min-width: 310px;
}

.themes-by-class-container h1 {
    color: white;
    font-size: 1.75rem;
    margin-top: 0;
}

.theme-wrapper {
    padding-left: 20px;
}

.theme-little-wrapper {
    margin-bottom: 5px;
}

.theme-little-wrapper span {
    font-size: 1.25rem;
}

.aside-theme-container {
    display: flex;
    width: 25%;
    min-width: 330px;
    max-width: 350px;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    position: sticky;
    top: 10px;
}

.generation-offer-container {
    border: 2px solid var(--base-border-color);
    background-color: var(--second-color);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
}

.generation-offer-container h2, .generation-offer-container-mobile h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: center;
}

.generation-offer-container p {
    margin: 5px auto;
    margin-bottom: 20px;
}

.features-full {
    list-style: none;
    padding-left: 0;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.features-full li {
    margin-bottom: 15px;
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 10px;
}

.features-full li img {
    width: 25px;
    aspect-ratio: auto 1 / 1;
}

.create-button {
    text-decoration: none;
    text-align: center;
    color: black;
    font-size: 1.25rem;
    font-weight: bold;
    background-color: var(--button-color);
    padding: 12px 25px;
    border-radius: 12px;
    display: block;
    width: 100%;
}

.pulse {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); box-shadow: 0 0 15px rgba(167, 255, 250, 0.7); }
    100% { transform: scale(1); }
}

.create-button:hover {
    background-color: #a7fffa;
}

.generation-offer-container-mobile {
    border: 2px solid var(--base-border-color);
    background-color: var(--second-color);
    border-radius: 15px;
    padding: 10px;
    width: 100%;
    display: none;
}

.features-full-mobile {
    list-style: none;
    padding-left: 0;
    font-size: 1.125rem;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 10px;
}

.features-full-mobile li {
    margin-bottom: 15px;
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 10px;
    width: 45%;
}

.features-full-mobile li img {
    width: 25px;
    aspect-ratio: auto 1 / 1;
}

@media screen and (max-width: 1023px) {
    .themes-by-class-container {
        width: 90%;
    }
    .aside-theme-container {
        width: 90%;
        max-width: none;
        margin-top: 15px;
    }
    .generation-offer-container-mobile {
        display: block;
    }
    .generator-offer {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .themes-by-class-container {
        width: 95%;
        padding: 15px;
    }
    .themes-by-class-container h1 {
        font-size: 1.5rem;
    }
    .aside-theme-container {
        min-width: 310px;
        width: 95%;
    }
    .generation-offer-container {
        padding: 10px;
    }
}

@media screen and (max-width: 500px) {
    .themes-by-class-container h1 {
        font-size: 1.25rem;
    }
    .features-full-mobile {
        flex-direction: column;
    }
    .features-full-mobile li {
        width: 100%;
    }
    .theme-little-wrapper span {
        font-size: 1.0625rem;
    }
    .generation-offer-container-mobile h2 {
        font-size: 1.125rem;
    }
    .generation-offer-container h2 {
        font-size: 1.125rem;
    }
    .generation-offer-container p {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .features-full-mobile {
        font-size: 1.0625rem;
        margin-bottom: 10px;
    }
    .features-full-mobile li img {
        width: 20px;
    }
    .create-button {
        font-size: 1.125rem;
        padding: 10px 20px;
    }
}