.only-mobile {
    display: none;
}

.only-desktop {
    display: block;
}
/* barra desktop */
.nav-desktop {
    width: 100%;
}

.nav-desktop nav{
    max-width: 60%;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .only-mobile {
        display: block;
    }
    .only-desktop {
        display: none;
    }
    .burger-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5em;
        margin: 1em;
        z-index: 1001;
        position: fixed;
        top: 10px;
        left: 10px;
    }
    .side-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 16px rgba(0,0,0,0.15);
        z-index: 1000;
        padding: 2em 1em;
        animation: slideInNav 0.3s;
    }
    @keyframes slideInNav {
        from { transform: translateX(-100%); }
        to { transform: translateX(0); }
    }
    .side-nav nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .side-nav nav ul li {
        margin-bottom: 1.5em;
    }
    .side-nav nav ul li a {
        font-size: 1.2em;
        color: #333;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.2s;
    }
    .side-nav nav ul li a:hover {
        color: #007bff;
    }
}
/* Barra superior animada de colores */
.color-bar {
    left: 0;
    width: 100%;
    height: 8px;
    z-index: 9999;
    background: linear-gradient(270deg, #ff0057, #fffa00, #00ffea, #0057ff, #ff0057);
    background-size: 800% 800%;
    animation: colorBarAnim 10s linear infinite;
}

@keyframes colorBarAnim {
    0% {background-position:0% 50%;}
    50% {background-position:100% 50%;}
    100% {background-position:0% 50%;}
}
html,body{
    margin: 0;
    box-sizing: border-box;
    font-size: 16px;
}

html, body{
    --pico-font-family: 'Nunito', sans-serif !important;
    font-weight: 500;
}
strong{
    font-weight: 800;
}
code{
    color: darkorchid;
}
a{
    text-decoration: none;
}

.content{
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.header .logo{
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: linear-gradient(130deg, #fff, #3b3b3b);
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.header h1{
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.1rem;
    font-size: 2.5rem;
}
.header{
    margin-bottom: 2rem;
}

/* barras de contacto */

.contact-bars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0 1rem 0;
}
.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #000;
    background: transparent;
    text-align: center;
    border: 2px solid transparent;
    border-bottom: 6px solid transparent;
    transition: all 0.1s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    font-size: 1rem;
}
.btn-default:hover {
    border-color: #cfcfcf;
}
.btn-default:active{
    border-bottom: 2px solid #cfcfcf;
}
.btn-default{
    border: 2px solid #e5e5e5;
    border-bottom: 6px solid #e5e5e5;
    background: inherit;
    color: inherit;
}

.contact-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 1.3rem;
    }
    .logo {
        width: 150px !important;
        aspect-ratio: 1/1;
    }
    .contact-bars {
        gap: 0.7rem;
        width: 100%;
    }
    .contact {
        padding: 1rem 0.7rem;
        font-size: 0.95rem;
    }
}

.footer {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #333;
}