*{
    padding: 0;
    margin: 0;
    font-family: p2p;
    transition: background 0.3s, color 0.3s;
    /* background-color: aqua; */
    /* box-sizing: border-box; */
}

html{
    scrollbar-color: rgb(72, 169, 188) rgb(255, 255, 255)

}


/* loading animation */
.loading-animation{
            width: 100%;
            height: 100%;
            background-color: white;
            position: fixed;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            animation: loading 0.3s ease-out 0.5s forwards;
        }

        @keyframes loading {
            to{
                opacity: 0;
                visibility: hidden;
            }
        }

        .loading-animation .text-loading{
            font-size: 30px;
            color: #13cac4;
            text-shadow: 1px 1px black;

        }

body{
    /* background-color: rgb(164, 241, 255); */
    background-color: rgb(255, 255, 255);
    /* background: url(image-assets/SL_042620_30310_10.jpg); */
    background-size: cover;
    font-style: italic;
    

}

@font-face {
    font-family: p2p;
    src: url(font-assets/Perfect\ DOS\ VGA\ 437\ Win.ttf);
}
@font-face {
    font-family: obitron;
    src: url(font-assets/Orbitron-VariableFont_wght.ttf);
}

.container{
    width: 95%;
    margin: auto;
    display: grid;
    grid-template-rows: 200px 40px max-content;
    gap: 10px;
    margin-bottom: 50px;
    /* grid-template-areas: 'banner''navbar''content'; */
}

footer{
    background-color: #d6d6d6;
    box-shadow: 2px 2px black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner{
    /* grid-area: banner; */
    background-color: rgb(60, 209, 219);
    background-image: linear-gradient(rgba(77, 112, 201, 0.4)), url(image-assets/banner.jpeg);
    background-size: cover;
    background-position: bottom;
    display: flex;
    justify-content: center;
    align-items: center;
}

.name-site{
    padding: 20px;
    font-size: 170px;
    text-shadow: 4px 4px black;
    color: white;
}

.subname-site{
    text-shadow: 1px 1px white;
}


.navbar{
    /* grid-area: navbar; */
    /* background-color: bisque; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    place-content: center;
    gap: 5px;
    background-color: #47cbe2;
    border: 3px solid;
    border-color: #ffffff #3da8bb #3da8bb #ffffff;
    outline: 2px solid #98ccd6;
    /* border-radius: 10em; */

}

.navbar li{
    list-style: none;
}

.navbar button{
    font-size: 20px;
    border: none;
    padding: 5px;
    color: rgb(211, 211, 211);
}

#nav-page{
    background-color: #47cbe2;
}


/* .navbar li a{
    text-decoration: none;
    color: #fafafa;
    font-size: 12px;
    text-transform: uppercase;
} */


.content{
    /* grid-area: content; */
    background-color: transparent;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 10px;
    grid-template-areas: 'sidebar main-content';
}

/* sidebar-windows content */

.sidebar{
    /* background-color: rgb(216, 216, 216); */
    height: 2000px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    grid-area: sidebar;
}




/* windows-style */
.window{
    display: flex;
    flex-direction: column;
    /* background-color: #152145; */
    outline: 2px solid #98ccd6;
}
.window-header{
    background-color: #47cbe2;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid;
    border-color: #ffffff #3da8bb #3da8bb #ffffff;
}

.windows-title{
    display: flex;
    align-items: center;
    text-shadow: 1px 1px black;
    
}

.window-header img{
    width: 15%;
}

.window-title{
    font-size: 20px;
    color: white;
}


.window-button{
    font-size: 10px;
    font-style: normal;
    display: flex;
}

.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    font-family: 'Courier New', Courier, monospace;
    margin-left: 4px;
    background-color: #47cbe2;
    padding: 1px;
    color: #ffffff;
    font-size: 10px;
    font-weight: bolder;
    cursor: pointer;
    border: 2px solid;
    border-color: #ffffff #3da8bb #3da8bb #ffffff;
}

.btn:hover{
    background-color: #9bd2db;
    color: white;
}

.close{
    font-family: obitron;
    font-style: normal;
}

.close:hover{
    background-color: rgb(165, 36, 36);
    color: white;
}

.window-content{
    padding: 10px;
    height: 150px;
    background-color: rgb(46, 182, 209);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #3da8bb rgb(27, 140, 163);
    /* text-align: center; */
    border-left: 2px solid white;
}

.windows-content-gif img{
    height: 100%;
    width: 100%;
}

.to-do{
    font-family: 'Courier New', Courier, monospace;
}

/* .color-content{
    padding: 10px;
    background-color: rgb(46, 182, 209);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #3da8bb rgb(27, 140, 163);
    border-left: 2px solid white;
} */

/* .color-content p{
    font-family: 'Courier New', Courier, monospace;
} */

.window-content p, .window-content li{
    font-size: 15px;
    color: #ffffff;
    /* text-align: center; */
    font-family: 'Courier New', Courier, monospace;
}

.color-picker{
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.color-picker button{
    font-size: 15px;
    padding: 5px;
    cursor: pointer;
}

.blue{
    background-color: rgb(93, 172, 224);
    color: black;
    border: 2px black solid;

}

.blue:hover{
    color: white;
    background-color: rgb(93, 172, 224);
    border: 2px white solid;
}

.pink{
    color: black;
    background-color: palevioletred;
    border: 2px black solid;
}

.pink:hover{
    color: white;
    border: 2px white solid;
}

.green{
    color: black;
    background-color: #13cac4;
    border: 2px black solid;
}

.green:hover{
    color: white;
    border: 2px white solid;
}


/* personal content - page */

.personal-content{
    /* background-color: bisque; */
    /* padding: 20px; */
    border-left: white 1px solid;
    grid-area: main-content;
    background-color: rgb(46, 182, 209);
}

.section-title {
    font-size: 40px;
    color: rgb(224, 255, 46);
    text-shadow: 1px 1px  #000;
    font-weight: bolder;
    padding: 20px;
    text-align: center;
    background-color: #47cbe2;
}

/* .section-title h2{
} */

.section-title p{
    font-size: 20px;
    color: orange;
}

section{
    display: none;
    border: 3px solid;
    border-color: #ffffff #3da8bb #3da8bb #ffffff;
    outline: 2px solid #98ccd6; 
}
section.active{
    display: block;
}

/* #nav-page{
    color: #9bd2db;
} */

button.active{
    color: white;
    text-shadow: 1px 1px black;
}

/* home */

.section-content-home{
    padding: 50px;
}

.section-content-home p{
    font-family: p2p;
    font-size: 40px;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px black;
}


/* music favorite page */

.section-content-music{
    padding: 60px;
    border: #000 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.title-section-content{
    /* padding: 40px; */
    font-size: 40px;
    font-family: obitron;
    color: white;
    writing-mode: sideways-lr;
}

.grid-album-music{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.album-cover{
    width: 100px;
    cursor: pointer;

}

.album-cover img{
    width: 100%;
    box-shadow: 2px 2px 3px #000;
    /* transition: transform 0.2s ease;   */
    cursor: pointer;
}

/* animation spin */
@keyframes spincd {
    from{
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.album-cover img:hover{
    transform: scale(1.5);
    transition: 0.5s;
}

/* most-played songs */

.most-played{
    padding: 20px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    /* border: 1px solid black; */
}

.most-played p{
    font-size: 24px;
    color: rgb(254, 189, 38);
    text-shadow: 1px 1px black;
    font-weight: bold;
}

.song-played-info{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.most-songs-grid{
    gap: 20px;
    display: flex;
    align-items: center;
}

.most-played-cover{
    width: 100px;
    display: flex;
    gap: 5px;
    cursor: pointer;
}

.most-played-cover img{
    border-radius: 50%;
    width: 100%;
    box-shadow: 2px 2px 3px #000;
}

.most-played-cover :hover{
    animation: spincd linear infinite;
}


/* game-content */

.game-content{
    display: flex;
    flex-direction: column;
    /* background-color: #000; */
}

.section-content-game{
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.section-content-game.moment{
    /* background-color: #6c898e; */
    border: dashed 1px rgb(0, 0, 0);

}


/* .section-content-game.ss{
    background-color: #a8a8a8;
} */


.game-ss-content{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

.section-content-game img{
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
}

.section-content-game img:hover{
    transform: scale(1.2);
    transition: 0.8s;
}

.game-desc{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.game-desc p{
    font-size: 25px;
}

.title-game{
    font-size: 40px;
    color: rgb(249, 65, 65);
    writing-mode: vertical-lr;
    text-orientation: upright;
    text-shadow: 1px 1px black;
    text-transform: uppercase;
}


    /* Responsive */

@media (max-width: 480px){
    .container{
        width: 95%;
        grid-template-rows: 100px 40px 1000px;
    }


    .name-site{
        font-size: 30px;
        text-shadow: 2px 2px black;
        /* display: none; */
    }

    .subname-site{
        font-size: 20px;
    }
    
    .content {
        background-color: rgb(255, 255, 255);
        display: grid;
        grid-template-columns: 5fr;
        grid-template-areas: 'main-content' 'sidebar';
        gap: 10px;
    }

    .title-section-content{
    /* padding: 40px; */
        font-size: 20px;
        font-family: obitron;
        color: white;
        writing-mode: horizontal-tb;
    }


    /* musik */
    .section-content-music{
        padding: 20px;
        display: flex;
        flex-direction: column; 
        gap: 20px;
    }


    .grid-album-music{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        place-items: center;
    }

    .most-played{
        padding: 20px;
        display: flex;
        gap: 40px;
        flex-direction: column;
        justify-content: center;
    }

    #home{
        display: none;
    }

    .section-content-game{
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .game-ss-content{
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .game-desc{
        display: none;
    }

    .title-game{
        font-size: 24px;
        writing-mode: horizontal-tb;    
    }

    .footer{
        display: none;
    }
}