main {
	grid-template-rows: 115px repeat(4, min-content) 130px;
}
/* #region seccion-1 */
.seccion-1 {
	grid-row: 2;
	grid-column: 1 / -1;
	background-image: url("../assets/shutterstock_1517225267.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	color: white;
	height: 37.5rem;
	position: relative;
	background-position-x: -15em;
}

.seccion-1 .graf-section-der {
    position: absolute;
    right: 0;
    height: 100%;
    transform: scaleX(-1);
}

.snow-wrapper {
    position: absolute;
    top: 12em;
    right: 22em;
    width: 22em;
}

.snow {
    position: absolute;
    width: 100%;
    z-index: 1;
}

.snow-shadow {
    position: absolute;
    width: 100%;
    mix-blend-mode: multiply;
}

.seccion-1 h1 {
	position: absolute;
	top: 6em;
	right: 1em;
}

.seccion-1 .snow-mobile {
    display: none;
}

/* #endregion */

/* #region seccion-2 */
.seccion-2 {
	grid-column: 1 / -1;
	background-image: url("../assets/calidad2.png");
	background-position-x: left;
	background-repeat: no-repeat;
	height: min-content;
	display: flex;
	padding: 2em;
	justify-content: end;
	align-items: center;
	font-weight: 500;
	position: relative;
	background-size: 45% 100%;
}

.seccion-2 .wrapper {
	width: 55%;
	height: 100%;
}

.seccion-2 .certs {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 7em;
}

.seccion-2 .texto-wrapper img {
	width: 40%;
	min-width: 12em;
}

.seccion-2 .cert-tuv img {
	width: 200%;
}

.seccion-2 h1 {
	color: white;
	position: absolute;
	top: 6em;
	left: 2em;
}

.seccion-2 .cert-wrapper {
	max-width: 10em;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1em;
}

/* #endregion */

/* #region seccion-3 */
.seccion-3 {
	grid-column: 1 / -1;
	height: min-content;
	background-image: url("../assets/FONDO.png");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2em;
}

.seccion-3 .habs-wrapper {
	width: 75%;
	height: 100%;
	border-radius: 15px;
	background-color: #ffffffab;
	display: flex;
	flex-wrap: wrap;
	max-width: 90em;
	padding: 2em;
	gap: 2em;
}

.seccion-3 .btn-sernapesca {
	display: flex;
	height: min-content;
	align-items: center;
	gap: 2em;
	font-size: 20px;
	width: 100%;
	justify-content: center;
	flex-direction: column;
}

.seccion-3 .btn-sernapesca span {
	font-weight: 700;
}

.seccion-3 .wrapper {
	height: 100%;
	text-align: center;
	display: flex;
	justify-content: center;
}

.seccion-3 .paises {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2em 3em;
	height: min-content;
}

.seccion-3 .btn-habilitaciones img {
	max-width: 8em;
	min-width: 6em;
	width: 65%;
}

.seccion-3 .btn-sernapesca img {
	max-width: 14em;
	width: 70%;
	min-width: 9em;
}

.seccion-3 .btn-habilitaciones {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-weight: 700;
	gap: 1em;
	font-size: 20px;
	width: min-content;
}

.seccion-3 h2 {
	margin-top: 0;
	text-shadow: var(--shadow);
	color: white;
}
/* #endregion */

/* #region seccion-4 */
.seccion-4 {
    grid-column: 1 / -1;
    background-image: url("../assets/calidad2.png");
    background-size: 30% 100%;
    background-position-x: left;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    padding: 2em;
    justify-content: end;
    align-items: center;
    font-weight: 500;
    position: relative;
}

.seccion-4 .wrapper {
	width: 55%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.seccion-4 .certs {
	display: flex;
	justify-content: center;
	align-items: start;
	flex-wrap: wrap;
	gap: 3em 6em;
}

.seccion-4 .texto-wrapper img {
	width: 100%;
	border-radius: 15px;
	box-shadow: var(--shadow);
	min-width: 9em;
}

.seccion-4 span {
	font-weight: 700;
}

.seccion-4 h1 {
	color: white;
	position: absolute;
	top: 5em;
	left: 2em;
}

.seccion-4 .cert-wrapper {
    width: min-content;
    max-width: 10em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
}

/* #endregion */

.seccion-certificacion {
    color: var(--color-azul-3);
}

@media screen and (max-width:1023px) {

	main {
		grid-template-rows: 130px repeat(5, min-content) 4em;
	}

	.seccion-1 {
        background-image: url("../assets/FONDO.png");
        display: flex;
        justify-content: center;
        align-items: center;
        height: 22em;
        text-align: start;
		background-position-x: initial;
    }

    .seccion-1 .snow-wrapper {
        display: none;
    }

    .seccion-1 .snow-mobile {
        display: block;
        width: 35%;
        min-width: 8em;
        max-width: 15em;
        grid-row: 1;
    }

    .seccion-1 h1 {
        position: initial;
        justify-self: center;
        grid-row: 1;
        font-size: 18px;
    }

    .seccion-1 .graf-section-der {
        display: none;
    }
	
	.seccion-2 {
		background-image: none;
	}

    .seccion-2 h1 {
        position: initial;
        color: var(--color-azul-2);
    }

	.seccion-2 .texto-wrapper {
		display: flex;
		flex-direction: column;
		width: 100%;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.seccion-2 .wrapper {
		width: 100%;
	}

	.seccion-2 .cert-wrapper {
		flex-direction: column;
	}

	.seccion-2 .certs {
		gap: 7em;
	}
	
	.seccion-3 {
		background-image: none;
		background-color: var(--color-azul-2);
	}

	.seccion-4 {
		background-image: none;
		display: flex;
		flex-direction: column;
		height: min-content;
	}

	.seccion-4 h1 {
		color: var(--color-azul-2);
		position: initial;
		text-align: center;
	}

	.seccion-4 .certs {
		gap: 2em 3em;
	}

	.seccion-4 .texto-wrapper {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.seccion-4 .wrapper {
		width: 100%;
	}
}

@media screen and (max-width: 920px) {
	.seccion-3 .btn-sernapesca {
		flex-direction: column;
	}
}

@media screen and (max-width: 1430px) {
	.seccion-3 .habs-wrapper {
		width: 100%;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1560px) {
	.seccion-4 {
		background-size: 45% 100%;
	}
}

/* @media screen and (min-width: 768px) {
	.seccion-2 .cert-tuv img {
		margin: 0;
		width: 200%;
	}
} */

@media screen and (max-width: 1343px) {
	.seccion-2 h1 {
		top: 9em;
	}
}