/* common */
html {
	background-color: #f9f9f9;
}

body {
	margin: 0;
	padding: 0;
	font-size: 15pt;
	font-family: 'Inter', Roboto;
	color: #376795;
	display: flex;
	align-items: center;
	flex-direction: column;
}

h1 {
	font-family: 'Red Hat Display', Roboto;
	color: #274d72;
	font-weight: bold;
}

.hidden{
	display: none;
}

/* header */
header {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 10px;
	background-color: #f9f9f9;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 15%;
	margin-left: 25px;
}

.logo-header img {
	width: 50%;
}

.navigation {
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 50%;
}

.navigation a {
	text-decoration: none;
	color: #376795;
}

.navigation a:hover {
	border-bottom: #376795 1px solid;
}

#ig2i {
	width: 15%;
	margin-right: 20px;
}

#ig2i img{
	width: 100%;
}

/* index.html */
.container {
	width: 70%;
	margin: 25px;
	padding: 30px;
	background-color: #e3e7f1;
	border-radius: 20px;
}

.container:first-of-type {
	margin-top: 10%;
}

.container h1 {
	margin: 0;
}

.container span {
	color: #274d72;
	font-weight: bold;
}

.container img {
	max-width: 500px;
}

#info-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#info-container img {
	width: 3%;	
}

#info:hover {
	cursor: pointer;
}

#planning {
	display: flex;
	align-items: center;
	justify-content: center;
}
#planning h1 {
	margin: 0 20px 0 0;
}
#planning p {
	margin: 0;
}

#planning img{
	max-width: 1000px;
}

.display {
	display: flex;
}

.display div {
	margin: 20px;
}

/* contact.html */
form {
	width: 30%;
	margin: 10% 0 20px 0;
}

.field {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	background-color: #f9f9f9;
	border: 1px solid lightgrey;
	border-radius: 5px;
	padding: 24px;
	margin: 0 0 20px 0;
}

input,
textarea {
	border: none;
	border-bottom: 1px solid lightgrey;
	font-family: 'Inter', Roboto;
	font-size: 12pt;
	padding: 5px;
	background-color: transparent;
	outline: none;
}

input {
	height: 1.8em;
}

textarea {
	resize: none;
	height: 5em;
}

input:focus,
textarea:focus {
	border-color: #376795;
}

form span {
	color: red;
}

form button {
	color: #e3e7f1;
	background-color: #376795;
	border: 1px solid #376795;
	border-radius: 5px;
	font-size: 15pt;
	width: 20%;
	padding: 5px;
}

form button:hover {
	color: #376795;
	background-color: #f9f9f9;
}

#required {
	display: flex;
	justify-content: space-between;
}

#required div {
	font-size: 12pt;
	color: red;
	display: flex;
	align-items: center;
}

#popup {
	display: none;
	position: fixed;
	color: #376795;
	font-family: 'Inter', Roboto;
	font-size: 15pt;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #f9f9f9;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
	text-align: center;
}

#popup button {
	color: #e3e7f1;
	background-color: #376795;
	border: 1px solid #376795;
	border-radius: 5px;
	font-size: 15pt;
	padding: 5px;
	width: 30%;
}

#popup button:hover {
	color: #376795;
	background-color: #f9f9f9;
}


/* project.html */
.space-header {
	margin-top: 10%;
}

.row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.project {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 30%;
	margin: 20px;
	padding: 20px;
	background-color: #e3e7f1;
	border-radius: 20px;
}

.project img {
	width: 50%;
	margin-bottom: 20px;
}

.project h1,
.project p {
	text-align: center;
	margin: 0;
}

.project h1 {
	margin-bottom: 10px;
	font-size: 25pt;
}

#separator {
	text-align: center;
}	

#separator p{
	margin: 0 0 20px 0;
}

.slider {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.slider button {
	width: 50px;
	height: 50px;
	border-radius: 25px;
	background: rgba(0, 0, 0, 0.5);
	color: #f9f9f9;
	border: none;
	padding: 10px;
	cursor: pointer;
	font-size: 15pt;
}

.slider button:hover {
	opacity: 0.5;
}

/* footer */
footer {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 20px;
	margin-top: 20px;
	background-color: #e3e7f1;
}

footer div {
	width: 20%;
	margin: 0 5%;
}

#catchphrase {
	font-size: 40pt;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

footer img {
	width: 50%;
}

footer span {
	color: #274d72;
	font-weight: bold;
}

/* responsive */
@media (max-width: 768px) {
	body {
		font-size: 10pt;
	}

	/* header */
	header {
		padding: 10px;
	}

	.logo-header {
		width: 15%;
		justify-content: center;
		margin-left: 15px;
	}

	.logo-header img {
		width: 100%;
	}

	.navigation {
		width: 100%;
		margin: 0;
		font-size: 8pt;
	}

	#ig2i {
		width: 15%;
		margin-right: 10px;
	}

	#ig2i img{
		width: 100%;
	}

	/* index.html */
	.container {
		width: 80%;
		padding: 20px;
		text-align: center;
	}

	.container:first-of-type {
		margin-top: 20%;
	}

	.container img {
		max-width: 250px;
	}

	#info-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	#info-container img {
		width: 10%;	
	}

	#planning {
		display: block;
	}

	#planning p {
		margin: 20px 0;
	}

	#planning img{
		width: 250px;
	}

	.display {
		display: block;
	}

	.display div {
		margin: 0;
	}

	/* contact.html */
	form {
		width: 90%;
		margin-top: 20%;
	}

	form button {
		width: 25%;
	}

	#popup {
		width: 50%;
	}

	#popup button {
		width: 50%;
	}

	/* project.html */
	.space-header {
		margin-top: 20%;
	}

	.row {
		flex-direction: column;
	}

	.project {
		width: 80%;
		height: auto;
	}

	/* footer */
	footer {
		flex-direction: column;
		justify-content: left;
		width: 100%;
		padding: 20px;
		margin-top: 20px;
		background-color: #e3e7f1;
	}

	footer div {
		width: 90%;
		font-size: 15pt;
		text-align: center;
	}

	#catchphrase {
		font-size: 15pt;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}

	footer img {
		width: 100%;	
	}
}