* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	background: #e0e0e0;
	color: #1d1d1d;
}

body::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar
{
	width: .5rem;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb
{
	border-radius:1rem;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #100A1F;
}


header{
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	max-width: 100%;
	height: 4rem;
	border: black solid .05rem;
	background: rgb(255,0,0);
	background: linear-gradient(90deg, rgb(8, 8, 8) 35%, rgba(76, 74, 74, 0.888) 100%);
}

header nav{
	display: flex;
	justify-content:space-between;
	align-items: center;
	flex-wrap: nowrap;
	background-color: transparent;
	width: 100%;
	height: 100%;
	padding: .5rem;
	border: none;
}




.remove{
	display: none;
}

.justify_and_aling_style{
	justify-content: center;
	align-items: center;
}

#search-bar{
	width:50%;
	height: 100%;
	border: none;
	background-color: #ffffff;
	color: #1d1d1d;
	opacity: .5;
	font-size: 1.5rem;
	border-radius: 1rem;
	transition: all ease .6s;
}

#search-bar:focus{
	width: 60%;
	border-radius: .2rem;
	border: none;
	opacity: .8;
	box-shadow: .2rem .2rem .6rem .03rem #b6b6b6;
	text-align: center;
	
}

#search-bar::placeholder{
	margin-left:.5rem;
	text-align:center;
}


.menu{
	display: none;
}

.buttons{
	display: flex;
	justify-content: center;
	align-content: center;
	width: 50%;
	height: 100%;
	padding: 0% 1rem;
}

.button-sections{
	position: relative;
	width: calc(25% * 3);
	height: 100%;
	margin: auto;
	background-color: transparent;
	border: none;
	font-size: 1.5rem;
	font-family: 'Sigmar', cursive;
	text-align: center;
	color: white;

	transition: all ease .5s;
}

.button-sections::after{
	content: '';
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #fa0969;
	transform-origin: bottom right;
	transition: transform 0.25s ease-out;
}



.button-sections:hover::after{
	transform-origin: bottom left;
	transform: scaleX(1);
}

.button-sections:hover{
	cursor: pointer;
}





.contenedor {
	width: 85%;
	max-width: 1200px;
	margin: 40px auto 100px auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}



.contenedor .pelicula {
	text-align: center;
	margin: 20px 0;
}

.contenedor .pelicula .titulo {
	font-size: 16px;
	font-weight: 600;
}

.contenedor .pelicula .poster {
	width: 100%;
	height: 90%;
	margin-bottom: 10px;
	border-radius: 15px;
    transition: transform .4s ease;
}

.poster:hover{
    transform: scale(1.04);
    filter: contrast(110%);
    box-shadow: 5px 5px 10px 2px black;
	cursor: pointer;
}

.paginacion {
	position: fixed;
	bottom: 0;
	background: #100a1f;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 20px;
	padding: 10px;
}

.paginacion button {
	cursor: pointer;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 50px;
	width: 200px;
	background: #241744;
	color: #fff;
	border-radius: 100px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	transition: .3s ease all;
}

.paginacion button:hover {
	background: #137c32;
}


.alerta{
	display: none;
	place-items: center;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(25,25,25,0.3);
	
}

.alert_text_container{
	display: flex;
	place-items: center;
	flex-wrap: wrap;
	width: 25rem;
	height: 25rem;
	
	background-color: white;
	border-radius: 2rem;
}

.alert_text_container .text_alert{
	margin: 10%;
	width: 90%;
	height: 20%;
	font-size: 1.5rem;
	font-family: 'Sigmar', cursive;
	color: black;
	text-align: center;
}

.button_close_alert{
	width: 90%;
	margin: 10%;
	margin-top: 5%;
	height: 4rem;
	border-radius: 5rem;
	color: black;
	background: rgb(103,0,32);
background: linear-gradient(0deg, rgba(103,0,32,1) 0%, rgb(255, 79, 79) 100%);
}

@media  (max-width: 700px){
	/* Contenedor for phones and tablets */
	.contenedor {
		width: 90%;
		max-width: 1000px;
		margin: 40px auto 100px auto;
	
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}