* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}
html {
  scroll-behavior: smooth;
}
.link {
  position: relative;
  top: -70px;
}
/* VARIABLES */
:root {
  /* COLORS */
  --white: #fbfbff;
  --black: #071013;
  --blue: #1c5e9b;
  --red: #eb5160;
  --lightGrey: #f2f2f2;
  --darkGrey: #5b5b5b;
  /* FONT SIZES*/
  --Font12: 13px;
  --Font14: 15px;
  --Font18: 19px;
  --Font22: 22px;
}
/* ROUNDED CORENRS  */
.round {
  border-radius: 10px 0px 10px 0px;
}
/*  FONT CLASSES  */
.font12 {
  font-size: var(--Font12);
}
.font14 {
  font-size: var(--Font14);
}
.font18 {
  font-size: var(--Font18);
}
.font22 {
  font-size: var(--Font22);
}
/* FONT WEIGHT */
.font_light {
  font-weight: 300;
}
.font_regular {
  font-weight: 400;
}
.font_bold {
  font-weight: 600;
}
/* FONT COLORS CLASSES */
.color_red {
  color: var(--red);
}
.color_black {
  color: var(--black);
}
.color_blue {
  color: var(--blue);
}
.color_white {
  color: var(--white);
}
.color_darkgrey_border {
  border: 1px solid var(--darkGrey);
}
/* ROBOTO FONT*/
.roboto {
  font-family: "Roboto", sans-serif;
}
/*  PRELOAD ANIMATION STYLING  */
.preload_active {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
}
.preload_active svg {
  height: 50px;
}
.preload_active svg > * {
  fill: var(--blue);
}
.preload_active svg .cls-2 {
  stroke: var(--blue);
}
.preload_closed {
  display: none;
}
.truck {
  position: relative;
  padding: 0px 15%;
}

.flash {
  position: absolute;
  width: 10%;
  height: 2px;
  background-color: var(--blue);
  animation: flash 1s ease infinite;
  top: 46%;
}
.preload_active #jedan {
  animation-delay: 0.3s;
  top: 43%;
}
.preload_active #dva {
  animation-delay: 0.6s;
  top: 54%;
}
.preload_active #tri {
  animation-delay: 0.9s;
  top: 57%;
}
.preload_active #cetri {
  animation-delay: 0.1s;
  top: 49%;
}
@keyframes flash {
  0% {
    left: 0px;
  }
  100% {
    left: 100%;
  }
}
.road {
  position: absolute;
  height: 2px;
  width: 100%;
  bottom: -5px;
  left: 0px;
  background-color: var(--blue);
}

/* STYLING  */

body {
  background-color: var(--white);
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}

/* HERO SECTION STYLING*/
.hero_section {
  width: 100%;
  height: auto;
  text-align: center;
  height: 85vh;
  background-image: url(assets/images/scaniaHeader.jpg);
  background-position: bottom center;
  position: relative;
  background-size: cover;
}
.hero_section::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
}
.hero_section h1 {
  padding-top: 200px;
  font-size: 50px;
  margin-bottom: 10px;
}
.hero_section > * {
  position: relative;
  z-index: 5;
}
.hero_section h2 {
  margin-bottom: 35px;
  letter-spacing: 1.5px;
  font-size: 35px;
}

/* BUTTON STYLING*/
.btn {
  text-decoration: none;
  border-radius: 0px 10px 0px 10px;
  padding: 12px 35px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.main_btn {
  border: 1px solid var(--white);
}
.btn:hover {
  box-shadow: 0px 0px 20px rgba(235, 81, 96, 0.6);
}
.main_btn:hover {
  border-color: var(--red) !important;
  background-color: var(--red) !important;
}
.sub_btn {
  background-color: var(--red);
  border: none;
}
/* NAVBAR STYLING*/
.nav_holder {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  transition: all 0.2s ease;
}

/*   SCROLL ANIMATIONS EFFECT  */
.nav_holder_active {
  background-color: var(--white);
  border-bottom: 1px solid rgb(241, 241, 241);
}
.nav_holder_active .logocont svg > * {
  fill: var(--black) !important;
}
.nav_holder_active .logocont svg .cls-2 {
  stroke: var(--black);
}
.nav_holder_active .navlinks_toggle div {
  background-color: var(--black);
}
.nav_holder_active .nav_links li a {
  color: var(--black);
}
.nav_holder_active .nav_links li a .icon1 {
  stroke: var(--black);
}
.nav_holder_active .navlinks_toggle:hover div {
  background-color: var(--black);
}
.active_link {
  color: var(--red) !important;
}
.logocont {
  margin: 10px 0px;
}
.logocont svg {
  height: 40px;
  width: auto;
}
.logocont svg > * {
  fill: var(--white);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav_links {
  display: flex;
  list-style: none;
  position: relative;
}
.nav_links li {
  padding: 7px 15px;
}

.nav_links li a {
  text-decoration: none;
  transition: all 0.3s ease;
}
.nav_links li a:hover {
  color: var(--red);
}

.nav_links li a:hover .icon1 {
  stroke: var(--red) !important;
}
.dropdown_toggle > svg {
  pointer-events: none !important;
}

.active {
  color: var(--red) !important;
  stroke: var(--red) !important;
}

/* DROP DOWN MENI */
.dropdown_meni {
  position: absolute;
  top: 51px;
  right: 10;
  background-color: var(--white);
  border-radius: 10px 0px 10px 0px;
  padding: 20px 20px 5px 20px !important;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
.dropdown_meni_open {
  pointer-events: all !important;
  opacity: 1 !important;
}
.dropdown_meni::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--white);
  top: -5px;
  right: 7px;
  position: absolute;
}
.dropdown_meni a {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 15px;
}

.dropdown_meni a .roboto {
  display: inline-block;
  padding-left: 10px;
}

.dropdown_meni a:hover .cls-1 {
  fill: var(--red);
}

.dropdown_toggle {
  cursor: pointer;
}

/* HAMBUER MENI */

.navlinks_toggle {
  width: 20px;
  height: 15px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transform: translateY(9px);
  cursor: pointer;
  pointer-events: none;
  display: none;
  z-index: 500;
}
.navlinks_toggle div {
  width: 90%;
  height: 2px;
  background-color: var(--white);
  position: relative;
}
.navlinks_toggle:hover div {
  background-color: var(--red);
}

/*   SECTIONS  */
section {
  width: 100%;
  margin: 100px 0px;
}
.headingcont > h4 {
  margin-bottom: 10px;
}
.headingcont > h2 {
  margin-bottom: 60px;
}

.grid_template_column {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}
.grid_template_row {
  grid-template-rows: min-content;
}
/*  ZASTO IZABRATI NAS */
.grid_box {
  text-align: center;
  padding: 50px 30px 60px;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1);
}
.grid_box > img {
  margin-bottom: 25px;
}
.grid_box > h3 {
  margin-bottom: 35px;
  letter-spacing: 0.5px;
}
#slikaKamion {
  grid-column: 3/4;
  grid-row: 1/3;
  background-image: url(assets/images/halfScania.jpg);
  background-position: center;
  border-radius: 20px 0px 20px 0px;
  background-size: cover;
}
#strelica {
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
#strelica img {
  transform: translateY(-20px);
}

/* ABOUT SEKCIJA  */
#about_text h3 {
  margin-bottom: 20px;
}
#about_text p {
  margin-bottom: 30px;
  line-height: 20px;
}
#about_text a {
  margin-bottom: 30px;
  display: inline-block;
}
#about_slika {
  grid-column: 1/3;
  background-image: url(assets/images/idcard.jpg);
  background-size: cover;
  background-position: center;
}

/*  LOKACIJA  */

.location h3 {
  margin: 30px 0px;
}
#map {
  width: 100%;
  height: 300px;
}

/*   KONTAKT SEKCIJA   */
#kontakt_sekcija {
  background-color: var(--lightGrey);
  padding: 30px 0px;
}
.grid_box_kontakt {
  background-color: var(--white);
  padding: 20px 20px 30px 20px;
  border-radius: 20px 0px 20px 0px;
}
.grid_box_kontakt h3 {
  margin-bottom: 20px;
}
.grid_box_kontakt h4 {
  margin-bottom: 10px;
}
.grid_box_kontakt p {
  margin-bottom: 30px;
  line-height: 20px;
}
.grid_box_kontakt input {
  margin-bottom: 30px;
}
.grid_box_kontakt a {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 10px;
}
.grid_box_kontakt a svg {
  display: inline-block;
  margin-right: 10px;
}
.grid_box_kontakt a:hover .cls-1 {
  fill: var(--red);
}
.form_input {
  position: relative;
}
.form_input label {
  position: absolute;
  left: 15px;
  top: 12px;
  border-radius: 5px;
  background-color: var(--white);
  transition: all 0.2s ease;
  padding: 0px 4px;
}
.form_input input {
  width: 100%;
  height: 40px;
  background-color: var(--white);
  border: 1px solid var(--darkGrey);
  border-radius: 0px 10px 0px 10px;
  outline: none;
  padding: 0px 15px;
  color: var(--black);
  transition: all 0.2s ease;
}
.form_input_active input {
  border-color: var(--blue);
}
.form_input_active textarea {
  border-color: var(--blue) !important;
}
.form_input_active label {
  top: -7px;
  color: var(--blue);
}

/*   SKLANJANJE ONOG PLAVOG GOVNETA   */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid var(--blue);
  -webkit-text-fill-color: var(--black);
  transition: background-color 5000s ease-in-out 0s;
}
.form_input textarea {
  width: 100%;
  height: 150px;
  resize: none;
  margin-bottom: 30px;
  border: 1px solid var(--darkGrey);
  border-radius: 0px 10px 0px 10px;
  outline: none;
  padding: 10px 15px;
  background-color: var(--white);
}
#form_btn {
  display: block;
  width: 100%;
}
.mt {
  margin-top: 15px !important;
}
#kontakt_slika {
  background-image: url(assets/images/teamwork.jpg);
  background-size: cover;
  background-position: center;
}
#infopanel {
  position: relative;
}
#infopanel::after {
  content: "";
  width: 80px;
  height: 60px;
  background-color: var(--red);
  position: absolute;
  right: 0px;
  bottom: 0px;
  box-shadow: -5px -5px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px 0px 10px 0px;
}

/*    FOOTER SEKCIJA    */
footer {
  width: 100%;
  padding: 40px 0px 80px;
}
.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer_box a {
  display: block;
  text-decoration: none;
  margin-bottom: 15px;
}
.footer_box p {
  margin-bottom: 15px;
}
.footer_box h4 {
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
#footer_logo svg {
  height: 40px;
}
#footer_logo svg > * {
  fill: var(--blue);
}
#footer_logo svg .cls-2 {
  stroke: var(--blue);
}
.credits {
  width: 100%;
  text-align: center;
  padding: 10px 0px;
  background-color: var(--lightGrey);
}
.credits a {
  text-decoration: none;
}
/* MEDIA RULES  */

@media screen and (max-width: 1200px) {
  .wrapper {
    padding: 0px 20px;
  }
}

@media screen and (max-width: 900px) {
  .hero_section > h1 {
    font-size: 30px;
  }
  .hero_section > h2 {
    font-size: 22px;
  }
  .hero_section {
    background-size: cover;
  }
}

@media screen and (max-width: 840px) {
  .grid_template_column {
    grid-template-columns: 1fr 1fr;
  }
  .grid_template_row {
    grid-template-rows: repeat(3, minmax(280px, 1fr));
  }
  #slikaKamion {
    grid-column: 2/3;
    grid-row: 2/4 !important;
  }
  #isporukaNaVreme {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  #about_slika {
    grid-column: 1/2;
    min-height: 130px;
  }
  #kontakt_slika {
    display: none;
  }
  .flex {
    flex-direction: column;
  }
  .footer_box {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 550px) {
  .hero_section > h1 {
    font-size: 27px;
  }
  .hero_section > h2 {
    font-size: 18px;
  }
  .wrapper {
    padding: 0px 16px;
  }
  .hero_section {
    padding: 0px 16px;
  }
  .navlinks_toggle {
    display: flex;
    pointer-events: all !important;
    position: fixed !important;
    top: 15px;
    right: 16;
    z-index: 6001 !important;
  }
  .navlinks_toggle div {
    position: relative;
    transition: all 0.2s ease;
  }
  .navlinks_toggle:hover div {
    background-color: var(--white);
  }
  .line1_close {
    transform: rotate(45deg) translateY(6px) translateX(3px) !important;
    background-color: var(--black) !important;
  }
  .line2_close {
    opacity: 0 !important;
  }
  .line3_close {
    transform: rotate(-45deg) translateY(-6px) translateX(3px) !important;
    background-color: var(--black) !important;
  }
  .nav_links {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    top: 0px;
    left: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px;
    transform: translateX(100%);
    transition: all 0.3s ease;
  }
  .nav_links_open {
    transform: translateX(0%) !important;
  }
  .nav_links li a {
    color: var(--black);
  }
  .icon1 {
    stroke: var(--black) !important;
  }
  .dropdown_meni {
    display: block !important;
    position: relative;
    z-index: 500 !important;
    top: auto;
    right: auto;
    padding: 10px 0px 0px 0px !important;
    opacity: 1;
    transform: translateX(5%);
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
  }
  .dropdown_meni_open {
    max-height: 1000px;
  }
  .dropdown_meni::after {
    display: none;
  }
  .logocont svg {
    height: 35px;
  }

  .grid_template_column {
    grid-template-columns: 1fr;
  }
  .grid_template_row {
    grid-template-rows: repeat(autofit, minmax(280px, 1fr));
  }
  #slikaKamion {
    display: none;
  }
  #isporukaNaVreme {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  #about_slika {
    grid-column: 1/2 !important;
  }
  .logocont {
    margin: 15px 0px;
  }
  .flash {
    animation: flash 0.5s ease infinite;
  }
}
@media screen and (max-width: 320px) {
  .credits p {
    font-size: 10px;
  }
  #infopanel::after {
    height: 40px;
  }
}
