@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&display=swap');
/* Custom fonts above */

:root {
    --text: #e8e6ff;
    --border: #363659;
    --page-bg: #0c0c14;
    --container-bg: #12121a;
    --main-bg: #181824;
    --header-bg: #1f1f30;
    --link: #9a90ff;
    --link-hover: #ffffff;
    --link-border: #363659;
    --link-border-hover: #9a90ff;
    --shadow: rgba(54, 54, 89, 0.5);
    --em: #c4bfff;

    --page-bg-img: url('https://wallpapercave.com/wp/wp15876813.png'); /* cambia por tu fondo */
    --side-img: url('https://i.pinimg.com/736x/a7/5e/fa/a75efa195b49aafad5c681f1433def84.jpg'); /* cambia por tu imagen */
}


body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text);
    background:
        linear-gradient(rgba(10,10,15,0.6), rgba(10,10,15,0.6)),
        url('https://wallpapercave.com/wp/wp15876813.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--page-bg);
    line-height: 1.7em;
}

#container {
    background-color: var(--container-bg);
    border: 2px solid var(--border);
    border-radius: 0;
    margin: 60px 30px 60px auto;
    max-width: 900px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

#flex {
    display: flex;
}

/* For other screens */
@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

#sidebar {
    min-width: 220px;
    margin: 10px;
    padding: 10px;
    background-color: #141421;
    }

    main {
        order: 1;
    }
}

header {
    justify-content: center;
}

footer {
    justify-content: space-between;
}


header,
footer {
    color: var(--link);
    background-color: var(--header-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px;
    display: flex;
}

#sidebar {
    min-width: 220px;
    margin: 10px;
    color: var(--text);
}

#sideimg {
    height: 220px;
    background-image: var(--side-img);
    background-size: cover;
    border: 1px solid var(--border);
    border-radius: 5px;
    margin-bottom: 12px;
}


main {
    padding: 20px;
    border: 1px solid var(--border);
    margin: 10px;
    background-color: var(--main-bg);
    width: 100%;
}

/* Links and Menu */
a {
    color: var(--link);
    text-decoration: none;
    border-bottom: 1px dotted var(--link-border);
}

a:hover {
    color: var(--link-hover);
    border-bottom: 1px dotted var(--link-border-hover);
}

::selection {
    background-color: #8f85b9;
    color: floralwhite;
}

b,
strong {
    color: var(--border);
    background-color: var(--page-bg);
}

#info {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: var(--text);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

details {
    background-color: var(--main-bg);
    border: 1px solid var(--border);
    padding: 5px 8px;
    margin: 10px 0;
    box-shadow: 5px 5px var(--shadow);
}

main details {
    background-color: var(--container-bg);
}

i,
em {
    color: var(--em)
}

.parent {
    text-align: center;
}

/* To centralize elements use centre */
.centre {
    text-align: center;
}

/* CD player centralization */
.cdcentre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nounderline a {
    border-bottom: none !important;
}

main img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

main img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

main p {
    text-align: justify;
}

/* CD Player */

.cd-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.cd-player {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: url('https://files.catbox.moe/26outz.jpg') no-repeat center/cover;
    border: 3px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.cd-player::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.cd-container:hover .play-button {
    opacity: 1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Div's Border */

.scroll {
    font-family: "Playpen Sans Hebrew", cursive;
    font-size: 14px;
    width: 85%;
    height: 200px;
    padding: 10px;
    overflow: auto;
    border-image: url("https://i.pinimg.com/736x/a7/5e/fa/a75efa195b49aafad5c681f1433def84.jpg") 14 / 14px / 0 round;
    border-width: 14px;
    border-style: solid;
}

.scroll ul {
    list-style: none;
    padding-left: 0;
}

.scroll ul li::before {
    content: "☽";
    margin-right: 8px;
    color: rgb(179, 0, 255);
}

/* WebKit */
.scroll::-webkit-scrollbar {
    width: 8px;
    /* largura da scrollbar */
}

.scroll::-webkit-scrollbar-track {
    background: transparent;
}

.scroll::-webkit-scrollbar-thumb {
    background: transparent;
}

.scroll {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

h1, h2, h3,
.main-nav a {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 2px;
}

body {
    cursor: url('cursorkuro.png') 2 2, auto;
}

a, button, summary {
    cursor: url('cursormurci.gif') 2 2, pointer;
}

/* ===== barra de navegación ===== */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    background-color: var(--header-bg);
}

.main-nav {
    display: flex;
    gap: 30px; /* ajusta a tu gusto */
}

.main-nav a {
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    text-decoration: none;
    font-size: 1.5rem; 
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 1px;
    background-color: var(--text);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}