div,
aside,
p {
    outline: 3px solid #801a09;
    outline: none;
}

/*GENERAL*/
body {
    color: #3d3d3d;
    background: #e1dddd;
    font-family: 'Lora', sans-serif;
    width: auto;
}

::-moz-selection {
    background: #ddd;
    color: #000;
    text-shadow: none;
}

::selection {
    background: #ddd;
    color: #000;
    text-shadow: none;
}

.tablesorter-resizable-handle {
    user-select: all;
    user-select: auto;
}


.container:before,
.navigatin:before,
.group:before,
.menu:before,
.container:after,
.navigation:after,
.group:after,
.menu:after,
.motto {
    content: " ";
    display: table;
}

.navigation:after,
.container:after,
.group:after,
.menu:after {
    clear: both;
}

/*.header,
.navigation,
.container,
.group,
.menu {
    *zoom: 1;
}
*/
strong {
    font-weight: 300;
}

h1 {

    color: #ffffff;
    width: auto;
    font-size: 2rem;
    font-style: oblique;
    margin-top: 28px;
    text-align: left;
    padding: 2px 2px 2px 2px;
    text-shadow: 1px 2px 0 #c0c0c0;
    display: block;
}

.title1,
.title2,
.title3 {
    width: auto;
    background-color: transparent;
    margin: 16px 20px 18px 20px;
    display: block;
}

.title1 h2,
.title2 h2,
.title3 h2 {

    font-family: 'Lora', sans-serif;
    font-style: oblique;
    font-size: 176%;
    color: #323232;
    margin: 5px 20px 0 20px;
    text-align: center;
    text-shadow: 1px 1px 0 #b9b7b7;
    display: block;
}

a,
ul,
ol,
li,
a:hover,
a:focus {
    font-size: 0.938rem;
    font-style: normal;
    font-weight: bold;
    font-family: 'Lora', sans-serif;
    color: rgb(214, 212, 212);
    text-decoration: none;
}

button {
    outline: none;
    cursor: pointer;

}

.selected,
a:hover,
a:focus,
.navigation a:focus,
.navigation a:hover {
    color: rgb(156, 93, 93);
    text-decoration: none;

}

.gallery,
.navigation {
    width: auto;
    height: auto;
    margin: 0 0;
    display: block;
}

.grow {

    vertical-align: middle;
    -webkit-transform: perspective(1px) translate(0);
    -moz-transform: perspective(1px) translate(0);
    -ms-transform: perspective(1px) translate(0);
    -o-transform: perspective(1px) translate(0);
    transform: perspective(1px) translate(0);
    -ms-box-shadow: 0 0 1px transparent;
    -moz-box-shadow: 0 0 1px transparent;
    -webkit-box-shadow: 0 0 1px transparent;
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
    box-sizing: content-box;
    overflow: hidden;
}

.grow:hover,
.grow:focus,
.grow:active {
    -ms-box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5);
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}


/*HEADER*/
.container {
    position: relative;
}

.container {
    position: relative;
    background-image: linear-gradient(to right, #3d3d3d, #494640, #675a51, #6d5a51);
    width: 100%;
    color: #ffffff;
    display: block;
    box-shadow: 10px 10px 10px 10px #918f8f;

}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.container h3 {
    margin-top: -20px;
    margin-bottom: 20px;
    margin-left: 32px;
    font-size: 1.75rem;
    text-align: center;
    animation: fadeIn 1s forwards;
}

.container p {
    float: right;
    margin-top: 0%;
    padding-left: 7%;
    overflow: hidden;
}

@keyframes rotatePartial {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-45deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.container img {
    margin-top: 1%;
    max-width: 100px;
    height: auto;
    top: 0;
    left: 0;
    animation: rotatePartial 4s linear infinite;
}


.navi {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    background-image: linear-gradient(to right, #3d3d3d, #494640, #675a51, #6d5a51);
    flex-wrap: wrap;
}

.navi a {
    text-decoration: none;
    color: #e1dddd;
    font-weight: unset;
}

.navi a:hover {
    color: rgb(156, 93, 93);
}

.custom_span {
    max-width: 89px;
    max-height: 88px;
}

@media (max-width: 768px) {
    .navi {
        flex-direction: column; 
    }

    .navi li {
        margin: 10px 0;
        text-align: center; 
    }

    .container img {
        max-width: 80px;
    }

    .container h3 {
        font-size: 1.5rem; 
    }
}

@media (max-width: 480px) {
    .navi {
        padding: 5px; 
    }
}

/*KONIEC HEADER*/

/*FORMULAR*/
.styled-form {
    border: 1px solid #ccc;
    /* Border box */
    box-shadow: 0 4px 8px rgba(33, 33, 33, 0.2);
    /* Box shadow */
    padding: 20px;
    /* Padding inside the form */
    border-radius: 10px;
    /* Optional: Rounded corners */
    max-width: fit-content;
    /* Optional: Maximum width */
    margin: 20px auto;
    /* Center the form horizontally */
    background-image: linear-gradient(to right, #3d3d3d, #494640, #675a51, #6d5a51);
    color: #b9b7b7;
}

.styled-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* Optional: Rounded corners for input fields */
    box-sizing: border-box;
    /* Ensure padding is included in the width */
}

.styled-form input[type="submit"] {
    padding: 10px 20px;
    background-color: #676767;
    color: white;
    border: none;
    border-radius: 5px;
    /* Optional: Rounded corners for submit button */
    cursor: pointer;
}

.styled-form input[type="submit"]:hover {
    background-color: #999b99;
    /* Change color on hover */
}



/*MAIN*/
.navigation {

    color: #918f8f;
    background-color: #ececec;
    list-style: none;
    text-align: center;
    margin-left: 7%;
    margin-right: 7%;
    margin-top: 36px;
    margin-bottom: 36px;
    box-sizing: border-box;
    box-shadow: 10px 10px 10px 10px #918f8f;
    position: relative;
    overflow: hidden;
}



/* Štýly pre tlačidlo po najazdení myšou */
input[type="submit"]:hover {
    background-color: #0056b3;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

p.align-center {
    text-align: center;
    animation: fadeInOut 9s forwards;
    font-size: 1.0rem;
    /* zväčši písmo */
    font-weight: bold;
    /* nastav hrubé písmo */
    color: #3d3d3d;
}


.align-center {
    background-color: transparent;
    color: black;
    opacity: 89%;
    margin-top: 1%;
    text-align: center;
    font-weight: normal;
    overflow: hidden;

}

.navigation ul {
    text-align: center;
    box-shadow: none;
    padding-left: 2%;
    text-decoration: none;
    position: relative;
    overflow: hidden;

}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.navigation li {
    margin-top: auto;
    margin-right: 4%;
    position: relative;
    overflow: hidden;
    display: inline-block;
    animation: fadeIn 2s forwards;
}



.navigation a {
    color: #323232;
    font-size: 77%;
    margin-top: 1%;
    text-align: center;
    text-shadow: 1px 1px 0 #b9b9b9;

}

.navigation img {
    border-radius: 7%;
    opacity: unset;
}


input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
}

/* Slider CSS */
.slider-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center vertically */
    overflow: hidden;
}

.slider {
    position: relative;
    width: 80%;
    margin: auto;
    margin-bottom: 30px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 10px 10px 10px 10px #918f8f;
    border-radius: 10px;
}

.slides {
    display: flex;
    transition: transform 1s ease-in-out;
}

.slide {
    flex: 0 0 50%;
    box-sizing: border-box;
    margin: 0 auto;
}


.slider-img {
    width: 100%;
    height: 340px;
    display: block;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 10px;
    transform: translateX(-50%);
    background: rgba(237, 235, 235, 0.6);
    color: #202020;
    margin-left: 60px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
}

@media (max-width: 768px) {

    /* Tablet view */
    .slide {
        flex: 0 0 100%;
        /* One slide per view */
    }
}

@media (max-width: 480px) {

    /* Mobile view */
    .slider {
        width: 100%;
    }

    .slide {
        flex: 0 0 100%;
    }

    .slide img {
        width: 100%;
    }
}

@keyframes slide-animation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/*KONIEC MAIN*/


/*FOOTER*/
.pre-footer {
    color: #8f8d8d;
    /*background-color: #3d3d3d;*/
    background-image: linear-gradient(to right, #3d3d3d, #494640, #675a51, #6d5a51);
    height: 100%;
    width: auto;
    text-align: center;
    margin-left: 7%;
    margin-right: 7%;
    margin-bottom: 20px;
    box-shadow: 10px 10px 10px 10px #918f8f;
    display: block;
    overflow: hidden;

}

.pre-container li {
    float: left;
    margin-left: 14%;
    padding: 9px 24px;
    font-size: 98%;
    text-align: center;
    list-style: none;
}

.pre-container .selected {
    float: right;
    margin-right: 14%;
}

.hrefhore {
    margin-top: 80px;
    text-align: center;

}

.hrefhore a {
    color: #c0bfbf;
    text-align: center;
    display: inline-block;

}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.pre-footer p {
    text-align: center;
    font-size: 94%;
    line-height: 23px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 4px 4px;
    text-transform: uppercase;
    animation: fadeIn 3s forwards;
}


.pre-footer strong {
    font-size: 13px;
    padding-bottom: 6px;
    text-transform: none;
}

.pre-footer a {
    line-height: 18px;
    text-decoration: none;
}

.selected a,
li {
    color: #b15241;
}

.sign p {
    font-size: 12px;
    text-align: left;
    font-family: 'monospace';
    color: rgb(143, 140, 140);
    width: auto;
    position: relative;
    padding: 3px 3px;
    margin-left: -100px;
    top: -30px;
}

@media (max-width: 768px) {
    .pre-footer {
        margin-left: 5%;
        margin-right: 5%;
        box-shadow: none;
    }

    .pre-container li {
        float: none;
        margin-left: 0;
        padding: 8px;
        font-size: 90%;
        display: block;
        text-align: center;
    }

    .pre-container .selected {
        float: none;
        margin-right: 0;
        text-align: center;
    }

    .sign p {
        margin-left: 0;
        top: 0;
        text-align: center;
    }

    .pre-container li:last-child {
        margin-bottom: 2px; /* Zmenšenie odsadenia */
        padding-bottom: 2px; /* Prispôsobenie podľa potreby */
    }

    .pre-footer p {
            margin-top: 20px; /* Zvýšenie odsadenia od vrchu */
    }
    
    .pre-container li {
            margin-bottom: 8px; /* Zmenšené odsadenie za linkami */
    }  
}

/*KONIEC FOOTER*/




/*GALLERY
.gallery     { 
    background-color: #ccc9c9;
    text-align: center;  
    margin: 0 auto; 
    box-shadow: 10px 10px 10px 10px #979595;
}
.gallery img  {
    border-radius: 2%;
    padding: 2px 2px;
    opacity: 80%;
}*/

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-left: 7%;
    margin-right: 7%;
    margin-top: 46px;
    margin-bottom: 46px;
    text-align: center;
    box-shadow: 10px 10px 10px 10px #918f8f;
    background-color: #eeebeb;
}

.gallery img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    padding: 20px;
    transition: transform 0.2s ease-in-out;
}

.grow:hover,
.grow:focus,
.grow:active {
    -webkit-box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5);
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.gallery:before,
.gallery:after {
    content: " ";
    display: table
}

.gallery:after {
    clear: both
}