body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

.background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.home-shell {
    width: min(1080px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 28px 0 48px;
}

.brand-box {
    width: min(760px, 100%);
    margin: 0 auto 18px;
    padding: 28px 32px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(219,234,254,0.92));
    box-shadow: 0 22px 54px rgba(20, 33, 61, 0.18);
}

.hero-topline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}

.teacher-entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px 24px;
    background: #143c7d;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    min-height: 52px;
}

.teacher-entry-right {
    background: #143c7d;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 14px 50%);
    padding-left: 28px;
    padding-right: 32px;
}

.teacher-entry-left {
    background: #0f766e;
    clip-path: polygon(22px 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 22px 100%, 0 50%);
    padding-left: 32px;
    padding-right: 28px;
}

.teacher-entry:hover {
    background: #0f2e61;
}

.teacher-entry-right:hover {
    background: #0f2e61;
}

.teacher-entry-left:hover {
    background: #0b5c56;
}

.hero {
    margin: 42px auto 18px;
    padding: 8px 0 10px;
}

.hero-kicker {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #355070;
}

.hero h1 {
    margin: 8px 0 0;
    font-size: clamp(3rem, 8vw, 5.6rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: #0f2e61;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0 8px;
    position: relative;
    z-index: 1;
}

a.button {
    display: inline-block;
    padding: 15px;
    color: white;
    background-color: #2196f3;
    border-radius: 5px;
    text-decoration: none;
    font-size: 24px;
    margin: 20px 0;
    transition: background-color 0.3s;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    margin: 10px;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    flex: 1 1 calc(20% - 40px);
    text-align: center;
    width: min(920px, calc(100vw - 32px));
    max-width: 920px;
    border-radius: 5px;
}

.button-icon {
    flex: 0 0 auto;
    font-size: 1.45em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.button.large {
    flex: 0 0 auto;
}

a.button.red,
.button.red { background-color: #f44336; }

a.button.blue,
.button.blue { background-color: #2196f3; }

a.button.green,
.button.green { background-color: #4caf50; }

a.button.yellow,
.button.yellow { background-color: #ffeb3b; color: #111; }

a.button.orange,
.button.orange { background-color: #ff9800; }

a.button.purple,
.button.purple { background-color: #9c27b0; }

a.button.teal,
.button.teal { background-color: #009688; }

a.button.brown,
.button.brown { background-color: #795548; }

a.button.pink,
.button.pink { background-color: #e91e63; }

a.button.lime,
.button.lime { background-color: #cddc39; color: #111; }

a.button.black,
.button.black { background-color: #000000; color: #fff; }

a.button.gray,
.button.gray { background-color: #607d8b; }

a.button.olive,
.button.olive { background-color: #556b2f; }

a.button.red:hover,
.button.red:hover { background-color: #d33224; }

a.button.blue:hover,
.button.blue:hover { background-color: #1976d2; }

a.button.green:hover,
.button.green:hover { background-color: #3e8e41; }

a.button.yellow:hover,
.button.yellow:hover { background-color: #f4dd24; color: #111; }

a.button.orange:hover,
.button.orange:hover { background-color: #e68900; }

a.button.purple:hover,
.button.purple:hover { background-color: #7b1fa2; }

a.button.teal:hover,
.button.teal:hover { background-color: #00796b; }

a.button.brown:hover,
.button.brown:hover { background-color: #5d4037; }

a.button.pink:hover,
.button.pink:hover { background-color: #c2185b; }

a.button.lime:hover,
.button.lime:hover { background-color: #b7ca31; color: #111; }

a.button.black:hover,
.button.black:hover { background-color: #1f1f1f; }

a.button.gray:hover,
.button.gray:hover { background-color: #546e7a; }

a.button.olive:hover,
.button.olive:hover { background-color: #465a25; }

.visitor-counter {
    width: 100%;
    text-align: center;
    margin: 0 0 14px;
    color: rgba(22, 59, 99, 0.62);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.home-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(20, 33, 61, 0.12);
}

.home-link:hover {
    background: #2980b9;
}

@media (max-width: 700px) {
    .brand-box {
        padding: 22px 18px;
    }

    .teacher-entry {
        width: 100%;
        max-width: 360px;
    }

    .home-shell {
        width: calc(100vw - 20px);
        padding-top: 10px;
    }

    .hero {
        margin-top: 14px;
        padding: 6px 0 8px;
    }

    .button {
        width: 100%;
        font-size: 1rem;
    }
}


