body {
    color: white;
}
.obr {
    background-image: url('../img/Spectrum.png'); /* Relativní cesta podle vaší struktury */
    background-size: cover; /* Obrázek se přizpůsobí sekci */
    background-repeat: no-repeat; /* Zabrání opakování obrázku */
    background-position: center; /* Zarovná obrázek na střed */
    height: 100vh; /* Výška sekce nastavena na 100% výšky obrazovky */
    width: 100%; /* Šířka nastavena na 100% */
    background-attachment: fixed;
    background-color: #000000;
}
.tvojemama {
    margin-left: 20px;
}

.obr h1 {
    font-size: 2.5em;
}

.obr p {
    font-size: 1.5em;
    line-height: 1.5em;
}

.obr div {
    margin-right: 60%;
    margin-left: 5%;
    padding-top: 5%;
   
}

.obr button {
    background-color: white;
    color: black;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.obr button:hover {
    background-color: black;
    color: white;
    border-color: white;
}

.bila {
    background-color: white;
    color: black;
    padding:  0;
}

.text-utulek {
    background-image: url('../img/oko.jpg'); /* Relativní cesta podle vaší struktury */
    background-size: cover; /* Obrázek se přizpůsobí sekci */
    background-repeat: no-repeat; /* Zabrání opakování obrázku */
    background-position: center; /* Zarovná obrázek na střed */
    height: 100vh; /* Výška sekce nastavena na 100% výšky obrazovky */
    width: 100%; /* Šířka nastavena na 100% */
}

.text-utulek h2, .text-utulek p {
    text-align: center;

    padding-right: 8%;
    padding-left: 53%;
}

.text-utulek h2 {
    padding-top: 10%;
    font-size: 2em;
}

.text-utulek p {
    font-size: 1.2em;
    line-height: 1.5em;
}

.cerna {
    background-color: black;
}

.adopce h2 {
    text-align: center;
    font-size: 2.5em;
    padding: 0;
    margin-top: 5% 0;
}
.karta h3 {
    font-size: 1.5em;
    margin: 20px 0 0 0;
    text-align: center;
  width: 100%;
  text-decoration: none;
  color: #000000;
}
.karta img {
    height: 200px;
    border-radius: 10px;
    width: 100%;
    object-fit: cover;
}

.karta {
    text-decoration: none;
    
    background-color: #ffffff;
    color: #000000;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.291);
    width: 250px;
    padding: 20px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: center;
    margin-bottom: 80px;
}


video {
    border-radius: 10px;
    height: 200px;
    width: 250px;
}


.karta:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(255, 255, 255, 0.346);
}

.tlacitka {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: 15px;
}

.tlacitko {
    background-color: #d6d6d6;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    flex: 0 0 25%; /* Všechny tlačítka budou stejně široká (např. 30% šířky rodiče) */
    max-width: 100px; /* Maximální šířka pro tlačítka */
}

.tlacitko p {
    margin: 0;
    font-size: 0.9em;
    color: #000000;
}

.karty {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.adopce {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.tlacitkoo {
    background-color: white;
    color: black;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    margin-bottom: 50px;
}

.tlacitkoo:hover {
    background-color: black;
    color: white;
    border-color: white;
}

/* Responzivita pro mobilní zařízení (max-width: 768px) */
@media (max-width: 768px) {

    .obr h1 {
        font-size: 2em;
    }

    .obr p {
        font-size: 1.2em;
    }

    .obr div {
        margin-right: 0;
        margin-left: 0;
        padding-top: 2%;
        text-align: center;
    }

    .text-utulek h2 {
        font-size: 1.8em;
    }

    .text-utulek p {
        font-size: 1em;
    }

    .adopce h2 {
        font-size: 2em;
    }

    .karty {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .karta {
        width: 80%;
    }

    .adopce button {
        width: 80%;
    }
}

/* Responzivita pro mobilní zařízení (max-width: 480px) */
@media (min-width: 768px) and (max-width: 1024px) {

    .obr h1 {
        font-size: 1.5em;
        margin-top: 5px;
    }

    .obr p {
        font-size: 0.9em;
    }
    .obr button {
        padding: 8px 13px;
        font-size: 0.9em;
        margin-top: 10px;
    }
    .bila {
        padding: 2% 0;
    }
    .obr {
        height: 80vh; /* Výška sekce nastavena na 100% výšky obrazovky */
    }

    .text-utulek h2 {
        font-size: 1.5em;
    }

    .text-utulek p {
        font-size: 0.9em;
    }

    .adopce h2 {
        font-size: 1.8em;
    }

    .karta {
        width: 90%;
    }
}
