*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#0f0f0f;
    color:white;

    font-family:'Inter',sans-serif;

    padding:30px;

    max-width:900px;
    margin:auto;

}

header{

    text-align:center;
    margin-bottom:60px;

}

header h1{

    font-family:'Cormorant Garamond',serif;

    font-size:65px;

    color:#d4af37;

    letter-spacing:4px;

}

header p{

    color:#888;

    letter-spacing:5px;

    margin-top:10px;

    text-transform:uppercase;

    font-size:13px;

}

.categoria{

    margin-bottom:60px;

}

.categoria h2{

    font-family:'Cormorant Garamond',serif;

    font-size:38px;

    color:#d4af37;

    margin-bottom:25px;

    border-bottom:1px solid rgba(212,175,55,.35);

    padding-bottom:10px;

}

.item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

    border-bottom:1px solid rgba(255,255,255,.05);

    transition:.25s;

}

.item:hover{

    transform:translateX(8px);

    color:#d4af37;

}

.item span:first-child{

    font-size:18px;

}

.item span:last-child{

    font-weight:600;

    color:#d4af37;

}

@media(max-width:700px){

header h1{

    font-size:48px;

}

.categoria h2{

    font-size:30px;

}

.item{

    font-size:15px;

}

}

.item small{

    color:#888;

    font-size:14px;

    font-weight:400;

    font-style:italic;

}


@keyframes fade{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

@keyframes zoom{

    from{
        transform:scale(.92);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}

/* ==========================
   ANIMACION
========================== */

@keyframes fadeUp {

    from {

        opacity:0;
        transform:
        translateY(40px);

    }

    to {

        opacity:1;
        transform:
        translateY(0);

    }
}



/* ==========================
   RESPONSIVE
========================== */


@media(max-width:768px){

    .nav-container {

        gap:6px;
        padding:8px 6px;

    }



    .nav-container button {

        padding:7px 12px;
        font-size:.68rem;
        border-radius:20px;

    }

    .hero h1 {

        font-size:2.8rem;

    }

    .hero p {
    
        font-size:1rem;

    }

    .section-title h2 {

        font-size:2.2rem;

    }

    .contact-box {

        padding:35px 20px;

    }

    .contact h2 {

        font-size:2rem;

    }

}

/* ==========================
   PAGE LOADER
========================== */


.page-loader {

    position:fixed;
    inset:0;
    background:radial-gradient(circle at center,#24170c,#090807);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
    transition:opacity .8s ease, visibility .8s ease;

}


.page-loader.hide {

    opacity:0;
    visibility:hidden;

}

/* CONTENIDO */

.loader-content {

    text-align:center;
    animation:loaderAppear 1s ease;

}

/* TAZA */

.coffee-cup {

    position:relative;
    width:90px;
    height:70px;
    margin:auto;
    animation:floatCup 3s infinite ease-in-out;

}

/* CUERPO */

.coffee-cup::before {

    content:"";
    position:absolute;
    bottom:0;
    left:15px;
    width:55px;
    height:45px;
    background:linear-gradient(135deg,#d6a85f,#8c5b28);
    border-radius:8px 8px 20px 20px;
    box-shadow:0 15px 35px rgba(214,168,95,.35);

}

/* CAFE */

.coffee {

    position:absolute;
    top:24px;
    left:20px;
    width:45px;
    height:10px;
    background:#251407;
    border-radius:50%;
    z-index:2;

}

/* ASA */

.handle {

    position:absolute;
    right:5px;
    top:25px;
    width:22px;
    height:25px;
    border:5px solid #d6a85f;
    border-left:none;
    border-radius:0 20px 20px 0;

}

/* VAPOR */

.steam {

    position:absolute;
    bottom:65px;
    left:45%;
    width:10px;
    height:35px;
    background:rgba(255,240,210,.5);
    border-radius:50%;
    filter:blur(6px);
    animation:steamRise 3s infinite ease-in-out;

}

.steam1 {

    animation-delay:0s;

}

.steam2 {

    left:55%;
    animation-delay:.8s;

}

.steam3 {

    left:40%;
    animation-delay:1.5s;

}

/* TEXTO */

.loader-content h2 {

    margin-top:35px;
    font-size:2rem;
    letter-spacing:2px;
    color:#f0c982;
    font-weight:700;

}

.loader-content p {

    margin-top:10px;
    color:#c9c1b7;
    font-size:.9rem;
    letter-spacing:1px;

}

/* BARRA */

.loading-line {

    width:180px;
    height:3px;
    background:rgba(255,255,255,.1);
    margin:25px auto 0;
    overflow:hidden;
    border-radius:20px;

}

.loading-line span {

    display:block;
    height:100%;
    width:40%;
    background:linear-gradient(90deg,#8c5b28,#f0c982);
    animation:loading 1.8s infinite;

}

/* ANIMACIONES */


@keyframes steamRise {

    0% {

        transform:translateY(0) scale(.5);
        opacity:0;

    }

    30% {

        opacity:.7;

    }

    100% {

        transform:translateY(-70px) scale(1.2);
        opacity:0;

    }

}

@keyframes floatCup {

    0%,100% {

        transform:translateY(0);

    }

    50% {

        transform:translateY(-8px);

    }
}



@keyframes loading {

    from {

        transform:translateX(-120px);

    }

    to {

        transform:translateX(250px);

    }
}

@keyframes loaderAppear {

    from {

        opacity:0;
        transform:translateY(20px);

    }

    to {

        opacity:1;
        transform:translateY(0);

    }
}
