@media screen and (min-width: 1024px) {
  /* header */
  header {
    z-index: 50;
    background-color: #fffbe8;
    width: 100vw;
    height: 8vh;
    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: xx-large;
    color: #7fc8b4;
    opacity: 0.85;
  }
  header p {
    margin: 0;
    margin-left: 50px;
    font-family: "Raleway", sans-serif;
    font-weight: lighter;
    font-size: large;
    color: #ef7c7f;
    opacity: 0.85;
  }
  header a {
    text-decoration: none;
  }

  /* body */
  body {
    margin: 0;
  }
  #works {
    z-index: 0;
    /* height: 150vh; */
    height: calc(50vh * 3 + 50px * 3 + 40vh);
    /* background-color: #7fc8b4; */
    margin: 0;
    position: relative;
  }
  #works .Wtitle {
    z-index: 10;
    /* background-color: #c8b13b4a; */
    position: absolute;
    top: 12.5vh;
    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: 7em;
    color: #fffbe8;
    margin: 0;
    margin-top: -45px;
    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: 1.75em;
    color: #fffbe8;
    letter-spacing: 0.075em;
    margin: 0;
  }
  #works .Wtitle .WTbase {
    /* background-color: #5599b6; */
    width: 100%;
    height: 50%;
    margin-top: -50px;
  }
  #works .Wtitle .WTbase .WTbasetop {
    /* background-color: #05384d; */
    margin-top: -9%;
    width: 18em;
    border-bottom: 10px solid #05384d;
    border-left: 1em solid transparent;
    border-right: 1em solid transparent;
  }
  #works .Wtitle .WTbase .WTbasebottom {
    width: 20em;
    height: 50%;
    background-color: #fffbe8;
  }

  /*back*/
  #works .back {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fffbe855;
    z-index: 5;
  }
  #works .pattern {
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 25px,
        #05384d11 26px,
        #05384d11 26px,
        transparent 27px,
        transparent 51px,
        #05384d11 52px,
        #05384d11 52px,
        transparent 53px,
        transparent 77px,
        #05384d11 78px,
        #05384d11 78px,
        transparent 79px,
        transparent 103px,
        #05384d11 104px,
        #05384d11 104px,
        transparent 105px,
        transparent 129px,
        #05384d11 130px,
        #05384d11 130px
      ),
      repeating-linear-gradient(
        to right,
        transparent 25px,
        #05384d11 26px,
        #05384d11 26px,
        transparent 27px,
        transparent 51px,
        #05384d11 52px,
        #05384d11 52px,
        transparent 53px,
        transparent 77px,
        #05384d11 78px,
        #05384d11 78px,
        transparent 79px,
        transparent 103px,
        #05384d11 104px,
        #05384d11 104px,
        transparent 105px,
        transparent 129px,
        #05384d11 130px,
        #05384d11 130px
      );
  }

  /* #works .Wback {
    background-color: #cbefff72;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(50vh * 3 + 50px * 3 + 40vh);
    margin: 0;
    overflow: hidden;
  }
  #works .Wback .Wborder {
    z-index: 10;
    width: 30vh;
    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: -30vh;
    left: 35%;
  }
  #works .Wback .Wborder:nth-child(2) {
    position: absolute;
    top: -30vh;
    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: 60vh;
    left: 35%;
  }
  #works .Wback .Wborder:nth-child(6) {
    position: absolute;
    top: 60vh;
    left: 95%;
  }
  #works .Wback .Wborder:nth-child(7) {
    position: absolute;
    top: 105vh;
    left: 0;
  }
  #works .Wback .Wborder:nth-child(8) {
    position: absolute;
    top: 105vh;
    left: 60%;
  }
  #works .Wback .Wborder:nth-child(9) {
    position: absolute;
    top: 150vh;
    left: 35%;
  }
  #works .Wback .Wborder:nth-child(10) {
    position: absolute;
    top: 150vh;
    left: 95%;
  } */

  #works .Wcontentback {
    background-color: #05374d72;
    z-index: 25;
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100vw;
    /* height: 160vh; */
    margin-top: 40vh;
    margin-bottom: 10vh;
  }
  #works .Wcontent {
    background-color: #d1ecf872;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100vw;
    /* margin-top: 50px; */
    /* height: 100vh; */
  }
  @media screen and (max-height: 700px) {
    #works .Wcontent img {
      /* width: 30vw; */
      height: 40vh;
      margin: 25px;
    }
  }
  @media screen and (min-height: 700px) {
    #works .Wcontent img {
      /* width: 30vw; */
      height: 45vh;
      margin: 25px;
    }
  }

  #works .Wcontent img:hover {
    /* width: 25vw; */
    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: larger;
  }
}
