/* || Font definitions */

@font-face {
  font-family: 'Barlow';
  src: url('fonts/Barlow/Barlow-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf') format('truetype');
}

/* || GENERAL STYLES */

html {
  width: 100%;
  height: 100%;

  font-size: 18px;
}

body {
  margin: 0;
  font-family: Fraunces, Verdana;
}

p {
  font-family: Barlow, Verdana;
}

.logo {
  width: 200px;
}

/* || UTILITIES */


.clickable {
  cursor: pointer;
}

.underlinable {
  position: relative;
}

.underlinable::after {
  position: absolute;
  content: '';
  left: 0px;


  border-radius: 3px;
  z-index: -10;

  height: 2px;
  bottom: 1px;
  width: 100%;

  transition: 300ms ease-out;
}

.red-underline::after {
  background: hsl(7, 99%, 70%);
}


.yellow-underline::after {
  background: hsl(51, 100%, 49%);
}

.underlinable:hover::after {
  height: 6px;
  bottom: 2px;
  width: 102%;
}

.no-bullet {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.uppercase {
  text-transform: uppercase;
}

/* || NAVBAR */

navbar {
  font-size: 16px;
  color: white;

  text-align: left;
  position: absolute;
  top: 0px;

  width: calc(100% - 60px);
  padding: 40px 30px 0 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  align-items: center;
  font-family: Barlow, Verdana;
}

.nav-hamburger {
  display: none;
}

@media screen and (max-width: 800px) {
  .nav-menu {
    display: none;
  }
  .nav-hamburger {
    display: block;
    height: 20px;
  }
}


.nav-menu > * {
  margin: 0 25px;
}

.white-nav-button {
  background-color: white;

  color: black;
  font-family: Fraunces, Verdana;
  border-radius: 50vh;
  padding: 16px 26px;
  font-weight: 800;

  font-size: 12px;
}

/* || LANDING SECTION */

.landing-section {
  height: 100vh;
  background-image: url("images/desktop/image-header.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-origin: content-box;

  text-align: center;
}

@media screen and (max-width: 800px) {
  .landing-section {
  background-image: url("images/mobile/image-header.jpg");
  }
}

.landing-section h1 {
  font-size: 50px;
  letter-spacing: 0.2em;

  margin: 0;
  padding: max(200px, 16%) 0 5% 0;

  color: hsl(0, 0%, 100%);
}

.landing-arrow {
  padding: 0 150px 150px 150px;
  transition: 500ms linear;
}

.landing-arrow:hover {
  padding-top: 100px;
}

/* || TILE SECTION */

.tiles-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 800px) {
  .tiles-section {
    grid-template-columns: 1fr;
  }
}

.tile {
  overflow: hidden;
}

.tile img {
  min-height: 100%;
  min-width: 100%;
}

/* Text */

.text-tile .content {
  padding: 150px 160px 0px 150px;
}

.text-tile p {
  font-size: 18px;
  line-height: 1.6;
}

.text-tile h3 {
  font-size: 50px;
}

.text-tile a {
  font-family: Fraunces, Verdana;
  font-size: 16px;
  font-weight: 900;
}

@media screen and (max-width: 800px) {
  .text-tile {
    text-align: center;
  }
}

/* Text & Image */

.image-text-tile {
  position: relative;
  color: hsl(167, 40%, 24%);
}

.image-text-tile .content {
  position: absolute;
  bottom: 50px;
  left: calc(50% - 175px);

  width: 350px;
  text-align: center;
}

.image-text-tile p {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.image-text-tile h3 {
  font-size: 35px;
}

/* || TESTIMONIAL */

.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 150px 0;
}

.testimonials h3 {
  margin-bottom: 100px;
  letter-spacing: 0.2em;
  font-size: 20px;
  color:  hsl(210, 4%, 60%);
}

.testimonials-container {
  display: flex;
  justify-content: space-evenly;
  width: 75%;
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 25%;

  text-align: center;
  font-size: 15px;
  line-height: 1.8;
}

.testimonial-item img {
  height: 75px;
  border-radius: 50%;
}

.testimonial-item .name {
  font-family: Fraunces, Verdana;
  font-weight: 900;
  font-size: 17px;

  margin: 30px 0 5px 0;
}

.testimonial-item .job {
  margin: 0;
  color:  hsl(210, 4%, 60%);
  letter-spacing: -0.03em;
}

/* || GALLERY */

.gallery-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gallery-section img {
  width: 100%;
}

/* || FOOTER */

footer {
  background-color: #90d4c5;
  color: #317a69;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 100px 0 75px 0;
}

footer .logo {
  filter: brightness(0) saturate(100%) invert(45%) sepia(11%) saturate(1742%) hue-rotate(116deg) brightness(88%) contrast(94%);
  margin-bottom: 50px;
}

.footer-links {
  display: flex;
  margin-bottom: 100px;
  font-family: Barlow, Verdana;
}

.footer-links > * {
  margin: 0 20px;
}

.footer-social-medias > * {
  margin: 0 10px;
}

/* || ATTRIBUTION */

.attribution {
  font-size: 16px;
  color: white;

  text-align: left;
  position: absolute;
  bottom: 0px;
}

.attribution a {
  color: #fdbc00;
}

.attribution p {
  margin: 0 0 2px 2px;
}

@media screen and (max-width: 800px) {
  .attribution {
    color: black;
  }
  .attribution a {
    color: #3ebfff;
  }
}
