@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Racing+Sans+One&display=swap');

* {
	margin: 0;
	padding: 0px 0px 0px 2px;
	box-sizing: border-box;
}

/*Precio de peliculas*/
.price {
	color: #ffff;
	margin: 5px;
}

body {
	font-family: 'Ubuntu';
	max-width: 1200px;
	margin: 0 auto;
	background-color: #000000;
}

/*Imagen de compra*/
img {
	max-width: 100%;
}

/*Titulo de pelicula*/
header {
	display: flex;
	align-items: center;
	padding: 30px 20px 60px 20px;
	justify-content: center;
	color: #f44dfd;
}

.container-title {
	padding: 30px;
	background-color: #000000;
	margin-bottom: 50px;
	color: #222;
}

main {
	display: flex;
	gap: 30px;

}

.container-img {
	flex: 1;
}

.container-info-product {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.container-price {
	padding-bottom: 20px;
	border-bottom: 1px solid #e4e4e4;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/*Precio-titulo*/
.container-price span {
	font-size: 24px;
	font-weight: 300;
	color: #ffffff;
}

/*Linea de estructura*/
.container-details-product {
	padding: 30px 0;
	color: #ffffff;
}

.form-group {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 15px;
}

.form-group label {
	width: 100px;
	color: #ffffff;
	font-weight: 700;
}

.form-group select {
	width: 300px;
	border: none;
	padding: 12px 15px;
	background-color: #f7f7f7;
	outline: none;
	color: #666;
}

.btn-clean {
	border: none;
	background: none;
	color: #ffffff;
	margin-left: 120px;
	cursor: pointer;
}

.btn-clean:hover {
	color: #1bbeb4;
}

.container-add-cart {
	display: flex;
	gap: 20px;
	padding-bottom: 30px;
	border-bottom: 1px solid #e4e4e4;
}

.container-quantity {
	position: relative;
}

.produc-container {
	display: grid 
	grid-template-columns 
	repeat(3, 1fr);
	gap: 50px;

}

.input-quantity {
	background-color: #f7f7f7;
	border: none;
	padding: 10px;
	width: 60px;
	height: 100%;
	color: #666;
	font-weight: 500;
	line-height: 0;
}

.input-quantity:focus {
	outline: none;
}

.input-quantity::-webkit-inner-spin-button,
.input-quantity::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
}

.btn-increment-decrement {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 7px;
	right: 7px;
}

.btn-increment-decrement i {
	font-size: 11px;
	color: #666;
	cursor: pointer;
}

.fa-chevron-down:hover {
	color: #f44dfd;
}

.fa-chevron-up:hover {
	color: #f44dfd;
}

.btn-add-to-cart {
	border: none;
	background-color: #ffffff;
	padding: 10px;
	color: #252525;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-weight: 700;
	cursor: pointer;
}

.btn-add-to-cart:hover {
	color: #f44dfd;
}

.hidden {
	display: none;
}

.container-description,
.container-additional-information,
.container-reviews {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid #e4e4e4;
	padding: 10px 0;
}

.title-description,
.title-additional-information,
.title-reviews {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}

.title-description h4,
.title-additional-information h4,
.title-reviews h4 {
	font-weight: 300;
	color: #fdfdfd;
	font-size: 14px;
}

.text-description,
.text-additional-information,
.text-reviews {
	font-size: 13px;
	color: #ffffff;
	line-height: 22px;
	margin-top: 25px;
}

.container-social {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	align-items: center;
	border-bottom: 1px solid #e4e4e4;
}

.container-social span {
	font-weight: 300;
	color: #ffffff;
}

.container-buttons-social {
	display: flex;
	gap: 15px;
	align-items: center;
}

.container-buttons-social a:link,
.container-buttons-social a:visited {
	color: #666;
	font-size: 15px;
}

.container-buttons-social a:hover {
	color: #f44dfd;
}

.container-related-products h2 {
	text-align: center;
	margin-bottom: 30px;
}

.card-list-products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

.card {
	cursor: pointer;
}

.card-img {
	background: transparent;
	margin-bottom: 15px;
}

/*Imagenes de peliculas*/
.card-img img {
	height: auto;
	width: 100%;
	object-fit: cover;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	margin-top: 5px;
}

.info-card {
	display: flex;
	justify-content: space-between;
}

.text-product {
	color: #252525;
	font-weight: 300;
	line-height: 1.4;
}

/*Titulo de peliculas*/
.text-product h3{
    color: #ffffff;
    font-weight: inherit;
    font-size: 15px;
	margin: 5px;
	font-weight: bold;
}

.text-product h3:hover{
    color: #f44dfd;
}

/*Genero, debajo de pelicula*/
.text-product p{
    color: #ffffff;
    font-size: 13px;
	margin: 5px;
}

.text-product p:hover{
    color: #f44dfd;
}


.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
}

.logo {
    color: #f44dfd;
    font-family: 'Racing Sans One', cursive;
    font-size: 25px;
    font-weight: 800;
    text-transform: uppercase;
}

/*redes sociales*/
.q-social {
        align-items: center;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding-top: 15px;
        padding: 100px 10px 10px 10px;
}

/*Espacio de redes*/
.q-social>a {
    margin: 0 15px;
    margin-top: 0px;
    margin-right: 15px;
    margin-bottom: 0px;
    margin-left: 15px;
    padding-bottom: 5px;
}

/*Pie de pagina*/
.copy {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    }
    
    .copy p1 {
    color: #ffff;
    text-align: center;
    }
    .p1 {
    font-size: 1rem;
    margin-top: 10px;
    background-color: #ffff;
    }

@media(max-width:991px) {

	.text-product p {
		font-size: 15px;
		display: flex;
		justify-content: center;
	}

	.text-product h3 {
		font-size: 20px;
		font-weight: bold;
	}

	.chico {
		padding: 50px;
	}

	.text-product h3 {
		display: flex;
		justify-content: center;
	}

	.price {
		display: none;
	}

	.container-img {
		display: none;
	}

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .link ul {
        margin-top: 20px;

    }

	.card-list-products {
		width: 100%;
		height: auto;
	}

	.product {
        padding: 30px;
    }
	
    .card-list-products {
			display: grid;
			grid-template-columns: repeat(1, 1fr);
			gap: 15px;
			width: 100%;
			height: auto;
			
		
	}

	.info-card {
		display: flex;
		justify-content: center;
	}

}