@import url('https://fonts.googleapis.com/css2?family=Hind:wght@600&family=Poppins:wght@300;400;500;600;700;800&display=swap');
/* ------  Styles for Site  ------ */

* {
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
	user-select: none;
}

textarea {
	resize: none;
	width: 97%;
	border: 1px solid #2691d9;
	padding: 2px 5px;
}

textarea:focus {
	outline: none;
}

.header {
	min-height: 100vh;
	background-image: linear-gradient(rgba(4, 90, 30, 0.5), rgba(4, 9, 30, 0.5)), url(images/gallery/aves-15.jpeg);
	background-position: center;
	background-size: cover;
	position: relative;
}

nav {
	display: flex;
	padding: 8px 6%;
	justify-content: space-between;
	align-items: center;
	background-color: #064d29fe;
	position: fixed;
	width: 88vw;
	z-index: 10;
}

nav img {
	width: 200px;
}

.nav-links {
	flex: 1;
	text-align: right;
}

.nav-links ul li {
	list-style: none;
	display: inline-block;
	padding: 8px 12px;
	position: relative;
}

.nav-links ul li a {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
}

.nav-links ul li::after {
	content: '';
	width: 0%;
	height: 2px;
	background: #20d2e9;
	display: block;
	margin: auto;
	transition: 0.5s;
}

.nav-links ul li:hover::after {
	width: 100%;
}

nav .fa {
	display: none;
}

/*   Formulario de Contacto  */

.contacto {
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(20%, 15%);
}

.center {
	width: 450px;
	position: relative;
	padding: 20px;
	background: white;
	border-radius: 10px;
	border: 1px solid black;
	box-shadow: 5px #a6a6a6;
	text-align: left;
}

.space {
	padding: 10px 0;
	font-size: 12px;
}

.center h1 {
	color: #083112e1;
}

.center form {
	padding: 0;
}

.txt_row {
	display: grid;
	grid-template-columns: 45% 45%;
	gap: 10%;
}

form .txt_field {
	position: relative;
	border-bottom: 1px solid #adadad;
	margin: 15px 0;
}

.txt_field input {
	width: 95%;
	padding: 0 5px;
	height: 40px;
	font-size: 12px;
	border: none;
	background: none;
	outline: none;
}

.txt_field label {
	position: absolute;
	top: 50%;
	left: 5px;
	color: #adadad;
	transform: translateY(-65%);
	font-size: 14px;
	pointer-events: none;
	transition: 0.5s;
}
.txt_field_txa label {
	font-size: 14px;
	color: #2691d9;
}

.txt_field span::before {
	content: '';
	position: absolute;
	top: 40px;
	left: 0;
	width: 0%;
	height: 1px;
	background: #2691d9;
	transition: 0.5s;
}

.txt_field input:focus~label,
.txt_field input:valid~label {
	top: -5px;
	color: #2691d9;
}

.txt_field input:focus~span::before,
.txt_field input:valid~span::before {
	width: 100%;
}

input[type="submit"] {
	width: 50%;
	height: 40px;
	border: 1px solid;
	background: #6b6a6a;
	border-radius: 25px;
	font-size: 12px;
	font-weight: 400;
	color: #e9f4fb;
	cursor: pointer;
	outline: none;
	margin-top: 20px;
}

input[type="submit"]:hover {
	border-color: var(--color-info-dark);
	background: #c91b0e;
	transition: .5s;
}


/*  Footer  */

.footer {
	width: 100%;
	text-align: center;
	background: #000;
	color: #fff;
	padding-top: 10px;
	padding-bottom: 0;
	position: absolute;
	top: 100%;
	transform: translateY(-100%);
}

.footer h4 {
	margin-bottom: 0px;
	margin-top: 0px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 12px;
}

.footer p {
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 0.6px;
}

/*   MEDIA QUERIES   */

@media(max-width: 800px) {
	.nav-links ul li {
		display: block;
	}

	.nav-links {
		position: absolute;
		background: rgba(13, 88, 122, 0.95);
		height: 100vh;
		width: 200px;
		top: 0;
		right: -200px;
		text-align: left;
		z-index: 2;
		transition: 1s;
	}

	nav .fa {
		display: block;
		color: #fff;
		margin: 10px;
		font-size: 22px;
		cursor: pointer;
	}

	.nav-links ul {
		padding: 30px;
	}
}

@media (max-width: 480px) {
	.container h1 {
		font-size: 24px;
	}

	.contacto {
		display:box;
		position: absolute;
		width: 89vw;
		top: 0;
		left: 0;
		transform: translate(5%, 15%);
	}

	.center {
		width: 90%;
		position: relative;
		padding: 20px;
		background: white;
		border-radius: 10px;
		border: 1px solid black;
		box-shadow: 5px #a6a6a6;
		text-align: left;
	}
}