@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-color: #FFFFFF;
  color: #6A6A6A;
  font-family: "Syne", sans-serif;
  font-size: 18px;
}

.navbar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  flex-grow: 1;
  flex-basis: 50px;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: "Syne", sans-serif;
  font-size: 18px;
}

.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.disabled:hover {
  background-color: white;
}

h2 {
  color: #7a39b7;
  font-weight: 600;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.grid {
  display: grid;
  gap: 24px;
}

.section {
  padding-block: 80px 16rem;
  display: flex;
  flex-direction: column;
}

.naslov {
  font-size: 36px;
  text-align: center;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  justify-content: center;
  background-color: #7a39b7;
  color: white;
  font-weight: 600;
  padding: 1rem 32px;
  border-radius: 0.5rem;
}

.button:hover {
  background-color: #6932a0;
  box-shadow: 0 8px 24px #080808;
}

.razred_container {
  row-gap: 32px;
}

.box {
  background-color: hsl(0, 0%, 100%);
  border-radius: 12px;
  padding: 56px 24px;
  box-shadow: 0 12px 24px #080808;
  text-align: center;
}

.razred_naslov {
  font-size: 24px;
  margin-bottom: 16px;
}

@media screen and (max-width: 320px) {
  .container {
    margin-inline: 16px;
  }
}

@media screen and (min-width: 576px) {
  .razred_container {
    grid-template-columns: 320px;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .razred_container {
    grid-template-columns: repeat(2, 320px);
  }
}

@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 112px 32px;
  }

  .razred_naslov {
    margin-bottom: 56px;
  }

  .razred_container {
    grid-template-columns: repeat(3, 345px);
  }

  .services_card {
    padding-block: 72px;
  }
}