@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* @import "style_main.css"; @import "queries.css"; */
:root{
    /* ----------------------------------- MARGINS ---------------------------------- */
    --mb-1: 0.5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;

    /* ------------------------------------ COLORS --------------------------------- */

    --color-purple: #735CFF;
    --text-color: white;
    --sub-color: #868686;
    --color-dark: rgb(19, 19, 19);

    /* ------------------------------------ FONTS --------------------------------- */

    --font-poppins: 'Poppins', sans-serif;
    --font-bold: 600;
    --font-semibold: 500;
    --font-normal: normal;

    --font-biggest: 3rem;
    --font-bigger: 2rem;
    --font-big: 1.5rem;
    --font-sizenormal: 1rem;
    --font-small: .9rem;
    --font-smaller: .8rem;
    --font-smallest: .7rem;

    --z-indexmax: 999;
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    scrollbar-width: none;
    font-family: "Poppins", sans-serif;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}
  
  /* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body{
    background-color: rgb(19, 19, 19);
    position: relative;
}
.sub-body{
    width: 100%;
    height: 100vh;
    background-color: rgb(19, 19, 19);
    z-index: 0;
    position: relative;
    background-attachment: fixed;
}
.sub-body:after {
    /* content is required when using :after */
    content: "";
    /* The grainy image */
    background-image: url("../img/noise-transparent.png");
    /* Specify a height and width above and beyond the page header for movement */
    height: 300%;
    width: 300%;
    /* We're using opacity in place of a transparent image */
    opacity: 0.5;
    /* We'll need this when the animation kicks in to hold the position of the texture */
    position: fixed;
    animation: grain 10s steps(10) infinite;
    left: -50%;
    top: -100%;
    visibility: visible;
    z-index: 0;
}
@keyframes grain {
    0%, 100% { transform:translate(0, 0) }
    10% { transform:translate(-5%, -10%) }
    20% { transform:translate(-15%, 5%) }
    30% { transform:translate(7%, -25%) }
    40% { transform:translate(-5%, 25%) }
    50% { transform:translate(-15%, 10%) }
    60% { transform:translate(15%, 0%) }
    70% { transform:translate(0%, 15%) }
    80% { transform:translate(3%, 35%) }
    90% { transform:translate(-10%, 10%) }
}

.container, .wrapper{
    height: 100%;
    position: relative;
    z-index: 999;
}
ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
    /* z-index: 9999; */
}
li {
    font-size: 6.2em;
    display: flex;
    align-items: center;
    margin-top: 60px;
    z-index: 800;
    position: relative;
}
li a{
    transition: all 0.2s ease-in-out;
    color: white;
    font-style: italic;
    font-weight: 800;
    display: block;
    /* position: relative; */
}
.project_link{
    z-index: 900;
    transition: all 0.2s ease-in-out;
    color: white;
    font-style: italic;
    font-weight: 800;
    position: relative;
    cursor: pointer;
}
.loop li a:hover{
    opacity: 0.4;
}
.loop {
    position:absolute;
    z-index: 999;
}


/* --------------------------------- HEADER --------------------------------- */
header{
    height: auto;
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 1002;
    padding: .5rem 1rem;
    margin-bottom: var(--mb-2);
}
.header_content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: var(--z-indexmax);
}
.logo{
    cursor: pointer;
    z-index: 1001;
    width: auto;
}
.logo-mobile{
    display: block;
    width: 30px;
}
.logo-desk{
    display: none;
}
.menu{
    z-index: 1002;
    cursor: pointer;
    display: block;
    position: relative;
}
.menu_line{
    background-color: #8095ff;
    width: 23px;
    height: 3px;
    z-index: 1006;
    position: relative;
    display: block;
    border-radius: 15px;
    margin-bottom: 4px;
}
.line_last{
    margin-bottom: 0;
}

/* ----------------------------------- NAV ---------------------------------- */
.main_nav{
    position: fixed;
    z-index: 1000;
}
.nav_list{
    height: 100vh;
    width: 100%;
    background-color: rgba(19, 19, 19, 0.8);
    backdrop-filter: blur(3px);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    visibility: collapse;
    opacity: 0;
    transition: .5s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.open{
    visibility: visible;
    opacity: 1;
}
.menu_item{
    margin: 2rem 0;
}
.menu_link{
    color: white;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    font-size: var(--font-big);
    padding: var(--mb-3);
    position: relative;
    font-style: normal;
    font-weight: var(--font-normal);
}
.menu_link::after{
    content: "";
    width: 70%;
    height: 2px;
    background-color: white;
    position: absolute;
    display: block;
    top: 50%;
    /* margin-left: var(--mb-2); */
}
.menu_link.menu_active{
    text-decoration: none;
}
.menu_active::before{
    content: url("../img/cd_small.png");
    vertical-align: text-top;
    line-height: normal;
    display: inline-block;
    margin-right: .5rem;
    height: 30px;
    animation: rotate 10s linear infinite;
}
.menu_link.menu_active::after{
    content: "";
    width: 0%;
}

.bg-blur{
    filter: blur(2px);
    /* overflow: hidden; */
}

@keyframes rotate{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
/* ------------------------------ MUSIC PLAYER ------------------------------ */
.audio_player{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(19, 19, 19, 0.8);
    backdrop-filter: blur(3px);
    visibility: collapse;
    opacity: 0;
    transition: .5s ease;
}
.player_open{
    visibility: visible;
    opacity: 1;
    z-index: 99999;
}
.cd_img{
    width: 65%;
    display: block;
    z-index: 1;
    margin-bottom: var(--mb-2);
}
.music_player{
    display: flex;
    justify-content: center;
    z-index: 1;
    align-items: center;
    margin-bottom: var(--mb-2);
}
.btn-exit{
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 5rem;
    right: 1rem;
    cursor: pointer;
}
/* ------------------------------- PLAY BUTTON ------------------------------ */
.circle{
    width: 50px;
    height: 50px;
    background-color: #735CFF;
    border-radius: 50%;
    position: relative;
    border: none;
    cursor: pointer;
}
.icon{
    font-size: var(--font-biggest);
    position: absolute;
    transition: all .5s ease;
}
.icon_play{
    top: 2px;
    left: 4px;
}
.music_title, .icon{
    color: white;
}
.play_button{
    margin-right: 1rem;
    cursor: pointer;
}
.icon_pause{
    /* opacity: 0; */
    left: 1px;
    top: 1px;
}
/* ------------------------------- SONG TITLE ------------------------------- */
.music_name{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.music_title{
    font-family: 'Poppins', sans-serif;
    margin: .2rem 0;
}
.song_title{
    font-weight: 200;
}
.audio_player a{
    color: var(--color-purple);
    transition: all .5s ease-out;
}
.audio_player a:hover{
    color: white;
}

/* ------------------------------ JS ADDED CLASSES ----------------------------- */
.paused{
    -webkit-animation-play-state:paused;
    -moz-animation-play-state:paused;
    -o-animation-play-state:paused; 
    animation-play-state:paused;
}
.rotate{
    animation-name: rotate;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.icon_visible{
    opacity: 1;
}
.icon_hidden{
    opacity: 0;
}
.noscroll{
    overflow: hidden;
}