* {
    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;
}

.main-info {
	width: 450px;
	height: 220px;	
	align-content: center;
}

.main-info h1 {
	font-family: "Oswald", sans-serif;
	color: white;
    font-size: 2.2rem;
	font-weight: 800;	
	letter-spacing: 1px;
	text-align: left;
	text-shadow: 9px 5px 9px black; 	
}

.main-info p {
	font-family: "Manrope", sans-serif;
	color: white;
	font-size: 1rem;
	font-weight: 200;
	line-height: 1.5;	
	margin: 2px 0 15px 0;	
	letter-spacing: 0.5px;
	text-align: left;
}

.main-info .btn {
	font-family: "Manrope", sans-serif;
	width: 90px;
	font-size: 1.2rem;
	color: white;
	letter-spacing: 1px;
    background-color: #D86437;
	padding: 5px;	
	text-align: center;
	border-radius: 5px;
	text-decoration: none;	
}

.main-info .btn:hover {
	cursor: pointer;
	color: #D86437;
	background: none;
	border: 1px solid #D86437;
	transition: 0.5s;
}

/***Aquí inicia el slider***/
.main-slider {
	width: 400px;
	height: 220;	
	align-content: center;
	border-radius: 20px;
	display: table;
	overflow: hidden; 
}

.main-slider img {
	width: 100%;
    height: auto;
	display: block;
	border-radius: 20px;	
}

.main-slider ul {
    display: flex;
    width: 400%; /** para # img, 200%=2img. 300%=4img, etc **/
    animation: cambio 16s infinite alternate linear;
}

.main-slider ul li {
    width: 100%;
    list-style: none;
}

@keyframes cambio {
    0% {margin-left: 0%;}
    20% {margin-left: 0%;}
	        
    25% {margin-left: -100%;}
    45% {margin-left: -100%;}
	
	50% {margin-left: -200%;}
    70% {margin-left: -200%;}
	
	75% {margin-left: -300%;}
    100% {margin-left: -300%;}	       
}
/***Aquí termina el slider***/








/***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 {	
		flex-direction: column;
		text-align: center;
	}
			
	.main-info {
		width: 100%;
		max-width: 500px;
		margin: 2rem 0;
		
	}	
	
	.main-info h1 {
		text-align: center;
	}

	.main-info p {
		text-align: center;
		padding: 10px;
	}

	.main-slider {
	    width: 350px;
	    height: 220;
		margin: 4rem 0;
	}
	
}