@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@300&family=Commissioner:wght@300&family=Montserrat:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@300&family=Brygada+1918:wght@500&family=Noto+Serif+Display:wght@500;600&display=swap');

body {
    margin: 0;
    padding: 0;
    color: white;
    font-size: 19px;
	font-family: 'Commissioner', serif; /*Montserrat*/
	font-weight: 300;
	background-color:#c1ccd5;
	overflow-x: hidden;
}

body.disableFixedLength {
	min-height: auto!important;
}

body.disableFixedLength #control {
	opacity: 1!important;
}

#shade {
	background-color:#c1ccd5;
	display:none;
	width:100%;
	height:100%;
}

#shade.on {
	display:block;
	position:fixed;
}

#images {
	display: flex;
    flex-direction: column;
    width: calc(100% - 70px);
    height: 100%;
	overflow: hidden;    
    transition: width 1s ease-in-out, margin-left 1s ease-in-out;
    margin-left: 70px;
}

#images.gallery {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	overflow: visible;
	transition:none;
}


#images.collapsed {
/*	width:calc(100vw - 520px);
    margin-left:503px;
*/
	width: calc(100vw - 70px - min(450px, 30vw));
    margin-left: calc(70px + min(450px, 30vw));
    transition: width 1s ease-in-out, margin-left 1s ease-in-out;
}

#images.gallery.collapsed {
	transition:none;
}

#cover {
	display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
	overflow: hidden;    
	position:fixed;
}


#images>section{
	position: fixed;
	top:0;
	width: calc(100% - 70px);
	height: calc(100vh);
	text-align: center;
	opacity: 0;
	background-color:#c1ccd5;
    /*transition: all .25s ease-in-out;*/
    transition: width 1s ease-in-out;
}

#images.gallery>section {
	position: relative;
    height:370px;
    width:auto;
    /*opacity:1!important;*/
    transition:none;
}


#images.collapsed>section {
	width: calc(100vw - 70px - min(450px,30vw));
/*	width:calc(100vw - 520px); */
    transition: width 1s ease-in-out;
}

#images.gallery.collapsed>section {
	transition:none;
	width:auto;
}


#images img.middle-size {
	display:inline;
	max-width:calc(100% - 100px);
	max-height:calc(100vh - 100px);
	margin:50px;
	object-fit:contain;
	box-shadow: 0px 0px 18px 0px rgb(40 40 40 / 55%);;
}

#images.gallery img.middle-size {
    height:300px;
    width:auto;
	max-width: fit-content;	
	margin: 35px
    transition: transform .5s ease;
}

#images.gallery img.middle-size:hover {
    transform: scale(1.03);
    transition: transform .5s ease;
}

#images img.full-size {
	display:none;
	min-width:100%;
	min-height:100vh;
	max-width:calc(100% - 100px);
	max-height:calc(100vh - 100px);
	margin:0;
	object-fit:cover;
	object-position:0 0;
}

#images img.no-shadow{
	box-shadow: none;
}

#images.zoom img.middle-size {
    display: none;
}

#images.zoom img.full-size {
    display: block;
}

#cover>section img.middle-size{
	display: none;
}

#cover>section img.full-size{
	min-width:100%;
	min-height:100vh;
	max-width:calc(100% - 100px);
	max-height:calc(100vh - 100px);
	margin:0;
	object-fit:cover;
	object-position:0 0;
	display: inline;
    transform: perspective(3000px) rotateX(0deg) rotateY(0deg) scale(1.18)
}

#cover>section span{
	position: absolute;
	left: 0;
	font-size: 4vw;
	font-family: 'Bitter';
	font-weight: 300;
	bottom: 10%;
	text-align: center;
	width: 100%;
	display: none;
	letter-spacing: 1.5px;
	text-shadow: #504c39 1px 0 10px;
}

#cover>section:hover, #images>section:hover { cursor:pointer; }








#control {
	position:fixed;
	background-color:#a1abb3;    
	top: 0;
	left: 0px;
	z-index: 3;
	width: 70px;
	text-align: center;
	height: 100%;
	/*border-right: 1px solid #dddddd;*/
	display: flex;
    flex-direction: column;
    opacity:0;
}

#control button {
	width: 70px;
	height: 70px;
	background: transparent;	
	background-repeat: no-repeat;
	background-position: center;
}

#control button:hover {
    background-size: 80%;
    transition: all .5s cubic-bezier(0.37, 1.59, 0.7, -0.49);
    cursor: pointer;
    background-color: #829694;
}

#control button::after {
    display:none;
    position: relative;
    font-size: 15px;
	font-family: 'Commissioner', serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0.025em;
	color:white;
	width:150px;
	text-align:left;
	left:80px;
}

#control button:hover::after {
}


#control button:focus {
    outline: none;
}


#control button#b-postcards:hover {
    background-size: 115%;
    background-position-x: 0px;
    height: 100px;
    background-color: #a1abb3;
    transition: background-size .5s cubic-bezier(0.37, 1.59, 0.7, -0.49);
}

#control button, #control #b-social, #control #b-lang {
	border: 0;
	/*border-bottom: 1px solid #dddddd;
	border-top: 1px solid #dddddd;*/
	margin-top: -1px;
}

#control button#b-postcards {
	width: 70px;
	height: 80px;
}

#control #b-social {
	height: auto;
	padding-top: 13px;
    line-height: 30px;
    padding-right: 12px;
}

#control button#b-about {
	background-image: url(buttons/b-about.svg) ;
}

#control button#b-gallery {
	background-image: url(buttons/b-gallery.svg);
	/* background-repeat: no-repeat; */
	/* background-position: center; */
}

#control button#b-titles {
	background-image: url(buttons/b-caption.svg) ;
}

#control button#b-zoom {
	background-image: url(buttons/b-zoom.svg) ;
}

#control button#b-zoom.selected {
	background-image: url(buttons/b-zoom-p.svg) ;
}

#control button#b-menu {
	background-image: url(buttons/b-close.svg) ;
}

#control button#b-menu.selected {
	background-image: url(buttons/b-menu.svg) ;
}

#control.collapsed button:not(#b-menu), #control.collapsed div {
	animation: cp 1s;
	animation-fill-mode: forwards;
}

@keyframes cp {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
	visibility:hidden;
}

  99% {
  	visibiity:visible;
  }
}

#control.expanded button:not(#b-menu), #control.expanded div {
	visibility: hidden;
	animation: cp2 1s ease 1s;
	animation-fill-mode: forwards;
}

@keyframes cp2 {
  from {
    opacity: 0;
  	visibility:visible;
  }

  to {
    opacity: 1;
	visibility:visible;
}

}



#control.collapsed button#b-menu{
	animation: cp1 1s ease 1s;
	animation-fill-mode: forwards;
}

@keyframes cp1 {
  from {
	margin-top: calc(100vh - 70px);
    position: fixed;
  }

  to {
	margin-top: 0;
    position: fixed;
  }
}

#control.expanded button#b-menu{
	animation: cp3 1s ease;
	animation-fill-mode: forwards;
}

@keyframes cp3 {
  from {
	margin-top: 0;
    position: fixed;
  }

  99% {
	margin-top: calc(100vh - 70px);
    position: fixed;
  }

  to {
	margin-top: 0;
    position: relative;
  }
}


#control button#b-postcards {
	background-image: url(buttons/b-postcard.svg) ;
	margin: auto 0;
    border: 0;
}

#control #b-social div{
	margin-bottom: 8px;
}

#control #b-social p {
    margin: 4px 0;
    font-size: 12px;
}

#control #b-lang {
    font-size: 16px;
    font-family: 'Commissioner', serif;
    padding-right: 12px;
}

#control button#b-gallery::after, #control button#b-titles::after, #control button#b-zoom::after, #control button#b-zoom.selected::after,  {
	content: '';
	top: 20px;
	left: 65px;
}

#control button:not(#b-postcards).selected {
	background-color: #829694;
}

#control button#b-postcards.selected {
	background-size: 115%;
    background-position-x: 0px;
    height: 100px;
    background-color: #a1abb3;
    transition: background-size .5s cubic-bezier(0.37, 1.59, 0.7, -0.49);
}

a, a:hover, a:visited{
	text-decoration: none;
	color: white;
}

#control a{
		padding: 5px;
		width: 100%;
		display: inline-block;
}

a:hover {
    background-color: #c6483a;
}











#about, #postcards {
	overflow-x: hidden;
    height: calc(100%);
    position: fixed;
    background-color: #a1abb3;
    line-height: 32px;
    overflow-y: auto;
    top:0;
    left:70px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
	align-items: flex-start;    
}

#about, #postcards {
	width: calc(100% - 70px);
}

#postcards {
	width: calc(100% - 150px);
}

#about div, #postcards form {
    margin: 40px;
    max-width: 540px;
    color: #ffffff; /*3d3d3d;*/
	min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 80px);
}

#about a, #about a:hover, #about a:visited {
    text-decoration: none;
    color: hsl(45deg 100% 80%);
}

#about h1 {
    line-height: 1.2;
    font-weight: normal;
}

#postcards {
	    padding: 0 40px;
}

#postcards div{
	    opacity: 0;
	    transition:all 3s ease-in-out;
}

#postcards img {
    display: block;
    position: fixed;
    top: calc(50% - 170px);
    left: calc(270px + 50% - 120px);
	box-shadow: 0px 0px 6px 0px rgb(40 40 40 / 55%);
}

@media (max-width: 1200px) {
	#postcards form p:nth-child(5){
		margin-top: 680px
	}

	#postcards img {
	    display: block;
	    position: absolute;
		top: calc(100% + 170px);
    	left: 230px;
    	box-shadow: 0px 0px 6px 0px rgb(40 40 40 / 55%);
	}
}

input[type='text'], textarea {
	width: 100%;
    padding: 5px;
    border: 1px solid white;
    background-color: #b5c1c9;
}

input[type='submit']{
	background-color: #c84839;
    padding: 8px;
    border: 1px solid #829694;
    color: white;
    font-family: 'Commissioner';
    font-size: 16px;
}

label[for='sendmemails']{
	font-style: italic;
    color: hsl(204deg 16% 88%);
}

input#send-button.pressed {
    /*opacity: 0;
    margin-left: 300;
    transition: 2s cubic-bezier(0.21, -0.82, 0.24, 1.61);*/
	animation: kp 1s cubic-bezier(0.21, -0.82, 0.24, 1.61);
	animation-fill-mode: forwards;
}


@keyframes kp {
  from {
    transform: scale(1);
  }

  25% {
    transform: scale(0.8);
  }

  50% {
    margin-left:0;
    transform: scale(1);
    opacity: 1
  }

  to {
    margin-left:500;
    opacity: 0
  }

}


#portrait {
    height: 100%;
    position: sticky;
    top: 0;
}






#titles {
	width:450px;
	max-width:30%;
	height:100%;
	position:fixed;
	overflow: hidden;
	top:0;
	left:-495px;
	display: block;
	/*border-right: 1px solid #dddddd;	*/
	padding: 0;
    transition: left 1s ease-in-out;
	background-color: hsl(58deg 5% 63%);
}

#titles div{
	padding: 20px 0;
    position: relative;
}

#titles p{
	opacity:0;
    transition: opacity 1s ease-in-out 1s;		
    padding: 8px 28px 8px 48px;
    margin: 0;
    line-height: 1.5em;
    cursor: pointer;
}


#titles p.current {
    background-color: #829694;
}

#titles.expanded {
	left:70px;
    transition: left 1s ease-in-out;
}

#titles.expanded p{
	opacity:1;
    transition: opacity 1s ease-in-out 1s;	
}







#info {
	position: fixed;
    bottom: 0;
    left: 90px;
    color: #45494d;
    width: 470px;
}

#info div {
	display: none;
}

#info div.current {
	display: block;
}

#info p.not-avail {
	font-size: 15px;
	margin-right: 300px;
}

#info .bi {
	font-size: 13pt;
	color: hsl(207deg 11% 63%);
	margin-left: 13px;
	margin-right: -12px;
	cursor: pointer;
	font-style: normal;
    position: relative;
    top: -3px;
}

#info .bi::before {
    margin: 0 7px;
    position: relative;
    top: 2px;
}

.price {font-size: 18pt;}

.tech {
	font-size: 12pt;
	margin-right: 300px;
}