* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #1a1a1a;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  background-color: #5271ff;
  border-bottom: 2px solid white;
  position: fixed;
  top: 0;
  width: 100%;
}
#obecna {
  display: inline-block;
  vertical-align: top;
  padding-bottom: 20px;
  position: relative;
  text-align: center;
  line-height: 24px;
  color: #fff;
}

#obecna::before {
  animation: bounceInLeft;
  animation-duration: 1s;
  display: inline-block;

  transform: translateX(-50%);
  border-radius: 100%;
  position: absolute;
  background: white;
  bottom: 10px;
  height: 5px;
  content: "";
  width: 5px;
  left: 50%;
}

.logo {
  color: white;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 20px;
}

.nav-links li {
  list-style: none;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 40%;
  padding-top: 15px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  letter-spacing: 3px;
  font-weight: bold;
  font-size: 14px;
}

.lines {
  display: none;
  cursor: pointer;
}

.lines div {
  width: 25px;
  height: 5px;
  background-color: white;
  margin: 5px;
  height: 3px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 1280px) {
  .nav-links {
    width: 70%;
  }

  .box2 {
    min-width: 90%;
  }

  .box {
    min-width: 90%;
  }

  .content {
    min-width: 60%;
    max-height: 300px;
    margin: 10px !important;
    border: 2px solid gray;
  }

  .wrapper {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 0px;
    min-width: 100%;
  }
}

.wrapper2 {
  position: relative;
}

@media screen and (max-width: 768px) {
  .wrapper2 {
    overflow-x: hidden;
  }
  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: #5271ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  .nav-links li {
    opacity: 0;
  }
  .lines {
    display: block;
  }

  .content {
    min-width: 80%;
    max-height: 25vh;
    margin: 10px !important;
    border: 2px solid gray;
  }

  .wrapper {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 0px;
    margin-top: 100px !important;
    min-width: 100%;
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

.content {
  box-sizing: border-box;
  width: 35%;
  height: 300px;
  margin: 25px;
  transition: 0.5s;
  border: 2px solid gray;
  border-radius: 15px 50px;
}

.wrapper {
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
  text-align: center;
  border: 0px;
  max-width: 80%;
}

.box2 {
  background: #5271ff;
  height: auto;
  font-weight: 300;
  width: 60%;
  letter-spacing: 5px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 40px;
  color: white;
  border: 2px solid white;
  border-radius: 15px 50px;
}

.content2 {
  padding: 20px;
  box-sizing: border-box;
}

.footer {
  color: white;
  margin-top: 0px;
  margin-bottom: 12px;
  text-align: center;
}
