@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700&display=swap');


*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: #1B1B32;
    font-family: "Roboto", sans-serif;
}

a{
    color: inherit;
    text-decoration: none;
}

.nav-bar{
    min-height: 15vh;
    background-color: #0A0A23;
    color: #fff;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    text-align: center;    
}

.nav-bar .title {
    font-size: 1.4em;
    font-weight: 300;
    padding: 0.5em;
    cursor: default;
}

.nav-links {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    list-style: none;
    font-size: 1em
}

.nav-links li {
    width: 9.1%;
    padding-block: 0.5em;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border: 1px solid #1B1B32;
}

.nav-links li:hover {
    background-color: #3B3B4F;
    cursor: pointer;
}

.nav-links > li > a {
    pointer-events: none;
}

.selected {
    background-color: #1B1B32;
}

.selected:hover {
    background-color: #1B1B32 !important;
    cursor: default !important;
}

.project-section {
    background-color: #1B1B32;
    height: 80vh;
    cursor: default;
    font-size: 1rem;
}

.project-title {
    font-size: 1.4em;
    font-weight: 200;
    color: #fff;
    text-align: center;
    padding: 0.5em;
    margin-bottom: 0.5em;
    height: 8%;

}

.project-container {
    height: 84%;
    width: 90%;
    margin: auto;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    overflow-y: scroll;
    -ms-overflow-style: none;  
    scrollbar-width: none;
}

.project-container::-webkit-scrollbar{
    display: none;
}

.project-container > .project {
    color: #fff;
    border: 3px solid #0A0A23;
    box-shadow: 8px 12px 15px 2px #3B3B4F;
    border-radius: 15px;
    width: 75%;
    height: 40%;
    margin: 0.5em auto;
    background-position-x: center;
    background-size: cover;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.project-container > .project > span {
    background-color: #0A0A23bf;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
    height: 30%;
    font-size: 1em;
    font-weight: 100;
    padding: 0.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-container > .project > h1 {
    margin-bottom: auto;
    margin-top: 20px;
}

/* ? ------------------------------------------------------------ */

.hidden {
    display: none;
}


@media screen and (min-width: 800px) {
    .nav-bar {
        font-size: 1.4rem;
    }

    #project-section {
        font-size: 1.4rem;
    }

    .project-container > .project {
        width: 48%;
        height: 45%;
    }
}

@media screen and (min-width: 1200px) {
    
    .nav-bar {
        font-size: 1.6rem;
    }

    #project-section {
        font-size: 1.6rem;
    }
    
    .project-container > .project {
        width: 30%;
    }
}

@media (hover: hover) {
    .project-container > .project > .hidden-text {
        display: none;
    }
    
    .project-container > .project:hover > .hidden-text {
        display: flex;
    }
}

