/* ===== RESET ===== */
body {
    margin: 0;
    padding: 0;
}

/* ===== BACKGROUND ===== */
.IndexBody {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    color: white;

    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url("../img/background.jpg") center/cover no-repeat fixed;
}

/* ===== NAVBAR PRO INDEX ===== */

.IndexBody #navbar {
    background: transparent;
    position: relative;  
    width: 100%;
    margin: 0;
    margin-left: -15%;
}

.IndexBody #navbar a {
    font-size: 22px; 
}

/* ===== OBSAH ===== */
.container-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    width: 90%;
    margin: 10%;
    margin-left: 5%
}

/* ===== NADPIS ===== */
.container-main h1 {
    font-family: "Nadpis";
    font-size: clamp(40px, 6vw, 72px);
    margin: 0 0 20px 0;
}

/* Zvýraznění */
.highlight {
    color: rgba(170, 25, 25, 1);
}

/* ===== TEXT ===== */
.container-main p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    max-width: 600px;
    line-height: 1.6;
}

/* ===== ODKAZ ===== */
.container-main a {
    color: rgba(170, 25, 25, 1);
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

/* ===== OBRÁZEK ===== */
.PotucekIMG-Wrapper {
    margin: 30px 0;
}

.PotucekIMG-Wrapper img {
    max-width: 300px;
    width: 100%;
}

/* ===== ADMIN BUTTON ===== */
.login-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    z-index: 1000;
}

.login-btn:hover {
    background: #e5b93f;
}

/* ===== ANIMACE ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container-main h1,
.container-main p,
.PotucekIMG-Wrapper {
    animation: fadeUp 1s ease forwards;
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .IndexBody #navbar {
        background-color: black;
        text-align: left;
        margin-top: 0%;
        margin-left: 0%;
        padding-top: 0%;
        top: 0; 
        position: relative;
    }

    .container-main {
        align-items: center;
        text-align: center;
    }

    .container-main p {
        font-size: 18px;
        max-width: 100%;
    }

    .PotucekIMG-Wrapper img {
        max-width: 200px;
    }
}