@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo p{
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(140deg, #007bff, #d11fa8); /* tus colores */
    -webkit-background-clip: text; /* aplica el degradado al texto */
    -webkit-text-fill-color: transparent; /* hace el texto transparente para que se vea el fondo */
}

nav{
    display: flex;
    gap: 50px;
}

nav a{
    color: #2B303BB2;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin: 0;
    transition: 0.4s ease;
}

nav a:hover{
    color: rgb(0, 128, 255);
    transition: 0.4s ease;
}

.carrito button{
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    padding: 2px 3px;
    transition: 0.4s ease;
}

.carrito button:hover{
    background: rgba(0, 128, 255, 0.097);
    transition: 0.4s ease;
}

.carrito img{
    width: 20px;
    padding: 6px;
    margin: 0;
}



/* ------------- hero */



.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
}

.overlay {
    position: absolute;
    padding: 0 20px;
    inset: 0;
    background: linear-gradient(150deg, #007bff70, #d11fa870);
    color: #fff;
    display: flex;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.overlay.show {
    opacity: 1;
}

.overlay h1 {
    width: 60%;
    font-size: 93px;
    margin: 0;
    line-height: 80px;
}

.overlay p {
    font-size: 30px;
    font-weight: 200;
}

.overlay button{
    width: fit-content;
    padding: 20px 48px;
    font-size: 20px;
    color: #007bff;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: 0.8s ease;
}

.overlay button:hover{
    transform: scale(1.1);
    box-shadow: 0 10px 10px #0000004b;
    transition: 0.8s ease;
}