/* ============================================
   Spielplan Page Styles - FC Oppenwehe II
   ============================================ */

body {
    background: #f5f5f5;
    min-height: 100vh;
}

.content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.info-box {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-box h2 {
    color: #b32d06;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.info-box p {
    color: #666;
    line-height: 1.6;
}

.iframe-container {
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 150%;
    overflow: hidden;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .iframe-wrapper {
        padding-bottom: 100%;
    }

    h1 {
        font-size: 2em;
    }
}

@media (min-width: 1024px) {
    .iframe-wrapper {
        padding-bottom: 80%;
    }
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.external-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background: #b32d06;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.external-link:hover {
    background: #8a2205;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(179, 45, 6, 0.3);
}

.external-link:active {
    transform: translateY(0);
}
