:root {
    --color-pink: #ffa5e9;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: row;
    height: 100dvh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #000;
    padding: 70px 14px 14px 14px;
    gap: 14px;
}

.form-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;

    &.hidden {
        display: none;
    }

    form {
        display: flex;
        flex-wrap: wrap;
        width: 50%;

        div {
            display: flex;
            flex-direction: column;
            width: 50%;
            padding: 10px;

            &.textarea {
                width: 100%;

                textarea {
                    min-height: 40px;
                    border: none;
                    background: #111111;
                    color: white;
                    border-radius: 10px;
                    padding: 8px 10px;
                    font-size: 1.2rem;
                    resize: none;
                    border: 1px solid #ffa5e9;
                }
            }

            label {
                color: white;
                font-size: 1.4rem;
                font-weight: 600;
                margin-bottom: 8px;
            }

            input {
                height: 40px;
                border: none;
                background: #111111;
                color: white;
                border-radius: 10px;
                padding: 8px 10px;
                font-size: 1.2rem;
                border: 1px solid #ffa5e9;
            }
        }
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    background: #000;
    padding-inline: 50px;
    padding-block: 10px;

    .header-logo {
        text-decoration: none;
        font-size: 30px;
        font-weight: 700;
        font-style: italic;
        color: var(--color-pink);
        text-shadow: 0 0 5px var(--color-pink);
    }

    .header-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        height: 100%;
        width: fit-content;
    }

    .header-link {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        gap: 4px;
        height: 100%;
        padding-inline: 24px;
        background: #1a1a1a;
        border-radius: 34px;
        outline: none;
        border: none;
        color: #fff;
        font-size: 14px;
        cursor: pointer;

        &:hover {
            background: #ffa5e9;
        }

        &.header-homelink {
            height: 100%;
            aspect-ratio: 1/1;
            padding: 0;

            svg {
                height: 24px;
                width: auto;
                color: #fff;
            }
        }
    }
}

aside {
    display: flex;
    flex-direction: column;
    width: 30%;
    border-radius: 14px;
    background: linear-gradient(to bottom, #1a1a1a1a, #1a1a1a);
    padding: 34px 17px;
    gap: 20px;
    overflow-y: auto;

    .header {
        display: flex;
        width: 100%;
        justify-content: start;
        gap: 20px;
        align-items: center;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        
        img {
            width: 30%;
            aspect-ratio: 1/1;
            object-fit: cover;
            object-position: center;
            border-radius: 99999px;
        }

        span {
            color: rgba(255, 255, 255, .8);
            font-weight: 400;
            font-size: .9rem;
        }

        h1 {
            color: white;
            font-size: 3rem;
            font-weight: 800;
        }

        ul {
            list-style: none;
            display: flex;
            gap: 10px;
            color: rgba(255, 255, 255, .8);

            li:first-child {
                color: white;
                font-weight: 600;
            }
        }

        &.header-album {
            p {
                font-size: .9rem;
                color: rgba(255, 255, 255, .8);

                strong {
                    color: white;
                    font-weight: 600;
                }
            }
        } 
    }

    .body {
        h2 {
            font-size: 2rem;
            color: white;
            font-weight: 700;
        }

        p {
            color: rgba(255, 255, 255, .8);
            margin: 0;
        }

        h3 {
            font-size: 2rem;
            color: white;
            font-weight: 700;
            margin-top: 20px;
        }

        &.body-album {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            .canciones {
                display: flex;
                flex-direction: column;
                width: fit-content;
                color: white;
                font-size: 1rem;
            }
        }

        .albumes {
            display: flex;
            width: 100%;
            flex-wrap: wrap;

            .album {
                display: flex;
                flex-direction: column;
                padding: 16px;
                width: 33%;
                cursor: pointer;
                border-radius: 8px;

                &:hover {
                    background: #111111;
                }

                img {
                    width: 100%;
                    aspect-ratio: 1/1;
                    object-fit: cover;
                    object-position: center;
                    border-radius: 4px;
                }

                h4 {
                    font-size: 1rem;
                    color: white;
                    font-weight: 500;
                }

                span {
                    font-size: .9rem;
                    font-weight: 400;
                    color: rgba(255, 255, 255, .8);
                }
            }
        }
    }
}

main {
    display: flex;
    flex-wrap: wrap;
    align-content: baseline;
    width: 70%;
    height: auto;
    padding: 34px 17px;
    border-radius: 14px;
    background: linear-gradient(to bottom, #1a1a1a1a, #1a1a1a);
    overflow-y: auto;

    .artist {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 20%;
        height: fit-content;
        padding: 14px 14px;
        border-radius: 7px;
        color: white;
        background: linear-gradient(to bottom, transparent, transparent);
        transition: all ease-in-out 3s;
        cursor: pointer;

        &:hover {
            background: linear-gradient(to bottom, transparent, #1a1a1a);
        }

        h3 {
            font-weight: 500;
        }

        p {
            opacity: .6;
        }

        img {
            width: 100%;
            aspect-ratio: 1/1;
            object-fit: cover;
            object-position: center;
            border-radius: 999%;
            margin-bottom: 14px;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.6);
        }
    }

    .album {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 20%;
        height: fit-content;
        padding: 14px 14px;
        border-radius: 7px;
        color: white;
        background: linear-gradient(to bottom, transparent, transparent);
        transition: all ease-in-out 3s;
        cursor: pointer;

        &:hover {
            background: linear-gradient(to bottom, transparent, #1a1a1a);
        }

        h3 {
            font-weight: 500;
        }

        p {
            opacity: .6;
        }

        img {
            width: 100%;
            aspect-ratio: 1/1;
            object-fit: cover;
            object-position: center;
            border-radius: 8px;
            margin-bottom: 14px;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.6);
        }
    }
}