/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    color: #555;
    background: #f3f1f2;
    font-size: 13px;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
}


/* =========================================================
   PAGINA
========================================================= */

.page {
    width: 100%;
    min-height: 100vh;

    padding: 10px 35px 70px;

    background:
        linear-gradient(
            rgba(255,255,255,.82),
            rgba(255,255,255,.82)
        ),
        url("img/fondo.jpg");

    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.header {
    position: relative;

    width: 92%;
    max-width: 1250px;

    height: 360px;

    margin: 0 auto;

    overflow: hidden;

    background: #fff;

    border-radius: 35px;

    box-shadow: 0 5px 25px rgba(0,0,0,.12);
}


/* =========================================================
   PORTADA
========================================================= */

/* =========================================================
   PORTADA
========================================================= */

.portada {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 1;

    border-radius: 35px;
}

.foto-portada {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

/* Capa suave sobre la imagen */

.portada::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.03),
            rgba(0,0,0,.12)
        );

    pointer-events: none;
}


/* =========================================================
   TITULO
========================================================= */

.site-title {
    position: absolute;

    z-index: 10;

    top: 45px;
    left: 50%;

    transform: translateX(-50%);

    padding: 12px 30px;

    color: #fff;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 40px;

    font-weight: 500;

    letter-spacing: 5px;

    text-align: center;

    white-space: nowrap;

    text-shadow:
        0 2px 8px rgba(0,0,0,.4);
}


/* =========================================================
   COMPUTADORAS DECORATIVAS
========================================================= */

.computer {
    position: absolute;

    z-index: 10;

    width: 75px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #e49bb7;

    font-size: 30px;

    background:
        rgba(255,255,255,.94);

    border:
        2px solid #e5b2c5;

    border-radius: 8px;

    box-shadow:
        0 4px 10px rgba(0,0,0,.15);
}


.computer::after {
    content: "";

    position: absolute;

    bottom: -8px;
    left: 50%;

    transform:
        translateX(-50%);

    width: 35px;
    height: 6px;

    background: #dfb0c2;

    border-radius: 4px;
}


.computer-1 {
    left: 45px;
    top: 35px;

    transform: rotate(-8deg);
}


.computer-2 {
    left: 150px;
    bottom: 105px;

    transform: rotate(6deg);
}


.computer-3 {
    right: 150px;
    top: 35px;

    transform: rotate(-5deg);
}


.computer-4 {
    right: 45px;
    bottom: 105px;

    transform: rotate(8deg);
}


/* =========================================================
   FOTO DE PERFIL
========================================================= */

.perfil {
    position: absolute;

    z-index: 30;

    left: 60px;
    bottom: 25px;

    width: 125px;
    height: 125px;

    padding: 6px;

    background: #fff;

    border-radius: 50%;

    box-shadow:
        0 5px 18px rgba(0,0,0,.2);
}


.foto-perfil {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;
}


/* =========================================================
   NAVEGACION
========================================================= */

.navegacion {
    position: absolute;

    z-index: 25;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 85px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 75px;

    padding-left: 150px;

    background:
        rgba(255,255,255,.98);

    border-top:
        1px solid #e1dadd;
}


.navegacion a {
    color: #777;

    font-size: 15px;

    font-weight: 500;

    transition:
        color .2s ease,
        transform .2s ease;
}


.navegacion a:hover {
    color: #d486a4;

    transform:
        translateY(-2px);
}


/* =========================================================
   CONTENIDO DE TRES COLUMNAS
========================================================= */

.layout {
    width: 100%;
    max-width: 1750px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        230px
        minmax(0,1fr)
        300px;

    align-items: stretch;

    background: #fff;

    border-left:
        1px solid #e1d6dc;

    border-right:
        1px solid #e1d6dc;

    box-shadow:
        0 4px 20px rgba(0,0,0,.08);
}


/* =========================================================
   VENTANAS
========================================================= */

.window {
    background: #fff;

    border:
        1px solid #ddd4d9;

    box-shadow:
        0 2px 7px rgba(0,0,0,.05);
}


/* =========================================================
   COLUMNA IZQUIERDA
========================================================= */

.sidebar-left {
    min-width: 0;

    padding: 25px 20px;

    border-right:
        1px solid #ddd3d9;

    background:
        rgba(255,255,255,.96);
}


/* =========================================================
   VISITAS
========================================================= */

.visitor {
    margin-bottom: 28px;

    padding-bottom: 22px;

    border-bottom:
        1px solid #ddd;
}


.box-title {
    margin-bottom: 10px;

    color: #d78da9;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

    text-align: center;
}


.counter {
    padding: 10px;

    color: #777;

    background: #f8f5f6;

    border:
        1px solid #e4dce0;

    font-family:
        "Courier New",
        monospace;

    font-size: 20px;

    letter-spacing: 4px;

    text-align: center;
}


/* =========================================================
   MENU
========================================================= */

.menu-section {
    margin-bottom: 28px;
}


.menu-section h3 {
    margin: 0 0 12px;

    padding-bottom: 7px;

    color: #d68ba8;

    border-bottom:
        1px dotted #d9c5ce;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 15px;

    font-weight: 500;

    letter-spacing: 1px;
}


.menu-section a {
    display: block;

    padding: 7px 8px;

    color: #777;

    font-family:
        "Courier New",
        monospace;

    font-size: 12px;

    transition:
        .2s ease;
}


.menu-section a:hover {
    padding-left: 14px;

    color: #d783a4;

    background: #faf3f6;
}


/* =========================================================
   CONTENIDO CENTRAL
========================================================= */

.content {
    min-width: 0;

    padding: 25px 28px;

    background: #fff;
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    display: grid;

    grid-template-columns:
        145px
        minmax(0,1fr);

    gap: 25px;

    margin-bottom: 20px;

    padding: 20px;
}


.intro-image {
    width: 145px;
    height: 150px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f9e7ef,
            #fff
        );

    border:
        1px solid #e5d7dd;
}


.intro-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.intro-text {
    padding: 5px 0;
}


.intro-text p {
    margin-bottom: 14px;

    color: #777;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 13px;

    line-height: 1.7;
}


.intro-text small {
    color: #d58ba7;

    font-size: 10px;
}


/* =========================================================
   DOS COLUMNAS
========================================================= */

.content-columns {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr);

    gap: 20px;

    margin-bottom: 22px;
}


/* =========================================================
   WARNING
========================================================= */

.warning {
    padding: 20px;
}


.warning p {
    color: #777;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   IMAGEN
========================================================= */

.fake-image {
    width: 100%;
    height: 170px;

    overflow: hidden;

    margin-top: 20px;

    border:
        1px solid #d39bb0;
}


.fake-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   WELCOME
========================================================= */

.welcome {
    padding: 20px;
}


.welcome p {
    color: #777;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 12px;

    line-height: 1.7;
}


.welcome hr {
    margin: 18px 0;

    border: 0;

    border-top:
        1px dotted #d6c6cd;
}


/* =========================================================
   POST
========================================================= */

.post {
    padding: 10px;

    background: #faf7f8;

    border-left:
        3px solid #e39ab5;
}


.post b {
    display: block;

    color: #d486a4;

    font-size: 12px;
}


.post span {
    display: block;

    margin-top: 3px;

    color: #aaa;

    font-size: 9px;
}


.post p {
    margin: 8px 0 0;

    font-size: 11px;
}


/* =========================================================
   BADGES
========================================================= */

.badges {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 20px;
}


.badges span {
    min-width: 42px;

    padding: 7px 8px;

    color: #fff;

    background: #d992ad;

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;

    text-align: center;
}


/* =========================================================
   BOTONES
========================================================= */

.buttons {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 8px;

    margin: 20px 0;
}


.buttons div {
    min-width: 90px;

    padding: 8px 10px;

    color: #777;

    background: #faf7f8;

    border:
        1px solid #ddd3d9;

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;

    line-height: 1.3;

    text-align: center;

    cursor: pointer;

    transition:
        .2s ease;
}


.buttons div:hover {
    color: #d481a2;

    border-color:
        #e2a4bb;

    background: #fff;
}


/* =========================================================
   PLAYER
========================================================= */

.player {
    overflow: hidden;
}


.player-title {
    padding: 10px 15px;

    color: white;

    background:
        linear-gradient(
            90deg,
            #d98aa7,
            #ecaac2
        );

    font-family:
        "Courier New",
        monospace;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;
}


.player-body {
    display: grid;

    grid-template-columns:
        110px
        minmax(0,1fr);

    gap: 20px;

    padding: 20px;
}


/* =========================================================
   ALBUM
========================================================= */

.album {
    position: relative;

    width: 100px;
    height: 100px;
}


.album-cover {
    width: 100%;
    height: 100%;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #555,
            #d893ae
        );
}


.album-cover img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.play {
    position: absolute;

    right: -7px;
    bottom: -7px;

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #fff;

    background: #d889a7;

    border-radius: 50%;

    font-size: 12px;
}


/* =========================================================
   CONTROLES
========================================================= */

.player-controls {
    min-width: 0;
}


.song {
    margin-bottom: 20px;

    color: #777;

    font-family:
        "Courier New",
        monospace;

    font-size: 12px;
}


.controls {
    margin-bottom: 15px;

    color: #d386a5;

    font-size: 17px;
}


.progress {
    width: 100%;
    height: 6px;

    overflow: hidden;

    background: #eee;

    border-radius: 5px;
}


.progress span {
    display: block;

    width: 62%;
    height: 100%;

    background: #d991ad;
}


.webdeck {
    margin-top: 15px;

    color: #aaa;

    font-family:
        "Courier New",
        monospace;

    font-size: 10px;
}


/* =========================================================
   COLUMNA DERECHA
========================================================= */

.sidebar-right {
    min-width: 0;

    padding: 25px 20px;

    border-left:
        1px solid #ddd3d9;

    background:
        rgba(255,255,255,.96);
}


/* =========================================================
   CHAT
========================================================= */

.chat {
    overflow: hidden;

    margin-bottom: 20px;
}


.chat-header {
    padding: 10px 12px;

    color: white;

    background:
        linear-gradient(
            90deg,
            #d98aa8,
            #eba9c0
        );

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 14px;

    font-weight: 500;
}


.message {
    padding: 12px;

    border-bottom:
        1px solid #eee;
}


.message b {
    color: #d487a5;

    font-size: 11px;
}


.message span {
    float: right;

    color: #aaa;

    font-size: 8px;
}


.message p {
    margin: 7px 0 0;

    color: #777;

    font-size: 11px;
}


/* =========================================================
   CHAT INPUT
========================================================= */

.chat-input {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px;

    background: #faf7f8;
}


.chat-input > span {
    color: #d589a6;

    font-size: 17px;
}


.chat-input input {
    width: 100%;
    min-width: 0;

    padding: 7px 8px;

    outline: none;

    color: #666;

    background: #fff;

    border:
        1px solid #ddd;

    font-family: inherit;

    font-size: 10px;
}


.chat-input input:focus {
    border-color:
        #e1a1b8;
}


/* =========================================================
   UPDATES
========================================================= */

.updates {
    margin-bottom: 20px;

    padding: 18px;
}


.updates h2 {
    margin: 0;

    color: #d688a5;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 18px;

    font-weight: 500;

    letter-spacing: 2px;
}


.updates hr {
    margin: 12px 0;

    border: 0;

    border-top:
        1px dotted #d7c7ce;
}


.updates p {
    color: #777;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 11px;

    line-height: 1.7;
}


.updates p b {
    color: #d388a5;
}


/* =========================================================
   LAST FM
========================================================= */

.lastfm {
    margin-bottom: 20px;

    padding: 18px;
}


.lastfm h3 {
    margin: 0 0 15px;

    color: #777;

    font-size: 12px;

    font-weight: 400;
}


.lastfm h3 span {
    margin-right: 5px;

    color: #d485a4;

    font-weight: 600;
}


/* =========================================================
   MUSICA
========================================================= */

.music {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 0;

    border-bottom:
        1px solid #eee;
}


.music:last-child {
    border-bottom: none;
}


.music-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #fff;

    background: #d890ac;

    font-size: 18px;
}


.music b {
    display: block;

    color: #666;

    font-size: 11px;
}


.music small {
    display: block;

    margin-top: 3px;

    color: #aaa;

    font-size: 9px;
}


/* =========================================================
   CAJA NEGRA
========================================================= */

.black-box {
    min-height: 100px;

    background: #222;

    border-color: #222;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .page {
        padding:
            10px 20px 50px;
    }


    .layout {
        grid-template-columns:
            200px
            minmax(0,1fr)
            260px;
    }


    .site-title {
        font-size: 34px;
    }


    .computer {
        width: 65px;
        height: 48px;

        font-size: 26px;
    }


    .computer-1 {
        left: 25px;
    }


    .computer-2 {
        left: 100px;
    }


    .computer-3 {
        right: 100px;
    }


    .computer-4 {
        right: 25px;
    }


    .navegacion {
        gap: 45px;
        padding-left: 100px;
    }

}


/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media (max-width: 850px) {

    .header {
        height: 400px;
    }


    .layout {
        grid-template-columns:
            1fr;
    }


    .sidebar-left {
        border-right: none;

        border-bottom:
            1px solid #ddd3d9;
    }


    .sidebar-right {
        border-left: none;

        border-top:
            1px solid #ddd3d9;
    }


    .menu-section {
        display: inline-block;

        width: 48%;

        vertical-align: top;
    }


    .visitor {
        max-width: 300px;

        margin-left: auto;
        margin-right: auto;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {

    .page {
        padding:
            8px 8px 30px;
    }


    .header {
        height: 350px;

        border-radius:
            0 0 30px 30px;
    }


    .portada {
        border-radius:
            0 0 30px 30px;
    }


    .site-title {
        top: 35px;

        font-size: 23px;

        letter-spacing: 2px;
    }


    .computer {
        width: 45px;
        height: 35px;

        font-size: 18px;
    }


    .computer::after {
        width: 25px;

        height: 4px;

        bottom: -6px;
    }


    .computer-1 {
        left: 10px;
        top: 15px;
    }


    .computer-2 {
        left: 55px;
        bottom: 100px;
    }


    .computer-3 {
        right: 55px;
        top: 15px;
    }


    .computer-4 {
        right: 10px;
        bottom: 100px;
    }


    .perfil {
        left: 20px;
        bottom: 70px;

        width: 85px;
        height: 85px;
    }


    .navegacion {
        height: 65px;

        gap: 20px;

        padding-left: 80px;
    }


    .navegacion a {
        font-size: 11px;
    }


    .content {
        padding: 15px;
    }


    .intro {
        grid-template-columns:
            1fr;
    }


    .intro-image {
        width: 100%;
        height: 180px;
    }


    .content-columns {
        grid-template-columns:
            1fr;
    }


    .buttons {
        gap: 5px;
    }


    .buttons div {
        flex:
            1 1 28%;

        min-width: 70px;

        font-size: 8px;
    }


    .player-body {
        grid-template-columns:
            1fr;

        justify-items: center;
    }


    .player-controls {
        width: 100%;
    }


    .menu-section {
        display: block;

        width: 100%;
    }

}


/* =========================================================
   CELULAR PEQUEÑO
========================================================= */

@media (max-width: 400px) {

    .header {
        height: 320px;
    }


    .site-title {
        font-size: 19px;
    }


    .perfil {
        width: 75px;
        height: 75px;

        left: 12px;
    }


    .navegacion {
        gap: 12px;

        padding-left: 65px;
    }


    .navegacion a {
        font-size: 10px;
    }


    .content {
        padding: 10px;
    }


    .sidebar-left,
    .sidebar-right {
        padding:
            15px 12px;
    }


    .intro,
    .warning,
    .welcome,
    .updates,
    .lastfm {
        padding: 14px;
    }


    .buttons div {
        flex:
            1 1 45%;
    }

}