@font-face {
	font-family: 'simpsonts-font';
	src: local('simpsonts-font'),
		url('./recursos/fuentes/Simpsonfont.otf') format('opentype');
}

:root {
	--color-fondo: #42c7f2;
	--color-primario: #fee622;
	--color-secundario: #e33e97;
	--fuente-color-primario: #ffffff;
	--fuente-color-secundario: #7b7b7b;
	--fuente-principal: 'simpsonts-font', sans-serif;
	--fuente-secundaria: 'Fira Sans', sans-serif;
	--fuente-tamanio-titulo: 2rem;
	--fuente-tamanio-titulo-tablet: 2.5rem;
	--fuente-tamanio-titulo-desktop: 3rem;
	--fuente-tamanio-subtitulo: 1.5rem;
	--fuente-tamanio-subtitulo-tablet: 2rem;
	--fuente-tamanio-subtitulo-desktop: 2.5rem;
	--fuente-tamanio-parrafo: 1rem;
	--fuente-tamanio-parrafo-tablet: 1.15rem;
	--fuente-tamanio-parrafo-desktop: 1.25rem;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 7rem;
	font-family: 'Fira Sans', sans-serif;
	scrollbar-color: var(--color-primario) var(--color-secundario);
	scrollbar-width: thin;
}

body {
	background-color: var(--color-fondo);
	overflow-x: hidden;
}

* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.titulo {
	font-family: var(--fuente-principal);
	font-size: var(--fuente-tamanio-titulo);
	color: var(--color-primario);
}

.subtitulo {
	color: var(--fuente-color-primario);
	font-family: var(--fuente-secundaria);
	font-size: var(--fuente-tamanio-subtitulo);
}

.parrafo {
	color: var(--fuente-color-primario);
	font-family: var(--fuente-secundaria);
	font-size: var(--fuente-tamanio-parrafo);
	line-height: 2rem;
}

/* Navbar */
.navbar-principal {
	font-family: var(--fuente-secundaria);
	background: rgb(254, 230, 34);
}

.navbar-principal-boton-hamburguesa {
	border: none;
}

.navbar-principal-boton-hamburguesa:focus,
.navbar-principal-boton-hamburguesa:active {
	border: none;
	outline: none;
	box-shadow: none;
}

.spikes {
	position: relative;
	background: var(--color-primario);
}

.spikes::after {
	content: '';
	position: absolute;
	right: 0;
	left: -0%;
	top: 100%;
	z-index: 10;
	display: block;
	height: 50px;
	background-size: 50px 100%;
	background-image: linear-gradient(
			135deg,
			var(--color-primario) 25%,
			transparent 25%
		),
		linear-gradient(225deg, var(--color-primario) 25%, transparent 25%);
	background-position: 0 0;
}

.nav-link {
	font-family: var(--fuente-secundaria);
	text-shadow: 1px 1px 1px rgb(0, 0, 0);
	color: var(--color-secundario);
	font-weight: 600;
	cursor: pointer;
	position: relative;
	border: none;
	background: none;
	text-transform: uppercase;
	transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
	transition-duration: 400ms;
	transition-property: color;
}

.nav-link:focus,
.nav-link:hover {
	color: var(--color-secundario);
}

.nav-link:focus:after,
.nav-link:hover:after {
	width: 100%;
	left: 0%;
}

.nav-link:after {
	content: '';
	pointer-events: none;
	bottom: -2px;
	left: 50%;
	position: absolute;
	width: 0%;
	height: 2px;
	background-color: var(--color-secundario);
	transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
	transition-duration: 400ms;
	transition-property: width, left;
}

.navbar-toggler-icon {
	width: 4rem;
	height: 4rem;
	background-image: url('./recursos/media/img/hamburguesa-imagen.png');
	background-size: contain;
}

.navbar-principal-imagen {
	width: 4rem;
}

.navbar-principal-formulario {
	display: flex;
	align-items: center;
	width: 75%;
	background-color: #ffffff;
	border-radius: 10px;
}

#inputBusqueda {
	border: none;
}

#inputBusqueda:active,
#inputBusqueda:focus {
	outline: none;
}

.navbar-principal-formulario i {
	font-weight: 900;
}

.navbar-principal-formulario label {
	cursor: pointer;
}

.navbar-principal-usuario-imagen {
	width: 2rem;
	filter: drop-shadow(1px 1px 2px #fee622);
}

.busqueda-resultados-contenedor {
	position: fixed;
	width: 100%;
	z-index: 500;
	top: -800px;
	max-height: 250px;
	overflow-y: auto;
	transition: all 0.5s ease-in-out;
}

.busqueda-resultados-contenedor--show {
	transition: all 0.5s ease-in-out;
	top: 365px;
}

.busqueda-resultados-contenedor a {
	font-family: var(--fuente-secundaria);
	font-weight: 600;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}

.busqueda-resultados-contenedor a:hover {
	background-color: var(--color-primario);
	transition: all 0.5s ease;
}

.busqueda-resultados-contenedor img {
	max-width: 8rem;
}

input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration {
	display: none;
}

#navbarDropdown::after {
	background-color: transparent;
}

/* Carrousel */

.img-media {
	max-height: 992px;
	width: 100%;
	object-fit: contain;
	object-position: center top;
}

.bg-carousel {
	background-image: url(../../recursos/media/img/backgroundCarrousel.jpeg);
	background-size: cover;
	background-position: center center;
	max-width: 100%;
}

.custom-bg-color {
	background-color: #ffffff;
}

.card-index {
	transition: transform 0.3s;
}

.card-index:hover {
	transform: scale(1.02);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.932);
}

.tituloTarjetaSuperior {
	font-family: var(--fuente-principal);
	font-size: 1.5rem;
	color: var(--color-primario);
	text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.6);
	margin-bottom: 10px;
}

.parrafoCard {
	font-family: var(--fuente-secundaria);
	min-height: 7.5em;
}

.contenedorImgCarousel {
	width: 100%;
	object-fit: cover;
}

.comic-button {
	display: inline-block;
	padding: 10px 20px;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background-color: var(--color-secundario);
	border: 2px solid #000;
	border-radius: 10px;
	box-shadow: 5px 5px 0px #000;
	transition: all 0.3s ease;
	cursor: pointer;
}

.comic-button:hover {
	background-color: #fff;
	color: var(--color-secundario);
	border: 2px solid var(--color-secundario);
	box-shadow: 5px 5px 0px var(--color-secundario);
}

.comic-button:active {
	background-color: #fcf414;
	box-shadow: none;
	transform: translateY(4px);
}

.comic-button--carrousel {
	margin-top: 1rem;
	font-size: 1rem;
	padding: 0.2rem 0.5rem;
}

/* Temporadas */

#tituloTemporada {
	text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.6);
	font-family: var(--fuente-principal);
	color: var(--color-primario);
	font-size: var(--fuente-tamanio-titulo-desktop);
}

.centrarCard {
	margin: auto;
	float: none;
	text-align: center;
	background-color: var(--color-fondo);
	border: none;
	box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
}

.colorBoton {
	border: none;
	background-color: var(--color-primario);
	width: 80px;
	box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
}

.colorBoton:hover {
	background-color: var(--color-secundario);
}

.bi-play-fill {
	color: black;
	font-size: 25px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	background-color: var(--color-secundario);
	width: 40px;
	height: 40px;
}

.carousel-control-prev,
.carousel-control-next {
	width: auto;
}

.carrouselBotonesContenedor {
	position: relative;
	height: 5rem;
}

.btnAnterior {
	position: absolute;
	left: 20vw;
}

.btnSiguiente {
	position: absolute;
	right: 20vw;
}

/* Footer */
footer {
	background-image: url(../../recursos/media/img/backgraundDonas.png);
}

.footerTitulo {
	color: rgb(255, 208, 56);
	font-family: var(--fuente-secundaria);
}

.footerRedes {
	font-family: var(--fuente-secundaria);
	color: rgb(255, 208, 56);
	background-color: rgb(5, 1, 2, 0.5);
}

.footerLetra {
	color: rgb(255, 208, 56);
	text-decoration: none;
	transition: transform 0.3s ease;
}

.buttonFooter {
	background-color: rgb(5, 1, 2, 0.5);
	color: rgb(255, 208, 56);
}

.letraButtonF {
	font-family: var(--fuente-secundaria);
	text-decoration: none;
	color: rgb(255, 208, 56);
}

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

.buttonFooter:hover {
	transform: scale(1.1);
}

.divButtonF {
	width: 20%;
}

.iconoRedes {
	font-size: 2.5rem;
}

.iconoRedes2 {
	font-size: 2rem;
}

.bi-instagram {
	color: #e4405f;
}
.bi-twitter-x {
	color: #fff;
}
.wrapper {
	display: inline-flex;
	list-style: none;
	height: 120px;
	width: 100%;
	padding-top: 40px;
	font-family: 'Poppins', sans-serif;
	justify-content: center;
}

.wrapper .icon {
	position: relative;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 50%;
	margin: 10px;
	width: 50px;
	height: 50px;
	font-size: 18px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
	position: absolute;
	top: 0;
	font-size: 14px;
	background: #fff;
	color: #fff;
	padding: 5px 8px;
	border-radius: 5px;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
	position: absolute;
	content: '';
	height: 8px;
	width: 8px;
	background: #fff;
	bottom: -3px;
	left: 50%;
	transform: translate(-50%) rotate(45deg);
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
	top: -45px;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.wrapper .icon:hover a i,
.wrapper .icon:hover .tooltip {
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
	background: #1877f2;
	color: #fff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
	background: #000;
	color: #fff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
	background: #e4405f;
	color: #fff;
}

.wrapper .twitter:hover,
.bi-twitter-x:hover {
	color: #000;
}

.wrapper .facebook:hover,
.wrapper .twitter:hover,
.wrapper .instagram:hover {
	background: #fff;
}

/* Responsive */

@media (max-width: 768px) {
	.divButtonF {
		width: 100%;
	}
}

@media screen and (min-width: 768px) {
	.titulo {
		font-size: var(--fuente-tamanio-titulo-tablet);
	}

	.subtitulo {
		font-size: var(--fuente-tamanio-subtitulo-tablet);
	}

	.parrafo {
		font-size: var(--fuente-tamanio-parrafo-tablet);
	}

	.nav-link {
		font-size: var(--fuente-tamanio-parrafo-tablet);
	}

	.navbar-principal-formulario {
		width: 30%;
	}

	.busqueda-resultados-contenedor--show {
		top: 120px;
	}

	.comic-button--carrousel {
		padding: 10px 20px;
		font-size: 24px;
	}
}

@media screen and (min-width: 1024px) {
	.titulo {
		font-size: var(--fuente-tamanio-titulo-desktop);
	}

	.subtitulo {
		font-size: var(--fuente-tamanio-subtitulo-desktop);
	}

	.parrafo {
		font-size: var(--fuente-tamanio-parrafo-desktop);
	}
}
