/* Общие стили */
body {
    font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Bradley Hand', cursive;
    text-align: center;
    background-color: #247b27;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Видео фон с бабочками */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
}

/* Основной контент центрируется */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Copyright всегда внизу */
.copyright {
    flex-shrink: 0;
    text-align: center;
    color: #f4d03f;
    font-size: 14px;
    font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Bradley Hand', cursive;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    text-shadow:
        1px 1px 0 #BA894D,
        -1px -1px 0 #BA894D,
        1px -1px 0 #BA894D,
        -1px 1px 0 #BA894D;
    position: relative;
    z-index: 1;
}

.copyright a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Главная страница */
.main-title {
    max-width: 800px;
    width: 100%;
    margin-bottom: 20px;
}

.shapka {
    position: relative;
    max-width: 800px;
    height: 250px;
}

.nav-link {
    position: absolute;
    font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Bradley Hand', cursive;
    font-size: 32px;
    color: #f4d03f;
    text-decoration: underline;
    transition: transform 0.3s ease;
    text-shadow:
        1px 1px 0 #BA894D,
        -1px -1px 0 #BA894D,
        1px -1px 0 #BA894D,
        -1px 1px 0 #BA894D;
}

/* .nav-link:hover {
    transform: scale(1.15);
} */

.nav-manual {
    top: 80px;
    left: 348px;
    transform: rotate(-50deg);
}

.nav-description {
    top: 80px;
    right: 348px;
    transform: rotate(24deg);
}

.nav-garden {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .main-title {
        max-width: 90%;
        margin-bottom: 30px;
        content: url('image/welcome to html-garden fone ver.webp');
    }

    .shapka {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 70px;
        position: static;
        align-items: center;
    }

    .nav-link {
        position: static;
        font-size: 32px;
    }

    .nav-manual {
        transform: rotate(-8deg);
    }

    .nav-description {
        transform: rotate(12deg);
    }

    .nav-garden {
        transform: rotate(-5deg);
    }

    .copyright {
        font-size: 12px;
        padding: 15px;
    }
}