:root{
    --font-main:fd 'Raleway', sans-serif;
    --font-texts: 'Roboto Serif', sans-serif;
    --main-brown: #C07F00;
    --brown: #4C3D3D;
    --main-yellow: #FFD93D;

}
*{
    margin: 0;
    padding: 0;
}
html{
    font-family: var(--font-main);
    background-color: #F6F1E9;
}
h2{
    color: var(--brown);
    font-size: 4rem;
    text-shadow: 0px 4px 5px #F6F1E9;
    padding-left: 50px;
    background-color: #F6F1E9;
    text-decoration: underline var(--main-yellow);
}
h3{
    font-family: var(--font-main);
    color: var(--brown);
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}
h4{
    font-size: 1.2rem;
    color: rgb(246,241,233);
}
.pt40{
    padding-top: 40px;
}
.pb40{
    padding-bottom: 40px;
}
.mainheading h1{
    color: var(--main-yellow);
   font-weight:bold;
   font-size: 4rem; 
   padding-left: 50px;
   text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
   padding-top: 80px;
   text-decoration: underline var(--main-yellow);
    
}
.mainheading{
    height: 200px;
    width: 100%;
    background-color: #F6F1E9;
}
.section1{
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    
    
}
.section1 .photo{
    background-image: url(/img/Epal-Wooden-pallets.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 40%;
}
.section1 .text{
    width: 40%;
    font-family: var(--font-main);
}
.section1 .text ul{
    list-style-type: none;
}
.section1 .text ul li{
    padding-top: 15px;
}
.presection-photo{
    background-image: url(/img/pexels-tom-fisk-9565565-1.avif);
    background-position: 0% 100%;
    /* background-size: cover; */
    background-repeat: no-repeat;
    height: 215px;
    margin: 0 auto;
    margin-top: -196px;
}
.blk{
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.478);
}
.section2{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-around;
    justify-items: center;
    padding-top: 70px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 50px;
}
.section2 .box1,
.section2 .box2,
.section2 .box3,
.section2 .box4{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 80%;
}
.section2 .box1 p,
.section2 .box2 p,
.section2 .box3 p,
.section2 .box4 p{
    padding-top: 20px;
    text-align: center;
    font-family: var(--font-texts);
    font-weight: 600;
    line-height: 28px;
    font-size: 20px;
    color: black;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.229);
}
.section3{
    background-image: url(/img/DGI_001587_2048x1152_rdax_65s.avif);
    background-position: 20%;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: lighten;
    width: 100%;
    
}
.blkfgrid{
    background-color: rgba(0, 0, 0, 0.426);
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    justify-content: space-around;
    justify-items: center;
    align-items: center;
}
.vykupna1,
.vykupna2,
.vykupna3,
.vykupna4,
.vykupna5,
.vykupna6{
    height: 200px;
    background-color:#f6f1e9e0;
    width: 70%;
    border: 4px solid var(--main-yellow);
    border-radius: 8px;
    -webkit-box-shadow: 3px 5px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 5px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 3px 5px 5px 0px rgba(0,0,0,0.75);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-top: 25px;
    margin-bottom: 25px;
}

.vykupna1:hover,
.vykupna2:hover,
.vykupna3:hover,
.vykupna4:hover,
.vykupna5:hover,
.vykupna6:hover{
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

.vykupna1 p,
.vykupna2 p,
.vykupna3 p,
.vykupna4 p,
.vykupna5 p,
.vykupna6 a{
    text-align: center;
    font-weight: bold;
    font-size: larger;
    text-decoration: none;
    color: black;
}
.vykupna6 a:hover{
    transform: scale(1.2);
}
.section4{
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
}
.provoz1,
.provoz2{
    width: 40%;
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}
.provoz1 p,
.provoz2 p{
    font-size: 17px;
    font-weight: bold;
    text-align: center;
}
.provoz1 h3,
.provoz2 h3{
    text-decoration: underline var(--main-yellow);
    text-shadow: none;
    font-size: 2rem;
}
.section5{
    background-image: url(/img/AdobeStock_294248312.jpeg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 400px;
}
.overflow{
    width: 80%;
    min-height: 400px;
    background: rgb(246,241,233);
    background: linear-gradient(90deg, rgba(246,241,233,1) 81%, rgba(254,254,254,0) 99%);
    
}
.certificategrid{
    width: 80%;
    min-height: 400px;
    display: grid;
    align-content: center;
    justify-items: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;

}
.certificate1,
.certificate2,
.certificate3,
.certificate4{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.certificate1 h3,
.certificate2 h3,
.certificate3 h3,
.certificate4 h3{
    font-size: 1.3rem;
}
.footer{
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    background-color: var(--brown);
}
.main{
    padding: 20px;
}
.main p{
    margin-top: 13px;
    color: rgb(246,241,233);
    font-size: 14px;
    font-family: var(--font-texts);
}

.tel{
    display: flex;
    align-items: center;
    padding-left: 40px;
    padding-bottom: 20px;
    padding-top: 20px;
}

.tel a{
    text-decoration: none;
    font-size: 14px;
    margin-left: 10px;
    color: var(--main-yellow);
    font-family: var(--font-texts);
}
.email{
    display: flex;
    align-items: center; 
    padding-left: 40px;
    padding-bottom: 20px;
}
.email a{
    text-decoration: none;
    font-size: 14px;
    margin-left: 10px;
    color: var(--main-yellow);
    font-family: var(--font-texts);
}
.watermark{
    width: 100%;
    height: 80px;
    background-color: var(--brown);
    color: rgb(246,241,233);
    display: flex;
    align-items: center;
    justify-content: center;
}
.watermark a{
    text-decoration: none;
    color: var(--main-yellow);
}




.pl20{
    padding-left: 20px;
}
.ulname{
    font-weight: bold;
    font-size: 18px;
}
.smaller{
    font-size: 2rem;
}
@media screen and (max-width: 1500px) {
    
    h2{
        font-size: 4rem;
    }
    h3{
        font-size: 2rem;
    }
    .vykupna1 p{
        font-size: 16px;
    }
    .presection-photo{
        background-position: 0% 80%;
        
    }
    
}
@media screen and (max-width: 1100px) {
    
     .section2{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
     }
     .blkfgrid{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
     }
    
}
@media screen and (max-width: 950px) {
    
    .certificategrid{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap:0;
    }
    .pb40media{
        padding-bottom: 40px;
    }
    
    
}
@media screen and (max-width: 800px) {
    .mainheading h1{
        font-size: 3rem;
    }
    
}
@media screen and (max-width: 700px) {
    .blkfgrid{
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
    }
    .section4{
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .certificategrid{
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
    .certificate1 h3,
    .certificate2 h3,
    .certificate3 h3,
    .certificate4 h3{
    font-size: 1rem;
    }
    svg{
        height: 60px;
        width: 60;
    }
    
}
@media screen and (max-width: 625px) {
    .mainheading h1{
        padding-top: 50px;
    }
    
}
@media screen and (max-width: 600px) {
    .footer .main{
        font-size: 14px;
        padding-top: 0;
        
    }
    .footer .kontakt{
        width: 100%;
    }
    .footer .kontakt .tel,
    .footer .kontakt .email{
        padding-left: 20px;
        padding-top: 0;
        padding-bottom: 0;
    }
    .kontakt:first-child{
        padding-top: 20px;
    }
    .footer{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        
    }
    .mainheading h1{
        padding-left: 30px;
    }
    
}
@media screen and (max-width: 500px) {
.section2{
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
}
    
}
@media screen and (max-width: 400px) {
    .mainheading h1{
        font-size: 2.5rem;
    }
    h2{
        font-size: 3rem;
        padding-left: 20px;
    }
    
}
