@import url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap');

body {
  font-family: Roboto Mono, monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #000000;
  background-color: rgb(247, 247, 247);
}

header {
  position: fixed;
  height: 60px;
  width: 100%;
  background-color: #e6e7e8;
  display: flex;
  padding: 10px 20px 10px 20px;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.nav-box {
  float: left;
  width: 30px;
  height: 30px;
  border-top: 10px solid #df613c;
  background-color: #ffffff;
  display: flex;
}

.nav-a {
  font-weight: 700;
  float: right;
  color: #999999;
  display: flex;
  padding-left: 10px;
}

.h2-first {
  font-size: 12px;
  font-weight: 800;
  color: #df613c;
  padding-top: 10px;
  padding-bottom: 10px;
}

.h2-second {
  font-size: 12px;
  font-weight: 800;
  color: #000000;
  padding-bottom: 5px;
}

h3 {
  font-size: 12px;
  font-weight: 800;
  color: #999999;
  padding-bottom: 5px;
}

p {
  padding-top: 5px;
  font-size: 10px;
  padding-bottom: 10px;
}

.small-text-box {
 	position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  width: 350px;
  border-top: 10px solid #df613c;
  background-color: #ffffff;
}

.work-section {
  display: block;
  width: 100%;
  height: 100%;
}

.small-work-box {
  position: absolute;
  width: 800px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-top: 10px solid #999999;
  background-color: #ffffff;
}

.image-box {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 800px;
}

/*
.work-text-box {
 	position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  max-width: 800px;
  border-top: 10px solid #df613c;
  background-color: #ffffff;
}
*/

a {
  color: #999999;
  text-decoration: none;
}

a:hover {
  font-weight: 800;
  color: #df613c;
}



@media (max-width:860px) {
  
  body {
      font-size: 8px;
  }
  
  .h2-first {
  font-size: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  }
  
  .h2-second {
  font-size: 10px;
  padding-bottom: 5px;
  }
  
  h3 {
  font-size: 10px;
 	padding-bottom: 5px;
  }
  
  p {
  padding-top: 5px;
  font-size: 8px;
  padding-bottom: 10px;
  }
  
  .small-text-box {
   width: 280px;
  }
  
  .nav-a {
    font-size: 12px;
  }
  
  .image-box {
    width: 600px;
  }
  
  .small-work-box {
    width: 600px;
  }
  
}

@media (max-width:600px) {
  
    .image-box {
    width: 400px;
  }
  
  .small-work-box {
    width: 400px;
  }
  
}
