@charset "UTF-8";
/* -----SECTION CONTACT----- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  margin: 20px auto;
  width: 90%;
  gap: 10px;
}

.contact-box {
  width: 100%;
  padding: 10px 5px;
  text-align: center;
  background-color: #272727;
  border-radius: 15px;
  text-decoration: none;
  color: #fff;
  transition: 0.5s;
}
.contact-box:hover {
  background-color: #303030;
}
.contact-box i {
  font-size: 2.4rem;
  color: #e31f26;
}
.contact-box p {
  font-size: 1.8rem;
  color: #e31f26;
}

.contact-worktime {
  padding: 10px 5px;
  text-align: center;
  background-color: #272727;
  border-radius: 15px;
  margin: 20px 5% 35px;
  width: 90%;
}
.contact-worktime h4 {
  font-size: 2rem;
  color: #fff;
}
.contact-worktime i {
  font-size: 2rem;
  color: #e31f26;
}

.section iframe {
  width: 90%;
  margin: 5px 5%;
  height: 300px;
  border-radius: 15px;
  filter: grayscale(100%);
}

/* ---------------MEDIA QUERIES--------------- */
/* TABLET */
@media only screen and (min-width: 767px) and (max-width: 1023px) {
  .section iframe {
    height: 350px;
  }
  /* -----SECTION FORM-----  */
  .form-title {
    font-size: 2.6rem;
  }
}
/* DESKTOP */
@media only screen and (min-width: 1024px) {
  .contact-grid {
    margin: 0 auto;
    width: 90%;
    gap: 10px;
  }
  .contact-worktime {
    margin: 20px 5% 35px;
    width: 90%;
    gap: 10px;
  }
  .section iframe {
    width: 90%;
    margin: 5px 5%;
    height: 450px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 62.5%;
  font-family: "Nunito", sans-serif;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  background-color: #222;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  display: flex;
  background-color: #222;
  -webkit-backdrop-filter: blur(1px);
          backdrop-filter: blur(1px);
  justify-content: space-between;
  align-items: center;
  height: 8vh;
  padding: 30px 20px;
  z-index: 10;
}

.logo {
  width: 160px;
}
.logo:hover {
  opacity: 0.8;
}

.nav-links {
  list-style: none;
}
.nav-links li {
  margin: 10px 0;
}
.nav-links li a {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 600;
  list-style: none;
  font-variant: small-caps;
  text-decoration: none;
}

.link-border {
  height: 1px;
  width: 20%;
  margin: 5px 40%;
  background-color: rgba(169, 169, 169, 0.3058823529);
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 15;
}

.bar {
  display: block;
  border-radius: 5px;
  margin: 6px auto;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}

.bar:nth-child(1),
.bar:nth-child(3) {
  width: 35px;
  height: 2px;
}

.bar:nth-child(2) {
  width: 25px;
  height: 1.5px;
}

.border {
  width: 50%;
  margin: 10px 25%;
  height: 1px;
  background-color: rgba(102, 102, 102, 0.5450980392);
}

.long-border {
  width: 100%;
  margin: 10px 0;
  height: 1px;
  background-color: rgba(102, 102, 102, 0.5450980392);
}

.red-border {
  width: 35%;
  margin: 20px auto;
  height: 1px;
  background-color: #e31f26;
  opacity: 0.7;
}

#active {
  color: #e31f26;
}

main {
  position: relative;
  width: 100%;
  margin-top: 8vh;
}
main .main-box {
  position: absolute;
  bottom: -1%;
  background-color: #222;
  width: 100%;
  height: 30px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  z-index: 5;
}

.main-title {
  position: absolute;
  left: 5%;
  bottom: -20%;
  z-index: 5;
  width: 90%;
}
.main-title h1 {
  color: #fff;
  font-size: 3.4rem;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.main-title p {
  width: 70%;
  color: #ccc;
  font-size: 1.8rem;
  margin-bottom: 7vh;
}

.btn {
  margin-left: 5%;
  margin-bottom: 10vh;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  background-color: #e31f26;
  color: #fff;
  padding: 10px 20px;
  border-radius: 15px 5px 15px 5px;
  transition: all 0.7s;
}
.btn:hover {
  color: #222;
  opacity: 0.8;
}

.main-img img {
  width: 100%;
  height: 70vh;
  -o-object-fit: cover;
     object-fit: cover;
  position: relative;
  -o-object-position: center;
     object-position: center;
}
.main-img::after {
  position: absolute;
  content: "";
  width: 100%;
  bottom: 0;
  top: 0;
  left: 0;
  background-image: linear-gradient(rgba(3, 3, 3, 0.0705882353), #222 95%);
  height: 100%;
}

/* *****FORMS***** */
.section h4 {
  font-size: 1.8rem;
  color: #e31f26;
  font-weight: 700;
  margin-bottom: 20px;
}

form {
  margin: 0 5%;
  width: 90%;
  padding: 10px 20px;
}
form h4 {
  font-size: 1.8rem;
  color: #e31f26;
  font-weight: 700;
  margin-bottom: 20px;
}
form label {
  width: 100%;
  font-size: 2rem;
  color: #fff;
}
form label span {
  color: #e31f26;
  font-size: 3rem;
}
form input,
form textarea,
form select,
form option {
  position: relative;
  margin-top: 5px;
  width: 100%;
  font-size: 1.8rem;
  padding: 10px 20px;
  border-radius: 15px;
  background-color: #444;
  margin-bottom: 15px;
  resize: none;
}
form option {
  color: #fff;
}
form input::-moz-placeholder {
  color: #000;
}
form input::placeholder {
  color: #000;
}
form input::-moz-placeholder :last-child {
  background-color: #e31f26 !important;
  border: 1px solid #e31f26;
  color: #fff;
  font-weight: 800;
  margin-top: 20px;
}
form input::placeholder :last-child {
  background-color: #e31f26 !important;
  border: 1px solid #e31f26;
  color: #fff;
  font-weight: 800;
  margin-top: 20px;
}
form textarea::-moz-placeholder {
  color: #000;
}
form textarea::placeholder {
  color: #000;
}
form input:last-child {
  color: #fff;
  font-weight: 600;
  background-color: #e31f26;
  border: none;
}
form input:last-child:hover {
  color: #e31f26;
  background-color: #303030 !important;
}
form input:last-child:active {
  color: #303030;
  background-color: #696666 !important;
}

.section input[type=date]::-webkit-calendar-picker-indicator {
  background-position: right;
  background-size: auto;
  padding-top: 14px;
  cursor: pointer;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  width: auto;
}

#error-message {
  display: block;
  color: #e31f26;
  font-size: 1.4rem;
  text-align: start;
  margin-left: 10px;
  margin-top: -10px;
}

.section {
  padding: 20px 10px;
  margin: 5px auto;
  width: 100%;
  text-align: center;
}

.section h1 {
  font-size: 3.4rem;
  color: #fff;
}

.section h2 {
  padding: 0 20px;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.section h3 {
  margin-top: 25px;
  font-size: 2rem;
  color: #fff;
  border-left: 4px solid #e31f26;
  width: -moz-fit-content;
  width: fit-content;
  padding-left: 10px;
  margin: 10px auto;
}

.section p {
  font-size: 2rem;
  color: #ccc;
  width: 80%;
  margin: 10px 10%;
}

.link {
  font-size: 2rem;
  color: #e31f26;
  font-weight: 500;
}

/* *****SECTION BRANDS***** */
.section-brands {
  margin-top: 20px;
  width: 100%;
  background-color: #272626;
  padding: 10px 20px;
}
.section-brands .brands-grid {
  width: 100%;
  margin: 15px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.section-brands .brands-grid img {
  width: 100%;
}

/* -----FOOTER----- */
footer {
  width: 100%;
  text-align: center;
}

.footer-box {
  padding: 10px;
}
.footer-box h2 {
  margin-top: 10px;
  font-size: 2rem;
  color: #fff;
}
.footer-box h2 span {
  font-size: 2rem;
  color: #e31f26;
  font-weight: 800;
}
.footer-box p,
.footer-box a {
  display: block;
  font-size: 1.6rem;
  color: #ababab;
  text-decoration: none;
  width: 90%;
  margin: 5px auto;
}
.footer-box:nth-child(4) a {
  color: #e31f26;
}

.footer-icons {
  width: 100%;
  padding: 20px 20px;
  margin-top: 10px;
  background-color: #212020;
  text-align: center;
  border-top: 1px solid rgba(102, 102, 102, 0.5450980392);
}
.footer-icons a i {
  font-size: 2.8rem;
  color: #fff;
  margin: 5px 8px;
}
.footer-icons p {
  margin-top: 10px;
  font-size: 1rem;
  color: #fff;
}

@media only screen and (min-width: 650px) {
  .main-title {
    width: 70%;
  }
  .main-title h1 {
    font-size: 3rem;
  }
  .main-title p {
    font-size: 1.8rem;
  }
  .main-title .btn {
    font-size: 1.6rem;
  }
  .section {
    padding: 20px 10px;
    width: 90%;
    margin: 5px auto;
    text-align: center;
  }
  .section h1 {
    font-size: 3.2rem;
    color: #fff;
  }
  .section h2 {
    padding: 0 20px;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-size: 2.8rem;
  }
  .section h3 {
    margin-top: 25px;
    font-size: 2rem;
    color: #fff;
    border-left: 4px solid #e31f26;
    width: -moz-fit-content;
    width: fit-content;
    padding-left: 10px;
    margin: 10px auto;
    font-size: 2.2rem;
  }
  .section p {
    font-size: 2rem;
    color: #ccc;
    width: 80%;
    margin: 10px 10%;
    font-size: 2.2rem;
  }
}
.link {
  font-size: 2.2rem;
}

@media only screen and (max-width: 1024px) {
  .hamburger {
    display: block;
    z-index: 100;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    flex-direction: column;
    background-color: #222;
    width: 60%;
    box-shadow: 2px 10px 6px #444;
    text-align: center;
    transition: 0.3s;
    padding: 60px 20px;
    z-index: 100;
  }
  .nav-links ul {
    margin: 20px 0;
  }
  .nav-links.active {
    right: 0;
  }
}
/* *****FORMS***** */
.section form {
  margin: 0 2.5%;
  width: 95%;
}

/* -----FOOTER----- */
.footer-box {
  padding: 10px;
}
.footer-box h2 {
  font-size: 2.6rem;
}
.footer-box h2 span {
  font-size: 2.6rem;
}
.footer-box h2 p,
.footer-box h2 a {
  font-size: 2.4rem;
  text-decoration: none;
}
.footer-box .footer-icons a i {
  font-size: 3rem;
}
.footer-box .footer-icons p {
  font-size: 1.4rem;
}
.footer-box .footer-icons p #year {
  font-size: 1.3rem;
}

/* -----DESKTOP----- */
@media only screen and (min-width: 1024px) {
  /* -----NAVBAR----- */
  .logo {
    width: 180px;
  }
  .navbar {
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 90;
  }
  .nav-links {
    display: flex;
    gap: 5px;
  }
  .nav-links li a {
    padding: 5px 15px;
    transition: ease-in-out 0.5s;
    font-size: 1.6rem;
  }
  .nav-links li a:hover {
    background-color: #e31f26;
    color: #fff !important;
    border-radius: 15px 5px 15px 5px;
  }
  .link-border {
    display: none;
  }
  .main-title {
    width: 40%;
  }
  #error-message {
    font-size: 1.6rem;
  }
  .section {
    padding: 20px;
    width: 70%;
    margin: 10px 15%;
  }
  .section h1 {
    font-size: 3.8rem;
    color: #fff;
  }
  .section h2 {
    padding: 0 20px;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-size: 3.2rem;
  }
  .section h3 {
    margin-top: 25px;
    font-size: 2rem;
    color: #fff;
    border-left: 4px solid #e31f26;
    width: -moz-fit-content;
    width: fit-content;
    padding-left: 10px;
    margin: 10px auto;
    font-size: 2.2rem;
  }
  .section p {
    font-size: 2rem;
    color: #ccc;
    width: 80%;
    margin: 10px 10%;
    font-size: 2rem;
  }
  .link {
    font-size: 2rem;
  }
  /* *****SECTION BRANDS***** */
  .section-brands .brands-grid {
    width: 70%;
    margin: 15px auto;
  }
  .section-brands .brands-grid img {
    width: 80%;
  }
  /* -----FOOTER----- */
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 25px 15%;
    width: 70%;
  }
  .footer-grid h2 {
    font-size: 2rem;
  }
  .footer-icons p {
    font-size: 1.4rem;
  }
  .footer-icons p #year {
    font-size: 1.3rem;
  }
}
@media only screen and (min-width: 1800px) {
  /* -----NAVBAR----- */
  .logo {
    width: 180px;
  }
  .navbar {
    padding: 0 12%;
  }
  .section {
    padding: 20px;
    width: 55%;
    margin: 10px 22.5%;
  }
  /* *****SECTION BRANDS***** */
  .section-brands .brands-grid {
    width: 55%;
    margin: 15px auto;
  }
  .section-brands .brands-grid img {
    width: 80%;
  }
  /* -----FOOTER----- */
  .footer-grid {
    margin: 25px 22.5%;
    width: 55%;
  }
}
.servisni-centar {
  margin-top: 22vh;
}

.servis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
  width: 100%;
  margin: 20px 0 10px;
  padding: 10px;
}
.servis-grid .servis-box {
  background-color: #272727;
  padding: 10px 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 1.2;
  transition: ease-in-out 0.5s;
  border-radius: 15px;
}
.servis-grid .servis-box i {
  color: #e31f26;
  font-size: 2.4rem;
}
.servis-grid .servis-box h5 {
  color: #fff;
  font-weight: 300;
  font-size: 1.2rem;
}
.servis-grid .servis-box:hover {
  background-color: #343333;
  color: #e31f26;
  font-weight: 700;
}

/* *****RECENZIJE***** */
.recenzije-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.recenzije-grid .recenzije {
  width: 100%;
  padding: 20px;
}
.recenzije-grid .recenzije h2 {
  font-size: 2rem;
  margin-top: 10px;
}
.recenzije-grid .recenzije img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
}
.recenzije-grid .recenzije p {
  font-size: 1.8rem;
}
.recenzije-grid .recenzije i {
  font-size: 1.6rem;
  color: #e3d807;
}

.zastupstva-grid {
  width: 100%;
  padding: 20px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(1, 1fr);
}
.zastupstva-grid .zastupstva-box {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: 0.5s;
}
.zastupstva-grid .zastupstva-box .zastupstva-bg {
  position: relative;
  border-radius: 15px;
  width: 100%;
}
.zastupstva-grid .zastupstva-box .zastupstva-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 50%;
}
.zastupstva-grid .zastupstva-box::after {
  position: absolute;
  content: "";
  width: 100%;
  bottom: 0;
  top: 0;
  left: 0;
  background-image: linear-gradient(rgba(3, 3, 3, 0.6039215686), #222 96%);
  height: 100%;
}
.zastupstva-grid .zastupstva-box:hover {
  opacity: 0.7;
}

.grid-3 {
  margin: 20px 10px;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.grid-3 .autoconnect-box {
  width: 100%;
  background-color: rgba(39, 39, 39, 0.5450980392);
  padding: 10px 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 15px;
  transition: all 0.5s;
}
.grid-3 .autoconnect-box i {
  color: #e31f26;
  font-size: 2.4rem;
}
.grid-3 .autoconnect-box h5 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 300;
}
.grid-3 .autoconnect-box:hover {
  background-color: #343333;
  color: #e31f26;
  font-weight: 700;
}

.projekt-box {
  width: 100%;
  padding: 20px;
  text-align: left;
  margin-bottom: 30px;
}
.projekt-box h4 {
  font-size: 2.4rem;
  color: #fff;
  padding-left: 10px;
  margin-bottom: 5px;
  border-left: 3px solid #e31f26;
}
.projekt-box h6 {
  font-size: 1.8rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 15px;
}
.projekt-box ul li {
  display: flex;
  gap: 5px;
  color: #ccc;
  font-size: 1.8rem;
}
.projekt-box ul li span {
  font-size: 1.8rem;
}
.projekt-box .projekt-img-box {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 5px;
}
.projekt-box .projekt-img-box img {
  width: 100%;
  height: 100%;
  margin: 10px auto;
  border-radius: 5px;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ---------------MEDIA QUERIES--------------- */
/* TABLET */
@media only screen and (min-width: 650px) {
  .servis-grid .servis-box i {
    font-size: 2.6rem;
  }
  .servis-grid .servis-box h5 {
    color: #fff;
    font-weight: 300;
    font-size: 1.8rem;
  }
  /* *****RECENZIJE***** */
  .recenzije-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .recenzije-grid .recenzije {
    width: 100%;
    padding: 20px;
    margin-bottom: 30px;
  }
  .recenzije-grid .recenzije h2 {
    font-size: 2rem;
    margin-top: 10px;
  }
  .recenzije-grid .recenzije img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
  }
  .recenzije-grid .recenzije p {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .recenzije-grid .recenzije i {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #e3d807;
  }
  .zastupstva-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-3 .autoconnect-box i {
    font-size: 2.6rem;
  }
  .grid-3 .autoconnect-box h5 {
    font-size: 1.8rem;
  }
  .projekt-grid {
    width: 80%;
    margin: 0 auto;
  }
  .projekt-grid .projekt-box {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
  }
}
/* DESKTOP */
@media only screen and (min-width: 1024px) {
  .usluge-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .usluge-grid .services-box {
    height: 160px;
  }
  .usluge-grid .services-box .services-text {
    flex-wrap: wrap;
    padding: 10px;
  }
  .usluge-grid .services-box .services-text h3 {
    font-size: 2.4rem;
  }
  .zastupstva-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-3 .autoconnect-box i {
    font-size: 2.6rem;
  }
  .grid-3 .autoconnect-box h5 {
    font-size: 1.8rem;
  }
}
.about-border {
  display: block;
  margin: 20px auto;
  width: 20%;
  height: 1px;
  background-color: rgba(170, 170, 170, 0.4196078431);
}

/* -----ABOUT US----- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  padding: 20px;
  width: 100%;
}

.about-box {
  width: -moz-fit-content;
  width: fit-content;
}
.about-box h5 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.about-box h5 span {
  margin-top: 25px;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.about-box:first-child {
  display: flex;
  align-items: center;
  padding-top: 20px;
  flex-direction: column;
}

.about-box h5 span {
  color: #e31f26;
}

.about-box img {
  width: 80%;
  margin: 10px 10%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 15px;
  transition: 0.5s;
}

#section-about h6 {
  font-size: 1.8rem;
  color: #eee;
  font-weight: 500;
  margin-top: 15px;
  font-variant: small-caps;
}

.vrijednosti-box {
  list-style: none;
  margin-top: 15px;
}
.vrijednosti-box li {
  font-size: 1.8rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px 15px;
  margin-top: 5px;
}
.vrijednosti-box li i {
  font-size: 2.4rem;
  color: #e31f26;
}

/* -----SECTION NAS TIM----- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  padding: 20px;
}

.team-text {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 15px 0;
  line-height: 0.5;
}
.team-text h5 {
  font-size: 2.4rem;
  color: #fff;
}
.team-text span {
  margin: 10px 0;
  font-size: 1.6rem;
  color: white;
}
.team-text span i {
  font-size: 1.8rem;
  color: #e31f26;
  margin-right: 10px;
}
.team-text a {
  font-size: 1.6rem;
  color: #ccc;
  margin: 5px 0;
  width: -moz-fit-content;
  width: fit-content;
  transition: all 0.5s;
}
.team-text a:hover {
  color: #e31f26;
}
.team-text a i {
  font-size: 1.4rem;
  margin-right: 5px;
  color: #e31f26;
}

.team-box {
  margin-top: 10px;
}
.team-box img {
  width: 100%;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: 0.5s;
}
.team-box img:hover {
  transform: scale(1.6);
  border-radius: 15px;
  margin-bottom: 50px;
  margin-top: 25px;
}

/* ---------------MEDIA QUERIES--------------- */
/* TABLET */
@media only screen and (min-width: 767px) and (max-width: 1023px) {
  /* -----SECTION NAS TIM----- */
  .team-box div h5 {
    font-size: 2.2rem;
  }
  .team-box div span,
  .team-box div p,
  .team-box div a {
    font-size: 1.6rem;
  }
}
/* DESKTOP */
@media only screen and (min-width: 1024px) {
  /* -----ABOUT US----- */
  .about-grid {
    width: 90%;
    margin: auto;
    grid-template-columns: 2.6fr 1.6fr;
  }
  .about-grid .about-box h5 {
    font-size: 2rem;
  }
  .about-grid .about-box img {
    width: 80%;
    margin: 10% auto;
  }
  /* -----SECTION NAS TIM----- */
  .team-grid {
    width: 90%;
    margin: 10px 5%;
    grid-template-columns: repeat(3, 1fr);
  }
  .team-box div h5 {
    font-size: 2rem;
  }
  .team-box div span,
  .team-box div p,
  .team-box div a {
    font-size: 1.6rem;
  }
}
.privacy-text {
  width: 100%;
}

/* ---------------MEDIA QUERIES--------------- */
/* TABLET */
@media only screen and (min-width: 767px) and (max-width: 1023px) {
  .privacy-text {
    width: 80%;
    margin: 10px auto;
  }
}
/* DESKTOP */
@media only screen and (min-width: 1024px) {
  .privacy-text {
    width: 90%;
    margin: 10px auto;
  }
}
.cars-slide {
  width: 100%;
  margin: 5px 0;
  position: relative;
}

.btn-slide {
  background-color: #222;
  padding-top: 7px;
  border-radius: 50%;
  transition: 0.5s;
  border: none;
  height: 50px;
  width: 50px;
  /*  box-shadow: 0px 2px 12px #0000004d; */
}

.fi {
  color: #fff;
  font-size: 3.4rem;
}

#left-slide {
  position: absolute;
  top: -3%;
  left: 2%;
  z-index: 9;
}

#right-slide {
  position: absolute;
  top: -3%;
  right: 2%;
  z-index: 9;
}

.cars-slide .slider .cars-box:first-child {
  display: grid;
}

.cars-slide .slider .cars-box {
  display: none;
}

.cars-slide {
  margin-top: 15px;
}

.cars-box {
  overflow: hidden;
  margin: 10px 20px;
  border-radius: 15px;
  box-shadow: 1px 2px 10px rgba(17, 17, 17, 0.4745098039);
  border: 3px solid #333;
  transition: ease-in 0.5s;
}
.cars-box .img-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  overflow: hidden;
  border-radius: 15px;
  padding: 10px;
}
.cars-box .img-box img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  -o-object-fit: cover;
     object-fit: cover;
  overflow: hidden;
  position: relative;
}
.cars-box .cars-info {
  text-align: center;
  padding: 40px 20px 20px 0px;
}
.cars-box .cars-info h3 {
  font-size: 2.4rem;
  color: #fff;
  z-index: 25;
}
.cars-box .cars-info ul {
  margin: 0 20px;
}
.cars-box .cars-info ul li {
  display: flex;
  gap: 5px;
  font-size: 1.8rem;
  text-align: left;
  color: #bbb;
}
.cars-box .cars-info ul li span {
  font-size: 1.8rem;
}

/* -----SECTION CAR GALLERY----- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  width: 100%;
  margin: 10px 0 10px;
  padding: 20px;
}
.grid-4 .gallery-img {
  position: relative;
  width: 100%;
  border-radius: 5px;
  height: 90%;
  margin: 10px 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  background-color: rgba(34, 34, 34, 0.9176470588);
  align-items: center;
  z-index: 10;
}

#popup {
  background: #222;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  padding: 5px;
  position: relative;
}

#close {
  position: absolute;
  top: 5px;
  color: #fff;
  font-size: 4rem;
  right: 20px;
  cursor: pointer;
}

/* ---------------MEDIA QUERIES--------------- */
/* TABLET */
@media only screen and (min-width: 760px) {
  /* -----NAŠI PROKEJTI----- */
  .fi {
    font-size: 5rem;
  }
  #left-slide {
    position: absolute;
    top: -7%;
    left: 0%;
  }
  #right-slide {
    position: absolute;
    top: -7%;
    right: 0%;
  }
  .cars-box {
    display: grid;
    grid-template-columns: 2.6fr 1.6fr;
  }
  .cars-box .cars-info h3 {
    font-size: 3.6rem;
    margin-top: 10px;
  }
  .cars-box .cars-info p {
    font-size: 2.2rem;
  }
  .cars-box .cars-info ul li {
    font-size: 2rem;
    color: #bbb;
  }
  .cars-box img {
    height: 100%;
  }
  /* -----SECTION CAR GALLERY----- */
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  #popup {
    width: 60%;
  }
}
/* DESKTOP */
@media only screen and (min-width: 1024px) {
  #left-slide {
    position: absolute;
    bottom: 45%;
    left: 2%;
  }
  #right-slide {
    position: absolute;
    bottom: 45%;
    right: 2%;
  }
  .cars-box {
    display: grid;
    grid-template-columns: 3fr 2.5fr;
    margin: 0 5%;
    width: 90%;
  }
  .cars-box img {
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: bottom !important;
       object-position: bottom !important;
  }
  .cars-box .cars-info {
    text-align: center;
  }
  .cars-box .cars-info h3 {
    font-size: 3.4rem;
  }
  .cars-box .cars-info p {
    font-size: 2.6rem;
  }
  .cars-box .cars-info ul {
    width: -moz-fit-content;
    width: fit-content;
    padding-left: 10%;
    text-align: center;
  }
  .cars-box .cars-info ul li {
    font-size: 2rem;
  }
  /* -----SECTION CAR GALLERY----- */
  .grid-4 {
    width: 90%;
    margin: 10px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
  #overlay {
    z-index: 100;
  }
  #popup {
    width: -moz-fit-content;
    width: fit-content;
    height: 70%;
    border: 2px solid #222;
  }
}
.servis-img {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: 95%;
  margin: 10px 2.5%;
  gap: 15px;
}
.servis-img img {
  width: 100%;
  border-radius: 30px;
}

/* ---------------MEDIA QUERIES--------------- */
/* TABLET */
@media only screen and (min-width: 660px) {
  .servis-img {
    grid-template-columns: repeat(2, 1fr);
  }
}
.usluge-grid {
  gap: 10px;
  width: 100%;
  margin: 20px 0 10px;
  padding: 20px 0 5px;
}
.usluge-grid .services-box {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: ease-in-out 0.5s;
  padding: 30px 0;
  height: -moz-fit-content;
  height: fit-content;
}
.usluge-grid .services-box .services-img {
  position: absolute;
  left: 0;
  top: 0;
  height: 60px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  z-index: 1;
}
.usluge-grid .services-box .services-title {
  margin: 10px 0;
}
.usluge-grid .services-box .services-title h5 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 0 10px 0 20px;
  z-index: 5;
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.9058823529);
  color: #fff;
  font-size: 2rem;
}
.usluge-grid .services-box .services-title i {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  right: 10px;
  z-index: 5;
  color: #e31f26;
}

@keyframes usluge-animation {
  0% {
    transform: translateY(-500px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
.usluge-box {
  animation: usluge-animation 0.35s ease;
  display: none;
  z-index: 3;
  padding: 20px 0;
  margin-top: 20px;
  background-color: rgba(0, 0, 0, 0.8549019608);
  z-index: 2;
  text-align: left;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.usluge-box ul {
  text-align: left;
  margin: 20px 10% 0;
}
.usluge-box ul li {
  font-size: 2rem;
  color: #eee;
}
.usluge-box .usluge-img {
  width: 90%;
  margin: 40px 5% 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.usluge-box .usluge-img img {
  width: 100%;
  border-radius: 5px;
}
.usluge-box .usluge-btn {
  width: 100%;
  text-align: center;
  margin: 30px auto 10px;
}
.usluge-box .usluge-btn a {
  text-align: center;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  background-color: #e31f26;
  color: #fff;
  padding: 10px 20px;
  border-radius: 15px 5px 15px 5px;
  transition: all 0.7s;
}
.usluge-box .usluge-btn a:hover {
  color: #222;
  opacity: 0.8;
}

/* ---------------MEDIA QUERIES--------------- */
/* TABLET */
@media only screen and (min-width: 650px) {
  .usluge-grid {
    width: 95%;
    margin: 20px auto 10px;
    grid-template-columns: repeat(1, 1fr);
  }
  .usluge-grid .usluge-box {
    display: none;
  }
  .usluge-grid .usluge-box .usluge-img {
    width: 80%;
    margin: 40px 10% 10px;
    gap: 5px;
  }
  .usluge-grid .usluge-box .usluge-img img {
    width: 95%;
    margin: 0 auto;
  }
}
.zastupstva-text {
  text-align: left;
}
.zastupstva-text h5 {
  width: 80%;
  font-size: 2.2rem;
  color: #fff;
  border-left: 4px solid #e31f26;
  padding-left: 10px;
  font-weight: 600;
  text-align: left;
  margin: 30px auto 5px auto;
}
.zastupstva-text img {
  width: 100%;
  border-radius: 15px;
}
.zastupstva-text a {
  font-size: 1.6rem;
  color: #e31f26;
}
.zastupstva-text .zastupstva-grid {
  width: 90%;
  margin: 0 5%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.zastupstva-text .zastupstva-grid p {
  width: 100%;
  margin: 10px auto;
}

.zastupstva-links {
  width: 80%;
  margin: 10px 10%;
}
.zastupstva-links li {
  margin: 5px auto;
  display: flex;
  gap: 5px;
  font-size: 2rem;
  color: #ccc;
  text-align: left;
}
.zastupstva-links li span {
  font-size: 2rem;
}

.zastupstva-img-box {
  width: 80%;
  margin: 0 10%;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
}

.zastupstva-buttons {
  display: flex;
  width: 80%;
  margin: 5px auto;
  gap: 10px;
}
.zastupstva-buttons a {
  margin: 0;
}

/* *****MEDIA QUERIES***** */
/* TABLET */
@media only screen and (min-width: 650px) {
  .zastupstva-text h5 {
    font-size: 2.2rem;
  }
  .zastupstva-text a {
    font-size: 1.8rem;
    width: 80%;
    margin: 5px 10%;
  }
  .zastupstva-text .zastupstva-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .zastupstva-text .zastupstva-grid div {
    display: flex;
    width: 100%;
    margin: 10px auto;
  }
  .zastupstva-text .zastupstva-grid img {
    width: 95%;
    margin: 5px 2.5%;
  }
  .zastupstva-img-box {
    width: 80%;
    margin: 10px 10%;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
/* DESKTOP */
.sound-panthera-box h5 {
  font-size: 2rem;
  color: #e31f26;
  margin-bottom: 10px;
  font-weight: 500;
}
.sound-panthera-box div {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.sound-panthera-box div a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  transition: all 0.5s;
}
.sound-panthera-box div a i {
  color: #fff;
  margin-right: 10px;
}
.sound-panthera-box div a:hover {
  color: #e31f26;
}

.sound-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.sound-grid .sound-images {
  width: 80%;
  -o-object-fit: cover;
     object-fit: cover;
  height: 300px;
  border-radius: 30px;
  margin: 10px auto;
}

.usluge-btn {
  width: 100%;
  text-align: center;
  margin: 30px auto 10px;
}
.usluge-btn a {
  text-align: center;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  background-color: #e31f26;
  color: #fff;
  padding: 10px 20px;
  border-radius: 15px 5px 15px 5px;
  transition: all 0.7s;
}
.usluge-btn a:hover {
  color: #222;
  opacity: 0.8;
}

/* ---------------MEDIA QUERIES--------------- */
/* TABLET */
@media only screen and (min-width: 660px) {
  .sound-panthera-box h5 {
    font-size: 2.6rem;
  }
  .sound-panthera-box div {
    width: -moz-fit-content;
    width: fit-content;
    margin: 5px auto;
    gap: 35px;
    grid-template-columns: repeat(2, 1fr);
  }
  .sound-panthera-box div a {
    font-size: 2rem;
  }
  .sound-panthera-box div a i {
    font-size: 2rem;
  }
  .sound-grid {
    width: 80%;
    margin: 10px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .sound-grid .sound-images {
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    height: 300px;
    border-radius: 30px;
    margin: 10px auto;
  }
}
/* DESKTOP */
.thank-you-page {
  width: 100%;
  height: 100vh;
  background-color: #222;
  position: relative;
}
.thank-you-page .thank-you {
  width: 70%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 25px 40px;
  text-align: center;
  background-color: rgba(68, 68, 68, 0.6666666667);
  border-radius: 15px 5px 15px 5px;
  border: 1px solid #17a255;
}
.thank-you-page .thank-you h1 {
  margin: 0 auto;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 3rem;
  color: #fff;
  border-left: 4px solid #17a255;
  padding-left: 10px;
  margin-bottom: 15px;
}
.thank-you-page .thank-you p {
  font-size: 2rem;
  color: #ccc;
}
.thank-you-page .thank-you p i {
  font-size: 2;
  color: #17a255;
}
.thank-you-page .thank-you h5 {
  font-size: 1.6rem;
  color: #e31f26;
  font-weight: 500;
  margin-bottom: 30px;
}
.thank-you-page .thank-you a {
  background-color: #17a255;
  font-size: 1.8rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 15px 5px 15px 5px;
  transition: all 0.7s;
}
.thank-you-page .thank-you a:hover {
  color: #222;
  opacity: 0.8;
}

/*  */
/* ---------------MEDIA QUERIES--------------- */
/* TABLET */
@media only screen and (min-width: 767px) and (max-width: 1023px) {
  .thank-you-page .thank-you {
    width: 60%;
  }
}
/* DESKTOP */
@media only screen and (min-width: 1024px) {
  .thank-you-page .thank-you {
    width: 30%;
  }
}/*# sourceMappingURL=style.css.map */