html, body {
    margin: 0;  
    padding: 0; 
    height: 100%;
    width: 100%;  
}

.pozadi1 {
    position: relative;
    display: flex;
    justify-content: center;  
    align-items: center;  
    width: 100%;
    height: 100vh; 
    background-image: url('pozadi1.png'); 
    background-size: cover;
    background-position: center;
    z-index: -1;
    margin: 0;
    padding: 0;
}

.pozadi1 .logo-container {
    position: relative;
    width: 35%;
    height: auto;
    z-index: 1;
}

.pozadi1 .logo-container img {
    width: 100%;
    height: auto;
}

.pozadi1 .logo-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background-color: white;
    filter: blur(100px);
    z-index: -1;
}

.obsah1 {
    background-color: #000000;
    padding: 3%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.obsah1 h1 {
    font-size: 5.5em;
    margin-bottom: 20px;
    color: white;
    margin-top: 10%;
}

.obsah1 p {
    margin-top: 5%;
    font-size: 2.5em;
    color: white;
}

.obsah1 img { 
    width: 80%;
    padding-top: 5%;
}

.obsah2 {
    background-color: #eda131;
    padding-bottom: 5%;
}

.obsah2 h1 {
   color: white;
   text-align: center;
   padding-top: 7%;
   font-size: 100px;
   width: 100%;
}

.obsah2 p {
   color: white;
   text-align: center;
   font-size: 50px;
   padding-left: 2%;
   padding-right: 2%;
   padding-bottom: 7%;
   max-width: 100%;
}

.obsah2 img {
   width: 100%;
}

.obsah1 img {
    display: block;       
    margin: 0 auto;       
    max-width: 100%;      
    height: auto;         
}

footer {
    background-color: #000000;
    padding: 2% 10% 2% 10%;
}

.vzhled {
    width: 80%;
    align-items: center;       
    justify-content: center; 
    margin: 0 auto; 
}

.prvni {
    display: flex; 
    justify-content: center; 
}

.prvni img {
    width: 20%; 
}

.druhy {
    width: 100%;
    align-items: center;
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.druhy img {
    width: 5%;
    height: 100%;
    object-fit: cover;
    margin: 2%;
}

.treti {
    text-decoration: none;
    display: flex;
    justify-content: space-around;
    margin: 4% 0;
    font-size: large;
}

.treti a {
    margin: 0 3%;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.treti a:hover {
    color: #eda131;
}

@media (max-width: 1024px) {
    .obsah1 h1 {
        font-size: 2.5em;
    }

    .obsah1 p {
        font-size: 25px;
    }

    .obsah1 img {
        width: 90%;
    }

    .pozadi1 .logo-container {
        width: 50%;
    }

    .obsah2 p {
        font-size: 40px;
    }

    .prvni img {
        width: 70%;
        height: auto;
        margin: 0 auto;
    }

    .druhy img {
        width: 12%;
    }

    .treti {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .obsah1 h1 {
        font-size: 2.5em;
    }

    .obsah1 p {
        font-size: 1.3em;
    }

    .obsah1 img {
        width: 100%;
    }

    .pozadi1 .logo-container {
        width: 70%;
    }

    .obsah2 h1 {
        font-size: 60px;
    }

    .obsah2 p {
        font-size: 25px; 
    }

    .druhy img {
        width: 10%; 
    }

    .treti {
        font-size: 1em;
    }
}
