* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	color: white;
	text-decoration: none;
  }

body {
	background-color: #222;
}

.container {
	width: 95%;		
	max-width: 1200px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
}

header {
	width: 100%;
	height: 6rem;
	margin: auto;
	background: #222;
	position: sticky;
	z-index: 100;
	display: flex;
	align-items: center;
	box-shadow: 2px 0px 5px 0px Black;
}

.logo {
	font-family: "Oswald", sans-serif;
	letter-spacing: 0.3px;
	font-size: 1.4rem;
	font-weight: 700;	
	display: flex;
	align-items: center;
	text-shadow: 3px 3px 3px black;
}

header label {
	display: none;
	font-size: 40px;
	color: white;	
	float: right;	
}

header label:hover {
	cursor: pointer;
}

#btn-menu {
	display: none;
}

#btn-menu:checked ~ nav {
	transform: translateX(0%);
}

nav  {
	width: auto;
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	position: relative;
	transition: all 1s;
	transform: none;
}

nav a {	
    font-family: "Manrope", sans-serif;
	font-size: 1rem;
    padding-left: 50px;
	font-weight: 500;
}

nav a:hover, .active {
	color: #D86437;
	transition: 0.5s;	
}

main {	
	width: 100%;
	height: calc(100dvh - 6rem); 
    display: flex;
	align-items: center;
}



/* Estilos del formulario */
form {
	width: 100%;
	max-width: 350px;
	padding: 20px;
    display: flex;
    flex-direction: column;
	margin: auto;
    background-color: #222;
    color: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 2px 9px rgba(0,0,0,0.6);
	transition: box-shadow 0.3s ease;
}

form:hover {
	box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.6);
}


form h2 {
	font-family: "Oswald", sans-serif;
    font-size: 30px;
	text-align: center;	
	color: white;
    font-weight: 800;
	text-shadow: 9px 5px 9px black; 
	letter-spacing: 1px;	
}

form input {
	width: 100%;
	font-family: "Manrope", sans-serif;
	color: #333;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
    padding: 5px 15px;
    margin-top: 20px;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

form input:focus {
	outline: none;
	border-color: #D86437;
	box-shadow: 0 0 0 3px rgba(255, 81, 63, 0.1);
}

form button {
	font-family: "Oswald", sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	background-color: #D86437;
    margin-top: 20px;
    border: none;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

form button:hover {
    background-color: #D86437;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 81, 63, 0.3);
}

form button:active {
    transform: translateY(0);
}

form button:last-child {
    margin-bottom: 20px;
}

textarea {
	width: 100%;
	height: 120px;
	font-family: "Manrope", sans-serif;
	color: #333;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
    padding: 8px 15px;
    margin-top: 20px;
    border: 2px solid transparent;
    border-radius: 6px;
	resize: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

textarea:focus {
	outline: none;
	border-color: #FF513F;
	box-shadow: 0 0 0 3px rgba(255, 81, 63, 0.1);
}





/***Aquí inician las Medias queries***/

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {


	header .container label {
		display: block;
		color: white;
	}

	nav {
		background-color: #222;
		width: 45%;
		height: calc(100dvh - 6rem); 
		top: 100%;
		left: 0;
		flex-direction: column;
		position: absolute;
		transform: translateX(-100%);
		text-align: center;
		align-content: center;
		align-items: center;
		display: flex;
		justify-content: center;
		box-shadow: 2px 0px 2px Black;
		z-index: 999;
		opacity: 0.9;
	}

	nav a {
		color: white;
		padding: 1.5rem;
	}

	nav a:hover {
		color: #D86437;
	}

	#btn-menu:checked + label i::before {
		content: '\eb97';
	}
	
	main .container {
		padding: 0 20px;
	}
	
	
	form h2 {
		font-size: 26px;
	}
}