@font-face {
    font-family: "Geneva";
    src: url("../fonts/geneva.otf") format("opentype");
}

@font-face {
    font-family: "Chicago";
    src: url("../fonts/pixChicago.otf") format("opentype");
}
@font-face {
    font-family: "Gang";
    src: url("../fonts/gangsmall.otf") format("opentype");
}

* {
	list-style:none;
	margin:0;
	outline:none;
	padding:0;
	text-decoration:none;
  -webkit-box-sizing: border-box;
  box-sizing:border-box;
}
.noselect {
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
					}
a, button, .icon{
	touch-action:manipulation
}
a{
  color: black
}
.title a:hover{
  background: black;
  color:white;
}
body {
    background: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Geneva";
    font-size:12px;
}
.chicago{
  font-family: "Chicago";
  font-size: 10px;
  letter-spacing: 2px;
}
.gangsmall{
  font-family: "Gang" !important;
  font-size: 24px;
  /* letter-spacing: 2px; */
}
.background{
  position: fixed;
  width: 100vw;
  height: calc(100% - 30px);
  background: repeating-conic-gradient(white 0% 25%, #969696 0% 34%) 0% / 4px 4px;
  top: 30px;
}
.border{
  border:2px solid black;
}
.navbar{
  position: fixed;
  font-family:"Chicago";
  font-size:10px;
  letter-spacing: 2px;
  top:0;
  left:0;
  height:37px;
  width:100%;
  display:flex;
  justify-content: flex-start;
  align-items: center;
  background-color: white;
  border-radius:8px 8px 0 0;
  padding:0 20px;
  z-index: 200
}
  .navbar_link{
    padding-left:10px;
    cursor:default;
  }
#time{
  position: absolute;
  right:25px;
  width: 70px;
}
.grabbing{
  cursor:grabbing;
}
.icons_wrap{
  position: absolute;
  top:30px;
  right:35px;
}
.icon{
display: flex;
flex-direction: column;
align-items: center;
margin-bottom:10px;
position: absolute;
top:20px;
right:30px;
width: 70px;
z-index: 10;
cursor:pointer;
}
#icon1{
  top:20px
}
#icon2{
  top:120px;
}
#icon3{
  top:220px;
}
.icon:hover .icon_title, .icon:active .icon_title{
  background-color:black;
  color:white;
}
.icon_title{
  background-color: white;
  margin-top:2px;
  font-family:"Geneva";
  font-size: 23px;
  padding: 2px 3px;
  text-align: center;
}
.window_wrap{
  height: calc(100vh - 30px);
  width: 100vw;
  top: 33px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: -1;
  border: 2px solid black;
  z-index: 10;
  border-top:none;
}
  .window_body{
   width: 510px;
   height:600px;
   background: white;
   position: absolute;
   filter: drop-shadow(2px 3px 0px black);
   z-index: 100;
   margin:0;
   overflow: hidden;
   opacity:1;
   transform-origin: top left;
  }
  .window_nav{
    width: 100%;
    border-bottom: 2px solid black;
    top:0;
    left:0;
    position: absolute;
    height:25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Chicago";
    font-size:12px;
    letter-spacing:2px;
  }
  .window_nav_title{
    background: white;
    padding: 0 3px 0 8px;
    z-index: 10;
  }
  .navbar_lines{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 25px;
    padding:3px 3px 4px 3px;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
  }
  .line{
    border-bottom: 2px solid black;
    width: 100%;
    height: 1px
  }
  .nav_square{
    height:16px;
    width:16px;
    background: white;
    z-index: 10;
    outline:2px solid white;
    cursor:pointer;
  }
  .nav_square:hover{
    background:
         linear-gradient(to top left,
             rgba(0,0,0,0) 0%,
             rgba(0,0,0,0) calc(50% - 0.8px),
             rgba(0,0,0,1) 50%,
             rgba(0,0,0,0) calc(50% + 0.8px),
             rgba(0,0,0,0) 100%),
         linear-gradient(to top right,
             rgba(0,0,0,0) 0%,
             rgba(0,0,0,0) calc(50% - 0.8px),
             rgba(0,0,0,1) 50%,
             rgba(0,0,0,0) calc(50% + 0.8px),
             rgba(0,0,0,0) 100%);
    }
    .nav_square:active{
      background:black
    }
    .nav_square_back{
      position: absolute;
      height:16px;
      width:16px;
      background: white;
      z-index: 1;
      left:15px;
    }
  #square_left{
    position: absolute;
    left:15px;
    top:4px;
  }
.portfolio_body{
  width: 100%;
  height:calc(100% - 26px);
  position: absolute;
  top:26px;
  left:0;
  display: flex;
  flex-direction: column;
  padding: 23px;
}
.portfolio_grid_wrap{
  height:100%;
  padding-top:13px;
}
.portfolio_title{
  width: 100%;
  text-align: center;
}
.portfolio_grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 30px;

}
.portfolio_grid a img{
  width: 300px;
  filter: grayscale(1);
  cursor:pointer
}
.portfolio_grid img:hover{
  filter: grayscale(0);
}
.window_notepad{
  width: 528px;
  height: 526px;
  background: white;
  position: absolute;
  filter: drop-shadow(2px 3px 0px black);
  display:none;
  margin:0;
  overflow: hidden;
  opacity:1;
}
.marginoff{
  margin:0
}
.hidewindow{
  height:0;
  width:0;
  opacity:0;
}
#notepad{
  transform-origin: top left;
}
  .notepad_nav{
    position: absolute;
    top:0;
    left:0;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-bottom:2px solid black;
    font-size:24px;
  }
  .notepad_linewrap{
    position: absolute;
    bottom: 0px;
    height: 7px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
  }
  .notepad_fold_wrap{
    position: absolute;
    bottom: 7px;
    display: flex;
    width: 100%;
    align-items: flex-end;
  }
.notepad_fold{
  height:30px;
  width:30px;
  border:2px solid black;
  border-left: none;
  border-bottom: none;
  background:
    linear-gradient(to top right,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) calc(50% - 1.3px),
        rgba(0,0,0,1) 50%,
        rgba(0,0,0,0) calc(50% + 1.3px),
        rgba(0,0,0,0) 100%);
}
.notepad_content{
  display:flex;
  flex-direction: column;
  position: absolute;
  top:33px;
  height:calc(100% - 43px);
  width: 100%;
  padding: 30px;
  font-size: 30px;
}
.block_title{
  padding-bottom:30px;
  font-size: 40px;
}
.block_p{
  line-height: 1.7rem;
}
#closenotepad,#closecontact{
  position: absolute;
  top: 9px;
  left:9px;
}

#portfolio{
  display:none;
}
.contact_wrap{
  width:500px;
  height:200px;
  border:1px solid black;
  padding:2px;
  background:white;
  filter: drop-shadow(2px 3px 0px black);
  position: absolute;
  display: none;
}
  .contact_inner{
    width: 100%;
    height:100%;
    display:flex;
    justify-content: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

@media (max-width: 768px) {

  .window_body, #notepad, .contact_wrap{
    width:100%;
  }
  .notepad_content{
    top: 43px;
  }
  #portfolio, #notepad, .contact_wrap{
    height: calc(80vh - 1px);
    top:0px;
  }
  .contact_wrap{
    margin-top:3px;
  }
  .window_body,.window_notepad,.contact_wrap{
    filter:none;
  }
  .icon{
    right:5px;
  }
  #time{
    right:10px;
  }
  .navbar_link{
    padding-left:0;
  }
  .portfolio_grid_wrap{
    display: flex;
    justify-content: center;
  }
  .portfolio_grid a img {
    width: 41vh;
    filter: grayscale(1);
    cursor: pointer;
    max-width: 111vw;
  }
}
