/* Primary */
:root {
  /* Typography */
  --ff-barlow: "Barlow", sans-serif;
  --ff-fraunces: "Fraunces", serif;
  --font-size: 18px;
  /* Color */
  /* Primary */
  --soft-red: hsl(7, 99%, 70%);
  --yellow: hsl(51, 100%, 49%);
  --dark-desaturated-cyan: hsl(167, 40%, 24%); /* (graphic design text) */
  --dark-blue: hsl(198, 62%, 26%); /*(photography text)*/
  --dark-moderate-cyan: hsl(168, 34%, 41%); /*(footer)*/

  /* Neutral */

  --very-dark-desaturated-blue: hsl(212, 27%, 19%);
  --very-dark-grayish-blue: hsl(213, 9%, 39%);
  --dark-grayish-blue: hsl(232, 10%, 55%);
  --grayish-blue: hsl(210, 4%, 67%);
  --white: hsl(0, 0%, 100%);
}
/* Body styling */
body {
  font-size: var(--font-size);
}
/* Just a small version styling */
.white-text {
  color: var(--white) !important;
}
.mb-6 {
  margin-bottom: 60px;
}
.font-fraunces {
  font-family: var(--ff-fraunces);
}
.font-barlow {
  font-family: var(--ff-barlow);
}
.color-dark-grayish-blue {
  color: var(--dark-grayish-blue);
}
.font-size-18 {
  font-size: var(--font-size);
}
.grayish-blue {
  color: var(--grayish-blue);
}
.very-dark-grayish-blue {
  color: var(--very-dark-grayish-blue);
}
.fw-700 {
  font-weight: 700;
}
.fw-900 {
  font-weight: 900;
}
.dark-moderate-cyan {
  color: var(--dark-moderate-cyan);
}
footer {
  background-color: #91d4c6;
}
/* Section 1 styling */
.main-bg {
  background: url("../images/desktop/image-header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
}
.main-text {
  font-family: var(--ff-fraunces);
  font-size: 3em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 170px;
  letter-spacing: 10px;
}
.nav-bg {
  background-color: #3ebfff;
}
.nav-btn {
  background-color: var(--white) !important;
  color: var(--very-dark-desaturated-blue) !important;
}
.nav-btn:hover {
  background-color: rgb(255, 255, 255, 0.4) !important;
  color: var(--white) !important;
  border: none;
}

/* Section 2 */
.learn-more {
  position: relative;
  z-index: 1;
}
.learn-more::after {
  content: "";
  position: absolute;
  top: 12px;
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  transition: 0.5s;
  left: 0px;
  z-index: -1;
}
.transform::after {
  content: "";
  background-color: rgba(250, 212, 0, 0.4);
}
.transform:hover::after {
  content: "";
  background-color: var(--yellow);
}
.stand-out::after {
  content: "";
  background-color: rgb(254, 120, 103, 0.4);
}
.stand-out:hover::after {
  content: "";
  background-color: var(--soft-red);
}
/* Section 3 */
.bg-graphic-design {
  background: url("../images/desktop/image-graphic-design.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 650px;
}
.bg-photography {
  background: url("../images/desktop/image-photography.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 650px;
}
.graphic-design-text {
  color: var(--dark-desaturated-cyan);
}
.photography-text {
  color: var(--dark-blue);
}
/* Footer */
.footer-a a {
  color: var(--dark-moderate-cyan);
  transition: 0.5s;
}
.footer-a a:hover {
  color: var(--white) !important;
}

.icon a img:hover {
  filter: brightness(0) invert(100%);
  transition: 0.5s;
}
/* Media query... less than 375px? just use this! */
@media screen and (max-width: 376px) {
  .main-text {
    font-size: 2.5em;
  }
  .nav-btn {
    background-color: var(--yellow) !important;
    border: none !important;
  }
  .nav-btn:hover {
    background-color: var(--yellow) !important;
    color: var(--very-dark-desaturated-blue) !important;
  }
  /* Mobile nav */
  .mobile-nav {
    background: var(--white);
    padding: 40px;
    position: relative;
    top: 30px;
    right: 20px;
    width: 90%;
  }
  .mobile-nav::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: -28px;
    right: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-bottom: 30px solid var(--white);
  }
  .mobile-nav li a {
    text-align: center;
    color: var(--very-dark-desaturated-blue) !important;
  }
}
