/*POCETNA*/


.sace img{
    max-width: 77%;
    max-height: 80%;
    margin-left: 12%;
}

.categories .first {
    margin-top: -229px;
    font-size: 50px;
    margin-left: 235px;
}

.categories .second {
    margin-top: -262px;
    font-size: 50px;
    margin-left: 487px;
}

.categories .third {
    margin-top: -227px;
    font-size: 60px;
    margin-left: 763px;
}

.categories .fourth {
    margin-top: 24px;
    font-size: 60px;
    margin-left: 987px;
}

.categories a{
    text-decoration: none;
    color: black;
}

a:hover{
    color: darkmagenta;
}



/*KONTAKT MAPA*/

.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}

.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

/*END KONTAKT MAPA*/

/*KONTAKT FORMA*/


body section {
    background: rgba();
    margin: 60px auto;
    border-top: 15px solid #cf910d;
    border-bottom: 15px solid #cf910d;
    text-align: center;
    padding: 30px 0 90px;
    width: 80%;
    max-width: 1100px;
}
body section h1 {
    margin-bottom: 40px;
    font-size: 4em;
    text-transform: uppercase;
    font-family: 'Arima Madurai', cursive;
    font-weight: 200;
    color: black;
}
h1 u{
    text-decoration: none;
}

form {
    width: 58.3333333333%;
    margin: 0 auto;
}
form .field {
    width: 100%;
    position: relative;
    margin-bottom: 15px;
}
form .field label {
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
    background: black;
    width: 100%;
    padding: 18px 0;
    font-size: 1.45em;
    letter-spacing: 0.075em;
    border-radius: 30px;
    -webkit-transition: all 333ms ease-in-out;
    -moz-transition: all 333ms ease-in-out;
    -o-transition: all 333ms ease-in-out;
    -ms-transition: all 333ms ease-in-out;
    transition: all 333ms ease-in-out;
}
form .field label + span {
    font-family: 'Arima Madurai', cursive;
    opacity: 0;
    color: white;
    display: block;
    position: absolute;
    top: 12px;
    left: 7%;
    font-size: 2.5em;
    text-shadow: 1px 2px 0 #0000e9;
    -webkit-transition: all 333ms ease-in-out;
    -moz-transition: all 333ms ease-in-out;
    -o-transition: all 333ms ease-in-out;
    -ms-transition: all 333ms ease-in-out;
    transition: all 333ms ease-in-out;
}
form .field input[type=text],
form .field textarea {
    border: none;
    border-radius: 30px;
    background: #000;
    width: 80.5%;
    margin: 0;
    padding: 18px 0;
    padding-left: 19.5%;
    color: #cf910d;
    font-size: 1.4em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
form .field input[type=text]#msg,
form .field textarea#msg {
    height: 16px;
    resize: none;
    -webkit-transition: all 333ms ease-in-out;
    -moz-transition: all 333ms ease-in-out;
    -o-transition: all 333ms ease-in-out;
    -ms-transition: all 333ms ease-in-out;
    transition: all 333ms ease-in-out;
}
form .field input[type=text]:focus, form .field input[type=text].focused,
form .field textarea:focus,
form .field textarea.focused {
    outline: none;
}
form .field input[type=text]:focus#msg, form .field input[type=text].focused#msg,
form .field textarea:focus#msg,
form .field textarea.focused#msg {
    padding-bottom: 150px;
}
form .field input[type=text]:focus + label, form .field input[type=text].focused + label,
form .field textarea:focus + label,
form .field textarea.focused + label {
    width: 18%;
    background: #cf910d;
    color: white;
}
form .field input[type=text].focused + label,
form .field textarea.focused + label {
    color: #cf910d;
}
form .field:hover label {
    width: 18%;
    background: #cf910d;
    color: white;
}
form input[type=submit] {
    border-radius: 30px;
    background: #cf910d;
    color: white;
    -webkit-appearance: none;
    border: none;
    text-transform: uppercase;
    position: relative;
    padding: 13px 50px;
    font-size: 1.4em;
    letter-spacing: 0.4em;
    font-family: 'Arima Madurai', cursive;
    font-weight: 600;
    -webkit-transition: all 333ms ease-in-out;
    -moz-transition: all 333ms ease-in-out;
    -o-transition: all 333ms ease-in-out;
    -ms-transition: all 333ms ease-in-out;
    transition: all 333ms ease-in-out;
}
form input[type=submit]:hover {
    background: #cf910d;
    color: black;
}
form input[type=submit]:focus {
    outline: none;
    background: #cf910d;
}

/*END KONTAKT FORMA*/

/*GALERIJA*/

body1 {
    --l: calc(100vw/var(--n-cols));
    --hl: calc(.5*var(--l));
    --ri: calc(.5*1.73205*var(--l));
    box-sizing: border-box;
    display: grid;
    place-content: center;
    grid-template: repeat(var(--n-rows), var(--l))/repeat(var(--n-cols), var(--ri));
    grid-gap: var(--hl) 0;
    overflow: hidden;
    margin: 0;
    padding: var(--hl) 0;
    height: 125vh;
    background: rgba();
    filter: drop-shadow(2px 2px 5px);
}
@media (orientation: landscape) {
    body1 {
        --l: calc(145vh/(var(--n-rows) + 3));
    }
}

.hex-cell {
    overflow: hidden;
    grid-column-end: span 2;
    margin: calc(-1*var(--hl)) 0;
    transform: scale(0.95);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.galery img {
    --hl: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(calc(1 + .2*var(--hl)));
    filter: brightness(calc(.6*(1 + var(--hl))));
    transition: .7s;
}
.galery img:hover {
    --hl: 1;
}

/*END GALERIJA*/

h2{
    font-weight: normal;
    font-size: 25px;
    letter-spacing: normal;
}

/*ROTO GALERIJA*/

.slideshow{
    margin: 0 auto;
    padding-top: 92px;
    height: 645px;
    perspective: 1000px;
}

.content{
    margin: auto;
    width: 150px;
    perspective: 1000px;
    position:relative;
    padding-top: 80px;
    transform-style: preserve-3d;
}
.slider-content{
    width: 100%;
    position:absolute;
    float:right;
    animation: rotate 45s infinite linear;
    transform-style: preserve-3d;
}
.slider-content:hover{
    cursor: pointer;
    animation-play-state: paused;
}

.slider-content figure{
    width:170px;
    height:165px;
    border:1px solid #555;
    overflow:hidden;
    position:absolute;
}
.slider-content img{
    image-rendering: auto;
    transition: all 300ms;
    width: 100%;
    height: 100%;


}

.slider-content img:hover{
    transform: scale(1.2);
    transition: all 300ms;
}
.shadow{
    position: absolute;
    box-shadow: 0px 0px 0px #000;
}

.slider-content figure:nth-child(1){
    transform:rotateY(0deg) translateZ(300px);
}

.slider-content figure:nth-child(2){
    transform:rotateY(40deg) translateZ(300px);
}
.slider-content figure:nth-child(3){
    transform:rotateY(80deg) translateZ(300px);
}
.slider-content figure:nth-child(4){
    transform:rotateY(120deg) translateZ(300px);
}
.slider-content figure:nth-child(5){
    transform:rotateY(160deg) translateZ(300px);
}
.slider-content figure:nth-child(6){
    transform:rotateY(200deg) translateZ(300px);
}
.slider-content figure:nth-child(7){
    transform:rotateY(240deg) translateZ(300px);
}
.slider-content figure:nth-child(8){
    transform:rotateY(280deg) translateZ(300px);
}
.slider-content figure:nth-child(9){
    transform:rotateY(320deg) translateZ(300px);
}.slider-content figure:nth-child(10) {
     transform: rotateY(360deg) translateZ(300px);
 }


@keyframes rotate {
    from{
        transform: rotateY(0deg);
    }
    to{
        transform: rotateY(360deg);
    }
}
/*END ROTO GALERIJA*/
