/*
* 3Dvenue - Experiential Space Engine
* Copyright (c) 2026 yoshihiro
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
* "Transforming information from browsing to residing."
*/

#venue{
	width:100%;
	margin:0 auto;
}

#venues{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	padding:0;
	margin:0;
	gap:20px;
}

#venues li{
	width:calc(50% - 20px);
	cursor: pointer;
}

@media(max-width:880px){	
	#venues li{
		width:100%;
		max-width:480px;
	}
}

#venues li figure{
	padding:0;
	margin:0;
}

#venues li figure img{
	width:100%;
}


/* view
---------------------------------*/
#view{
	position:fixed;
	top:0;
	left:0;
	pointer-events: none;
	width:100%;
	height:100vh;
	transform: scale(0);
	transition-duration: .5s;
}

#view section{
	position:relative;
	box-sizing: border-box;
	background:#FFF;
	width:100%;
	height:100%;
	margin:0;
	padding:0;
}

#view section #close{
	position:absolute;
	top:20px;
	right:40px;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	width:30px;
	height:30px;
	font-size:20px;
	font-weight: 700;
	background: #000;
	color:#FFF;
	border:2px solid #FFF;
}

#view section #close:hover{
	background:#FFF;
	color:#000;
}


#view.active{
	pointer-events:auto;
	transform: scale(1.0);
}

#view section iframe{
	border:none;
	width:100%;
	height:100%;
}

#view #entry{
	position:absolute;
	top:40px;
	left:0;
	width:100%;
}

#view #entry .btn{
	width:100%;
	max-width:250px;
	margin:0 auto;
	text-align: center;
	padding:40px 0;
	border: 2px solid #FFF;
	font-weight:700;
	font-size:20px;
}

#view #entry .btn:hover{
	background:#b22222;
}