@font-face {
    font-family: 'Añañai';
    src: url('fonts/Añañai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f5f5;
    font-family: 'Añañai', monospace;
    font-size: 12px;
    line-height: 1.4;
    color: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.macDesktop {
    width: 100%;
    max-width: 1200px;
    margin: 1rem;
}

.macWindow {
    background: #1f2022;
    border: 3px solid #000;
    box-shadow: 0px 30px 25px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    flex-direction: row;
}

.windowSideBar {
    background: #2c2d31;
    color: #cccdcf;
    display: flex;
    flex-direction: column;
    width: 20%;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #000000;
    position: relative;
    overflow: hidden;
}

.windowButtons {
    padding: 10px;
    display: flex;
    gap: 4px;
    margin-right: 10px;
    align-self: flex-start;
}

.button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #000000;
    display: block;
}

.close.button {
    background: #ff5f56;
}

.minimize.button {
    background: #ffbd2e;
}

.maximize.button {
    background: #27c93f;
}

.windowSideTittle {
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 18px;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.windowSideContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.windowSideContent button {
    background: transparent;
    border: none;
    position: relative;
    color: #a7a8aa;
    text-align: left;
    padding: 1px 35px 1px 35px;
    font-family: 'Añañai', monospace;
    width: 100%;
    height: 50px;
    cursor: pointer;
    font-size: 17px;
    transition: background-color 0.2s;
}

.windowSideContent button:hover {
    color: #cccdcf;
    background: #515153;
}

.windowProfile {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: auto;
    width: 100%;
    padding: 12px;
    padding-bottom: 20px;
    gap: 10px;
}

.windowProfile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #a7a8aa;
    object-fit: cover;
    object-position: top;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.windowProfileInfo {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.windowProfileInfo h4 {
    color: #c1c1c3;
    font-size: 14px;
    margin-bottom: 5px;
}

.age {
    font-size: 9px;
    color: #cccdcf;
}

.windowContent {
    width: 80%;
    min-height: 400px;
    background: #1f2022;
}

.tab.active {
    background: #515153;
    color: #cccdcf;
}

.tabContent {
    display: none;
    padding: 20px;
    height: 100%;
}

.tabContent.active {
    display: block;
}

.content {
    padding: 1rem;
    text-align: left;
    color: #d2d2d4;
    height: 100%;
}

.contactHeader {
    margin: 20px;
}

.contactHeader h2 {
    color: #d2d2d4;
    margin-bottom: 10px;
}

.contactIntro {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #7d7e80;
}

.divider {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Estilos para la sección de contacto */
.contactContent {
    max-width: 100%;
    height: 100%;
}

.leftColumn {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rightColumn {
    width: 50%;
}

.whyWork {
    background: #353638;
    padding: 25px;
    border-radius: 8px;
}

.whyWork h3 {
    color: #d2d2d4;
    margin-bottom: 10px;
}

.whyWork p {
    margin-top: 10px;
    color: #89898b;
    line-height: 1.5;
}

.contactInfo {
    padding: 25px;
    border-radius: 8px;
    background: #353638;
    color: #d0d0d2;
}

.contactInfo h3 {
    margin-bottom: 15px;
    color: #d2d2d4;
}

.socialLinks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.macButton {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
}

.socialItem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #2c2d31;
    border-radius: 6px;
    transition: background-color 0.3s;
    border: 1px solid #404244;
    width: 100%;
}

.socialItem:hover {
    background: #404244;
}

.socialItem.instagram:hover .socialIcon {
    background: #6b8ca6;
    background: linear-gradient(to right, #6b8ca6, #b86b84);
}

.socialItem.github:hover .socialIcon {
    background: linear-gradient(to bottom, #2c3e50, #bdc3c7);
}

.socialItem.email:hover .socialIcon {
    background: linear-gradient(to top, #FFFFFF, #6DD5FA, #2980B9);
}

.socialItem.linkedin:hover .socialIcon {
    background: linear-gradient(to bottom, #0083B0, #00B4DB);
}

.socialIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background: #dee0e2;
    border-radius: 50%;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
}

.socialItem span:last-child {
    color: #d2d2d4;
    font-family: 'Añañai', monospace;
}

.contactForm {
    background: #353638;
    padding: 25px;
    border-radius: 8px;
    height: fit-content;
}

.contactForm h3 {
    color: #d2d2d4;
    margin-bottom: 20px;
}

.formGroup {
    margin-bottom: 15px;
}

.formGroup label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #89898b;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    background: #2c2d31;
    border: 2px solid #404244;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    color: #d2d2d4;
    font-family: 'Añañai', monospace;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.sendSection {
    text-align: center;
    margin-top: 20px;
}

.sendButton {
    background: #2c2d31;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Añañai', monospace;
}

.sendButton:hover {
    background: #404244;
}

/* Estilo para el botón de envío cuando se ha copiado el contenido del nombre o email */


.musicSection {
    background: #353638;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.musicSection h4 {
    margin-bottom: 10px;
    color: #d2d2d4;
}

.musicSection p {
    color: #89898b;
    margin-bottom: 5px;
}

.spotify-link {
    display: inline-block;
    margin-top: 10px;
    color: #d2d2d4;
    text-decoration: none;
    font-weight: 600;
}

.spotify-link:hover {
    text-decoration: underline;
}

.loader {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
    vertical-align: middle;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* JavaScript para funcionalidad de tabs */
@media (max-width: 768px) {
    body {
        padding: 10px;
        align-items: flex-start;
    }

    .macDesktop {
        margin: 0.5rem;
    }

    .macWindow {
        flex-direction: column;
        min-height: auto;
    }

    .windowSideBar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
    }

    .windowButtons {
        order: 1;
    }

    .windowSideTittle {
        order: 2;
        flex-grow: 1;
        text-align: center;
        margin: 0;
    }

    .windowSideContent {
        order: 4;
        flex-direction: row;
        width: 100%;
        margin-top: 10px;
    }

    .windowSideContent button {
        flex: 1;
        text-align: center;
        padding: 10px 5px;
        font-size: 12px;
        height: auto;
    }

    .windowProfile {
        order: 3;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 5px;
    }

    .windowProfileInfo {
        align-items: center;
        text-align: center;
    }

    .windowContent {
        width: 100%;
        min-height: 500px;
    }

    .divider {
        flex-direction: column;
    }

    .leftColumn,
    .rightColumn {
        width: 100%;
    }
}

@media (max-height: 700px) {
    body {
        align-items: flex-start;
    }

    .macDesktop {
        margin: 1rem;
    }

    .macWindow {
        min-height: 500px;
    }
}