:root {
    --led-blue: rgb(144, 138, 184);
    --transition-time: 0.3s;
}
* {
    box-sizing: border-box;
    color:  white;
    font-family: Helvetica;
}

body * {
    /* border: 1px solid magenta; */
}

body {
    margin: 0;
}

/* --------- MAIN -------*/
.page-background {
    position: fixed;
    object-fit: cover;
    height: 100vh;
    width: 100%;
    top: 0;
    z-index: -5;
}

.page-center-flex {
    margin-top: 25vh;
    display: flex;
    flex-direction: column;
    width: 100vw;
    align-items: center;
    justify-content: center;
    margin-bottom: 10vh;
}

.page-title {
    width: 350px;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 20vh;
    right: 0;
    left: 0;
    margin: auto;
}
.page-title hr {
    margin: 0;
    width: 100%;
    border: 0px;
    background: rgba(170, 170, 170, 0.788);
    height: 1px;
}
.title-header{
    margin: 0;
    text-align: center;
    text-shadow: 
    0 0 10px black,
    0 0 20px black;
    font-weight: 300;
}
.title-signature {
    margin: 10px;
    font-family: system-ui;
    text-align: center;
    font-weight: 300;
    text-shadow: 0 0 10px black;
    letter-spacing: 3px;
    word-spacing: 10px;
    font-size: 20px;
}

/* -------- Navigation -------- */
.page-navigation {
    margin-top: 15vh;
    display: flex;
    flex-direction: column;
    height: auto;
    width: 900px;
    background-color: rgba(29, 30, 49, 0.459);
    border-radius: 8px;
    box-shadow: 
    0 0 10px white,
    0 0 15px black,
    0 0 30px black;
    padding: 10px;
}

.item-container {
    position: relative;
    height: 12vh;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(59, 50, 92, 0.623);
    align-content: center;
    text-decoration: none;
    transition: var(--transition-time) ease;
}

.item-image {
    margin: 0;
    position: relative;
    height: 100%;
    width: 100%;
    filter: brightness(0.5);
    transition: var(--transition-time) ease;
    object-fit: cover;
}

.item-container p {
    width: 80%;
    opacity: 0;
    position: absolute;
    top: 40%;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    font-weight: 600;
    font-size: 25px;
    text-align: center;
    text-shadow: 0 0 5px var(--led-blue);
    transition: var(--transition-time) ease;
    cursor: pointer;
}

.item-container:hover {
    box-shadow: 
    0 0 5px var(--led-blue),
    0 0 10px var(--led-blue) ;
    
    p {
        opacity: 100;
    }
    .item-image {
        filter: brightness(0.2) blur(2px)
    }

}

@media(max-width: 900px) {
    .page-navigation {
        width: 100vw;
    }
}

/* ------ Content Displayer ------ */
.dashboard-label {

    position: relative;
    background-color: transparent;
    height: 30px;

    border: 0;
    transition: 0.5s;

    text-align: center;
    align-content: center;
}

.dashboard-label img {
    position: relative;
    height: 100%;
}

.dashboard-label:hover {
    cursor: pointer;
    transition: 0.5s;
    background-color: #ffffff10;
}

.dashboard-label:active {
    /* background-color:  #8236ca90; */
    border: 1px solid rgb(98, 75, 201);
    transition: 0.1s;
}

.dashboard-arrow {
    filter: invert(1);
    transform: rotate(-90deg);
}

.checkbox:not(:checked) ~ .page-center-flex > .page-navigation >.dashboard-label{
    opacity: 0;
    height: 0;
}

.checkbox:checked ~ .page-center-flex > .page-navigation{
    background-color: rgba(24, 25, 39, 0.856);
}

.checkbox {
    display: none;
}

#md-container {
    height: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.checkbox:checked ~ .page-center-flex > .page-navigation > .item-container{
    height: 0;
    border: 0;
    opacity: 0;
}

.checkbox:checked ~ .page-center-flex > .page-navigation > #md-container{
    height: 100%;
    padding: 25px;
}

.item-content {
    height: 200px;
    width: 100%;

}

/* ------ MD Content Style ------- */

#md-container strong {
    color: rgb(204, 167, 113);

}

#md-container h1 {
    font-size: 30px;
    text-shadow: 0 0 10px black;
}
#md-conatiner

main hr {
    margin-bottom: 80px;

}
main p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.2;
    margin: 25px 0;
    text-shadow: 0 0 5px black;
    font-size: 17px;
}

main code, main code *  {
    color: rgb(87, 238, 120);
    font-family: Consolas, monospace !important;
    font-size: 15px;
}

/* ------ FOOTER ------- */
footer a {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    font-weight: 200;
    font-size: 15px;
    margin-bottom: 20px;
    color: grey;
    text-shadow: 0px 0px 5px black;
    text-decoration: none;
    --link-color: grey;
}

footer span {
    color: var(--link-color);
}

footer a:hover {
    --link-color: white;
}