.attribution {
  font-size: 0.6875rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  /* left: 50%;
  transform: translateX(-50%); */
  right: 0;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

:root {
  /* 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%);

  /* 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%);
}
html {
  box-sizing: border-box;
}
body {
  font-family: "Fraunces", serif;
  /* font-family: "Barlow", sans-serif; */
}
.padding {
  padding-left: 1.4375rem;
  padding-right: 1.4375rem;
}
*,
*::after,
*::before {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
.top {
  background-image: url("../images/mobile/image-header.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.top__navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5625rem;
}
.navigation__logo {
  width: 7.7rem;
}
.navigation__hamburguer {
  width: 1.4375rem;
}
.top__navlinks {
  display: none;
}
/* H1 */
.title {
  color: white;
  font-weight: 900;
  font-size: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4063rem;
  margin-top: 3.5rem;
  padding: 0rem;
  line-height: 3.1rem;
}
.top__arrow {
  margin-top: 3.0625rem;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 8.125rem;
}
h2 {
  text-align: center;
}
.title2 {
  font-weight: 900;
  font-size: 2rem;
  text-align: center;
  padding: 3.875rem 1.125rem 1.5rem 1.125rem;

  line-height: 2.4375rem;
  color: var(--very-dark-desaturated-blue);
}
.text {
  font-family: "Barlow", sans-serif;
  color: var(--dark-grayish-blue);
  font-size: 1.125rem;
  text-align: center;
  line-height: 1.875rem;
  padding: 0 0.625rem;
  font-weight: 900;
}
.link {
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  margin: 2.3125rem auto 4.375rem auto;
  font-weight: 900;
  letter-spacing: 0.0625rem;
  font-size: 0.9375rem;
  color: var(--very-dark-desaturated-blue);
  position: relative;
  width: 8.125rem;
  text-align: center;
}
.link::after {
  content: "";
  display: block;
  width: 8.375rem;
  height: 0.7rem;
  background-color: var(--yellow);
  border-radius: 1rem;
  position: absolute;
  top: 0.5625rem;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  opacity: 0.3;
}
.link:hover::after {
  opacity: 1;
}
/* PINK GLASS */
.pink-glass .link::after {
  background-color: var(--soft-red);
}

.pink-glass .text {
  padding: 0 1.25rem;
}
/* TWO BACKGROUND IMAGES */
.graphic-design {
  background: url("../images/mobile/image-graphic-design.jpg") no-repeat;
  background-size: cover;
}
.photography {
  background: url("../images/mobile/image-photography.jpg") no-repeat;
  background-size: cover;
}
.graphic-photography {
  color: var(--dark-blue);
}
.graphic-photography h2 {
  color: var(--dark-desaturated-cyan);

  padding-top: 25.125rem;
  font-size: 1.75rem;
  font-weight: 900;
}
.graphic-photography p {
  color: var(--dark-desaturated-cyan);

  font-family: "Barlow", sans-serif;
  margin-top: 2rem;
  text-align: center;
  font-weight: 700;
  padding: 0 0.75rem;
  line-height: 1.6875rem;
  padding-bottom: 3.75rem;
}
.photography h2 {
  color: var(--dark-blue);
}
.photography p {
  color: var(--dark-blue);
}

/* TESTIMONIAL */
.testimonial {
  padding: 0 23px;
  text-align: center;
}
.testimonial__flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.testimonial__comment {
  flex: 1 1 325px;
}
.testimonial h2 {
  color: var(--grayish-blue);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.25rem;
  padding-top: 3.4375rem;
  padding-bottom: 0;
  margin-bottom: -0.9375rem;
}
.testimonial__image {
  border-radius: 50%;
  width: 4.5rem;
  margin: 4.375rem auto 1.875rem auto;
  display: block;
}
.testimonial__text {
  color: var(--very-dark-grayish-blue);
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  line-height: 2rem;
  font-size: 18px;
  margin-bottom: 2.1875rem;
}
.testimonial h3 {
  font-size: 1.125rem;
  color: var(--very-dark-desaturated-blue);
  font-weight: 900;
}
.testimonial__comment span {
  display: block;
  color: var(--grayish-blue);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: "Barlow", sans-serif;
  margin-top: 1rem;
}
.testimonial__comment:last-child span {
  margin-bottom: 92px;
}

/* footer */
.footer {
  text-align: center;
  background-color: hsl(167, 44%, 70%);
}
.footer__images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.6875rem, 1fr));
  row-gap: 0;
  background: white;
}
.blank {
  display: block;
}

.navigation__footer {
  margin-top: 4.0625rem;
  fill: hsl(166, 45%, 32%);
  margin-bottom: 2.8125rem;
}
.footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.625rem;
  margin-bottom: 5.625rem;
  font-size: 1.125rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.footer-nav a {
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  color: var(--dark-moderate-cyan);
}
.footer-nav a:hover {
  color: white;
}
.footer__icons {
  display: flex;
  justify-content: center;
  gap: 1.8125rem;
  padding-bottom: 5rem;
}
.footer__icons img:hover {
  filter: brightness(0) invert(1);
  cursor: pointer;
}

/* mobile menu */
.top__mobile-menu.active .hidden-menu {
  display: block;
}
.hidden-menu {
  display: none;

  background: white;
  text-align: center;
  margin-top: 106px;

  position: absolute;
  height: 305px;
  width: 87%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;

  top: 0;
}
.hidden-menu::before {
  content: "";
  height: 0;
  width: 0;
  display: block;

  position: absolute;
  right: 0;
  top: -25px;

  border-top: 25px solid transparent;
  border-left: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-right: 25px solid white;
}
.hidden-menu li a {
  text-decoration: none;
  color: var(--dark-grayish-blue);
  /* font-weight: 300; */
  font-family: "Barlow", sans-serif;
}

.mobile-menu__nav {
  padding-top: 2.7rem;
  display: flex;
  flex-direction: column;
  gap: 2.3rem;
  margin-bottom: 2rem;
  font-size: 19px;
}
.hidden-menu button {
  margin-bottom: 2.5rem;
  border-radius: 2rem;
  border: none;
  padding: 1.2rem 1.9rem;
  text-transform: uppercase;
  font-size: 1rem;
  font-family: "Fraunces", serif;
  background-color: var(--yellow);
}

@media all and (max-width: 20rem) {
  .title {
    font-size: 1.5rem;
  }
}

@media all and (min-width: 31.25rem) {
  .graphic-design {
    background: url("../images/desktop/image-graphic-design.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  .photography {
    background: url("../images/desktop/image-photography.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
}
@media all and (min-width: 37.5rem) {
  .top {
    background-image: url("../images/desktop/image-header.jpg");
  }
  .top__arrow {
    padding-bottom: 14.125rem;
  }
  .footer-nav {
    justify-content: space-evenly;
  }
}

@media all and (min-width: 46.875rem) {
  .egg {
    display: flex;
    flex-direction: row-reverse;
    /* flex: 1 1 0px; */
  }
  .special-image {
    flex: 1 1 0px;
  }
  .special-text {
    flex: 1 1 0px;
    align-self: center;
  }
  .title2 {
    font-size: 1.5rem;
    padding: 0;
    padding-top: 1rem;
  }
  .text {
    font-size: 1rem;
    padding: 0 1.25rem;
  }
  .link {
    margin: 2.3125rem auto 0rem auto;
  }
  img {
    display: block;
  }
  .pink-glass {
    display: flex;
  }

  .graphic-photography {
    display: flex;
  }
  .graphic-design {
    flex: 1 1 0px;
  }
  .photography {
    flex: 1 1 0px;
  }
  /* MENU */
  .navigation__hamburguer {
    display: none;
  }
  .hidden-menu {
    display: block;
    background: transparent;
    margin-top: 0;
  }
  .mobile-menu__nav {
    flex-direction: row;
    justify-content: end;
    margin-bottom: 0;
    padding-top: 2rem;
    padding-right: 10rem;
    color: white;
  }
  .mobile-menu__nav li a {
    color: white;
  }
  .hidden-menu button {
    position: absolute;
    margin: 0;
    top: 20px;
    right: 0;
    padding: 0.7rem 1.5rem;
    background: white;
  }
  .hidden-menu button:hover {
    background: rgba(255, 255, 255, 0.3);

    color: white;
    cursor: pointer;
  }
  .hidden-menu::before {
    display: none;
  }
}

@media all and (min-width: 1100px) {
  .top__navigation {
    padding: 2.9rem 1.5625rem;
  }
  .navigation__logo {
    width: 10.7rem;
    margin-left: 1rem;
  }
  .hidden-menu {
    height: 0px;
  }
  .hidden-menu button {
    padding: 1.1rem 1.8rem;
    top: 2.1875rem;
    right: -2.8rem;
  }
  .mobile-menu__nav {
    padding-top: 3.1875rem;
    padding-right: 8.5rem;
    gap: 2.9rem;
  }
  .title {
    font-size: 3.45rem;
    letter-spacing: 0.625rem;
    margin-top: 5rem;
    /* margin-bottom: 12.75rem; */
  }
  .top__arrow {
    margin-top: 6.32rem;
    padding-bottom: 20.625rem;
  }
  /* EGG AND PINK */
  .egg-text {
    width: 27.9375rem;
    margin: 0rem 0rem 0rem 10.3125rem;
  }
  .title2 {
    font-size: 2.5rem;
    text-align: left;
    line-height: 3rem;
    margin-bottom: 1.875rem;
  }
  .text {
    text-align: left;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 900;
    margin-bottom: 2.8125rem;
  }
  .link {
    margin: 0;
    margin-top: 2.3125rem;
    margin-bottom: 1rem;
  }

  .pink-glass .egg-text {
    margin: 0rem 0rem 0rem 6.7rem;
  }
  .pink-glass .text {
    padding: 0rem;
  }
  .pink-glass .link {
    margin-bottom: 2rem;
  }

  .graphic-photography p {
    width: 376px;
    margin: 2rem auto;
    padding-bottom: 1.5625rem;
  }
  .photography p {
    width: 400px;
    margin: 2rem auto;
    padding-bottom: 1.5625rem;
  }

  /* TESTIMONIAL */
  .testimonial__flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .testimonial__image {
    border-radius: 50%;
    width: 4.5rem;
    margin: 4.0625rem auto 3.5625rem auto;
    display: block;
  }

  .testimonial__comment {
    flex: 1 1 347px;
  }

  /* FOOTER IMAGES */
  .footer__images {
    grid-template-columns: repeat(auto-fit, minmax(187px, 1fr));
  }
  .footer__milk img,
  .footer__orange img,
  .footer__cone img,
  .footer__sugar img {
    object-fit: cover;
    width: 100%;
    height: 450px;
  }
  .footer-nav {
    justify-content: center;
    gap: 3.5rem;
    margin-bottom: 5.625rem;
    padding-left: 0rem;
    padding-right: 0rem;
  }
  .navigation__footer {
    margin-top: 4.5rem;
  }
}
@media all and (min-width: 1400px) {
  .testimonial h2 {
    font-size: 20px;
    letter-spacing: 5px;
    padding-top: 162px;
    font-weight: 900;
  }
  .testimonial__flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 9rem;
  }

  .testimonial__image {
    border-radius: 50%;
    width: 4.5rem;
    margin: 4.0625rem auto 3.5625rem auto;
    display: block;
  }
  .testimonial__text {
    margin-bottom: 75px;
  }
  .testimonial__comment {
    flex: 1 1 347px;
  }
  .testimonial__comment:last-child span {
    margin-bottom: 130px;
  }
}
