/* - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - G E N E R A L S - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@600&display=swap');
*{
    margin: 0; padding: 0;
    color: white;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
    letter-spacing: 1px;
}

a{
    display: inline-block;
    text-decoration: none;
}

body{
    display: grid;
    grid-template-columns: 8% 92%;
    grid-template-rows: 7% 93vh;
}

.title_container{
    width: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 5px;
    box-shadow: 0px 5px 15px #000000;
    z-index: 100;
    grid-column: 2/3;
    grid-row: 1/2;

    /* position: sticky; */
}

.title{
    font-size: 22px;
    font-weight: 100px;
}

p{
    font-size: 16px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - H O M E - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.home_container{
    height: 100%;
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: 2/3;
}

/* - - - - - - CARDS - - - - - - */
.card_container{
    width: 100%; height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: auto;
    padding: 10px 0;
    gap:1em;
    background-color: #080808;
}

.card_container::-webkit-scrollbar{
	opacity: 0%;
	width: 10px;
	border-radius: 10px;
}

.card_container::-webkit-scrollbar-thumb{
	background: #ffffff;
	border-radius: 10px;
}

.card_container::-webkit-scrollbar-button{
    height: 15px;
}

.card{
    height: 270px; width: 240px;
    background-color: #1B1B1B;
    border: 2px solid rgb(89, 89, 89);
    border-radius: 27px;
    display: flex;
    flex-direction: column;
    transition: .3s;
}

.card:hover{
    transform: translate(0, -5px);
    border: 2px #ffffff solid;
}

.card:active{
    transform: scale(0.97);
    box-shadow: 0 0 4px #ffffff50;
}

.img_container{
    height: 50%; width: 100%;
    border-radius: 25px 25px 0 0;
    background-color: rgb(54, 54, 54);
    display: flex;
    flex-direction: row-reverse;
}

.img{
    height: 100%; width: 100%;
    border-radius: 25px 25px 0 0;
    background-color: rgb(56, 56, 56);
    background-size:cover ;
    background-repeat: no-repeat;
    /* background-image: url(Sources/Img.png); */
}

.img:active{
    transform: scale(1.5) translateY(10%);
    border-radius: 0;
    box-shadow: 0px 0px 0 100vmax#0000007f;
    transition: 0.3s;
    z-index: 200;
}   

.data{
    height: 35%; width: auto;
    background-color: #000;
    /* filter: blur(2px); */
    padding: 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.button{
    height: 15%;width: 100%;
    border-radius: 0 0 25px 25px;
    background-color: #1B1B1B;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    letter-spacing: 3px;
    box-decoration-break: none;
}

.button:active{
    background-color: #0b0b0b;
}

.star-inactive{
    width: 26px;
    height: 26px;
    margin: 10px;
    background-image: url(Sources/Icons/star-inactive.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    transition: 0.3s;
}

.star-active{
    background-image: url(Sources/Icons/star.svg);
}

.star-inactive:hover{
    transform: scale(1.20);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - S E A R C H - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.search_container{
    height: 93%; width: 40%;
    left: -100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: #000;
    z-index: 130;
    overflow: auto;
    transition: 0.5s;
}

.search_container--visible{
    left: 8%;
    box-shadow: 0px 0px 0 100vmax#0000007f;
}

.search_container::-webkit-scrollbar{
	opacity: 0%;
    width: 10px;
	border-radius: 10px;
}
.search_container::-webkit-scrollbar-thumb{
	background: #fff;
	border-radius: 10px;
}

.search_container::-webkit-scrollbar-button{
    height: 15px;
}

.title--search{
    width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    text-align: center;
    background-color: #ffffff;
    border-radius: 20px;
}

.title--search--h1{
    font-size: 40px;
    letter-spacing: 2px;
    margin: 20px 30px;
    color: black;
}

.search{
    width: 100%;
    margin: 10px 0;
    position: sticky;
    top: 0;
    background-color: #000000;
}

.input{
    width: 85%; height: 35px;
    margin: 10px auto; padding: 0 10px;
    background-color: #2f2f2f;
    display: flex;
    align-items: center;
    border-radius: 10px;
    position: sticky;
    color: #ffffff75;
}

.input:hover{
    border: 1px inset white;
}

.results_container{
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.files{
    width: 75%; height: 15px;
    padding: 5px 20px; margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    transition: .5s;
}

.files:hover{
    background-color: #0c0c0c;
    transform: scale(102%);
}

.files:active{
    background-color: #2f2f2f;
    transform: scale(.99);
    box-shadow: 0 0 5px #ffffff;
}

.name--search,.last_modified--search{
    font-size: 16px;
    margin: 0;
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - F O L D E R - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.folder_container{
    height: 100%;
    background-color: #080808;
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: 2/3;
}


/* - - - - - - DETAILS - - - - - - */
.details{
    width: 75%;
    background-color: #080808;
    padding: 1ex 0; margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: center;
    border-bottom: 1px solid white;
    top:1em;
    box-shadow: 0px 30px 20px 10px #080808;
    z-index: 90;
}

/* - - - - - - CONTENT - - - - - - */
.content__folders_container{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: auto;
    padding: 10px 0;
    gap:1em;
    opacity: 100%;
}

.content__folders_container::-webkit-scrollbar{
	opacity: 0%;
    width: 10px;
	border-radius: 10px;
}
.content__folders_container::-webkit-scrollbar-thumb{
	background: #fff;
	border-radius: 10px;
}

.content__folders_container::-webkit-scrollbar-button{
    height: 15px;
}

.folders{
    width: 100%; height: 15px;
    padding: 1ex 3em;margin: 0 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    transition: .5s;
}

.folders:hover{
    background-color: #0c0c0c;
    transform: scale(102%);
}

.folders:active{
    background-color: #2f2f2f;
    transform: scale(.99);
    box-shadow: 0 0 5px #ffffff;
}

.name,.last_modified{
    font-size: 18px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - F A V O R I T E S - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.favorites_container{
    height: 93%; width: 40%;
    left: -100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: #000;
    z-index: 130;
    overflow: auto;
    transition: 0.5s;
}

.favorites_container--visible{
    left: 8%;
    box-shadow: 0px 0px 0 100vmax#0000007f;
}

.favorites_container::-webkit-scrollbar{
	opacity: 0%;
    width: 10px;
	border-radius: 10px;
}
.favorites_container::-webkit-scrollbar-thumb{
	background: #fff;
	border-radius: 10px;
}

.favorites_container::-webkit-scrollbar-button{
    height: 15px;
}

.title--favorites{
    width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    text-align: center;
    background-color: #ffffff;
    border-radius: 20px;
}

.title--favorites--h1{
    font-size: 40px;
    letter-spacing: 2px;
    margin: 20px 30px;
    color: black;
}

.favorites{
    width: 100%;
    margin: 10px 0;
    position: sticky;
    top: 0;
    background-color: #000000;
}

.input{
    width: 85%; height: 35px;
    margin: 10px auto; padding: 0 10px;
    background-color: #2f2f2f;
    display: flex;
    align-items: center;
    border-radius: 10px;
    position: sticky;
    color: #ffffff75;
}

.input:hover{
    border: 1px inset white;
}

.results_container{
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.files{
    width: 75%; height: 15px;
    padding: 5px 20px; margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    transition: .5s;
}

.files:hover{
    background-color: #0c0c0c;
    transform: scale(102%);
}

.files:active{
    background-color: #2f2f2f;
    transform: scale(.99);
    box-shadow: 0 0 5px #ffffff;
}

.name--search,.last_modified--search{
    font-size: 16px;
    margin: 0;
}
