html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

header img { 
    height: auto;
    max-width: 100%; 
    width: 350px;
}

header {
    background-color: white;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 260px; 
}

nav {
    width: 100%;
    height: 90px;
    background-color: black;
    text-align: center;
    position: relative;
}

nav a {
    display: inline-block; 
    margin: 10px;
    padding: 20px 30px; 
    border-radius: 20px; 
    background-color: black; 
    color: white; 
    text-decoration: none; 
    font-size: 30px; 
    font-family: impact, sans-serif;
    transition: all 0.3s ease; 
    text-align: center;
    margin: 0 20px; 
    padding: 10px 30px; 
}

nav a:hover {
    background-color: white; 
    color: black; 
    border: 2px solid black; 
    transform: scale(1.1); 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); 
}


.nav-odkaz {
    position: absolute;
    top: 10px;
    width: 25%;
    text-align: center;
}

.odkaz-druhy {
    left: 0%;
}

.odkaz-treti {
    left: 25%;
}

.odkaz-ctvrty {
    left: 50%;
}

.odkaz-paty {
    left: 75%;
}

main {
    width: 100%;
    min-height: 450px;
    font-size: 20px;
    margin-top: 70px;
    padding-bottom: 50px;
}

main h1 {
    text-align: center;
    font-family: impact;
    top: 30px;
}
.container{
  display: flex;                 
  justify-content: center;       
  align-items: center;           
  gap: 150px;                     
}
.box1, .box2, .box3{
    display: inline-block; 
    gap: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}
.box1{
 box-shadow: 0px 0px 30px black;
  width: 250px;
  height: 360px;
  padding: 10px;
  margin: 10px;
  text-align: center;
  font-family: Arial, sans-serif;

}
.box2{
  box-shadow: 0px 0px 50px black;
  width: 250px;
  height: 360px;
  padding: 10px;
  margin: 10px;
  text-align: center;
  font-family: Arial, sans-serif;
  

}
.box3{
  box-shadow: 0px 0px 50px black;
  width: 250px;
  height: 360px;
  padding: 10px;
  margin: 10px;
  text-align: center;
  font-family: Arial, sans-serif;

}
.container2{
  display: flex;                 
  justify-content: center;       
  align-items: center;           
  gap: 150px;
  margin-top: 150px;                   
}
.box4, .box5, .box6{
    display: inline-block; 
    gap: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
    font-family: Arial, sans-serif;
}
.box4{
  box-shadow: 0px 0px 50px black;
  width: 250px;
  height: 360px;
  padding: 10px;
  margin: 10px;
  

}
.box5{
  box-shadow: 0px 0px 50px black;
  width: 250px;
  height: 360px;
  padding: 10px;
  margin: 10px;
  

}
.box6{
  box-shadow: 0px 0px 50px black;
  width: 250px;
  height: 360px;
  padding: 10px;
  margin: 10px;

}
.zamestnanci{
  box-shadow: 0px 0px 50px black;
  width: 250px;
  height: 360px;
  padding: 10px;
  margin: 10px;
  align-items:center;
  border-radius:20px;
  transition: all 0.3s ease;  
}
.zamestnanci:hover{
    transform: scale(1.10);
    box-shadow: 0px 0px 50px black;
    transition: all 0.3s ease; 
}
.prodejce{
  display: flex;
  gap: 10px;
  margin-top: 20px;
  align-items:center;
  justify-content:center;
  }
.finance{
 display: flex;      
  gap: 10px;
  margin-top: 20px;
  align-items:center;
  justify-content:center;
}
.sklad{
  display: flex;               
  gap: 10px;
  margin-top: 20px;
  align-items:center;
  justify-content:center;


}
.lidi{
  display: flex;               
  gap: 10px;
  margin-top: 20px;
  align-items:center;
  justify-content:center;


}
.dalsi{
  display: flex;             
  gap: 10px;
  margin-top: 20px;
  align-items:center;
  justify-content:center;


}
.kontakty-text{
    margin: 20px 20px 30px 20px;
    text-align: center;

}
.box1 img, .box2 img, .box3 img, .box4 img, .box5 img, .box6 img {
    max-width: 100%;   
    height: 150px;      
    display: block;   
    margin: 0 auto; 
}
.box1 p, .box2 p, .box3 p, .box4 p, .box5 p, .box6 p{
    font-size: 20px;
    text-align: center;
    
}
.box1 a, .box2 a, .box3 a, .box4 a, .box5 a, .box6 a {
    display: inline-block;
    margin: 10px auto; 
    padding: 15px 50px; 
    border: 2px solid #055CF2;
    border-radius: 20px;
    background-color: transparent;
    color: #055CF2;
    text-decoration: none; 
    font-size: 15px; 
    text-align: center; 
    transition: all 0.3s ease; 
    font-family: arial;
}

.box1 a:hover, .box2 a:hover, .box3 a:hover, .box4 a:hover, .box5 a:hover, .box6 a:hover {
    background-color: #055CF2; 
    color: white; 
    transform: scale(1.1); 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); 
    border: 2px solid #3E52EB;
}
.box1 h1, .box2 h1, .box3 h1, .box4 h1, .box5 h1, .box6 h1{
    font-size: 25px;
    text-align: center;
    font-family: arial;
}
.socka {
    display: flex;
    justify-content: center; 
    gap: 10px; 
    padding: 10px;
    list-style:none;

}
.socka a:hover{
    background-color: #055CF2; 
    color: white; 
    transform: scale(1.1); 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); 
    border: 2px solid #3E52EB;
}

.socka a {
    padding: 10px 30px; 
    border: 2px solid #055CF2; 
    border-radius: 20px; 
    background-color: transparent; 
    color: #055CF2;
    text-decoration: none;
    font-size: 15px; 
    text-align: center; 
    transition: all 0.3s ease; 
    font-family: Arial, sans-serif; 
}
.box-zpravy{
    border: 1px solid black;
    width: 800px;
    height: 400px;
    padding: 10px;
    margin: 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}
.box-zpravy:hover{
    transform: scale(1.05); 
    box-shadow: 0px 0px 50px black;
    transition: all 0.3s ease; 
}
.box-zpravy img{
    max-width: 100%;
    height: 200px;      
    display: block; 
    margin: 0 auto;
    border-radius: 20px;
}
.box-zpravy h1{
    font-size: 30px;
    font-family: Arial, sans-serif;
}
.box-zpravy p{
    font-size: 25px;
    text-align: center;
    font-family: Arial, sans-serif;
}
.order-box {
    width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.order-box h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.order-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: bold;
}

.order-box input,
.order-box textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.order-box button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.order-box button:hover {
    background-color: #0056b3;
}

.datum{
    font-size: 20px;
}
.container3{
  display: flex;                 
  justify-content: center;       
  align-items: center;           
  gap: 100px;
  margin-top: 20px;
  flex-direction: column;
  }
.container3 a{
    text-decoration: none;
    color: black;
  }

.jmeno {
    text-align: center;
}

.misto {
    text-align: center;
    font-size: 17px;
}

.nadpis-misto {
    text-align: center;
}

.p-obrazek img {
    width: auto; 
    height: 250px; 
    top: 0px;
    margin-left: auto;
    margin-right: auto;
    display: block; 
    transition: all 0.3s ease;
    border-radius:20px;
}
.novinky p{
    text-align: center;
    font-family: arial;
    margin: 20px 10px 30px 20px; 
}
.novinky h2{
    text-align: center;
    font-family: arial;
}
.obrazky-novinky img{
    width: auto;
    height: 250px;
    margin-left: 300px;
}
.tabulka{
    display: flex; 
    justify-content: center; 
    align-items: center;
}

footer p {
    text-align: center;
    font-size: 20px;
    color: white;
}

footer {
    background-color: black;
    padding: 10px;
    margin: 0px;
    font-family: impact;
    position: relative; 
    width: 100%; 
}
@media screen and (max-width: 1100px) {
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    header img {
        max-width: 100%;
        height:auto;
        width:450px;
        
    }

    header {
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center; 
        padding: 100px;
    }

    nav {
        height: 220px;
        width: 100%
        display: flex;
        flex-direction: column; 
        align-items: center;
        padding: 10px 0;
        background-color: black;
    }

    nav a {
        margin: 0;             
        padding: 10px;         
        font-size: 35px;       
        width: 100%;           
        border-radius: 0;      
        box-sizing: border-box; 
    }

    nav a:hover {
        transform: scale(1);
        box-shadow: none; 
    }

    main {
        margin-top: 20px;
        font-size: 16px;
        padding: 10px;
    }
    main p{
        font-size: 30px;
    }

    .container, .container2, .container3 {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
        align-items: center;
    }

    .box1, .box2, .box3, .box4, .box5, .box6 {
        width: 90%;
        margin: 0 auto;
        height: auto;
    }

    .box1 img, .box2 img, .box3 img, .box4 img, .box5 img, .box6 img {
        height: auto;
        width: 180px;
    }
    .order-box {
        width: 90%;
        padding: 15px;
    }

    .box-zpravy {
        width: 50%;
        height: auto;
        flex-direction: column;
        align-items: center;
    }
    .box-zpravy p{
    font-size: 20px;
     
    }
    .box-zpravy h1{
    font-size:25px;
    }

    .box-zpravy img {
        height: auto;
    }

    iframe {
        padding-left: 0;
        width: 100%;
    }

    footer p {
        font-size: 16px;
    }

    .novinky p {
        font-size: 16px;
        margin: 20px 20px 30px 20px; 

    }

    .p-obrazek img {
        height: 200px;
    }

    .obrazky-novinky img {
        height: 200px;
        margin-left: 0;
        display: block;
        margin: 0 auto;
    }
    .novinky p{
        font-size:20px;
        text-align: justify;
    }

    .nav-odkaz {
        position: static;
        width: 100%;
        text-align: center;
    }

    .box1 a, .box2 a, .box3 a, .box4 a, .box5 a, .box6 a {
    display: inline-block; 
    margin: 10px auto; 
    padding: 15px 50px; 
    border: 2px solid #055CF2;
    border-radius: 20px;
    background-color: transparent;
    color: #055CF2; 
    text-decoration: none; 
    font-size: 15px; 
    text-align: center; 
    transition: all 0.3s ease;
    font-family: arial;
}

.box1 a:hover, .box2 a:hover, .box3 a:hover, .box4 a:hover, .box5 a:hover, .box6 a:hover {
    background-color: #055CF2; 
    color: white; 
    transform: scale(1.1); 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #3E52EB;
}
.prodejce, .finance, .sklad, .lidi, .dalsi {
    flex-direction: column; 
    align-items: center; 
  }

  .zamestnanci {
    width: 50%; 
    height: 50%;
    margin: 10px 0; 
  }
  .nadpis h1: font-size:50px;
}


