
/* ##################################### PROJECT DISPLAYER #################################### */

.projectBlock {
    margin: 1vmin;
    text-align: center;
    max-height: 9vmin;
    text-shadow: 0px 0px 1vmin rgb(0, 0, 0);
    transition-duration: 200ms;
}

.projectDisplayerTitleTailResume,
.projectImageProjectorBlock,
.projectDisplayerTitle,
.projectMainTitle,
.polarizedBG,
.projectDisplayerContent,
.projectDisplayerTitle {
    position: absolute;
}

.projectTechs,
.projectMainTechs,
.projectLink,
.projectRoles,
.projectMembers {
    color: black;
    padding: 1vmin;
    background-color: rgba(244, 244, 244, 0.12);
    border-radius: 0.3vmin;
    box-shadow: 0px 0px 3px 1px rgba(8, 8, 8, 0.76);
    font-weight: 600;
}

.projectTechs,
.projectMainTechs {
    text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.76);
}

.projectDisplayerTitle {
    top: 0%;
    width: 45%;
    height: 100%;
    left: 50%;
    transition-duration: 200ms;
}

.projectDisplayerContent {
    width: 100%;
    height: 100%;
    transition-duration: 0.2s;
    overflow-y: auto;
    overflow-x: hidden;
}


/* -------- DISPLAYER PARTS ----------- */


/* - Displayer head - */

.projectDisplayerHead {
    width: 60%;
    height: auto;
    font-size: calc(10px + 4vmin);
    min-height: 50px;
    min-width: 200px;
    margin: 2%;
    text-align: center;
}

.projectTitle,
.projectTitleBlock,
.projectDatesBlock,
.projectGenreBlock {
    padding: 0.5%;
}

.projectTitle,
.projectTitleBlock,
.projectDatesBlock,
.projectGenreBlock {
    display: inline-block;
    white-space: nowrap;
}

.projectDates,
.projectGenre {
    display: inline-block;
}

.projectTitleBlock {
    font-size: 100%;
    font-weight: 400;
    text-shadow: 0px 0px 1vmin rgb(0, 0, 0);
}

.projectDatesBlock {
    font-size: 50%;
    font-weight: 400;
    margin-left: 15%;
    margin-right: 15%;
}

.projectGenreBlock {
    font-size: 60%;
    font-weight: 400;
}


/* ------------------ */

.projectDisplayerText {
    width: 100%;
    height: auto;
    font-size: calc(8px + 1.1vmin);
    min-height: 50px;
    min-width: 200px;
    margin-top: 2%;
    text-align: center;
}

.projectDisplayerVideo {
    height: calc(80px + 4vmin + 19vw);
    width: calc(400px + 8vmin + 20vw);
}


/* - Displayer tail - */

.projectDisplayerTail {
    width: 96%;
    height: auto;
    font-size: calc(4px + 1.6vmin);
    min-height: 50px;
    min-width: 200px;
    margin: 2%;
    margin-top: 0%;
    text-align: center;
}

.projectRolesBlock,
.projectLinkBlock,
.projectMembersBlock {
    margin: 3% 5%;
    position: absolute;
}

.projectRoles {
    color: #c6c6c6;
}

.projectLinkBlock {
    margin: 3% 0%;
    line-height: 4vmin;
    left: 50%;
    transform: translateX(-50%);
}

.projectLink {
    text-decoration: none;
    color: #6bb5ff;
    text-shadow: 0px 0px 1vmin rgba(0, 0, 0, 0.88);
    transition-duration: 100ms;
}

.projectLink:hover {
    text-shadow: 0px 0px 1vmin rgb(7, 7, 7);
    box-shadow: 0px 0px 1vmin 0.5vmin rgb(0, 0, 0);
    background-color: rgba(11, 11, 11, 0.57);
}

.projectMembersBlock {
    right: 0%;
}

.projectMembers,
.projectLink {
    display: block;
    color: #d0d0d0;
}

.projectMembers:visited,
.projectLink:visited {
    color: #fcd97c;
}


/* ------------------ */


/* ----------------------------------- */

.projectMainTitleBlock {
    right: 50%;
    top: 10%;
    width: 100%;
    height: 100%;
}

.projectMainTitle {
    line-height: 87%;
    font-size: 3.5vmin;
    transition-duration: 200ms;
    transform: translateX(-50%);
    white-space: nowrap;
    left:50%;
    text-shadow: 0vmin 0vmin 3vmin rgba(0, 0, 0, 0.87),0vmin 0vmin 3vmin rgb(0, 0, 0);
}

.projectMainTitle:hover {
    text-shadow: 0vmin 0vmin 1.5vmin rgba(0, 0, 0, 0.87),0vmin 0vmin 1.5vmin rgb(0, 0, 0);
}
.projectDisplayerTitleTailBG{
    
}

.projectDisplayerTitleTail {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translate(-50%);
    width: 100%;
    height: 100%;
    white-space: nowrap;
}

.projectDisplayerTitleTailContent {
    position: absolute;
    left: 50%;
    top:20%;
    transform: translateX(-50%);
    width: 100%;
}

.projectDisplayerTitleTailResume{
    width: 100%;
    top: 50%;
    height: 44%;
    text-align: justify;
    text-align-last: center;
    margin-top: 15px;
    white-space: initial;
    overflow: hidden;
}

.polarizedBG {
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    transition-duration: 650ms;
    background-color: rgba(11, 5, 1, 0.38);
}

.projectListContainer {
    text-align: center;
    position: fixed;
    height: 100vh;
    width: 80vw;
    min-width: 130px;
    top: 0%;
    left: 25vmin;
    overflow-y: auto;
    transition-duration: 1000ms;
}

.projectListArrow {
    position: fixed;
    top: 50%;
    right: 6%;
    transform: translateY(-50%) translateX(50%);
    background-image: url("../img/arrow.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: auto;
    height: auto;
    max-width: 4vw;
    max-height: 30vh;
    width: 6%;
    height: 40%;
    min-height: 65px;
    min-width: 13px;
    transition-duration: 150ms;
    z-index: 500;
}

.projectListArrowOut {
    filter: opacity(0%);
    right: -25vw;
    transition-duration: 200ms;
}

.projectListArrow:hover {
    background-image: url("../img/arrow_over.png");
    max-width: 3vw;
    max-height: 23vh;
    width: 5%;
    height: 30%;
    min-height: 50px;
    min-width: 10px;
}

.projectDisplayer {
    background-color:  rgba(0, 0, 0, 0.56);
    position: absolute;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    height: 100vh;
    transform: translate(-100%);
    overflow: hidden;
    transition-duration: 400ms;
}


/* ## PROJECT DISPLAYER INSIDE CONTENT ## */

.projectPlayButton {
    position: absolute;
    right: 2%;
    top: 3.5vmin;
    width: calc(50px + 12%);
    height: calc(20px + 4%);
    font-size: calc(10px + 3vh);
    font-weight: 600;
    color: white;
    align-content: center;
    background-color: black;
}

.projectPlayButtonDl {
    max-height: 80%;
    max-width: 20%;
    transform: translateY(22%);
}

.projectDesc {
    margin: 1%;
    text-align: justify;
    font-weight: 200;
}

.projectDescBlock {
    text-align: center;
    position: relative;
    left: 50%;
    width: calc(20px + 70%);
    transform: translateX(-50%);
    height: auto;
    white-space: normal;
    overflow-y: auto;
    overflow-x: hidden;
    text-shadow: 0px 0px 0.5vmin rgba(0, 0, 0, 1);
    background-color: rgba(11, 5, 1, 0.38);
    padding-right: 5%;
    padding-left: 5%;
    padding-top: 2%;
    padding-bottom: 3%;
}

.projectTechs,
.projectMainTechs {
    display: inline;
    background-color: rgb(255, 255, 255);
    color: black;
    font-weight: 400;
}

.projectTechsBlock,
.projectMainTechsBlock {
    margin: 2%;
    text-align: center;
    line-height: 300%;
}

.projectPlatform{
    max-width: 25%;
    max-height: 30%;
    margin: 2%;
    display: inline;
}

.imgArticleContent{
    width: 80%;
    margin-left: 10%;
    margin-right: 10%; 
    margin-bottom: 5%;
    margin-top: 5%;
}

.UnrealEngine4Tech {
    background-color: rgb(30, 38, 247);
    color: #fafafa;
    text-shadow: 0px 0px 1vmin gold;
}

.BlueprintsTech {
    background-color: rgb(14, 41, 248);
    color: #ffffff;
    text-shadow: 0px 0px 1vmin white;
}

.UnityTech, .WebTech {
    background-color: rgb(0, 0, 0);
    color: #ffffff;
    text-shadow: 0px 0px 1vmin white;
}

.JavaScriptTech {
    background-color: rgb(255, 231, 45);
}

.HTMLTech {
    background-color: rgb(255, 85, 45);
}

.CSSTech {
    background-color: rgb(27, 123, 255);
}

.PHPTech {
    background-color: rgb(94, 109, 193);
}

.MySQLTech {
    background-color: rgb(255, 167, 27);
}

.HaxeTech {
    background-color: rgb(255, 100, 18);
}

.projectLabel {
    position: absolute;
    left: -0.1%;
    bottom: 1%;
    width: 100.2%;
    min-width: 50px;
}


.projectMainTechs {
    background-color: rgb(0, 0, 0);
    color: #ffffff;
    text-shadow: 0px 0px 0.6vmin white;
}

/* Project Displayer */

.projectBandMode {
    width: 100%;
    left:100%;
    height: 24%;
    margin-top: 12.5vh;
    margin-bottom: 12.5vh;
    z-index: 10;
    overflow-y: hidden;
}

.projectBandMode:hover,
.projectSmallBandMode:hover {
    cursor: pointer;
}

.projectBandMode:hover {
    filter: brightness(120%);
}

.projectSmallBandMode {
    z-index: 15;
    left:195%;
    overflow-y: hidden;
}

.projectFrameMode {
    box-shadow: 0px 0px 3vmin 1vmin rgb(0, 0, 0);
    z-index: 20;
    width: 75vw;
    top: 100%;
    left: 75vw;
    height: 100vh;
}
.projectDisplayerSelectedForm{
    overflow-y: unset;
}

.projectDisplayerRecycleForm,
.projectDisplayerFoldedForm {
    width: 0%;
    height: 100vh;
    left: 50%;
    
    transform: translateX(-50%);
}

.projectBackgroundBlock {
    overflow: hidden;
    width: 45%;
    object-fit: cover;
    height: 95%;
    top: 50%;
    background-size: cover;
    transform: translateY(-50%);
    background-position: center;
    position: absolute;
    left: 0%;
}

.projectBackgroundBlockSelected{
    width: 100%;
    opacity: 0.05; 
}

.projectBackground {
    position: absolute;
    right: -1vmin;
    min-width: 100%;
    min-height: 100%;
    max-height: 130%;
    width: auto;
    height: auto;
    top: 55%;
    transform: translateY(-50%);
}

@media screen and (orientation:portrait) {
    
    .projectMainTitle {
        font-size: 3.3vmin;
        margin-top: 2vmin;
    }
    
    .projectListContainer {
        height: 81vh;
        top: 20vh;
        left: 50%;
        width: 93vw;
        transform: translateX(-49%);
    }
    
    .projectFrameMode {
        width: 83vw;
        height: 95%;
        left: 1vw;
        transform: translate(0%);
    }
    
    .projectBandMode {
        margin-top: 5vh;
    }
    
    .projectPlayButton {
        font-size: calc(10px + 4vmin);
        top: 13vmin;
        width: calc(40px + 12%);
        height: calc(15px + 4%);
    }
}