@font-face {
    font-family: "DJRMono";
    src:
        url("/fonts/FormaDJRMono-Light.woff2") format("woff2"),
        url("/fonts/FormaDJRMono-Light.woff") format("woff");
}

body{
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: DJRMono;
    background-color: white;
    color: black;
    -webkit-transition: background-color 1.5s linear,color 1.5s linear;
    -ms-transition: background-color 1.5s linear, color 1.5s linear;
    transition:  color 1.5s linear, background-color 1.5s linear;
}

h1{
    padding:0;
    margin:0;
    font-weight: normal;
    font-size: inherit;
}

a{
    padding: 0;
    margin: 0;
    text-decoration-color:rgb(104, 163, 180);
}

h3{
    font-weight: normal;
    font-size: 1rem;
}

.carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top:0;
    left:0
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height:100%;
}

.project {
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.project.active {
    display: block;
    position: relative;
}

.project.prev {
    left: -100%;
    /* Offscreen, to the left */
}

.project.next {
    left: 100%;
    /* Offscreen, to the right */
}

@media (orientation: landscape) {
    body {
        font-size: 22px;
        padding: 0;
    }

    a {
        cursor: none;
    }

    .projectImage {
        cursor: none;
    }
    
    #customCursor {
        position: fixed;
        width: 1px;
        height: 1px;
        pointer-events: none;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10rem;
        transition: color 0.5s ease, opacity 0.2s;
    }
    
    #customCursor.hidden {
        opacity: 0;
    }
}

@media (orientation: portrait) {
    body {
        font-size: 14px;
        padding: 5px;
    }

    #customCursor{
        display: none;
    }
}

.projectImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cover{
        width:100%;
        height:100%;
        object-fit: cover;
        object-position: 50% 50%;
        display: block;
} 

.contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 50%;
    display: block;
}


header,
.projectData,
.projectInfoNav {
    position: relative;
    z-index: 6;
}

.title {
    width:100%;
    padding:1%;
}

.nav {
    display: none;
    z-index: 2;
    padding: 1%;
    width: auto;
}

@media (orientation: landscape) {
.projectInfoNav:hover, .title:hover, .nav h1:hover, a:hover {
text-transform: uppercase;
color:rgb(104, 163, 180);
 }

 .title {
    z-index: 6;
    cursor: none;
 }

 .nav {
    cursor: none;
    width:13%;
 }

 .artistInfo {
    cursor: none;
 }

 .infoBlock {
    cursor: none;
 }

}

 .projectInfoNav:active,
 .title:active,
 .nav h1:active {
     text-transform: uppercase;
     color: rgb(104, 163, 180);
 }

 .infoHolder{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: -1;
 }

/* Info Blocks */
.infoBlock {
    z-index: 6;
    flex-grow: 1;
    display: none;
    overflow-y: auto;
    padding: 1%;
    display: none;
}

@media (orientation: landscape) {
    .infoBlock{
        height:80vh;
        position: absolute;
        top: 8%;
        left: 15%;
        width: 65%;
        max-height: 80vh;
        overflow-y: scroll;
    }

 .infoBlock h1 {
    max-width: 70%;
 }

 .projectInfoNav {
    cursor: none;
 }

 .projectDataBox {
    cursor: none;
 }
}

@media (orientation: portrait) {

    .title {
        cursor: pointer;
    }

.artistInfo {
        flex-direction: column;
        cursor: pointer;
        
    }
.infoBlock {
    position: absolute;
    top: 25%;
    left: 1%;
    width: 95%;
    height: 50%;
    overflow-y: scroll;
}
}

.projectInfoNav{
    position: absolute;
    bottom: 0%;
    padding: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
}

.projectDataBox {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    display: none;
}

@media (orientation: portrait) {
.projectData {
    position: absolute;
    top: 30%;
    left: 0.5rem;
    width: 95%;
    height: 60%;
    overflow-y: scroll;
    }
.projectInfoNav {
    cursor: pointer;
}
}

@media (orientation: landscape) {
    .projectData {
        position: absolute;
        top: 8%;
        left: 15%;
        width: 65%;
        /* height: 50%; */
        max-height: 80vh;
        overflow-y: scroll;
}

tr td:nth-child(1) {
    width: 12%
}

tr {
    /* white-space: nowrap; */
    font-size: 1rem;
    line-height: 1.5rem;
}

}

i {
    color: rgb(104, 163, 180);
}

table {
    width: 100%;
    table-layout: auto;
}

@media (orientation: portrait) {
    tr td:nth-child(1) {
            width: 20%;
            padding-right: 1%;
            vertical-align: top;
        }
}



