
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(1, 1fr);
    gap: 4px;
    margin: 0 4px;

}

.grid-item {

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;

    height: 250px;
    margin-bottom: 5px;
    position: relative;
}

.grid-item h2 {
    margin: 5px;
    position: absolute;
    bottom: 30px;
    left: 0px;
    padding: 10px;
    background-color: rgb(63, 156, 102);
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 2px black;
    font-size: 25px;
}

.grid-container a {

    text-decoration: none;
}

.grid-item img {
    width: 100px;
    margin: 5px;

}

.grid-container .richelTechnika1 {
    background-image: url(../img/richel1.jpg);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.grid-container .richelTechnika1:hover {
    background-size: 110%;
    cursor: pointer;
}

.grid-container .richelTechnika2 {
    background-image: url(../img/richel2.webp);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.grid-container .richelTechnika2:hover {
    background-size: 110%;
    cursor: pointer;
}

.grid-container .richelTechnika3 {
    background-image: url(../img/richel3.webp);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.grid-container .richelTechnika3:hover {
    background-size: 110%;
    cursor: pointer;
}
.gallery {
    width: 80%;

    margin: 50px 10%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 sloupce */
    grid-template-rows: repeat(3, 1fr);
    /* 3 řádky */
    grid-gap: 10px;
    /* mezera mezi obrázky */

}


.image-container {
    position: relative;
    display: inline-block;
   
    cursor: pointer;
    width: 100%;
    height: auto;
}

.image-container img {
    width: 100%;
    height: 100%;
}

.image-container.large {
    grid-column: span 2;
    /* zabírá 2 sloupce */
    grid-row: span 2;
    /* zabírá 2 řádky */
}

.image-container.small {
    grid-column: span 1;
    /* zabírá 1 sloupec */
    grid-row: span 1;
    /* zabírá 1 řádek */
}

.gallery-image {
    width: 200px;
    height: 200px;
    transition: opacity 1.5s ease;
}

.gallery-image1 {
    width: 400px;
    height: 400px;
    transition: opacity 1.5s ease;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    display: none;
    pointer-events: none;
}


.image-container:hover .gallery-image {
    opacity: 0.1;
}

.image-container:hover .search-icon {
    display: block;
}

/* Styly pro plnoobrazovkový režim */
#fullscreen-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding-top: 50px;
}

#fullscreen-view img {
    max-width: 90%;
    max-height: 80%;
}

#close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

#prev,
#next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
}

#prev {
    left: 200px;
}

#next {
    right: 200px;
}


.grid-container1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(1, 1fr);
    gap: 0px;
    margin: 50px 4px;
}

.nadpisVanovy {
    margin-top: 30px;
}

.grid-item1 {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow:4px 3px 10px 2px rgb(224, 223, 222);
    height: 25vw;
    margin-bottom: 5px;
    position: relative;
}

.grid-container1 .Haly1 {
    background-image: url(../img/halyHlavni.webp);
    background-size: cover;
    background-size: 100%;
    background-position: center;

    overflow: hidden;
}

.grid-container1 .Haly4 {
    background-image: url(../img/halyPopis.webp);
    background-size: cover;
    background-size: 100%;
    background-position: center;

    overflow: hidden;
}

.grid-container1 .Haly5 {
    background-image: url(../img/halyProfil.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;

    overflow: hidden;
}

.grid-container1 .Haly8 {
    background-image: url(../img/halyKotveni.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;

    overflow: hidden;
}

.grid-container1 .Haly9 {
    background-image: url(../img/halyMoznosti.jpeg);
    background-size: cover;
    background-size: 100%;
    background-position: center;

    overflow: hidden;
}


.volitelnaVybava {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(1, 1fr);
    gap: 4px;
    margin: 0 4px;
  

}

.volitelna-vybava {
 
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
    height: 200px;
    margin-bottom: 5px;
    position: relative;
}

.volitelna-vybava h2 {
    margin: 5px;
    position: absolute;
    bottom: 30px;
    left: 0px;
    padding: 10px;
    background-color: rgb(31, 54, 92);
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 2px black;
    font-size: 25px;
}

.volitelnaVybava .halyVybava1 {
    background-image: url(../img/halyPlachtoveCelo.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava1:hover {
    background-size: 110%;

}

.volitelnaVybava .halyVybava2 {
    background-image: url(../img/halyRolovaciJednoducha.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava2:hover {
    background-size: 110%;

}

.volitelnaVybava .halyVybava3 {
    background-image: url(../img/halySitoveCelo.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava3:hover {
    background-size: 110%;

}

.volitelnaVybava .halyVybava4 {
    background-image: url(../img/halyPlachtovoSitove.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava4:hover {
    background-size: 110%;

}

.volitelnaVybava .halyVybava5 {
    background-image: url(../img/halyRolovaciVrataEl.jpeg);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava5:hover {
    background-size: 110%;

}

.volitelnaVybava .halyVybava6 {
    background-image: url(../img/halyPevneCelo.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava6:hover {
    background-size: 110%;

}

.volitelnaVybava .halyVybava7 {
    background-image: url(../img/halyPosuvnaVrata.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava7:hover {
    background-size: 110%;

}

.volitelnaVybava .halyVybava8 {
    background-image: url(../img/halyPosuvneDvere.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava8:hover {
    background-size: 110%;

}

.volitelnaVybava .halyVybava9 {
    background-image: url(../img/halyOplechovani.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava9:hover {
    background-size: 110%;

}

.volitelnaVybava .halyVybava10 {
    background-image: url(../img/halyProsvetleni.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    transition: background-size 5s ease;
    overflow: hidden;
}

.volitelnaVybava .halyVybava10:hover {
    background-size: 110%;

}


.formularHaly {
    color: rgb(58, 57, 57, 0.8);

}

.formularHaly .zpusobHaly label,
.formularHaly .vyberVybavu label {
    color: rgb(58, 57, 57, 0.8);
}

.formularHaly form ::placeholder {
    font-family: "roboto";
}

.formularHaly .prvek {
    border: none;
    margin-bottom: 8px;

}

.formularHaly .kontaktyFormular {
    width: 100%;
}






.formularHaly form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    margin: 0 20%;

}

.formularHaly form #name,
.formularHaly form #email{
    width: 32.4%;
    height: 40px;
    background-color: rgb(231, 226, 226);
}
.formularHaly form #phone {
    width: 32.7%;
    height: 40px;
    background-color: rgb(231, 226, 226);
}


.formularHaly form #adresa {
    width: 100%;
    height: 40px;
    background-color: rgb(231, 226, 226);
}

.formularHaly form #delka {
    width: 70%;
    height: 40px;
    background-color: rgb(231, 226, 226);
}
.formularHaly form .radioPrvni{
    margin-left: 3px;
}
.formularHaly form .radioDruhe{
    margin-left: 1px;
}

.formularHaly form #email {
    margin-right: 4px;
}

.formularHaly form #name {
    margin-right: 4px;
}

.formularHaly form #message {
    width: 100%;
    height: 150px;
    background-color: rgb(231, 226, 226);
}

.formularHaly input[type="checkbox"] {
    width: 20px;
    /* Zvětšení šířky checkboxu */
    height: 20px;
    /* Zvětšení výšky checkboxu */
    cursor: pointer;
    /* Změna kurzoru na ukazovátko při najetí myši */
    border: white;

    margin-bottom: 0px;
}

.formularHaly input[type="radio"] {
    width: 18px;
    /* Zvětšení šířky checkboxu */
    height: 18px;
    cursor: pointer;
    border: 2px solid #000;
    border-radius: 3px;
    padding: 5px;
}


.formularHaly form label {
    margin: 0 30px 0 10px;
    font-size: 14px;

}

.formularHaly .zpusobHaly {
    display: flex;
    flex-direction: row;

}

.formularHaly .kotveniHaly {
    margin: 10px 100px 10px 30px;
}

.formularHaly .sirkaHaly {
    margin: 10px 100px 10px 30px;
}

.formularHaly .souhlasformular {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.formularHaly button {
    width: 200px;
    height: 40px;
    border: 2px solid #e8211b;
    background-color: white;
    color: #e8211b;
    font-weight: 600;
}

.formularHaly button:hover {

    border: 2px solid #e8211b;
    background-color: #e8211b;
    color: white;
}

.halyKontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 0;
}

.vybavaHalyRichel {
    width: 80%;
    margin: 50px 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: rgb(146, 141, 141);
    padding: 20px;
}

.vybavaHalyRichel ul {
    margin: 20px;
}

.vybavaHalyRichel .standardniVybava {
    padding: 10px 20px;
    margin-right: 60px;
    color: white;
}

.vybavaHalyRichel ul li {
    padding: 5px 0;
    font-size: 14px;
}

@media (max-width: 1340px) {
    .formularHaly form #name,
    .formularHaly form #email{
        width: 100%;
      
    }
    .formularHaly form #phone {
        width: 100%;
     
    }
    .formularHaly .kontaktyFormular {
        display: flex;
        flex-direction: column;
     }
    }
@media (max-width: 700px) {
    .formularHaly .kontaktyFormular {
       display: flex;
       flex-direction: column;
    }
    .formularHaly form #name,
.formularHaly form #email{
    width: 100%;
  
}
.formularHaly form #phone {
    width: 100%;
 
}
.formularHaly .zpusobHaly {
    display: flex;
    flex-direction: column;
    align-items: center;

}
.formularHaly form #delka {
    width: 100%;
   
}
.vyberVybavu{
    margin: 30px 0;
}
.formularHaly form label {
    margin:0;
   

}
.formularHaly button{
    margin-top: 20px;
}
.formularHaly form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 0 5%;

}
.souhlasFormular{
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.formularHaly .kotveniHaly {
    margin:10px 0;
}

.formularHaly .sirkaHaly {
    margin:10px 0;
}
    
    }



/***********plachty************/

.eshopPlachty{
     margin: 50px 0;
     display: flex;
     justify-content: center;
}
.eshopPlachty a {
    text-align: center;
    width: 200px;
    height: 40px;
    border: 2px solid #e8211b;
    background-color: white;
    color: #e8211b;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 30px;
   
}
.eshopPlachty a:hover {

    border: 2px solid #e8211b;
    background-color: #e8211b;
    color: white;
}

.grid-container1 .plachty1 {
    background-image: url(../img/plachty1.jpg);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    overflow: hidden;
}
.grid-container1 .plachty4 {
    background-image: url(../img/plachty2.jpg);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    overflow: hidden;
}
.grid-container1 .plachty5 {
    background-image: url(../img/plachty3.png);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    overflow: hidden;
}
.grid-container1 .plachty8 {
    background-image: url(../img/plachty4.webp);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    overflow: hidden;
}
.grid-container1 .plachty9 {
    background-image: url(../img/plachty5.webp);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    overflow: hidden;
}

/******sítě***********/

.grid-container1 .site1 {
    background-image: url(../img/sit1.jpg);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    overflow: hidden;
}
.grid-container1 .site4 {
    background-image: url(../img/sit2.jpg);
    background-size: cover;
    background-size: 100%;
    background-position: center;
    overflow: hidden;
}