/*fonts*/
@font-face {
  font-family: "Gauge Regular";
  font-style: normal;
  font-weight: normal;
  src: local("Gauge Regular"),
    url("fonts\Gauge\Gauge-Regular.woff") format("woff");
}

@font-face {
  font-family: "Gauge Italic";
  font-style: normal;
  font-weight: normal;
  src: local("Gauge Italic"),
    url("fonts\Gauge\Gauge-Oblique.woff") format("woff");
}

@font-face {
  font-family: "Gauge Heavy";
  font-style: normal;
  font-weight: normal;
  src: local("Gauge Heavy"), url("fonts\Gauge\Gauge-Heavy.woff") format("woff");
}
@font-face {
  font-family: "Prata Regular";
  font-style: normal;
  font-weight: normal;
  src: local("Prata Regular"),
    url("fonts\Prata\Prata-Regular.woff") format("woff");
}

h1 {
  color: brown;

  font-family: "Prata Regular";
}

/*general setup*/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
html {
  font-size: 62.5%;
}
body {
  font-family: "Gauge Regular", sans-serif;
  font-weight: 400;
  /*font-size: 16px;*/
  line-height: 1.7;
  color: #cab981;
  padding: 3rem;
  box-sizing: border-box;
}
.header {
  height: 95vh;
  background-image: linear-gradient(
      to right,
      rgba(202, 185, 129, 0.7),
      rgba(97, 88, 88, 0.8)
    ),
    url("../img/header1.jpg");
  background-size: cover;
  background-position: top;
  clip-path: polygon(50% 0%, 76% 25%, 100% 0, 100% 89%, 0 100%, 0 0, 35% 22%);
  position: relative;
}
.header__hero-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.header__logo:hover {
  animation: logoanimation 7s infinite;
}
.header__logo-box {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header__logo {
  color: red;
  height: 15vh;
}
.heading-primary {
  color: #f0ebdb;
  font-family: "Prata Regular";
  backface-visibility: hidden;
  margin-bottom: 5%;
}
.heading-primary--main {
  display: block;
  color: #f0ebdb;
  font-weight: 400;
  font-size: 6rem;
  letter-spacing: 5rem;
  font-family: "Prata Regular";
  padding: 5%;
  animation: moveinleft 2s;
  animation-timing-function: ease-in-out;
}

.heading-primary--sub {
  display: block;
  color: #f0ebdb;
  font-weight: 400;
  font-size: 3rem;
  letter-spacing: 1.5rem;
  text-align: center;
  animation: moveinright 2s;
  animation-timing-function: ease-in-out;
}
@keyframes moveinleft {
  0% {
    opacity: 0;
    transform: translateX(-10rem);
  }
  80% {
    transform: translateX(2rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes moveinright {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0.1;
    transform: translateX(10rem);
  }
  70% {
    transform: translateX(-2rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes logoanimation {
  0% {
    opacity: 0.6;
  }

  10% {
    opacity: 1;
  }
  20% {
    opacity: 0.6;
  }

  30% {
    opacity: 1;
  }
  40% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
  60% {
    opacity: 0.6;
  }

  70% {
    opacity: 1;
  }
  80% {
    opacity: 0.6;
  }

  90% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}
.btn {
  font-size: 2.5rem;
  font-family: "Prata Regular";
  clip-path: polygon(50% 0%, 100% 0, 100% 80%, 50% 100%, 0% 80%, 0 0);
}
.btn:link,
.btn:visited {
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.5rem 4rem;
  display: inline-block;
  transition: all 0.2s;
}
.btn--white {
  background-color: rgba(202, 185, 129, 0.9);
  color: rgba(97, 88, 88, 0.5);
}
.btn:hover {
  background-color: rgba(202, 185, 129, 0.3);
  transform: translateY(-3%);
  color: #f0ebdb;
  text-shadow: rgba(97, 88, 88, 0.5);
  box-shadow: 0 0.5rem 0.2rem rgba(97, 88, 88, 0.5);
}
.btn:active {
  transform: translateY(-1%);
  color: rgba(97, 88, 88, 0.7);
  box-shadow: 0 0.5rem 0.2rem rgba(97, 88, 88, 0.5);
}
