/* Barra superior animada de colores */
.color-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    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;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
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;
}
.contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #000;
    background: #fff;
    text-align: center;
    border: 2px solid #e5e5e5;
    border-bottom: 6px solid #e5e5e5;
    transition: all 0.1s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    font-size: 1rem;
}
.contact:hover {
    border-color: #e6e6e6;
}
.contact:active{
    border-bottom: 2px solid #e5e5e5;
}
.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;
    }
}