*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
/***** FONTS *****/
body{
    font-family: "Roboto Slab";
    font-weight: 500;
}
.row{
    background-color:rgba(59,152,164,0.9);
    width: 80%;
    margin: 0px auto;
}
/***** REPORTY *****/
.success_message{
    background-color: green;
}
.error_message{
    background-color: red;
}
.error_message, .success_message{
    width: 80%;
    border: 2px solid black;
    border-radius: 15px;
    color: aliceblue;
    font-size: 26px;
    font-weight: bold;
    margin: 20px auto;
    padding: 5px;
    text-align: center;
}
/***** SCROLL *****/
.scroll{
    opacity: 0;
    transform: translateY(150px);
    transition: 1s;
}
#scroll{
    opacity: 0;
    transform: translateY(150px);
    transition: 1s;
}
#scroll.active{
    opacity: 1;
    transform: translateY(0);
}
.scroll.active{
    opacity: 1;
    transform: translateY(0);
}
.start_scroll{
    opacity: 0;
    transform: translateY(150px);
    transition: 1s;
}
.start_scroll.active2{
    transform: translateY(-110%);
    opacity: 1;
}
/***** NADPISY *****/
.headers{
    text-align: center;
}
.headers h2{
    position: relative;
    top: 70px;
    font-size: 50px;
    font-weight: bold;
    font-family: "Roboto Serif";
    /* text-shadow: -1px 0 #b7b7b7, 0 1px #b7b7b7, 1px 0 #b7b7b7, 0 -1px #b7b7b7; */
}
.headers h3{
    /* text-shadow: -1px 0 #b7b7b7, 0 1px #b7b7b7, 1px 0 #b7b7b7, 0 -1px #b7b7b7; */
    font-size: 45px;
    font-weight: bold;
    padding-top: 35px;
    font-family: "Roboto Serif";
}
/***** LOGO ZÁMEK*****/
.logo_krivoklat img{
    border-radius: 20px;
}

#logo_partner h3{
    color: #fff;
}
#logo_partner h3 a{
    background: #2693ff;
    font-size: 56px;
    border-radius: 6px;
    font-family:  'Oleo Script', serif;;
    font-weight: 400;
    padding: 0em 0.2em 0em 0.2em;
    font-size: 4em;
    letter-spacing: 0.05em;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0px 0px 2px 0px black;
}
#logo_partner h3 a{
    text-decoration: none;
    color: inherit;
}
/***** NAVIGACE *****/
.main_nav{
    height: 95px;
}
nav{
    position: fixed;
    width: 100%;
    height: 95px;
    background-color: #3B98A4;
    box-shadow: 0px 3px 5px white;
    z-index: 400;
}
nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 35px;
}
nav ul li{
    list-style-type: none;
}
nav ul li a{
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: black;
    padding: 0px 20px;
    display: block;
}
nav ul li a:hover{
    font-size: 32px;
    transition: 2s;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}
nav a img{
    height: 100px;
    position: absolute;
    z-index: 2000;
}
.lang{
    z-index: 999;
    position: fixed;
    right: 10px;
    top: 5px;
}
.lang a{
    display: block;
}
.lang a img{
    width: 40px;
}
/***** NAVIGACE PRODUKTŮ *****/
.main_product_nav{
    overflow: hidden;
    position: relative;
    background-color: rgb(255, 255, 255);
}
#main_menu{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: 300px;
    position: relative;
    top: 30px;
}
#sub_menu{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    transform: translateX(100%);
    position: relative;
    top: -270px;
    height: 0px;
}
/***** DESIGN DLAŽDIC *****/
.main_product_nav ul li{
    list-style-type: none;
    margin: 10px;
    font-size: 20px;
}
.main_product_nav ul li a{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 4px 1px black;
    border-radius: 15px;
    width: 140px;
    height: 220px;
    text-align: center;
    color: black;
    font-weight: bold;
    background-color: white;
}
.main_product_nav ul li a:hover{
    box-shadow: 7px 10px 5px rgba(255, 255, 255, 1);
    transition: 1s;
    border: 1px solid black;
}
.main_product_nav_img{
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_product_nav ul li a img{
    max-height: 140px;
    max-width: 100%;
}
.main_product_nav ul li a p{
    position: relative;
    top: -16px;    
}
/***** FOOTER *****/
footer{
    background-color: #3B98A4;
    font-size: 17px;
    font-weight: bold;
    width: 100%;
}
.footer_flex{
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.footer_socials{
    display: flex;
    flex-direction: column;
}
.footer_tel{
    display: flex;
}
.footer_socials a{
    margin: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    font-weight: bold;
}
.footer_flex a:hover{
    text-decoration: underline;
    color: #165594;
    transition: 0.5s;
}
.footer_socials img{
    width: 30px;
    margin-right: 20px;
}
.footer_content{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: end;
    height: 150px;
    color: black;
    padding: 10px;
}
.footer_content img{
    width: 50px;
}
.footer_content a{
    margin: 5px;
    width: 100%; 
    color: black;
    text-decoration: none;
}
.footer_adress p{
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}
.footer_content p{
    text-align: end;
    margin: 5px;
}


.recaptcha-alert {
     width: 80%;
    border: 2px solid black;
    border-radius: 15px;
    color: aliceblue;
    font-size: 26px;
    font-weight: bold;
    margin: 20px auto;
    padding: 5px;
    text-align: center;
    background-color: red;
    display: none;
}
