/* You can change this file 
---------------------------
Please use the IDs provided as much as possible
This css file is for everything related to the #gallery section
*/

@media only screen and (min-width: 819px) {
    

#gallery {
    width: 100%;
    height: 40vw;
    position: relative;
    overflow: hidden;
    border: none;
} 
	
	#gallery #thirdblock {
		vertical-align:middle;
	}
	
	#gallery #thirdblock:nth-of-type(2) {
	text-align:center;}
	
	#gallery #thirdblock:nth-of-type(2) button{
	font-size:1.2vw!important;
	padding:1.2vw 2vw!important;}

#gallery img {
    width:  100%;
    height: 75vw;
    object-fit: cover;
}

#gallery #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    position: absolute;
    left: 5%;
    bottom: 20%;

}

#gallery #page {
	top:4%;
	left:0;
	right:0;
	bottom:0;
	position:absolute;
} 


#gallery #thirdblock img {
	height:auto!important;
	width:50%;
}


#gallery #thirdblock:nth-of-type(3) img {
	  transform: scaleX(-1);
}

.wp-block-button {
	font-size:0.95vw!important;
	padding:0.8vw 2vw!important;
}


#gallery #halfblock #inset {
padding: 5%;
width: 90%;
height: auto;
}

button {
   width: auto;
   height:  auto;
   padding: 2% 5%;
   border:  none; 
}

#short-gallery {
	overflow:hidden;
}

#short-gallery,#short-gallery img {
	height:10vw;
	width:100%!important;
}

#short-gallery img  {
	height:40vw!important;
	object-fit:cover;
}


#gallery #thirdblock {
    width: 32.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#gallery #quarterblock {
    width: 25% !important;
    height: auto;
    margin: 0px;
    padding: 0;
    border: none;
}
	
	
	#gallery #thirdblock span {
	margin-top:15vw!important;}


#front .wp-block-image>img {
    width: 100%;
    height: 20vw;
    object-fit: cover;
}

	#main ul {
		padding-left:5%;
	}
	
#main ul {
		padding-left:5%;
		margin-left:auto;
		margin-right:auto;
		width:auto;
	max-width:50vw;
		text-align:left!important;
	}
	
}