/*-- -------------------------- -->
<---     Website Design         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #web-design {
    padding: 5em 1.25em;
    background-image: url('../images/design-background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  #web-design .container {
    width: 92%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 3.75em;
    margin-top: 5em;
  }
  #web-design .top-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5em;
  }
  #web-design .top-row .text-col h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0.75em;
    color: white;
  }
  #web-design .top-row .text-col p {
    font-size: 1.125em;
    line-height: 1.75em;
    color: #f0f0f0;
  }
  #web-design .top-row .img-col img {
    width: 100%;
    max-width: 30em;
    height: auto;
  }
  #web-design .feature-row {
    display: flex;
    flex-direction: column;
    gap: 2.5em;
    text-align: center;
  }
  #web-design .feature-row .feature {
    background-color: white;
    border-radius: 2%;
    padding-bottom: 2em;
  }
  #web-design .feature-row .feature img {
    height: 9em;
    width: auto;
    margin-bottom: 1em;
  }
  #web-design .feature-row .feature h3 {
    font-size: 1.25em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.625em;
  }
  #web-design .feature-row .feature p {
    font-size: 1em;
    line-height: 1.5em;
    color: var(--primaryShade);
    max-width: 21.25em;
    margin: auto;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #web-design .top-row .img-col img {
    max-width: 32.5em;
  }
}
/* Desktop */
@media only screen and (min-width: 64em) {
  #web-design {
    padding: 6.25em 0;
  }
  #web-design .container {
    max-width: 82.5em;
    margin: 0 auto;
    padding: 0 1.25em;
  }
  #web-design .top-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  #web-design .top-row .text-col {
    flex: 1;
  }
  #web-design .top-row .text-col h2 {
    font-size: 3.75em;
  }
  #web-design .top-row .text-col p {
    font-size: 1.25em;
    line-height: 2em;
  }
  #web-design .top-row .img-col {
    flex: 1.5;
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5em;
  }
  #web-design .top-row .img-col img {
    max-width: 100%;
  }
  #web-design .feature-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    gap: 0;
  }
  #web-design .feature-row .feature {
    flex: 0 1 calc(32.08333333%);
    padding: 0 0.625em;
    padding-bottom: 3em;
    box-sizing: border-box;
    background-color: white;
    border-radius: 2%;
  }
  #web-design .feature-row .feature img {
    width: 100%;
    max-width: 22.5em;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  #web-design .feature-row .feature h3 {
    font-size: 1.5em;
    color: var(--primary);
  }
  #web-design .feature-row .feature p {
    font-size: 1.25em;
    max-width: 17.5em;
    margin: 0 auto;
    color: var(--primaryShade);
  }
}
/*-- -------------------------- -->
<---    Final Call To Action    -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #cta {
    position: relative;
    padding: 3.125em 0;
  }
  #cta:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: .7;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #cta .container {
    text-align: center;
  }
  #cta picture {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -2;
  }
  #cta picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #cta .title {
    font-weight: 900;
    font-size: min(9vw, 3em);
    line-height: 1.20833333;
    color: #fff;
    position: relative;
    margin-bottom: 0.75em;
    text-align: center;
  }
  #cta p {
    color: #fff;
    text-align: center;
    opacity: 1;
    margin: auto;
    margin-bottom: 2em;
    width: 96%;
    max-width: 33.22222222em;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  #cta {
    padding: 10.5em 0;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  #cta {
    position: relative;
    margin-top: 6.25em;
  }
  #cta:before {
    display: none;
  }
  #cta:after {
    content: '';
    position: absolute;
    display: block;
    height: 69.25em;
    width: 125em;
    opacity: 1;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -3;
  }
  #cta .container {
    width: 90.0625%;
    margin: auto;
  }
  #cta picture {
    width: 90.0625%;
    left: 50%;
    transform: translateX(-50%);
  }
  #cta picture:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: .7;
    top: 0;
    left: 0;
    z-index: 1;
  }
}
