/******************************************
/* CSS
/*******************************************/
@keyframes scaly {
	from {
		transform: scale(1);
		color: bisque;
	}
	to {
		transform: scale(1.02);
		color: burlywood;
	}
}
/* Box Model Hack */

* {
	box-sizing: border-box;
}
body {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin: 35px auto;
	font-family: 'lato', sans-serif;
	background-image: url(../pics/nasalogo2.png);
	background-repeat: no-repeat;
	background-position: center;
	overflow: hidden;
}
main {
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}
/******************************************
/* LAYOUT
/*******************************************/

/*
==========================
section input
========================== 
*/
.input {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: center;
	width: fit-content;
	margin-bottom: 0;
	border: 3px solid rgba(234, 234, 234, 0.4);
	border-radius: 15px;
	background-image: radial-gradient(
		circle,
		#150242,
		#1b0559,
		#230671,
		#2b068a,
		#3306a4,
		#3306a4,
		#3306a4,
		#3306a4,
		#2b068a,
		#230671,
		#1b0559,
		#150242
	);
}
.input input,
.input button {
	margin: 14px;
	padding: 10px;
	min-height: 40px;
	border-radius: 4rem;
	border: 2px solid rgb(14, 14, 45, 0.4);
	background: rgba(154, 199, 253, 0.9);
	color: rgb(0, 0, 0);
}
.input button {
	cursor: pointer;
	border: 3px solid rgb(17, 59, 104);
	background-color: rgb(154, 199, 253, 0.9);
	transition: box-shadow 0.5s ease, border 0.5s ease-out;
	animation: box-shadow cubic-bezier(0.55, 0.085, 0.68, 0.53);
}
.input button:hover {
	border: 3px solid rgb(78, 159, 246);
	box-shadow: -1px 1px 2px 5px rgba(145, 109, 252, 0.6);
	color: rgb(0, 0, 0);
	font-weight: 500;
}
.input button:focus {
	box-shadow: -1px 1px 1px 2px rgba(145, 109, 252, 0.6);
	transform: scale(0.98);
	animation-name: scaly;
	animation-duration: 0.4s;
}
.input button:active {
	box-shadow: -1px 2px 6px 9px rgba(145, 109, 252, 0.6);
}
.input input {
	cursor: pointer;
}
span {
	cursor: pointer;
	padding: 10px;
	font-size: 12px;
	color: bisque;
	font-weight: bold;
	transition: all 0.4s ease-in;
}
span:hover,
span:active {
	font-weight: bold;
	transform: scale(1.01);
}
/* ==========================
section informations
========================== */
section.informations {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin: 0px 20px 20px 20px;
	width: 90vw;
	height: 100vh;
	overflow: hidden;
}
.texts {
	display: none;
	opacity: 0;
}
.texts.active {
	opacity: 1;
	display: block;
	margin: 30px 20px 20px 30px;
	padding: 10px;
	min-width: 20vw;
	max-width: 30vw;
	border: 2px solid rgba(252, 185, 109);
	background-color: rgb(247, 212, 212);
	transition: box-shadow 0.5s ease, border 0.5s ease-out, opacity 2s ease-in;
}
.texts.active:hover {
	border: 3px solid rgb(246, 151, 103);
	box-shadow: -1px 1px 2px 5px rgba(252, 200, 109, 0.6);
}
h3 {
	font-size: 15px;
	font-weight: normal;
	max-width: 500px;
}
#picture {
	margin-top: 30px;
}
.center {
	height: 10vh;
	width: 10vw;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #000;
	border-radius: 15px;
	display: none;
	position: absolute;
	left: 45%;
	top: 30%;
	z-index: 2000;
}
.wave {
	width: 2px;
	height: 10px;
	background: linear-gradient(45deg, cyan, #fff);
	margin: 5px;
	animation: wave 1s linear infinite;
	border-radius: 20px;
}
.wave:nth-child(2) {
	animation-delay: 0.1s;
}
.wave:nth-child(3) {
	animation-delay: 0.2s;
}
.wave:nth-child(4) {
	animation-delay: 0.3s;
}
.wave:nth-child(5) {
	animation-delay: 0.4s;
}
.wave:nth-child(6) {
	animation-delay: 0.5s;
}
.wave:nth-child(7) {
	animation-delay: 0.6s;
}
.wave:nth-child(8) {
	animation-delay: 0.7s;
}
.wave:nth-child(9) {
	animation-delay: 0.8s;
}
.wave:nth-child(10) {
	animation-delay: 0.9s;
}
@keyframes wave {
	0% {
		transform: scale(0);
	}
	50% {
		transform: scale(1);
	}
	100% {
		transform: scale(0);
	}
}
img {
	max-width: 40vw;
	max-height: 50vh;
	min-width: 35vw;
	display: none;
	border-radius: 10px;
	opacity: 0;
	transition: ease-in-out;
}
img.active {
	display: block;
	opacity: 1;
	cursor: pointer;
	border: 1px solid rgb(252, 185, 109);
	transition: box-shadow 0.5s ease, border 0.5s ease-out;
}
img:hover {
	border: 2px solid rgb(13, 37, 61);
	box-shadow: -1px 1px 2px 5px rgba(252, 200, 109, 0.6);
}
section#picture {
	position: relative;
}
#clickToExpand {
	position: absolute;
	left: 15px;
	top: 15px;
	color: bisque;
	cursor: pointer;
}
/* *****************************************
/* ADDITIONAL STYLES
/****************************************** */
@media screen and (max-width: 800px) {
	main {
		display: flex;
		flex-direction: column;
	}
	.informations {
		display: flex;
		width: 90vw;
		height: 90vh;
		justify-content: center;
		align-items: center;
		overflow: hidden;
	}
	.texts.active {
		display: none;
	}
	img.active {
		min-width: 80vw;
		min-height: 80vh;
	}
	#picture {
	}
	.input {
		max-width: 80vw;
	}
	.input * {
		min-height: auto;
		max-width: 200px;
		font-size: 10px;
	}
	.input button {
	}
	.input span {
		text-align: center;
	}
}
