*{
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: black;
}

body {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: #fff;
  font-family: "SoDo Sans SemiBold", Arial, Helvetica, sans-serif;
  /* background-color: #000; */
  /* overflow-x: hidden; */
}

.background {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Navigacija  */

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  position: sticky;
  top: 0;
  background-color: rgb(0, 0, 0);
}

.nav-logo {
  padding: 1.5rem;
  width: 40%;
}

.nav-logo p {
  color: #fff;
  font-size: 16px;
}

.nav {
  display: flex;
  padding: 1.5rem 0;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 50%;
  justify-content: space-evenly;
}

.navbar li{ 
  list-style-type: none;
}

.nav a {
  color: white;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.nav-logo p, .nav a {
  line-height: 16px;
}

/* Logo i slogan  */

#background1{
  background-image: url("cesta1.jpg");
  height: 700px
}

.logo-moto {
  margin: 0;
  padding: 77px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-color: rgba(0, 0, 0, 0.5);
  border-right: #fff;
  height: 500px;
}

.moto {
  font-size: 35px;
  border: none;
  text-align: center;
  font-family:  "0Arame", Arial, Helvetica, sans-serif;
}

.logo {
  display: block;
  margin: auto;
}

.text {
  color: #fff;
  text-transform: uppercase;
}

/* Koraci do vozacke  */

.steps {
  background-color: rgb(247, 247, 247);
  margin: auto;
  min-height: 300px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 50px 0px;
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  height: 150px;
  padding-top: 5rem;
  color: #000;
  position: relative;
  overflow: hidden;
}

.step-over {
  background-color: rgb(0, 0, 0, 0.9);
  color: #fff;
  border-radius: 30px 30px 0 0;
  border: 1px solid black;
  border-bottom: none;
  position: absolute;
  bottom: -0.5;
  left: 0;
  right: 0;
  text-align: center;
  padding: 2rem;
  padding-bottom: 5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.step-over h4 {
  padding-bottom: 1rem;
}

.step-over li {
  list-style-type: none;
  padding: 0.2rem 0;
}

.step:hover .step-over {
  transform: translateY(0%);
}

/* O nama */

.about {
  width: 100%;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.naslov {
  color: #fff;
  align-self: center;
  padding: 1rem 4rem;
}

.sadrzaj {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-content: center;
  width: 100%;
  padding: 2rem 0rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.slika {
  width: 600px; 
}

.opis {
  width: 60%;
  min-width: 450px;
}

.opis p {
  color: #fff;
  font-size: 22px;
  line-height: 35px;
}

.slika img {
  width: 600px;
  border-radius: 10px;
}

/* Kontakt */

.kontakt{
  width: 100%;
  height: 350px;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  /* padding: 2rem; */
}

.section {
  padding: 1rem;
  width: 80%;
  text-align: center;
}

.section h1{
  padding: 1.5rem;
}

.section p{
  padding: 0.5rem;
  font-size: 22px;
  font-weight: 600;
}


/* Footer i ikone */

footer {
  background-color: rgb(0, 0, 0);
}

footer a{
  color: gray;
  text-decoration: none;
  margin-bottom: 1px;
  font-size: 22px;
}

footer p {
  color: #fff;
  padding: 2rem;
  font-family: Arial, Helvetica, sans-serif;
}

footer a:hover {
  color: #fff;
}

#ikone{
  text-align: center;
  size: 9px;
  height: 100%;
  width: 100%;
  padding-top: 2rem;
}

#icon{
  font-size: 30px;
  margin: 3% 5%;
}

#icon:hover{
  color: #fff;
}

footer #gore{
  font-size: 15px;
}



@media screen and (max-width: 770px) {

  .nav-logo{
    text-align: center;
  }

  .navbar ul{
    display: none;
  }

  .logo img {
    width: 100%;
  }

  #koraci {
    flex-direction: column;
    align-items: center;
  }

  .step {
    min-height: 50px;
    width: 70%;
  }

  .slika{
    align-content: center;
  }

  .slika img {
    width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .opis {
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    width: 80%;
    min-width: 300px;
  }

}