:root {
  --primarnaBoja: #04ff7a;
  --white: #fff;
  --grayRed: #c84242;
  --red: #ec0000;
  --backgroundColor: #1a1a1a;
  --backgroundCard: #2f2f2f;
}

@font-face {
  font-family: "Poppins";
  src: url(../fonts/Poppins-Light.ttf);
  src: url(../fonts/Poppins-Regular.ttf);
}

@font-face {
  font-family: "Poppins-Bold";
  src: url(../fonts/Poppins-Bold.ttf);
}

@font-face {
  font-family: "Oswald";
  src: url(../fonts/Oswald-Regular.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--backgroundColor);
  font-family: "Poppins";
}

html {
  scroll-behavior: smooth;
}

/* Hamburger animation */

.hamburger {
  z-index: 1000;
}

#nav-icon1 {
  width: 60px;
  height: 45px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: var(--primarnaBoja);
  border-radius: 5px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 18px;
}

#nav-icon1 span:nth-child(3) {
  top: 36px;
}

#nav-icon1.open span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* Nav styles */

.nav-wrapper {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.logo a {
  text-decoration: none;
}

.logo a h3 {
  color: var(--white);
  font-size: 36px;
  font-family: "Oswald";
  text-transform: uppercase;
}

.logo a h3 span {
  color: var(--primarnaBoja);
}

.start-btn a {
  border: 2px solid var(--white);
  padding: 10px 20px;
  color: var(--white);
  text-decoration: none;
}

/* Header styles */

header {
  position: relative;
  background-image: url("../img/backkground-image.jpg");
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.header-shadow {
  background-color: rgba(0, 0, 0, 0.65);
  height: 100vh;
  width: 100%;
}

article {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  text-align: center;
  text-transform: uppercase;
  font-family: "Poppins-Bold";
  z-index: 10;
}

.white-heading {
  color: var(--white);
  font-size: 64px;
  font-weight: 900;
  padding-right: 200px;
}

.green-heading {
  -webkit-text-stroke: 1px var(--primarnaBoja);
  color: transparent;
  font-size: 64px;
  font-weight: 900;
  padding-left: 200px;
}

.lower-header {
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  justify-content: space-between;
  align-items: center;
}

.quote {
  width: 445px;
  color: var(--white);
  font-family: "Poppins-Bold";
}

.quote h3 {
  font-size: 24px;
}

.socials {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line-wrapper {
  position: relative;
  padding-top: 40%;
}

.line {
  position: absolute;
  right: 0%;
  top: 50%;
  transform: translateY(-50%);
  height: 230px;
  width: 4px;
  border-radius: 4px;
  background-color: var(--primarnaBoja);
  animation: lineAnimation 5s infinite;
}

@keyframes lineAnimation {
  from {
    height: 0;
    transform: translateY(0);
  }
  to {
    height: 200px;
    transform: translateY(100%);
  }
}

@media only screen and (max-width: 997px) {
  .main-heading h1 {
    font-size: 40px;
  }
  .quote h3 {
    font-size: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .start-btn {
    display: none;
  }
  .nav-wrapper {
    flex-direction: row-reverse;
  }
  .white-heading,
  .green-heading {
    padding: 0;
  }
  .socials {
    display: none;
  }
  .last {
    padding-bottom: 60px !important;
  }
}

@media only screen and (max-width: 440px) {
  .main-heading h1 {
    font-size: 32px;
  }
  .quote h3 {
    font-size: 18px;
  }
  #nav-icon1 span:nth-child(2) {
    top: 15px;
  }
  #nav-icon1 span:nth-child(3) {
    top: 30px;
  }
  #nav-icon1 {
    width: 50px;
  }
}

@media only screen and (max-width: 350px) {
  .quote h3 {
    font-size: 15px;
  }
  .main-heading h1 {
    font-size: 28px;
  }
  .logo a h3 {
    font-size: 18px;
  }
}

/* Limits styles */

section.limits {
  padding-top: 100px;
}

.left {
  display: flex;
  flex-direction: column;
  align-items: self-start;
  justify-content: center;
  height: 100%;
}

.main-title {
  font-size: 64px;
  font-family: "Poppins-Bold";
  color: var(--white);
  text-transform: uppercase;
}

.main-title span {
  color: var(--primarnaBoja);
}

.fitness-wrapper {
  padding-top: 150px;
  padding-bottom: 150px;
}

.number {
  display: flex;
  align-items: flex-end;
}

.number h1 {
  font-size: 144px;
  font-family: "Poppins-Bold";
  -webkit-text-stroke: 1px var(--primarnaBoja);
  color: transparent;
}

.number p {
  color: var(--white);
  font-family: "Poppins-Bold";
  padding-bottom: 40px;
  padding-left: 10px;
}

.wrapper-title {
  color: var(--grayRed);
  font-family: "Oswald";
  font-weight: bold;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.fitness-wrapper p {
  color: var(--white);
}

.right img {
  width: 100%;
}

@media only screen and (max-width: 550px) {
  .main-title {
    font-size: 48px;
  }
  .fitness-wrapper {
    padding-top: 50px;
    padding-bottom: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .second-wrapper {
    flex-direction: column-reverse;
  }
}

/* Gallery styles */

.buttons {
  float: right;
}

.buttons button {
  background: none;
  outline: none;
  border: none;
  padding-top: 40px;
  padding-bottom: 40px;
}

.gallery-slider {
  padding-top: 50px;
}

.gallery-slider img {
  border-radius: 10px;
  margin: 0 20px;
}

@media only screen and (max-width: 450px) {
  .gallery-slider img {
    width: 80%;
  }
  #tns1 > .tns-item {
    width: 320px !important;
  }
}

/* Why us */

.why-us {
  margin-top: 150px;
  text-align: center;
}

.red-text {
  color: var(--red) !important;
}

.cards {
  padding-top: 60px;
  padding-bottom: 40px;
}

.card-wrapper {
  background-color: var(--backgroundCard);
  border-radius: 10px;
  padding: 10px 10px;
  margin-bottom: 10px;
  color: var(--white);
  -webkit-box-shadow: 7px 3px 8px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 7px 3px 8px 2px rgba(0, 0, 0, 0.4);
}

.card-wrapper img {
  padding: 45px;
}

.card-wrapper h4 {
  font-family: "Poppins-Bold";
}

/* Contact us */

.contact {
  padding-top: 100px;
}

.contact-wrapper {
  padding-top: 50px;
  padding-bottom: 50px;
}

.contact-info h4 {
  color: var(--grayRed);
  font-family: "Poppins-Bold";
  padding-bottom: 20px;
  font-size: 36px;
}

.contact-info form {
  display: flex;
  flex-direction: column;
  align-items: start;
}

label {
  font-size: 16px;
  color: var(--white);
}

input,
textarea {
  padding: 20px;
  margin-bottom: 30px;
  width: 80%;
  border: 1px solid #828282;
  background: transparent;
  border-radius: 5px;
  color: var(--white);
}

.submit-btn {
  border: none;
  outline: none;
  width: 80%;
  background: #323232;
  color: var(--white);
  border-radius: 5px;
  padding: 20px;
}

.map iframe {
  border-radius: 10px;
  width: 100%;
}

.time-wrapper {
  display: flex;
  gap: 20px;
}

.time h5 {
  color: var(--white);
  padding: 10px;
}

.time ul li {
  color: #7e7e7e;
}

.popust {
  color: var(--primarnaBoja);
  font-size: 24px;
  font-family: "Poppins-Bold";
}

@media only screen and (max-width: 993px) {
  .time-wrapper {
    flex-direction: column;
  }
  .contact-wrapper {
    flex-direction: column;
  }
  input,
  textarea,
  .submit-btn {
    width: 100%;
  }
  .submit-btn {
    margin-bottom: 50px;
  }
}

/* Footer */
footer {
  background-color: #212121;
  margin-top: 30px;
}
.footer-container,
.footer-down-content {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-links ul li a {
  color: #7e7e7e;
  text-decoration: none;
  padding-bottom: 20px;
}

.copyright p {
  color: var(--grayRed);
  padding: 0;
}

.handcrafted h4 {
  text-transform: uppercase;
  color: var(--white);
  font-family: "Oswald";
  font-size: 24px;
}

.handcrafted span a {
  color: var(--primarnaBoja);
}

@media only screen and (max-width: 577px) {
  .footer-container,
  .footer-down-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .up {
    padding-bottom: 0;
  }
  .down {
    padding-top: 0;
  }
}

.overlay {
  height: 100%;
  width: 0%;
  position: fixed !important;
  z-index: 900;
  right: 0;
  top: 0;
  background-color: var(--backgroundColor);
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 999;
}

.links {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  list-style: none;
  align-items: center;
  width: 100%;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.links li a {
  position: relative;
  font-size: 2rem;
  text-decoration: none;
  color: var(--white);
}

#mybtn {
  background-color: var(--primarnaBoja);
  border: none;
  border-radius: 15%;
  color: white;
  cursor: pointer;
  font-size: 26px;
  height: 62px;
  width: 62px;
  transition: 0.3s;
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
}

#mybtn i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

#mybtn.show {
  opacity: 1;
  visibility: visible;
}

#mybtn:hover {
  transform: scale(1.05);
}

.alert-success {
  z-index: 1000;
  background: #d4edda;
  font-size: 18px;
  padding: 20px 40px;
  min-width: 420px;
  position: fixed;
  right: 0;
  top: 10px;
  border-left: 8px solid #38b261;
  border-radius: 4px;
  font-family: "Poppins";
}

.alert-error {
  z-index: 1000;
  background: #fff3cd;
  font-size: 18px;
  padding: 20px 40px;
  min-width: 420px;
  position: fixed;
  right: 0;
  top: 10px;
  border-left: 8px solid #b23838;
  border-radius: 4px;
  font-family: "Poppins";
}

#lightbox {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  display: none;
}

#lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  padding: 4px;
  border-radius: 10px;
}
