@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bebas Neue', cursive;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(#020024, #380979);
}

#boton-carrito {
    border: none;
    color: #b3aeae;
    font-size: 30px;
    background-color: transparent;
    padding: 10px 30px;
    transition: all .3s;
}

#boton-carrito:hover {
    cursor: pointer;
    color: white;
}

#boton-carrito:focus {
    outline: none;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
}

header .logo {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    list-style: none;
    margin-left: 20px;
}

header ul li a {
    text-decoration: none;
    padding: 6px 15px;
    color: #fff;
    border-radius: 20px;
}

header ul li a:hover,
header ul li a.active {
    background: #fff;
    color: #380979;
}

section {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #380979, transparent);
    z-index: 1000;
}

section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

section img#moon {
    mix-blend-mode: screen;
}

section img#mountains_front {
    z-index: 10;
}

#text {
    position: absolute;
    right: -350px;
    color: #fff;
    white-space: nowrap;
    font-size: 6.5vw;
    z-index: 9;
    transform: translateY(100px);
}

#contenedor-productos {
    width: 1200px;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.producto {
    max-width: 30%;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 2px 6px 3px 3px rgba(0, 0, 0, 0.3);
}

.precioProducto {
    font-weight: 700;
}

.boton-agregar {
    background-color: transparent;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 5px;
    border: none;
    transition: 1s;
    overflow: hidden;
}

.boton-agregar:hover {
    background: var(--clr);
    box-shadow: 0 0 10px var(--clr), 0 0 30px var(--clr), 0 0 60px var(--clr), 0 0 100px var(--clr);
    border-radius: 5px;
}

.modal-contenedor {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 15, 15, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s;
    opacity: 0;
    visibility: hidden;
}

.modal-active {
    opacity: 3;
    visibility: visible;
}

.modal-carrito {
    position: relative;
    background-color: #020024;
    background-image: url(/imagenes/stars.png);
    min-width: 500px;
    padding: 20px;
    margin-top: -100%;
    transition: all .5s;
}

.modal-active .modal-carrito {
    margin-top: 0;
}

.modal-carrito #carritoCerrar {
    background-color: #020024;
    position: absolute;
    top: 3px;
    left: 435px;
    border: none;
    z-index: 5;
}

.modal-carrito #carritoCerrar:hover {
    cursor: pointer;
}

.modal-carrito #carritoCerrar:focus {
    outline: none;
}

.modal-carrito .precioProducto {
    padding-top: 10px;
}

.productoEnCarrito {
    border-left: 5px solid #f5f5f5;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    margin: 5px 0;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
}

.productoEnCarrito:hover {
    border-left: 5px solid rgb(250, 248, 248);
}

.boton-eliminar {
    background-color: #020024;
    color: rgb(253, 252, 252);
    border: none;
    font-size: 20px;
}

.boton-eliminar:hover {
    cursor: pointer;
}

.boton-eliminar:focus {
    outline: none;
}

h4 {
    text-align: center;
    text-decoration: none;
    font-size: 3vw;
    font-weight: bolder;
    color: #fff;
}

h1 {
    text-align: center;
    text-decoration: none;
    font-weight: bolder;
    color: #fff;
    font-size: 4vw;
}

h3 {
    text-align: center;
    text-decoration: none;
    font-weight: bolder;
    color: #fff;
    font-size: 3.5vw;
}

h5 {
    text-align: center;
    text-decoration: none;
    font-size: 1vw;
    font-weight: normal;
    color: #fff;
}

p {
    text-align: center;
    text-decoration: none;
    font-weight: 250;
    color: #fff;
    font-size: 1.2vw;
}

.formulario {
    color: #fff;
    font-size: 1.5vw;
    z-index: 11;
}

.container-card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    flex-wrap: wrap;
    z-index: 11;
}

.container-card .card {
    position: relative;
    width: 280px;
    height: 400px;
    margin: 30px;
    box-shadow: 20px 20px 50px rgb(0, 0, 0, 0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.container-card .card .content {
    padding: 20px;
    text-align: center;
    transform: translateY(100px);
    opacity: 0;
    transition: 0.5s;
}

.container-card .card :hover.content {
    transform: translateY(0px);
    opacity: 1;
}

.container-card .card .content h3 {
    font-size: 2.4em;
    color: #f5f5f5;
    z-index: 1;
}