/* Carousel Styles with Banner Integration */
.carousel-custom {
	height: 70vh;
	/* Set height for the carousel */
	position: relative;
	overflow: hidden;
}


.carousel-item {
	position: relative;
	height: 100%;
	/* Ensure each carousel item takes up the full carousel height */
	z-index: 0;
}


.carousel-item img {
	height: 100%;
	object-fit: cover;
	object-position: bottom;
	/* Focus on the bottom, cropping the top */
	width: 100%;
}


.banner-caption {
	position: absolute;
	top: 50vh;
	/* Adjust as needed */
	left: 10%;
	font-size: 3rem;
	color: white;
	text-align: left;
	z-index: 3;
	font-weight: bolder;
}


.banner-caption .title {
	font-size: 50px !important;
	font-weight: bold !important;
	position: relative;
	/* Changed from absolute to relative */
	z-index: 4;
	width: 55%;
}


.banner-caption .title-number {
	font-weight: bolder !important;
	color: var(--gold);
}


.carousel-inner {
	height: 100%;
	/* Ensure the inner container takes up full height */
}


.gradient-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 70%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.458), rgba(0, 0, 0, 0));
	/* Dark gradient */
	z-index: 1;
}




.countup-number {
	font-size: 50px !important;
	color: var(--gold) !important;
}


/*news carrousell*/
.noticias-container {
	left: 0;
	right: 0;
	bottom: 0;
	top: 50vh;
	z-index: 3;
	display: flex;
	gap: 15px;
	padding-bottom: 50px;
	overflow: hidden;
	margin-bottom: 30px;
	padding-top: 1.5rem !important;
}


.noticias-container .carousel {
	overflow: hidden;
}


.link-news {
	text-decoration: none !important;
	color: white;
}


.news-item {
	flex: 0 0 33.33%;


	max-width: 33.33%;
	overflow: hidden;
}


.noticia {
	margin: 8px;
	position: relative;
	height: 280px;
	color: white;
	text-decoration: none;
	/* background-position: 12%; */
	background-repeat: no-repeat;
	/* background-size: 132% auto; */
	border-radius: 10px;
	background-position: center;
	background-size: cover;
	-webkit-border-radius: 10px;
}


.noticia-text {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: 15px;
	border-radius: 4px;
}

.noticia-text .p {
	font-size: 16px !important;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	margin-bottom: 0 !important;
}

.noticia h3,
.noticia h5,
.noticia h6 {
	margin: 0;
}


.noticia h3 {
	text-transform: uppercase;
	font-size: 22px;
	margin-bottom: 5px;
}


.noticia h5 {
	color: var(--gold);
	font-size: 14px !important;
}


.noticia p {
	font-size: 16px !important;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	margin-bottom: 0 !important;
}


.noticia .gradient-overlay {
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, rgba(7, 28, 107, 1), transparent);
	z-index: 2;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}


.noticia:hover .gradient-overlay {
	background: linear-gradient(to top, rgb(217, 0, 0), transparent);
}


.noticia:hover {
	transition: transform 0.5s ease;
	transform: scale(105%);
	-webkit-transform: scale(105%);
	-moz-transform: scale(105%);
	-ms-transform: scale(105%);
	-o-transform: scale(105%);
}


.noticias-container .carousel .row {
	transition: transform 0.5s ease;
}


.noticias-container .carousel .row.sliding {
	transition: none;
}


.noticias-container .carousel-inner {
	overflow: hidden;
}


.news-row {
	display: flex;
}


.carousel-control-prev,
.carousel-control-next {
	color: blue;
	opacity: 0.8;
	width: 6vh;
	height: 6vh;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.3s ease;
	-webkit-transition: transform 0.3s ease;
	-moz-transition: transform 0.3s ease;
	-ms-transition: transform 0.3s ease;
	-o-transition: transform 0.3s ease;
}


/*fixture home*/
.empty-state {
	width: full;
	display: flex;
	align-items: center;
	justify-content: center;
}


.fixtures {
	display: flex;
	align-items: flex-start;
	justify-content: start;

}


.fixture {
	margin-bottom: 50px;
	display: flex;


	justify-content: center;
}


.fixture-container {
	color: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	max-width: 500px;
	width: 100%;
	align-content: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;


}


.fixture-masculino {
	background-color: var(--blue);
}


.fixture-femenino {
	background-color: var(--red);
}


.fixture-masculino .score {
	background-color: #1e3a6d;
}


.fixture-femenino .score {
	background-color: rgb(199, 0, 0);
}


.fixture-header {
	text-align: center;
	font-size: 1rem;
}


.fixture-home-date {
	text-align: center;
	text-transform: capitalize;
	font-weight: bold;
	font-size: 1.2rem;
	margin-bottom: 30px;
	margin-top: 10px;
}


.fixture-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	padding: 5px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.fixture-time {
	font-size: 0.9rem;
	color: white
}


.fixture .team {
	display: flex;
	align-items: center;
	width: 40%;
	gap: 5px;
}






.score {
	padding: 5px 10px;
	border-radius: 5px;
	font-weight: bold;
}


.score.terminado {
	background-color: white;
	color: var(--blue);
}


.en-juego, .finalizado {
	font-weight: normal !important;
	cursor: pointer;
	font-weight: 300 !important;
	align-items: center;
	text-decoration: none !important;
	color: white !important;
	font-size: 14px !important;
}


.goal-icon {
	-webkit-filter: invert(100%);
	/* Safari/Chrome */
	filter: invert(100%);
	width: 16px !important;
	height: 16px !important;
}


.ball {
	border-radius: 50%;
	animation: bounce 4s infinite cubic-bezier(0.28, 0.84, 0.42, 1);
	/*transform: translateX(-50%);
 -webkit-animation: bounce 4s infinite cubic-bezier(0.28, 0.84, 0.42, 1);
 */
}


@keyframes bounce {
	0%, 100%, 10%, 90%, 40%, 60% {


		opacity: 1;
	}




	25%, 75% {
		opacity: 0;
	}


	50% {


		opacity: 1;
	}
}


/*galeria fotos home*/


.galeria-fotos {
	margin-top: 20px;
	/* Add spacing to the top */
}


.image-overlay-container {
	position: relative;
	/* Positioning context for the overlay */
	overflow: hidden;
	/* Ensures overflow is hidden */
}


.overlay-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Cover the whole area */
}


.overlay-text {
	position: absolute;


	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	opacity: 0;
	transition: opacity 0.3s;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}


.overlay-text h3 {
	font-size: 20px !important;
}


.image-overlay-container:hover .overlay-text {
	opacity: 1;
	/* Show on hover */
}




/* Sponsors */
/* Sponsors Container */
.sponsors-container {
	padding: 50px 0;
}


/* Titles */
.sponsors-title {
	text-align: center;
	margin: 20px 0 10px 0;
	font-weight: bold;
}


.sponsors-title-large {
	font-size: 1rem;
	/* Largest title */
}


.sponsors-title-medium {
	font-size: 0.9rem;
	/* Medium title */
}


.sponsors-title-small {
	font-size: 0.8rem;
	/* Smallest title */
}


/* Flexbox Layout */
.sponsors-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	/* Space between items */
	justify-content: center;
}


/* Sponsor Items */
.sponsor-item {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 150px;
	/* Fixed width */
	height: 100px;
	/* Fixed height */
}


.sponsor-item-2 {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 125px;
	/* Fixed width */
	height: 90px;
	/* Fixed height */
}


.sponsor-item-3 {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100px;
	/* Fixed width */
	height: 80px;
	/* Fixed height */
}


/* Sponsor Logo Wrappers */
.sponsor-logo-wrapper {
	background-color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	/* Full width of the sponsor item */
	height: 100%;
	/* Full height of the sponsor item */
	border-radius: 8px;
	transition: transform 0.3s ease, filter 0.3s ease, padding 0.3s ease;
}


.sponsor-logo-wrapper-large {
	padding: 20px;
	/* Padding for large logos */
}


.sponsor-logo-wrapper-medium {
	padding: 15px;
	/* Padding for medium logos */
}


.sponsor-logo-wrapper-small {
	padding: 10px;
	/* Padding for small logos */
}


/* Sponsor Logos */
.sponsor-logo {
	max-width: 100%;
	max-height: 100px;
	/* Maintain proportions */
	object-fit: contain;
	/* Ensure logo fits inside wrapper */
	filter: grayscale(100%);
	transition: transform 0.3s ease, filter 0.3s ease;
}


.sponsor-logo-2 {
	max-width: 100%;
	max-height: 80px;
	/* Maintain proportions */
	object-fit: contain;
	/* Ensure logo fits inside wrapper */
	filter: grayscale(100%);
	transition: transform 0.3s ease, filter 0.3s ease;
}


.sponsor-logo-3 {
	max-width: 100%;
	max-height: 65px;
	/* Maintain proportions */
	object-fit: contain;
	/* Ensure logo fits inside wrapper */
	filter: grayscale(100%);
	transition: transform 0.3s ease, filter 0.3s ease;
}


/* Hover Effects */
.sponsor-logo-wrapper:hover .sponsor-logo {
	transform: scale(1.1);
	filter: grayscale(0%);
}

.sponsor-logo-wrapper:hover .sponsor-logo-2 {
	transform: scale(1.1);
	filter: grayscale(0%);
}

.sponsor-logo-wrapper:hover .sponsor-logo-3 {
	transform: scale(1.1);
	filter: grayscale(0%);
}

/* Responsive Design */
@media (max-width: 768px) {
	.sponsor-item {
		width: 100px;
		/* Reduce wrapper size for smaller screens */
		height: 70px;
	}

	.sponsor-item-2 {
		width: 75px;
		height: 56px;
	}

	.sponsor-item-3 {
		width: 75px;
		height: 56px;
	}
}


@media (min-width: 770px) {
	.banner {
		height: 55vh !important;
		/* Adjust for larger screens */
		margin-bottom: 200px;
	}
}


/* Responsive adjustments */
@media (max-width: 1200px) {
	.news-item {
		flex: 0 0 calc(33.3333%);
		max-width: calc(33.3333%);
		/* Show 3 items per row on large tablets minus the gap */
	}
}


@media (max-width: 992px) {
	.news-item {
		flex: 0 0 calc(50%);
		max-width: calc(50%);
		/* Show 2 items per row on medium tablets minus the gap */
	}


	.image-overlay-container .overlay-text {
		opacity: 1;
		/* Show on hover */
	}
}


@media (max-width: 768px) {
	.news-item {
		flex: 0 0 calc(100%);
		max-width: calc(100%);
		/* Show 1 item per row on mobile devices minus the gap */
	}


	.banner {
		margin-bottom: 80%;
	}


	.banner-caption {
		width: 100%;
		display: flex;
		justify-content: center;
		left: 0;
		top: 40vh;
	}


	.banner-caption .title {
		font-size: 30px !important;
	}


	.noticias-container {
		top: 45vh;
		z-index: 0;
	}
}