/* Estilos base */
body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    color: #ffffff;
    background-color: #000000;
    text-align: center;
    overflow-x: hidden;
}

header {
    position: relative;
}

.header-bar {
    background-color: #000000;
    color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.ikigaixer {
    font-size: 2rem;
    margin: 0;
    text-transform: uppercase;
}

.ikigai {
    color: #ffffff;
    font-family: 'Press Start 2P', cursive;
}

.xer {
    color: #00ff00;
    font-family: 'Press Start 2P', cursive;
}

.contact-info {
    margin: 0;
    text-align: center;
}

.contact-info p {
    margin: 0;
}

.contact-info a {
    color: #00ff00;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

main.content {
    padding: 80px 20px 20px; /* Padding top para dejar espacio para la barra */
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

section {
    margin: 40px 0;
    text-align: left;
}

.intro h2, .services h2, .blog h2 {
    color: #00ff00;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.service, .blog-post {
    background-color: #111111;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.service:hover, .blog-post:hover {
    transform: scale(1.02);
}

.service h3, .blog-post h3 {
    color: #00ff00;
    margin-bottom: 10px;
}

.service p, .blog-post p {
    color: #cccccc;
    line-height: 1.6;
}

.blog-post a {
    display: inline-block;
    margin-top: 10px;
    color: #00ff00;
    text-decoration: none;
    border: 1px solid #00ff00;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.blog-post a:hover {
    background-color: #00ff00;
    color: #000000;
}

/* Estilos para las figuras de Creeper */
aside.creeper-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    animation: creepMove 5s infinite;
}

.creeper-face {
    width: 100px;
    height: 100px;
    background-color: #00ff00;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border: 3px solid #000000;
}

.creeper-eye {
    width: 20px;
    height: 20px;
    background-color: #000000;
    margin: 5px;
}

.creeper-mouth {
    width: 40px;
    height: 10px;
    background-color: #000000;
    margin-top: 5px;
    border-radius: 0 0 10px 10px;
}

/* Animación del Creeper */
@keyframes creepMove {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Adaptaciones para pantallas pequeñas */
@media (max-width: 768px) {
    .ikigaixer {
        font-size: 1.5rem;
    }

    .bio {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .creeper-container {
        width: 80px;
        height: 80px;
    }

    .creeper-face {
        width: 60px;
        height: 60px;
    }

    .creeper-eye {
        width: 15px;
        height: 15px;
    }

    .creeper-mouth {
        width: 30px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .ikigaixer {
        font-size: 1.2rem;
    }

    main.content {
        padding: 80px 10px 20px;
    }

    section {
        margin: 20px 0;
    }

    .creeper-container {
        width: 60px;
        height: 60px;
    }

    .creeper-face {
        width: 40px;
        height: 40px;
    }

    .creeper-eye {
        width: 10px;
        height: 10px;
    }

    .creeper-mouth {
        width: 20px;
        height: 6px;
    }
}
