/*-- -------------------------- -->
<---         Portfolio          -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #portfolio {
    padding-top: 3.125em;
    padding-bottom: 35%;
    position: relative;
    z-index: 5;
  }
  #portfolio .container {
    width: 96%;
    max-width: 113.875em;
    padding: 0;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 1.875em;
    font-size: min(1.3vw, 1em);
  }
  #portfolio .container .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 1.875em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(1) {
    width: 90vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(2) {
    width: 90vw;
    height: 36.8125em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(3) {
    width: 90vw;
    height: 35.5625em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(4) {
    width: 90vw;
    height: 32em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(5) {
    width: 90vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(6) {
    width: 90vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(7) {
    width: 90vw;
    height: 45.5625em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(1) {
    width: 90vw;
    height: 37em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(2) {
    width: 90vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(3) {
    width: 90vw;
    height: 44.9375em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(4) {
    width: 90vw;
    height: 32em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(5) {
    width: 90vw;
    height: 45.5625em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(6) {
    width: 90vw;
    height: 32em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(7) {
    width: 90vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(8) {
    width: 90vw;
    height: 39.3125em;
  }
  #portfolio .container .row picture {
    position: relative;
    display: block;
  }
  #portfolio .container .row picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 0.5em;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(1) {
    width: 45vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(2) {
    width: 45vw;
    height: 36.8125em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(3) {
    width: 45vw;
    height: 35.5625em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(4) {
    width: 45vw;
    height: 32em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(5) {
    width: 45vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(6) {
    width: 45vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(1) picture:nth-of-type(7) {
    width: 45vw;
    height: 45.5625em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(1) {
    width: 45vw;
    height: 30.75em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(2) {
    width: 45vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(3) {
    width: 45vw;
    height: 44.9375em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(4) {
    width: 45vw;
    height: 25.75em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(5) {
    width: 45vw;
    height: 45.5625em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(6) {
    width: 45vw;
    height: 25.75em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(7) {
    width: 45vw;
    height: 39.3125em;
  }
  #portfolio .container .row:nth-of-type(2) picture:nth-of-type(8) {
    width: 45vw;
    height: 39.3125em;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  #portfolio {
    padding: 9.375em 0;
  }
}
/*-- -------------------------- -->
<---    Final Call To Action    -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #cta {
    background-color: var(--primary);
    position: relative;
    padding: 3.125em 0;
  }
  #cta a {
    background-color: #000;
    color: #fff;
  }
  #cta .container {
    text-align: center;
  }
  #cta .title {
    font-weight: bold;
    font-size: min(9vw, 3em);
    line-height: 1.20833333;
    color: #fff;
    position: relative;
    margin-bottom: 0.5em;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  #cta {
    padding: 3em 0;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  #cta {
    position: relative;
    margin-top: 1.25em;
  }
  #cta:before {
    display: none;
  }
  #cta:after {
    content: "";
    position: absolute;
    display: block;
    height: 69.25em;
    width: 125em;
    background: url("../images/cta-squares.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    z-index: -3;
  }
  #cta .container {
    width: 90.0625%;
    margin: auto;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0em) {
  body.dark-mode #cta:after {
    display: none;
  }
}
