/*-- -------------------------- -->
<---         Portfolio          -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #portfolio {
    padding-top: 3.75em;
    padding-bottom: 2.75em;
    position: relative;
    z-index: 5;
  }
  #portfolio .container {
    width: 96%;
    max-width: 66.1em;
    padding: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5em;
    font-size: min(1.3vw, 1em);
  }
  #portfolio .container .row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5em;
  }
  #portfolio .container .row:nth-of-type(1) picture.one {
    width: 21em;
    height: 28.35em;
  }
  #portfolio .container .row:nth-of-type(1) picture.two {
    width: 21em;
    height: 31.45em;
  }
  #portfolio .container .row:nth-of-type(1) picture.three {
    width: 21em;
    height: 25.6em;
  }
  #portfolio .container .row:nth-of-type(2) picture.one {
    width: 21em;
    height: 24.6em;
  }
  #portfolio .container .row:nth-of-type(2) picture.two {
    width: 21em;
    height: 25.85em;
  }
  #portfolio .container .row:nth-of-type(2) picture.three {
    width: 21em;
    height: 31.45em;
  }
  #portfolio .container .row:nth-of-type(3) picture.one {
    width: 21em;
    height: 31.25em;
  }
  #portfolio .container .row:nth-of-type(3) picture.two {
    width: 21em;
    height: 22.6em;
  }
  #portfolio .container .row:nth-of-type(3) picture.three {
    width: 21em;
    height: 31.45em;
  }
  #portfolio .container .row picture {
    position: relative;
    display: block;
  }
  #portfolio .container .row picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  #portfolio {
    padding-top: 5.5em;
    padding-bottom: 11.4em;
  }
}
/*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #cta {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 8.3em 0 12.5em;
  }
  #cta:before {
    content: '';
    position: absolute;
    display: block;
    height: 7.75em;
    width: 190em;
    background: url("../images/cta-top.svg");
    background-size: contain;
    background-position: 0%;
    background-repeat: no-repeat;
    opacity: 1;
    top: -2.9em;
    left: -14.85em;
    z-index: 1;
  }
  #cta:after {
    content: '';
    position: absolute;
    display: block;
    height: 7.75em;
    width: 190em;
    background: url("../images/cta-bottom.svg");
    background-size: contain;
    background-position: 100%;
    background-repeat: no-repeat;
    opacity: 1;
    bottom: -0.25em;
    right: 0em;
    z-index: 1;
  }
  #cta picture {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -2;
  }
  #cta picture:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #3f1415;
    opacity: .97;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #cta picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #cta .container {
    width: 96%;
    margin: auto;
  }
  #cta .topper {
    display: block;
    color: var(--accessible);
    font-size: 0.7em;
    text-transform: uppercase;
    line-height: 1.4em;
    font-weight: bold;
    margin-bottom: 1.42857143em;
    letter-spacing: .05em;
    text-align: center;
  }
  #cta h2 {
    font-size: min(10.4vw, 2.4em);
    line-height: 1.08333333;
    color: #fff;
    max-width: 12.60416667em;
    margin: auto;
    margin-bottom: 0.77083333em;
    text-align: center;
  }
  #cta p {
    font-size: 0.9em;
    line-height: 1.43em;
    margin: auto;
    margin-bottom: 4.11111111em;
    max-width: 35.27777778em;
    text-align: center;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #cta {
    font-size: min(1.87vw, 1em);
    padding-top: 8.3em;
    padding-bottom: 11.3em;
  }
}
/* Small Desktop */
@media only screen and (min-width: 1300px) {
  #cta {
    background: url("../images/cta.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  #cta picture img {
    display: none;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1600px) {
  #cta:before {
    left: 0;
    height: 10em;
    top: -5em;
  }
  #cta:after {
    height: 10em;
    bottom: -5em;
  }
}
