/* body {
    visibility: hidden;
} */
/* *{
    outline: 1px solid red !important;
} */
*{
    font-family:'Courier New', Courier, monospace;
}
header{
    position:fixed;
    background-color: white;
    top:0;
    width: 100%;
    background-color: white;
}
#blinker {
    padding-top:10vh;
    line-height: 100%;
    margin: 0;
    display: block;
}
h1 {
    margin-bottom: 2vh;
    font-size: 20px;
    padding:0;
    top:0;
    scroll-margin-top: 25vh;
}
h3 {
    font-size: 18px;
}
footer{
    font-size:xx-small;
    color: rgba(50,50,50,1);
    margin: 50px 0 10px 0;
    position: relative;
    bottom: 20px;
    width: 100%;
    visibility: hidden;
}
#top{
    display: flex;
    gap: 5vw;
}
#mainmenu a{
    text-decoration: none;
}
#mainmenu a:hover{
    text-decoration: underline;
}

#content a{
    color:rgba(50,50,50,1);
    text-decoration: underline;
    text-underline-offset: 1px;
}
#content a:visited{
    color:rgba(150,150,150,1);
}
#content a:hover{
    text-decoration: none;
}

figure{
    margin: 0;
    padding: 0;
}

#titlelink{
    color: inherit;
    text-decoration: none;
}

.icon{
    height:25px;
    width: 25px;
}

#content {
    top:11vh;
    position: fixed;
    height: 100%;
    visibility: hidden;
}

#mainmenu{
    position: relative;
    display: none;
    flex-flow: row;
    gap: 2vw;
}

#contact {
    position: fixed;
    top: 10px;
}


#mainmenutext{
    font-family:'Courier New', Courier, monospace;
    color: black;
    margin-top: 0;
    margin-bottom: 0;
}

#projectarticle{
    scroll-behavior: smooth;
    scrollbar-width: 0.5vw;
    scrollbar-color: black rgba(255,255,255,0);
    margin-bottom: 5vh;
}

body *::-webkit-scrollbar{
    width: 0.5vw;
    height: 0.5vh;
}

body *::-webkit-scrollbar-thumb{
    background-color: black;
    border-radius: 25px;
}
#bio{
    top:11vh;
}
#bio h3{
    padding: 0;
    margin: 0;
    padding-top: 3vh;
}
#bio h4{
    padding: 0;
    margin: 0;
    padding-top: 20px;
}
#bio h5{
    padding: 0;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}
#cutsheet, #bio{
    height: 35vh;
    display: flex;
    flex-wrap: wrap;
    gap:8vh 5vw;
    height: 89vh;
    overflow: scroll;
}
p.details{
    line-height: 90%;
    margin: 0;
    padding: 0;
    font-size: smaller;
    color: rgba(50,50,50,1);
}

.thumbnail::after{
    content: "";
}
.iframecontainer {
    margin-top: -50px;
    clip-path: inset(50px 0 0 0);
}
.note{
    font-size: smaller;
    font-style: italic;
    margin:0;
    padding: 0;
}

@media screen and (orientation:landscape) {
    html{
        --orientation: column;
    }
    body{
        padding-left:2vw;
    }
    h1 {
        margin-bottom: 1vh;
    }

    #mainmenu{
        gap: 2vw;
    }
    #contact {
        right: 50px;
    }
    #switch:checked ~ .articlelayout{
        flex-direction: row-reverse;
    }
    #switch:checked ~ .articlelayout > #projectmenu {
        padding-left: 2vw;
    }
    #switch:checked ~ .articlelayout > #projectarticle {
        padding-right: 2vw;
        padding-left: 0;
    }
    #switch:checked ~ .articlelayout > .projectmenuborder {
        border-left: black;
        border-left-style: solid;
        border-right: none;
    }
    #switchlabel{
        display: block;
    }
    .articlelayout{
        display: flex;
    }
    #projectmenu{
        /* padding-top: 6vh; */
        height: 90vh;
        display: flex;
        flex-direction: column;
        overflow: scroll;
        padding-right: 0;
    }
    .projectmenuborder{
        border-right: black;
        border-right-style: solid;
    }
    #projectmenubutton{
        display: none;
    }
    .thumbnail {
        height: 30vh;
        /* z-index: 1; */
        position: relative;
    }
    #projectarticle{
        width: 80vw;
        font-family:'Courier New', Courier, monospace;
        overflow: scroll;
        height: 90vh;
        margin-top:0;
        padding-top:0;
        padding-left: 2vw;
        padding-right: 1.75vw;
    }
    .location {
        color:rgb(150, 150, 150)
    }
    .projectlinkcontainer{
        margin-right:2vw;
        margin-bottom:2vw;
    }
    .projectmenuimage{
        width:10vw;
    }
    #menulabel{
        display: none;
    }
    #projectmenubutton{
        display: none;
    }
    .projectimage{
        max-width:90%;
        max-height: 80vh;
    }
    .iframecontainer {
        height: 40vw;
        width: 75vw;
    }
}
@media screen and (orientation:portrait) {
    html{
        --button-width: 20px;
    }
    h1 {
        margin-bottom: 1vh;
    }

    #mainmenu{
        gap: 5vw;
    }
    #contact {
        right: 8px;
    }
    #content{
        padding-top: 0;
        top: 9vh;
    }
    #cutsheet{
        flex-flow: column;
    }
    .articlelayout{
        display: flex;
        flex-direction: column;
        height: 90vh;
        width:98vw;
    }
    #projectmenu{
        /* padding-top: 6vh; */
        overflow: scroll;
        width: 100vw;
        display: flex;
        flex-direction: row;
        overflow: scroll;
        flex: none;
    }
    .projectmenuborder{
        border-bottom: black;
        border-bottom-style: solid;
    }
    .thumbnail {
        width: 95vw;
        /* z-index: -1; */
        position: relative;
    }
    #projectarticle{
        width: 100%;
        font-family:'Courier New', Courier, monospace;
        overflow: scroll;
        /* height: 100vh; */
        margin-top:0;
        padding-top:0;
        padding-top: 4vw;
    }
    .projectlinkcontainer{
        margin-right:4vw;
        margin-bottom:2vw;
    }
    .projectmenuimage{
        height:10vh;
    }
    #switchlabel{
        display:none;
    }
    #switch{
        display:none;
    }
    
    #projectmenubutton[type=checkbox]{
        height: 0;
        width: 0;
        visibility: hidden;
    }
    
    #menulabel {
        position: absolute;
        right: 0;
        top: -3vh;
        padding: 0;
        margin: 0;
        cursor: pointer;
        background: transparent;
        width: var(--button-width);
        height: var(--button-width)/2;
        text-indent: -9999px;
    }
    
    #menulabel:after {
        position: absolute;
        content: '';
        background: transparent;
        border-width: 0 calc(var(--button-width)/2) calc(var(--button-width)/2) calc(var(--button-width)/2);
        left: calc(-0.5*var(--button-width));
        width: var(--button-width);
        height: var(--button-width)/2;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        border-color: transparent;
        border-style: solid;
        border-bottom-color: gray;
        transition: 0.3s;
    }
    
    #projectmenubutton:checked + #menulabel {
        background: transparent;
        top:-3vh;
    }
    
    #projectmenubutton:checked + #menulabel::after {
        left: calc(-0.5*var(--button-width));
        transform: rotate(180deg);
        border-color: transparent transparent black transparent;
    }
    
    #menulabel:active:after {
        width: 25px;
    }
    #projectmenubutton:checked ~ #projectmenu{
        display: none;
    }
    #projectmenubutton:checked ~ #projectarticle{
        padding-top:0;
    }
    .projectimage{
        max-width:96vw;
        max-height: 80vh;
    }
    .iframecontainer {
        height: 96vw;
        width: 96vw;
    }
}

.projecttitle{
    font-family:'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    line-height: 90%;
    /* padding-bottom: 2vh; */
}
.projectsubtitle{
    margin-top:1vh;
    opacity: 0.9;
}
.projectlink {
    filter:saturate(.7) opacity(.7);
}
.projectlink:hover {
    filter:saturate(1) opacity(1);
}
.projectmenutitle{
    font-family:'Courier New', Courier, monospace;
    font-size: small;
    margin: 0;
    padding: 0;
    line-height: 90%;
    display: table-caption;
    caption-side: bottom;
}
.cutsheettitle{
    font-family:'Courier New', Courier, monospace;
    font-size:2vh;
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 90%;
}

.thumbnailfigure{
    display: table;
    margin: 0;
}

#switch[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}

#switchlabel {
	cursor: pointer;
	text-indent: -9999px;
	width: 50px;
	height: 25px;
	background: grey;
	/* display: block; */
	border-radius: 25px;
    z-index: 2;
    position: absolute;
    top:-50px;
    right:4vh;

}

#switchlabel:after {
    position: absolute;
    content: '';
    left: 2px;
    top: 2px;
	width: 21px;
	height: 21px;
	background: #fff;
	border-radius: 25px;
	transition: 0.3s;
    /* z-index: 2; */
}

#switch:checked + #switchlabel {
	background: black;
}

#switch:checked + #switchlabel:after {
	left: calc(100% - 2px);
	transform: translateX(-100%);
}

#switchlabel:active:after {
	width: 25px;
}

figcaption{
    font-size: smaller;
    color: rgba(50,50,50,1);
    padding-top: 0px;
    padding-bottom: 10px;
}
#switch{
    display: none !important;
}
#switchlabel{
    display: none !important;
}

@media screen{
    .print{
        display: none;
    }

}