body {
    line-height: 1.3;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.image {
    position: relative;
}

.is-overlay {
    position: absolute;
}

.home-dashboard {
    margin-bottom: 1rem;
    opacity: 0;
}

.home-dashboard.is-ready {
    opacity: 1;
}

.home-next-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    border: 2px solid rgba(31, 31, 31, 0.9);
    border-radius: 1.4rem;
    background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46)),
            color-mix(in srgb, var(--text-section-bg) 36%, white);
    box-shadow: 5px 5px 0 rgba(23, 23, 23, 0.16);
    color: inherit;
    text-decoration: none;
    transition:
            transform 0.16s ease-out,
            box-shadow 0.16s ease-out,
            background-color 0.16s ease-out;
}

.home-next-panel:hover,
.home-next-panel:focus {
    color: inherit;
    background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54)),
            color-mix(in srgb, var(--text-section-bg) 40%, white);
    box-shadow: 6px 6px 0 rgba(23, 23, 23, 0.18);
    transform: translate(-1px, -1px);
}

.home-dashboard-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    border: 2px solid rgba(31, 31, 31, 0.9);
    border-radius: 50%;
    background: #1f1f1f;
    color: #ffffff;
    box-shadow: 3px 3px 0 rgba(23, 23, 23, 0.16);
    font-size: 0.95rem;
}

.home-dashboard-copy {
    min-width: 0;
}

.home-dashboard-action-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    padding-right: 0.2rem;
    color: #2f2f2f;
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
    transition: color 0.16s ease-out;
}

.home-dashboard-action-label i {
    font-size: 0.72rem;
    transition: transform 0.16s ease-out;
}

.home-next-panel:hover .home-dashboard-action-label,
.home-next-panel:focus .home-dashboard-action-label {
    color: #111111;
}

.home-next-panel:hover .home-dashboard-action-label i,
.home-next-panel:focus .home-dashboard-action-label i {
    transform: translateX(2px);
}

.home-next-lesson {
    margin: 0;
    color: #1f1f1f;
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    font-weight: 850;
    line-height: 1.25;
}

.home-cards {
    padding: 8%;
    transition: transform 0.2s ease-out;
}

.card {
    border-radius: 1.4rem;
    height: 100%;
    min-width: 0;
    background-color: var(--card-bg);
    border: 2px solid rgba(23, 23, 23, 0.88);
    box-shadow: 5px 5px 0 rgba(23, 23, 23, 0.22);
    transition:
            transform 0.16s ease-out,
            box-shadow 0.16s ease-out,
            background-color 0.16s ease-out;
}

.card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 rgba(23, 23, 23, 0.24);
    background-color: color-mix(in srgb, var(--card-bg-hover) 80%, white);
}

.card:hover .home-cards {
    transform: scale(1.04);
}

.card-content {
    text-align: center;
    font-weight: 750;
    min-height: 86px;
    padding: 1rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #222222;
    line-height: 1.35;
}

.message {
    background-color: transparent;
    margin-bottom: 1rem;
}

.message-header {
    background-color: rgba(54, 54, 54, 0.96);
    color: #ffffff;
    border-radius: 1rem;
}

.message .message-body {
    background-color: rgba(255, 251, 242, 0.42);
    font-size: 16px;
    color: #363636;
    border-radius: 50px;
}

.message .message-header {
    text-align: left;
    padding-left: 4.2rem;
    font-size: 1.1rem;
}

.message a:not(.button):not(.tag):not(.dropdown-item) {
    text-decoration: none;
}

#effect-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1rem;
    opacity: 0.8;
    user-select: none;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    position: relative;
    padding: 0 2.3rem;
}

.cards-wrapper > a {
    flex: 0 0 240px;
    display: flex;
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.cards-wrapper > a > div,
.cards-wrapper .card {
    width: 100%;
    height: 100%;
}

.cards-wrapper > a:hover {
    z-index: 10;
}

@media (max-width: 768px) {
    .carousel-button {
        display: none;
    }

    .home-next-panel {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .home-dashboard-action-label {
        margin-left: 0;
    }

    .cards-wrapper {
        padding: 0;
        justify-content: center;
    }

    .message .message-header {
        text-align: center;
        padding-left: 1em;
    }
}

@media screen and (max-width: 600px) {
    .hero-body {
        padding-left: 6%;
        padding-right: 6%;
    }

    .card-content {
        min-height: 76px;
    }
}
