@media screen and (min-width: 481px) and (max-width: 1023px) {
  /* header */
  header {
    z-index: 50;
    background-color: #fffbe8;
    width: 100vw;
    height: 7vh;
    filter: drop-shadow(0 5px 3px #11111133);
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  header h2 {
    margin: 0;
    margin-left: -50px;
    font-family: "Raleway", sans-serif;
    font-weight: lighter;
    font-size: x-large;
    color: #7fc8b4;
    opacity: 0.85;
  }
  header p {
    margin: 0;
    margin-left: 50px;
    font-family: "Raleway", sans-serif;
    font-weight: lighter;
    font-size: normal;
    color: #ef7c7f;
    opacity: 0.85;
  }
  header a {
    text-decoration: none;
  }

  /* body */
  body {
    margin: 0;
  }
  #works {
    z-index: 0;
    height: 150vh;
    background-color: #7fc8b4;
    margin: 0;
    position: relative;
  }
  #works .Wtitle {
    z-index: 10;
    /* background-color: #c8b13b4a; */
    position: absolute;
    top: 10vh;
    left: 0;
    height: 25vh;
    width: 50vw;
  }
  #works .Wtitle .WTtext {
    margin-left: 5vw;
  }
  #works .Wtitle .WTtext h1 {
    font-family: "Teko", sans-serif;
    font-weight: lighter;
    font-size: 5em;
    color: #fffbe8;
    margin: 0;
    margin-top: -35px;
    letter-spacing: 0.075em;
    filter: drop-shadow(1px 0px 3px #11111177);
  }
  #works .Wtitle .WTtext p {
    font-family: "Stick", sans-serif;
    font-weight: lighter;
    font-size: 1em;
    color: #fffbe8;
    letter-spacing: 0.075em;
    margin: 0;
  }
  #works .Wtitle .WTbase {
    /* background-color: #5599b6; */
    width: 100%;
    height: 50%;
    margin-top: -45px;
  }
  #works .Wtitle .WTbase .WTbasetop {
    /* background-color: #05384d; */
    margin-top: -7%;
    width: 13em;
    border-bottom: 10px solid #05384d;
    border-left: 1em solid transparent;
    border-right: 1em solid transparent;
  }
  #works .Wtitle .WTbase .WTbasebottom {
    width: 15em;
    height: 30%;
    background-color: #fffbe8;
  }

  #works .Wback {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 150vh;
    margin: 0;
    overflow: hidden;
  }
  #works .Wback .Wborder {
    z-index: 10;
    width: 20vh;
    height: 45vw;
    transform: rotate(90deg);
    background-color: #7fc8b488;
    background-image: linear-gradient(
      #fffbe8 50%,
      transparent 50%,
      transparent 100%
    );
    background-size: 5% 5%;
    opacity: 0.55;
  }
  #works .Wback .Wborder:nth-child(1) {
    position: absolute;
    top: -20vh;
    left: 35%;
  }
  #works .Wback .Wborder:nth-child(2) {
    position: absolute;
    top: -20vh;
    left: 95%;
  }
  #works .Wback .Wborder:nth-child(3) {
    position: absolute;
    top: 15vh;
    left: 0;
  }
  #works .Wback .Wborder:nth-child(4) {
    position: absolute;
    top: 15vh;
    left: 60%;
  }
  #works .Wback .Wborder:nth-child(5) {
    position: absolute;
    top: 50vh;
    left: 35%;
  }
  #works .Wback .Wborder:nth-child(6) {
    position: absolute;
    top: 50vh;
    left: 95%;
  }
  #works .Wback .Wborder:nth-child(7) {
    position: absolute;
    top: 85vh;
    left: 0;
  }
  #works .Wback .Wborder:nth-child(8) {
    position: absolute;
    top: 85vh;
    left: 60%;
  }
  #works .Wback .Wborder:nth-child(9) {
    position: absolute;
    top: 120vh;
    left: 35%;
  }
  #works .Wback .Wborder:nth-child(10) {
    position: absolute;
    top: 120vh;
    left: 95%;
  }

  #works .Wcontentback {
    /* background-color: #05374d72; */
    z-index: 25;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 110vh;
    margin-top: 30vh;
  }
  #works .Wcontent {
    background-color: #d1ecf872;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100vw;
    height: 100vh;
  }
  #works .Wcontent img {
    background-color: #ef7c7f;
    width: 45vw;
    margin: 15px;
  }
  #works .Wcontent img:hover {
    filter: drop-shadow(0px 0px 5px #fffbe8);
  }

  /* footer */
  footer {
    z-index: 0;
    width: 100vw;
    height: 10vh;
    background-color: #fffbe8;
  }
  footer small {
    color: #05384d;
  }
  footer p {
    margin: 0;
    padding-top: 3vh;
    text-align: center;
    font-size: normal;
  }
}
