
/*
:root {
	--bg-color: #ffffff;
}
*/

body {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	overflow: hidden;	
}

#root-window {	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#ui {	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}

#render-target {
	position: relative;
	width: 100%;
	height: 100%;
}

#loading {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: #fbfbe9;
}





#day-night-container {
	position: fixed;
	top: 6px;
	right: 6px;
	display: flex;	
	align-items: center;	
	gap: 12px;
}

#day-night-container img {
	width: 20px;
	height: 20px;
}

#day-night-select {
	position: relative;
	width: 40px;
	border-radius: 11px;
	height: 20px;
	background-color: #ada790;
	cursor: pointer;
}

#day-night-select::after {
	content: '';
	display: block;
	position: absolute;
	left: 2px;
	right: auto;
	top: 2px;
	width: 16px;
	height: 16px;
	background-color: #fbfbe9;
	border-radius: 50%;
}

#day-night-container.night img {
	filter: invert(100%);
}

#day-night-container.night #day-night-select {
	background-color: #ffffff;
}

#day-night-container.night #day-night-select::after {
	left: auto;
	right: 2px;
	background-color: #2e2f74;
}








.section {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
}

.swapper {
	position: relative;
	width: 100%;
	min-height: 100%;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column-reverse;
	align-items: center;
	justify-content: center;	
}

h3 {	
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 40px;
	width: 100%;
}

p {
	font-size: 18px;
	text-indent: 38px;
	line-height: 26px;
}

.box-1 {
	position: relative;
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 30px;	
	margin: 0 auto;			
}

.swapper-2 {
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 1200px;
	max-height: calc(100vh - 140px);	
	overflow-y: auto;
	scrollbar-width: thin;
	padding: 0 12px;
}

.swapper-1 {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.swapper-1 img {
	position: relative;
	width: 100%;
	max-width: 320px;
	height: auto;
	border-radius: 50%;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

@media screen and (min-width: 920px) {

	.box-1 {
		padding: 40px;
		
	}

	.swapper-2 {
		padding: 0 16px;
	}

	.swapper-1 {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 65px;
	}

	.swapper-1 img {
		width: 320px;
		height: auto;
		border-radius: 50%;
		box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
	}

}


.closeButton {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-image: url('../close.png');
	background-size: contain;
	cursor: pointer;
}







#realization {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 20px;
}

#realization li a {
	display: block;
}

#realization li a img {
	width: 150px;
	height: 150px;
}




#contact {
	position: relative;
	display: flex;
	flex-wrap: wrap;	
	justify-content: space-around;
	gap: 20px;
}

#contact li {
	position: relative;
	padding-left: 42px;
	font-size: 16px;
	line-height: 30px;
}

#contact li img {
	position: absolute;
	top: 0;
	left: 0;
	width: 30px;
	height: 30px;
}

#contact p {
	display: inline;
}

@media screen and (min-width: 920px) {

	#contact li {
		padding-left: 62px;
		font-size: 22px;
		line-height: 50px;
	}
	
	#contact li img {
		width: 50px;
		height: 50px;
	}

	#realization li a img {
		width: 250px;
		height: 250px;
	}


}




#nav {
	position: absolute;
	top: 12px;
	width: 100%;
	display: none;
	justify-content: center;
	gap: 8px;
	color: #151d2b;	
}

#nav.open {
	display: flex;
	animation-name: topEnter;
	animation-duration: .8s;
	animation-timing-function: ease-out;
}

#nav li {
	padding: 6px 12px;
	background: rgb(174,204,238);
	background: linear-gradient(170deg, #aeccee 0%, #6c85ca 100%); 
	border: 1px outset #9c9dd4;
	border-radius: 4px;
	cursor: pointer;
}

#nav li:hover {
	background: rgb(174,204,238);
	background: linear-gradient(170deg, #b8d3f1 0%, #b8d3f1 100%); 
}

@keyframes topEnter {
	from {
		top: -26px;
	}
  
	to {
		top: 12px;
	}
}