* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
}
.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  position: relative;
}
.pattern {
  position: absolute;
  left: 20%;
  width: 80%;
  height: 100vh;
  z-index: 4;
}
.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url(/img/5566879.jpg) no-repeat center center;
  background-size: cover;
  height: 100vh;
}
.runner {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 0;
}
.runner img {
  width: 100%;
  max-width: 1000px;
  padding-top: 20px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  position: relative;
  z-index: 1000;
}
.nav-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  padding-top: 20px;
}

.nav ul {
  display: flex;
  list-style: none;
}
.nav ul li {
  margin: 0 15px;
  font-size: 15px;
  color: orangered;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav a {
  color: orangered;
  text-decoration: none;
}
.nav ul li:hover {
  color: orangered;
  text-decoration: none;
  transform: scale(1.1);
}

.box-1 {
  position: absolute;
  width: 60px;
  height: 60px;
  background: none;
  border: 2px solid orange;
  top: 10%;
  left: 15%;
  z-index: 1;
  transform: rotate(60deg);
}
.box-2 {
  position: absolute;
  width: 120px;
  height: 120px;
  background: orange;
  border: 2px solid orange;
  top: 54%;
  left: 28%;
  z-index: 1;
  transform: rotate(-110deg);
}
.box-3 {
  position: absolute;
  width: 80px;
  height: 80px;
  background: none;
  border: 2px solid orange;
  top: 34%;
  left: 78%;
  z-index: 1;
  transform: rotate(30deg);
}

.title-2 {
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  font-family: Anton;
  font-size: 90px;
  color: rgba(0, 0, 0, 0);
  font-style: italic;
  text-transform: uppercase;
  z-index: 1;
  -webkit-text-stroke: 2px orange;
  opacity: 0;
}

.title-1 {
  position: absolute;
  top: 30%;
  left: 30%;
  transform: translate(-50%, -50%);
  font-family: Anton;
  font-size: 90px;
  padding-right: 20px;
  color: orange;
  font-style: italic;
  text-transform: uppercase;
  z-index: 1;
  -webkit-text-stroke: 2px orange;
  opacity: 0;
}

.content {
  position: absolute;
  top: 64%;
  left: 57%;
  width: 30%;
  color: orangered;
  font-weight: lighter;
  font-size: 18px;
  line-height: 24px;
  font-weight: bold;
  z-index: 100;
  font-family: 'Roboto', sans-serif;
}
.running-shoe-button {
  z-index: 1001;
  background-color: #e0e0e0; /* Pagrindinė mygtuko spalva */
  color: #333; /* Teksto spalva */
  border: none;
  border-radius: 12px; 
  padding: 10px 20px; /* Tarpai aplink tekstą */
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  position: absolute;
  right: 20px;
  top: 40px;
}

.running-shoe-button::before {
  content: '';
  background-image: url('img/running.webp'); 
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px; /* Ikonos plotis */
  height: 20px; /* Ikonos aukštis */
  position: absolute;
  left: -1px; /* Atstumas nuo kairio krašto */
}

.running-shoe-button:hover {
  background-color: #d0d0d0; /* Šviesesnė spalva užvedus pelės žymeklį */
}

button {
  margin-top: 6px;
  background: orange;
  color: #fff;
  padding: 20px 30px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 15px;
  border: none;
  transition: all 0.5s;
  cursor: pointer;
}

button:active {
  background-color: #3e6f8e;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.media {
  position: absolute;
  bottom: 150px;
}
.media ul {
  position: absolute;
  list-style: none;
}
.media ul li a {
  color: orangered;
  padding: 10px 0px;
}

.media ul li ion-icon:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

@media only screen and (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
  }
  .nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    padding: 20px 0;
  }
  .nav-menu li {
    margin: 0;
  }
  .nav-menu li a {
    font-size: 14px;
    color: orangered;
    font-weight: bold;
  }
  .wrapper {
    background-size: cover;
  }
  .pattern {
    display: block;
  }
  .title-1,
  .title-2 {
    font-size: 50px;
  }
  .title-1 {
    left: 20%;
    top: 40%;
  }
  .title-2 {
    left: 50%;
    z-index: 1;
  }
  .hamburger {
    display: block;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 2000;
    cursor: pointer;
    color: orangered;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1500;
  }
  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .content p {
    display: none;
  }
  .box-2 {
    display: none;
  }
  .content button {
    position: fixed;
    right: 3em;
    bottom: 4em;
    z-index: 1;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }

  @media only screen and (min-width: 360px) {
    .nav {
      flex-direction: row; 
    }

    .nav-menu {
      flex-direction: row; 
      width: auto;
    }

    .nav-menu li {
      margin: 0 15px; 
    }
  }

 
  @media only screen and (max-width: 359px) {
    .nav {
      flex-direction: column; 
      align-items: flex-start; 
    }

    .nav-menu {
      flex-direction: column; 
      width: 100%; 
    }

    .nav-menu li {
      margin: 10px 0; 
    }
  }
}
