@font-face {
	font-family: 'Poppins';
	src: url(/fuentes/Poppins-.ttf);
	font-display: swap;
}

@font-face {
	font-family: 'Poppins-Regular';
	src: url(/fuentes/Poppins-Regular.ttf);
	font-display: swap;
}

:root {
	--color_primario: #f1f3f7;
	--color_secundario: #336699;
	--color_gris: #6b6767;
	--color_blanco: #ffffff;
	--altura_header: 80px;
	--padding_left_right: 4rem;
	--ancho_maximo: 1200px;
}

* {
	padding: 0;
	margin: 0;
	text-decoration: none;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
	box-sizing: border-box;	
}

img {
	width:100%;
}

html {
	font-size: 12px;
	font-family: "Poppins-Regular", sans-serif;
	min-width: 300px;
	color: var(--color_gris);
	perspective: 2px;
}

input,
textarea {
	width: 100%;
	padding: 10px;
	margin: 5px;
	font-size: 1.25rem;
	font-family: "Poppins", sans-serif;
	background-color: var(--color_primario);
}

textarea:focus, input:focus{
	border: 3px solid var(--color_secundario);
	outline: none;
}

h1 {
	font-size: 2.5rem;
	color: var(--color_secundario);
	line-height: 3rem;
	font-weight: 800;
}
h2 {
	font-size: 1.5rem;
	line-height: 2rem;
	color: #3d3d3d;
	font-weight: 400;
}

h3 {
	font-size: 1.4rem;
	line-height: 2rem;
	color: #3d3d3d;
	font-weight: 400;
}
h4 {
	font-size: 1.3rem;
}
h5 {
	font-size: 1.2rem;
}
h6 {
	font-size: 1.1rem;
}
p {
	font-size: 1.25rem;
	font-family: "Poppins-Regular", sans-serif;
	font-weight: 300;
}

ul {
	padding-left: 30px;
}

section {
	height: 100%; /* para todo, ya que van apilados uno sobre otro, la altura de cada uno la debe determinar el row. excepto si queremos que cada section ocupe una pantalla completa, cuidado con la alineacion de footer */
	background-color: #ffffff;
	margin: 0 auto;
	justify-items: center;
	align-content: center;
}

.row {
	margin: 0 auto;
	max-width: 1200px;
	padding: 1rem;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	padding-left: 10px;
}

.migas-pan {
	background-color: var(--color_secundario);
	height: 50px;
}

.migas-row {
	margin: 0 auto;
	max-width: 1200px;
	font-size: 1.25rem;
	color: var(--color_blanco);
	display: flex;
	justify-content: end;
	align-items: baseline;
	padding-top: 15px;
	padding-right: 20px;
}

.migas-row a {
	color: var(--color_blanco);
}

.section2,
.section4 {
	background-image: url(https://silmetal.eprueba.com/assets/img/fondo1.jpg);
	font-size: 1.25rem;
	background-size: cover;
	background-attachment: fixed;
	background-position: bottom center;
}

.section3,
.section5 {
	background-color: #ffffff;
	font-size: 1.25rem;
}

.row2 {
	flex-direction: column-reverse;
}

/* menu responsive */

.header {
	height: var(--altura_header);
	background-color: var(--color_primario);
}
.navbar {
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 0 2rem;
}
.menu_hamburguesa {
	display: none;
}
.menu_hamburguesa:checked + .ul_links {
	height: calc(100vh - var(--altura_header));
}
.logo {
	max-width: 200px;
}

.list_icon {
	color: var(--color_gris);
	cursor: pointer;
}
.ul_links {
	width: 100%;
	background-color: var(--color_primario);
	position: absolute;
	top: var(--altura_header);
	left: 0;
	height: 0;
	overflow: hidden;
	/* height: calc(100vh - var(--altura_header)); */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	font-weight: 600;
	transition: all 0.3s;
	list-style: none;
}

.link {
	font-size: 2rem;
	color: var(--color_secundario);
	font-weight: bold;
}

.img1,
.logo {
	width: 100%;
}

.navbar ul {
	padding-left: unset;
}

.copy {
	margin: 0 auto;
	max-width: 1200px;
	height: 80px;
	padding: 1rem;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-color: var(--color_gris);
	color: var(--color_blanco);
	text-align: center;
}

.col-a {
	padding: 20px;
}

.col-b {
	padding: 20px;
}

.check {
	width: unset;
}

.acepta {
	width: 100% !important;
	padding: unset;
	display: flex;
}

.acepta-legal {
	padding: 10px;	
}

/* para escritorio */

@media (min-width: 768px) {
	.link {
		font-size: 1.2rem;
		transition: all 0.3s;
		padding: 0.2rem 0.7rem;
		font-weight: 500;
	}
	.link:hover {
		color: var(--color_gris);
	}

	.row {
		flex-direction: row;
		margin-top: 100px;
		margin-bottom: 100px;
	}

	.col-a {
		width: 50%;
		padding: 50px;
	}

	.col-b {
		width: 50%;
		padding: 50px;
	}

	footer {
		width: 100%;
		background-color: var(--color_gris);
	}
}

@media (min-width: 992px) {
	.navbar {
		padding: 0 10rem;
	}

	.labe_hamburguesa {
		display: none;
	}
	.ul_links {
		position: static;
		width: auto;
		height: auto;
		flex-direction: row;
		gap: 0.5rem;
	}
	.link {
		font-size: 1.2rem;
		transition: all 0.3s;
		padding: 0.2rem 0.7rem;
	}
	.link:hover {
		color: var(--color_gris);
	}

	h1 {
		font-size: 3.4rem;
		line-height: 4rem;
	}
	h2 {
		font-size: 2rem;
		line-height: 2.5rem;
	}
	p {
		font-size: 1.25rem;
	}

	.row {
		flex-direction: row;
		margin-top: 100px;
		margin-bottom: 100px;
	}

	.col-a {
		width: 50%;
		padding: 50px;
	}

	.col-b {
		width: 50%;
		padding: 50px;
	}
}
