body{
    background-color: rgba(247,245,238,0.75);
    font-family: Roboto, sans-serif;
    margin:0 auto;
}


/*SOCIALS*/

.socials{
  position: fixed;
  top:-0.55vw;
  z-index: 25;
  text-align: left;
  width:16vw;
}

.socials li{
  display: inline-block;
}

.socials li a{
  display: inline-block;
  font-size: clamp(1em, 1.7vw, 1.5em);
  color: #006f33;
  padding: 0.5vw 1vw;
}

.socials li:last-child a{
  padding-bottom:1vw;
}

.socials li a:hover{
  color: #bacf1a;
}

.socials li a:target{
  color: #006f33;
}


/*HLAVNE MENU*/

.fa-bars{
  font-size: 2em;
  color: #006f33;
  float: left;
  line-height: 80px;
  margin-left: 30px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

nav{
    width:100%;
    position: fixed;
    top:0;
    z-index:20;
    background:#e0d7c3;
}

ul{
    padding: 1.7vw;
    list-style: none;
    text-align: right;
    margin:0;
}

a{
    text-decoration: none;
}

nav ul li{
    display: inline-block;
    font-size: clamp(1em, 1.7vw, 1.5em);
    font-weight: 600;
    margin:0;
}

nav ul li:last-child{
    margin-right: 5.4%;
}

.menuobject a{
    color: #006f33;
    padding:1.7vw 1.5vw;
    --c: #006f33; /* the color */
    background: 
      linear-gradient(90deg,#004D40 50%,var(--c) 0) calc(100% - var(--_p,0%))/200% 100%,
      linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) 100% no-repeat;
    -webkit-background-clip: text,padding-box;
            background-clip: text,padding-box;
    transition: 0.5s;
  }
  .menuobject a:hover{
    --_p: 100%;
    color:#e0d7c3;
  }
  .menuobject a:target{
    --_p: 100%;
    color:#e0d7c3;
  }


/*TITULKA STRANKY*/

body {
  margin: 0;
  min-height: 100vh;
  background: #bacf1a;
  font-family: Roboto, sans-serif;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width:95%;
  height:100vh;
  margin: 0 auto;
  overflow: hidden;
  position:relative;
  top:-1vw;

  .card {
    flex: 1;
    transition: all 1s ease-in-out;
    height: 90vmin;
    position: relative;
    .card_head {
      color: #333;
      background: rgba(224, 215, 195, 0.75);
      padding: 0.5em;
      transform: rotate(-90deg);
      transform-origin: 0% 0%;
      transition: all 0.5s ease-in-out;
      min-width: 80%;
      text-align: center;
      position: absolute;
      bottom: 0;
      left: 0;
      font-size: 2em;
      font-weight: 600;
      white-space: nowrap;
    }

    &:hover {
      flex-grow: 5;
      img {
        filter: grayscale(0);
      }
      .card__head {
        text-align: left;
        color: white;
        background: rgba(0, 0, 0, 0.5);
        font-size: 2em;
        transform: rotate(0deg) skew(-5deg);
        flex-grow: 0.2;
      }
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 1s ease-in-out;
      filter: brightness(0.4);
    }
    &:not(:nth-child(5)) {
      margin-right: 1em;
    }
  }
}

.content{
  height:47vw;
  margin:0 auto;
  margin-top: 1vw;
  width:95%;
}

.content:nth-of-type(1),
.content:nth-of-type(3),
.content:nth-of-type(5),
.content:nth-of-type(7),
.content:nth-of-type(9){
    background-color: #f7f5ee;
    color: #333;
    box-shadow: #333 0px 15px 37px -7px;
  }

.content:nth-of-type(2){
  height:115vw;
}


.content h1{
  padding-top:6vw;
  padding-bottom:3vw;
  font-size: clamp(2em, 4vw, 5em);
  display: block;
  margin:0 auto;
  text-align: center;
}

.content h2{
  text-align: center;
}

/*Galleries*/


/*.content {
	font-family: Lato, sans-serif;
	margin: 0;
	padding: 1rem;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(20, 20, 20, 1);
}*/

.content img {
	width: 100%;
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 1000ms;
}

.content ul{
	list-style: none;
	display: grid;
  padding:0;
	gap: 2%;
  justify-content: center;
  align-content: center;
	grid-template-columns: repeat(auto-fit, 30%);
	width: 100%;
}

.content:nth-of-type(1) ul,
.content:nth-of-type(3) ul,
.content:nth-of-type(5) ul{
	gap: 5%;
}

.content figure {
	margin: 0;
	position: relative;
	overflow: hidden;
}

.content figure::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200%;
	height: 200%;
	background: rgba(0, 0, 0, 0.5);
	transform-origin: center;
	opacity: 0;
	transform: scale(2);
	transition: opacity 300ms;
}

.content figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	place-items: center;
	text-align: center;
	color: white;
	font-size: 1.5rem;
	z-index: 1;
	opacity: 0;
	transition: opacity 600ms, transform 600ms;
}

.content a:is(:hover, :focus) figure::after {
	opacity: 1;
}

.content a:is(:hover, :focus) figcaption {
	opacity: 1;
	transition: opacity 600ms;
}

@media (prefers-reduced-motion: no-preference) {
	.content figcaption {
		transform: translate3d(0, 2rem, 0);
	}
	
	.content figure::after {
		border-radius: 50%;
		opacity: 1;
		transform: scale(0);
		transition: transform 900ms;
	}
	
	.content a:is(:hover, :focus) figure::after {
		transform: scale(2.5);
	}

	.content a:is(:hover, :focus) figcaption {
		opacity: 1;
		transform: translate3d(0, 0, 0);
		transition: opacity 600ms 400ms, transform 600ms 400ms;
	}

	.content a:is(:hover, :focus) img {
		transform: scale(1.2);
	}
}

/*Cookie banner*/
#cookie-banner {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: #f7f5ee;
      color: #333;
      padding: 1rem;
      border-top: 1px solid #ccc;
      font-size: 14px;
      z-index: 9999;
      display: none;
      box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
      text-align: center;
    }
    #cookie-banner p {
      margin: 0 0 0.5rem 0;
    }
    #cookie-banner label {
      display: block;
      margin: 0.3rem 0 0.3rem 20%;
      text-align: left;
    }
    #cookie-banner button {
      margin: 0.4rem 0.4rem 0 0;
      padding: 0.4rem 1rem;
      font-size: 14px;
      cursor: pointer;
    }

#cookie-banner button{
  text-align: center;
  color:#333;
  background-color: rgba(224,215,195,1);
  display: inline-block;
  position: relative;
  border-radius: 2vw;
  font-size: clamp(0.8em, 1vw, 2em);
  padding: 1vw 3vw 1vw 3vw;
  font-weight: 600;
}

#cookie-banner button:hover{
  color:white;
  background-color: #004D40;
  box-shadow: #004d40 10px 10px 25px -10px;

}


/*Footer*/

footer{
  margin-bottom: 95px;
}

footer p{
  width:95%;
  margin:0 auto;
  text-align: center;
  font-size: clamp(0.8em, 0.7vw, 0.9em);
  font-weight: 600;
  color: #888;
}

/*RESPONSIVE*/

@media screen and (max-width:1300px){

.content:nth-of-type(1),
.content:nth-of-type(3),
.content:nth-of-type(4),
.content:nth-of-type(5){
  height:50vw;
 }
.content:nth-of-type(2){
  height:120vw;
}


}

@media screen and (max-width:1200px){
 .section_info{
  line-height: 1.5em;
 }

 .content{
  height:40vw;
 }
 .content:nth-of-type(8){
  height:45vw;
 }
}


@media screen and (max-width:1275px){

.socials{
  width:20vw;
}

}

@media screen and (max-width:960px){

.content h2{
    font-size: clamp(1em, 2vw, 3em);;
 }
}

@media screen and (max-width:790px){
  .socials{
    width:25%;
  }
  article{
    font-size: 0.8em;
  }

 .content figcaption{
  font-size: clamp(1em, 2vw, 3em);
 }
 .container{
    height:90vh;
  }

}

@media screen and (max-width:750px){
  .container .card .card_head{
    font-size: 1.5em;
  }
}



@media screen and (max-width:700px){
  .content{
    width:100%
  }

  .pre-footer{
    width:100%;
  }

  body{
    margin-bottom: 45px;
  }

  .content:nth-of-type(2){
  height:125vw;
}

  .card:hover {
      flex-grow: 10
    }
  
  .container{
    height:85vh;
  }

  .socials{
    width:100%;
    height:60px;
    bottom:0;
    top:initial;
    font-size: 3em;
    background-color: #e0d7c3;
    margin:0 auto;
    padding:0.3em 0;
    text-align: center;
  }

  .socials li{
    width:22%;
    text-align: center
  }


  ul li:last-child{
    margin:0;
  }

  .menu{
    font-size: 1.2em;
    margin:0 auto;
    padding: 0.6em;
    text-align: center;
  }

  .menuobject a{
    padding-left: 1em;
    padding-right: 1em;
  }
  .content:nth-of-type(1),
  .content:nth-of-type(3),
  .content:nth-of-type(4),
  .content:nth-of-type(5){
    height:55vw
 }

}

@media screen and (max-width:645px){
  .fa-bars{
  display: block;
}
  .menu {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #bacf1a;
    top: 80px;
    left: -110%;
    text-align: center;
    transition: all .5s;
    padding:0;
  }
  .menu li {
    display: block;
    line-height: 30px;
  }
  .menu li a {
    font-size: 2.55em;
    display: inline-block;
    padding: 0.7em 0;
    width:100%
  }

    #check:checked~ul {
    left: 0;
  }
  .menuobject:last-child{
    margin-right: 0;
  }
.content:nth-of-type(2){
  height:130vw;
}
.container{
    height:80vh;
  }

}

@media screen and (max-width:587px){
  .container .card .card_head{
    font-size: 1.2em;
  }
}


@media screen and (max-width:555px){
  .content h2{
    font-size: clamp(0.8em, 2vw, 3em);
 }
  .content figcaption{
  font-size: clamp(0.8em, 2vw, 3em);
 }
 .container{
    height:70vh;
  }
}

@media screen and (max-width:550px){
  .socials li{
    width:20%;
  }
  .content:nth-of-type(5){
    height:60vw;
 }
}

@media screen and (max-width:505px){
 
.container{
    height:60vh;
  }
.card:hover {
      flex-grow: 20
    }

}

@media screen and (max-width:487px){
  .container .card .card_head{
    font-size: 1em;
  }
}

@media screen and (max-width:450px){
  
 .content:nth-of-type(2){
  height:135vw;
 }

  .content:nth-of-type(1),
  .content:nth-of-type(3),
  .content:nth-of-type(4){
    height:60vw
 }
   .content:nth-of-type(5){
    height:65vw;
 }
}

@media screen and (max-width:425px){
  .container{
    margin-top: 50px;
  }
  .content:nth-of-type(2){
  height:140vw;
 }
 .content:nth-of-type(5){
    height:70vw;
 }
 .container .card .card_head{
    padding: 0.2em 0.5em;
  }

}


@media screen and (max-width:405px){
.content:nth-of-type(2){
  height:145vw;
 }
}

@media screen and (max-width:360px){
  .container{
    margin-top: 30px;
  }
  .content:nth-of-type(2){
  height:150vw;
 }
 .content:nth-of-type(3){
  height:65vw;
 }

}


