@font-face {
    font-family: 'tempos_monomono';
    src: url('temposromanmono-webfont.woff2') format('woff2'),
         url('temposromanmono-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body{
    margin: 1vw;
    cursor: default;
}

* {
    box-sizing: border-box;
    font-family: 'tempos_monomono';
    font-size: 11pt;
    line-height: 11.5pt;
}
/* 
div {
    border: 1px solid red;
}

span {
    border: 1px solid red;
} */

a {
    color: inherit;
    text-decoration: underline 3px;
}

a:hover {
    color: black;
}

/* projects */
.folder{
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

/* project header */
.projectHeader{
    display: flex;
    margin-top: 5px;
    line-height: 11.5pt;
    cursor: cell;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid black;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-transform: uppercase;
    background-color: var(--background);
    color: var(--foreground);
    transition-duration: 0.2s;
}

.projectHeader:hover {
    background-color: white;
    color: black;
}

.projectTitle{
    width: 85vw;
    padding-left: 10px;
}

.projectDate{
    width:15vw;
    display: flex;
    justify-content: right;
    padding-right: 10px;
}

/* project content */
.projectContent{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: max-height 1s ease-in-out;
    border-left: 1px solid black;
    border-right: 1px solid black;
    padding: 10px;
}

.projectHeaderImage {
    width: 100%;
    height: 100%;
    cursor: cell;
}

.projectSubTitle {
    width: 100vw-27px;
    padding-top: 3px;
    padding-bottom: 3px;
    border: 1px solid black;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-transform: uppercase;
    text-align: center;
    background-color: var(--background);
    color: var(--foreground);
}

.projectDescription{
    width: 100vw-27px;
    padding-right: 30vw;
    padding-bottom: 10px;
    padding-top: 10px;
}

.projectDetails{
    width: 100vw-27px;
    padding-left: 30vw;
    padding-top: 5px;
    padding-bottom: 5px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    text-align: right;
}

.projectDescription p,
.projectDetails p{
    margin: 0;
}

.projectThumbnails{
    width: 100vw-27px;
    margin-top: 5px;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 5px;
    justify-content: space-between;
}

.thumbnail:hover{
    cursor: zoom-in;
}

.XL {
    width: var(--thumbnailXL);
}

.L {
    width: var(--thumbnailL);
}

.M {
    width: var(--thumbnailM);
}

.S {
    width: var(--thumbnailS);
}

.XS {
    width: var(--thumbnailXS);
}


/* images in slider */
.projectImagesSlider{
    background-color: white;
    position: fixed;
    top: 0px;
    left: 0;
    height: 100%; 
    overflow-x: scroll;
    width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: row;
}

.projectImagesSlider img{
    height: 100%;
    padding-bottom: 10px;
    padding-top: 50px;
    padding-left: 5px;
}

.projectImagesSlider img:last-of-type{
    padding-right: 20px;
}

.sliderHeader{
    position: absolute;
    top: 5px;
    width: 100vw;
    background-color: white;
    color: white;
    left: 0;
    padding-left: 5px;
    padding-right: 5px;
    position: fixed;
    display: flex;
    justify-content: space-between;
}

.sliderTitle {
    width: 90vw;
    padding-top: 10px;
    padding-bottom: 3px;
    line-height: 10pt;
    background: black;
    border: 1px solid white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-transform: uppercase;
    text-align: center;
}

.buttonClose {
    background: var(--background);
    border: 1px solid var(--foreground);
    color: white;
}

.hidden{
    display: none;
}

.noScroll{
    overflow: hidden;
}

.small{
    max-height: var(--heightS);
}

.medium{
    max-height: var(--heightM);
}

.large{
    max-height: var(--heightL);
}

/* media queries */
@media only screen and (max-width: 800px)  {
    body{
        margin: 2vw;
    }

    .projectHeaderImage {
        height: 10vh;
        width: 100%;
        object-fit: cover;
    }

    .projectDescription{
        width: 100%;
        padding-right: 0;
    }
    
    .projectThumbnails{
        width: 100%;
    }
    
    .projectDetails{
        width: 100%;
        justify-content: left;
        padding-left:0;
    }

    .projectContent{
        width: calc(100vw-20px);
        flex-direction: column;
    }

    .projectImagesSlider{
        display: none;
    }
} 

@media only screen and (max-width: 500px){

    .projectThumbnails img {
        width: 100%;
    }
}