@font-face {
	font-family: "Congenial";
	src: url("../assets/fonts/congenial-regular.otf") format("opentype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.sumas_contests_header_logo_sumas {
	width: 120px;
	height: 120px;
}

.sumas_contests_container {
	font-family: "Congenial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: white;
	min-height: auto;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 20px auto;
	max-width: 1200px;
	width: 100%;
	box-shadow: none;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
}

.sumas_contests_header_references {
	display: flex;
	background-color: white;
	width: 100%;
	height: fit-content;
	min-height: 90px;
	align-items: center;
	justify-items: start;
	padding-left: 10%;
	gap: 5%;
}

.sumas_contests_header_references_logo {
	width: fit-content;
	height: 50px;
	padding: 3px;
	display: flex;
}

.sumas_contests_header_references_link {
	width: fit-content;
	display: flex;
	color: black;
	text-decoration: none;
	font-weight: bold;
	font-size: 80%;
}

.sumas_contests_header_references_link:hover {
	color: #fe911f;
}

.sumas_contests_header {
	display: flex;
	background-color: #fe911f;
	width: 100%;
	height: fit-content;
	min-height: 120px;
}

.sumas_contests_header_section {
	flex: 1;
	text-align: center;
	align-items: start;
	flex-direction: column;
}

.sumas_contests_header_section:nth-child(1) {
	flex: 4;
	padding: 28px;
	display: flex;
	align-items: center;
}
.sumas_contests_header_section:nth-child(2) {
	flex: 5;
	padding: 28px;
	display: flex;
}

.sumas_contests_header_subsection_container {
	display: flex;
	height: 100%;
	width: fit-content;
}

.sumas_contests_header_subsection {
	flex: 1;
	display: flex;
	align-items: end;
	justify-content: start;
	padding-left: 5px;
	padding-right: 5px;
}

.sumas_contests_header_section_container {
	display: flex;
	flex-direction: column;
	text-align: left;
	width: fit-content;
	gap: 10px;
}

.sumas_contests_header_purchase_counter {
	color: white;
	width: fit-content;
}

.sumas_contests_header_content_number {
	display: flex;
	background-color: white;
	width: fit-content;
	padding: 10px;
	height: fit-content;
	border-bottom-right-radius: 30px;
	border-top-right-radius: 30px;
	align-items: center;
	justify-content: center;
	font-size: 35px;
	color: #fe911f;
	font-weight: bold;
	letter-spacing: 12px;
}

.sumas_contests_header_content_number--tight {
	padding: 5px;
	display: flex;
	font-size: 20px;
	letter-spacing: 2px;
	height: fit-content;
	width: fit-content;
}

.sumas_contests_banner_container {
	width: 100%;
}

.sumas_contests_banner {
	width: 100%;
	height: 100%;
}

.sumas_contests_division {
	display: flex;
	background-color: #fe911f;
	width: 100%;
	height: fit-content;
	text-align: center;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 16px;
	flex-direction: column;
	padding: 7px;
}

.sumas_contests_division_subtitle {
	font-size: 12px;
}

.sumas_contests_awards_container {
	display: flex;
	height: fit-content;
	width: fit-content;
	text-align: start;
	padding-left: 50px;
	padding-right: 50px;
	justify-content: center;
	align-items: center;
}

.sumas_contests_awards_section {
	flex: 1;
	display: flex;
	flex-direction: column;
	text-align: center;
	border-color: white;
	padding: 20px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: fit-content;
}

.sumas_contests_awards_section:nth-child(1) {
	flex: 1;
}
.sumas_contests_awards_section:nth-child(2) {
	flex: 1;
}
.sumas_contests_awards_section:nth-child(3) {
	flex: 1;
}

.sumas_contests_awards_subsection {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.sumas_contests_awards_subsection:nth-child(1) {
	flex: 1;
	gap: 4px;
}
.sumas_contests_awards_subsection:nth-child(2) {
	flex: 2;
}

.sumas_contests_header_content_number--award {
	font-size: 25px;
	letter-spacing: 4px;
	height: 30px;
	border-style: solid;
	border-width: 1px;
	border-color: #fe911f;
	width: 100%;
}

.sumas_contests_awards_ribbon {
	width: 120px;
	height: 30px;
}

.sumas_contests_awards_ribbon_small {
	width: 110px;
	height: 25px;
}

.sumas_contests_awards_gift {
	display: flex;
	background-color: white;
	flex-direction: column;
	border-width: 1px;
	border-style: solid;
	border-radius: 10px;
	border-color: #fe911f;
}

.sumas_contests_awards_gift_small {
	width: 190px;
	height: 140px;
}

.sumas_contests_awards_gift_large {
	width: 230px;
	height: 150px;
}

.sumas_contests_awards_gift_div {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.sumas_contests_awards_gift_div:nth-child(1) {
	flex: 3;
}

.sumas_contests_awards_gift_div:nth-child(2) {
	border-top: 1px solid #fe911f;
	flex: 1;
}

/* Estilos de las imágenes */
.sumas_contests_awards_image {
	max-width: 100%;
	max-height: 100%;
}

/* Imagen de fondo (premio) */
.sumas_contests_awards_image.base {
	position: relative;
	z-index: 1;
}

/* Imagen superior (referencia) */
.sumas_contests_awards_image.overlay {
	position: absolute;
	bottom: 5px; /* separación desde el borde inferior */
	left: 0px; /* separación desde el borde izquierdo */
	width: 10%; /* más pequeña para que no tape la imagen principal */
	height: 35%;
	z-index: 2;
	pointer-events: none;
}

.sumas_contests_awards_brand {
	width: 100%;
	height: 50px;
	padding: 3px;
	display: flex;
	min-height: 72px;
}

.sumas_contests_steps_container {
	margin-top: 10px;
	margin-bottom: 10px;
	display: flex;
	background-color: #fe911f;
	width: 100%;
	height: fit-content;
}

.sumas_contests_steps_section {
	flex: 1;
	display: flex;
	flex-direction: row;
	text-align: center;
	padding: 20px;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.sumas_contests_steps_section:nth-child(1) {
	flex: 1;
}
.sumas_contests_steps_section:nth-child(2) {
	flex: 1;
}
.sumas_contests_steps_section:nth-child(3) {
	flex: 1;
}

.sumas_contests_steps_image {
	width: 40px;
	height: 40px;
}

.sumas_contests_steps_text {
	color: white;
	text-align: start;
}

.sumas_contests_next_awards_container {
	height: fit-content;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 1128px;
}

.sumas_contests_next_awards_section {
	flex: 1;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 1128px;

	height: fit-content;
}

.sumas_contests_next_awards_section:nth-child(1) {
	flex: 1;
}
.sumas_contests_next_awards_section:nth-child(2) {
	flex: 1;
}

.sumas_contests_next_awards_subsection {
	padding: 10px;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	height: fit-content;
	width: 100%;
}

.sumas_contests_next_awards_subsection:nth-child(1) {
	flex: 5;
	background-color: #fef2cc;
	width: 100%;
	min-width: 1128px;
}
.sumas_contests_next_awards_subsection:nth-child(2) {
	flex: 1;
	width: 800px;
}

.sumas_contests_division_with_brands {
	background-color: white;
	display: flex;
	margin-top: 5px;
	width: 100%;
}

.sumas_contests_division_with_brands:nth-child(1) {
	flex: 1;
}
.sumas_contests_division_with_brands:nth-child(2) {
	flex: 1;
}
.sumas_contests_division_with_brands:nth-child(3) {
	flex: 1;
}
.sumas_contests_division_with_brands:nth-child(4) {
	flex: 1;
}

.sumas_contests_slider {
	width: 798px;
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	transition: transform 0.4s ease;
}

.sumas_contests_slider--award {
	width: 846px;
}

.sumas_contests_arrow_image {
	width: 100%;
	height: 100%;
}

.sumas_contests_slider::-webkit-scrollbar {
	display: none;
}

.sumas_contests_slider_card {
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	width: fit-content;
	height: fit-content;
	justify-content: center;
}

.sumas_contests_button_arrow {
	background: none;
	margin: 20px;
	width: 35px;
	height: 50px;
	color: #fe911f;
	font-size: 24px;
	cursor: pointer;
	border: none;
}

.sumas_contests_button_arrow:hover {
	transform: scale(1.2);
}

.sumas_contests_button_arrow .sumas_contests_button_arrow_left {
	left: 10px;
}

.sumas_contests_button_arrow .sumas_contests_button_arrow_rigth {
	right: 10px;
}

.sumas_contests_winners_container {
	height: 250px;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	width: 100%;
}

.sumas_contests_winners_card {
	display: flex;
	flex-direction: column;
	width: 190px;
	height: 140px;
	text-align: center;
	align-items: center;
	justify-content: center;
}

.sumas_contests_winners_image {
	width: 30px;
	height: 30px;
}

.sumas_contests_winners_name {
	font-size: 16px;
}

.sumas_contests_winners_info {
	font-size: 12px;
	color: #fe911f;
}

.sumas_contests_winners_date {
	margin: 4px;
	font-size: 12px;
	color: #fe911f;
}

.sumas_contests_intructions_container {
	display: flex;
	padding-top: 30px;
	text-align: center;
	align-items: end;
	justify-content: center;
	background-color: #fef2cc;
	width: 100%;
	height: fit-content;
}

.sumas_contests_intructions_section {
	display: flex;
	flex-direction: column;
	width: 80%;
	height: fit-content;
	padding-top: 45px;
	background-color: white;
	border-top-left-radius: 70px;
	border-top-right-radius: 70px;
	justify-content: center;
	align-items: center;
}

.sumas_contests_intructions_section_text {
	width: 75%;
	height: 80%;
	text-align: start;
}
.sumas_contests_intructions_title {
	display: flex;
	flex-direction: column;
	color: #fe911f;
}

.sumas_contests_instructions_example_image_container {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	height: fit-content;
}

.sumas_contests_instructions_example_image {
	width: 50%;
	height: 45px;
}

.sumas_contests_terms_and_conditions_container {
	display: flex;
	flex-direction: column;
	padding-top: 30px;
	text-align: center;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: fit-content;
}

.sumas_contests_terms_and_conditions_text_container {
	display: flex;
	flex-direction: column;
	text-align: justify;
	padding-left: 20%;
	padding-right: 20%;
}

.sumas_contests_terms_and_conditions_text {
	font-size: 12px;
	color: darkgrey;
	overflow-y: auto;
	height: 300px;
}

.sumas_contests_terms_and_conditions_title {
	border-bottom-style: solid;
	border-bottom-width: 4px;
	border-bottom-color: blue;
	color: darkgrey;
	width: 100%;
}

.sumas_contests_terms_and_conditions_title_container {
	width: 70%;
	text-align: start;
}

.sumas_contests_awards_image {
	width: 75px;
	height: 75px;
	max-width: 75px;
	max-height: 75px;
}

/* #prev_award {
	visibility: hidden;
}

#next_award {
	visibility: hidden;
} */

@media (max-width: 1125px) {
	.sumas_contests_awards_gift_div {
		font-size: 8px;
	}

	.sumas_contests_header_subsection_container {
		display: grid;
		gap: 8px;
	}

	/* === 5 ELEMENTOS === */
	.sumas_contests_header_subsection_container:has(:nth-child(5)) {
		grid-template-columns: repeat(3, auto);
		grid-template-areas:
			"a b ."
			"c d e";
	}

	.sumas_contests_header_subsection_container:has(:nth-child(5))
		> div:nth-child(1) {
		grid-area: a;
	}
	.sumas_contests_header_subsection_container:has(:nth-child(5))
		> div:nth-child(2) {
		grid-area: b;
	}
	.sumas_contests_header_subsection_container:has(:nth-child(5))
		> div:nth-child(3) {
		grid-area: c;
	}
	.sumas_contests_header_subsection_container:has(:nth-child(5))
		> div:nth-child(4) {
		grid-area: d;
	}
	.sumas_contests_header_subsection_container:has(:nth-child(5))
		> div:nth-child(5) {
		grid-area: e;
	}

	/* === 3 ELEMENTOS === */
	.sumas_contests_header_subsection_container:not(:has(:nth-child(4))) {
		grid-template-columns: repeat(3, auto);
		justify-content: center; /* los centra */
	}

	.sumas_contests_header {
		flex-direction: column;
		padding: 10px;
		padding-top: 0px;
	}

	.sumas_contests_header_section {
		align-items: center;
		justify-content: center;
	}

	.sumas_contests_header_section:nth-child(2) {
		padding: 5px;
	}
	.sumas_contests_header_section:nth-child(3) {
		padding: 5px;
	}

	.sumas_contests_header_purchase_counter {
		text-align: center;
		padding: 10px;
	}

	.sumas_contests_header_section_container {
		align-items: center;
		text-align: center;
	}

	.sumas_contests_slider {
		width: 286px;
	}

	.sumas_contests_slider--award {
		width: 276px;
	}

	#prev_award {
		visibility: visible;
	}

	#next_award {
		visibility: visible;
	}

	.sumas_contests_steps_container {
		flex-direction: column;
	}

	.sumas_contests_awards_gift_small {
		width: 136px;
		height: 105px;
	}

	.sumas_contests_next_awards_container {
		min-width: 1128px;
	}

	.sumas_contests_next_awards_subsection:nth-child(2) {
		width: 600px;
	}

	.sumas_contests_division_with_brands {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.sumas_contests_division_with_brands:nth-child(1) {
		visibility: hidden;
	}
	.sumas_contests_division_with_brands:nth-child(4) {
		visibility: hidden;
	}

	.sumas_contests_winners_card {
		width: 136px;
		height: 105px;
	}

	.sumas_contests_winners_container {
		min-width: 1128px;

		height: fit-content;
		padding: 20px;
	}

	.sumas_contests_winners_image {
		width: 20px;
		height: 20px;
		margin: 4px;
	}

	.sumas_contests_intructions_section {
		width: 85%;
		border-top-left-radius: 40px;
		border-top-right-radius: 40px;
		padding-top: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.sumas_contests_intructions_section_text {
		width: 100%;
	}

	.sumas_contests_intructions_title {
		font-size: 11px;
	}

	.sumas_contests_intructions_section_text_body_subtitle {
		font-size: 10px;
	}

	.sumas_contests_intructions_section_text_body_pagraf {
		font-size: 10px;
	}

	.sumas_contests_division {
		font-size: 10px;
	}

	.sumas_contests_division_subtitle {
		font-size: 8px;
	}
}

@media (max-width: 476px) {
	.sumas_contests_header_subsection_container {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
		gap: 20px;
	}

	.sumas_contests_header_content_number--tight {
		padding: 1px;
		font-size: 15px;
	}

	.sumas_contests_winners_name {
		display: flex;
		height: fit-content;
		font-size: 10px;
	}

	.sumas_contests_winners_info {
		font-size: 9px;
	}

	.sumas_contests_winners_date {
		margin: 6px;
		font-size: 9px;
	}

	.sumas_contests_button_arrow {
		margin: 10px;
		width: 30px;
		height: 45px;
	}

	.sumas_contests_instructions_example_image_container {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
		width: 100%;
		height: fit-content;
	}

	.sumas_contests_instructions_example_image {
		width: 75%;
		height: 100%;
	}

	.sumas_contests_terms_and_conditions_container {
		padding-top: 15px;
	}

	.sumas_contests_terms_and_conditions_text_container {
		padding-left: 10%;
		padding-right: 10%;
	}

	.sumas_contests_terms_and_conditions_text {
		font-size: 8px;
	}

	.sumas_contests_terms_and_conditions_title {
		font-size: 9px;
	}

	.sumas_contests_terms_and_conditions_title_container {
		display: flex;
		width: 85%;
		height: fit-content;
	}
}

@keyframes messageSlideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
