@import url("https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=K2D:wght@200;300;400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap");

:root {
  --primary: #d59d1b;
}

body {
  font-family: "Black Han Sans", sans-serif;
  font-family: "K2D", sans-serif;
}

h1 {
  font-family: "Black Han Sans", sans-serif;
}

h2,
h4 span {
  font-weight: 500 !important;
}

h3,
h5 {
  font-weight: 300 !important;
}

.fw-500 {
  font-weight: 500;
}

p {
  font-weight: 400 !important;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.text-justify {
  text-align: justify;
}

.text-primary {
  color: var(--primary) !important;
}

.btn-primary {
  background: var(--primary);
  border: none;
}

.bg-primary {
  background: var(--primary) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #c49019;
  box-shadow: 0 0 0 0.25rem rgba(196, 144, 25, 0.5);
}

.nav-link {
  text-transform: uppercase;
}

.nav-link:hover,
footer li:hover {
  color: var(--primary) !important;
  cursor: pointer;
}

nav {
  transition: 250ms ease-in;
}

nav.active {
  background: #212529 !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.front {
  background: linear-gradient(
      to top,
      rgba(34, 38, 42, 1),
      rgba(34, 38, 42, 0.7),
      rgba(34, 38, 42, 0.4)
    ),
    url("../img/front-bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
}

.front .title {
  border-bottom: solid 3px var(--primary);
}

.about {
  background: #191d20;
}

.fixed-img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.first {
  background-image: url("../img/home-work-out.jpg");
  overflow: hidden;
}

.second {
  background-image: url("../img/personal-trainer.jpg");
}

.third {
  background-image: url("../img/progress.jpg");
}

.bg-white-50 {
  background: rgba(255, 255, 255, 0.08);
}

.first,
.second,
.third {
  position: relative;
}

.content h3,
.content p,
.content button {
  transform: translateY(100%);
  opacity: 0;
  transition: 250ms ease-in;
  z-index: 2;
  position: relative;
}

.content h3 {
  transition-delay: 100ms;
}

.content p {
  transition-delay: 200ms;
}

.content button {
  transition-delay: 300ms;
}

.fixed-img:hover .content h3,
.fixed-img:hover .content p,
.fixed-img:hover .content button {
  transform: translateY(0);
  opacity: 1;
}

.fixed-img:hover .overlay {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(213, 157, 27, 0.75);
  opacity: 0;
  transition: 600ms ease-in;
}

.card {
  max-width: 350px;
}

.card:nth-child(2) {
  transform: scale(1.1) !important;
}

.card:hover {
  transform: scale(1.1) !important;
}

input,
textarea {
  background: transparent;
  color: #fff;
  padding: 8px;
  border-radius: 5px;
  outline: none;
}

input,
label {
  transition: 200ms ease-in;
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0 0.25rem rgb(213, 157, 27);
}

label {
  position: absolute;
  top: 8px;
  left: 8px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  padding: 0 5px;
}

label.active {
  transform: translateY(-80%) scale(0.85);
  transform-origin: 0;
  background: #212529;
  color: var(--primary);
}

footer {
  background: #171a1d;
}

footer svg {
  fill: #fff;
  cursor: pointer;
  margin: 0 5px;
  transition: 200ms ease-in;
}

footer svg:hover {
  transform: translateY(-2px);
  fill: var(--primary);
}

@media (max-width: 992px) {
  .card:nth-child(2) {
    transform: scale(1) !important;
  }

  .card:hover {
    transform: scale(1.02) !important;
  }

  .navbar {
    background: #212529 !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  }
}
