@media screen and (max-width: 480px) {
  /* 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: large;
    color: #7fc8b4;
    opacity: 0.85;
  }
  header p {
    margin: 0;
    margin-left: 10px;
    font-family: "Raleway", sans-serif;
    font-weight: lighter;
    font-size: small;
    color: #ef7c7f;
    opacity: 0.85;
  }
  header a {
    text-decoration: none;
  }

  /* body */
  body {
    margin: 0;
  }
  #works {
    z-index: 0;
    /* height: 200vh; */
    height: calc(30vh * 5 + 20px * 5 + 40vh);
    background-color: #7fc8b4;
    margin: 0;
    position: relative;
  }
  #works .Wtitle {
    /* background-color: #c8b13b4a; */
    z-index: 10;
    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: -30px;
    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;
    margin-left: 15px;
  }
  #works .Wtitle .WTbase {
    /* background-color: #5599b6; */
    width: 100%;
    height: 50%;
    margin-top: -30px;
  }
  #works .Wtitle .WTbase .WTbasetop {
    /* background-color: #05384d; */
    margin-top: -7%;
    /* width: 9em; */
    border-bottom: 5px solid #05384d;
    border-left: 0.5em solid transparent;
    border-right: 0.5em solid transparent;
  }
  #works .Wtitle .WTbase .WTbasebottom {
    /* width: 10em; */
    height: 25%;
    background-color: #fffbe8;
  }

  #works .Wback {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    /* height: 200vh; */
    height: calc(30vh * 5 + 20px * 5 + 40vh);
    margin: 0;
    overflow: hidden;
  }
  #works .Wback .Wborder {
    z-index: 10;
    width: 35vw;
    height: 40vh;
    /* transform: rotate(90deg); */
    background-color: #7fc8b488;
    background-image: linear-gradient(
      #fffbe8 50%,
      transparent 50%,
      transparent 100%
    );
    background-size: 7% 7%;
    opacity: 0.85;
  }
  #works .Wback .Wborder:nth-child(1) {
    position: absolute;
    top: 30vh;
    left: 0;
  }
  #works .Wback .Wborder:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
  }
  #works .Wback .Wborder:nth-child(3) {
    position: absolute;
    top: 90vh;
    left: 0;
  }
  #works .Wback .Wborder:nth-child(4) {
    position: absolute;
    top: 60vh;
    right: 0;
  }
  #works .Wback .Wborder:nth-child(5) {
    position: absolute;
    top: 170vh;
    left: 0;
  }
  #works .Wback .Wborder:nth-child(6) {
    position: absolute;
    top: 120vh;
    right: 0;
  }
  #works .Wback .Wborder:nth-child(7) {
    position: absolute;
    top: 230vh;
    left: 0;
  }
  #works .Wback .Wborder:nth-child(8) {
    position: absolute;
    top: 180vh;
    right: 0;
  }
  #works .Wback .Wborder:nth-child(9) {
    opacity: 0;
  }
  #works .Wback .Wborder:nth-child(10) {
    opacity: 0;
  }

  #works .Wcontentback {
    /* background-color: #05374d72; */
    z-index: 25;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    /* height: 110vh; */
    height: calc(30vh * 5 + 20px * 5);
    margin-top: 30vh;
  }
  #works .Wcontent {
    /* background-color: #d1ecf872; */
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100vw;
    /* height: 100vh; */
  }
  #works .Wcontent img {
    /* width: 75vw; */
    height: 30vh;
    margin-top: 20px;
  }
  #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;
  }
}
