* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #656565;
}

.header {
    min-height: 75vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,.7),rgba(4,9,30,.7));
    background-position: center;
    background-size: cover;
    position: relative;
}

.slider {
    width: 100%;
    height: 75vh;
    position: absolute;
    top: 0;
    z-index: -1;
    overflow: hidden;
}

#slideIMG {
    width: 100%;
    height: 100%;
    animation: zoom 3s linear infinite;
}

@keyframes zoom {
    0%{
        transform: scale(1.3);
    }
    15%{
        transform: scale(1);
    }
    85%{
        transform: scale(1);
    }
    100%{
        transform: scale(1.3);
    }
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 150px;
}

nav a {
    display: flex;
    justify-content: start;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 6px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: .5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 100%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 44px;
    color: #fff;
    margin-bottom: 20px;
}

.text-box p {
    margin: 10px 0 20px;
    font-size: 18px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 24px;
    text-transform: uppercase;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa {
    display: none;
}

@media(max-width: 700px) {
    html, body {
        overflow-x: hidden;
    }
    .text-box h1 {
        font-size: 20px;
    }
    .nav-links ul li {
        display: block;
    }
    .nav-links {
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa {
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
        display: flex;
        justify-content: end;
    }
    .nav-links ul {
        padding: 0px 30px;
    }
    nav {
        padding: 2% 3%;
    }
    nav a img {
        max-width: 250px;
        width: 40%;
    }
    .text-box p {
        font-size: 14px;
    }
    .hero-btn {
        font-size: 16px;
    }
}



/*-----proizvodi-----*/

.product {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 75px;
}

.ourStore p a {
    color: #6c97f3;
    text-decoration: none;
}

h1 {
    font-size: 32px;
    font-weight: 600;
}

p {
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-col {
    flex-basis: 31%;
    background: #2c3129;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: .5s;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-col p {
    font-weight: 500;
}

.product-col p a {
    text-decoration: none;
    color: #68abe5;
}

.product-col img {
    max-width: 100%;
    width: 95%;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: #fff;
}

.product-col:hover {
    box-shadow: 0 0 20px 0px rgba(0,0,0,.2);
}

@media (max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

/* -----OurStore----- */

.ourStore {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.store-col {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.store-col img {
    width: 100%;
    display: block;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: .5s;
} 

.layer:hover {
    background: rgba(61, 120, 247, 0.7);
} 

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: .5s;
}

.layer:hover h3 {
    bottom: 60%;
    opacity: 1;
}

.layer h4 {
  width: 100%;
  font-weight: 400;
  color: #fff;
  font-size: 16px;
  top: 40%;
  padding: 5px 5px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: .5s;
}

.layer:hover h4 {
  bottom: 49%;
  opacity: 1;
}

/* -----Rules----- */

.rules {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.rules-col {
    flex-basis: 45%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.rules-col img {
    width: 100%;
    border-radius: 10px;
    background-color: #fff;
}

.rules-col p {
    padding: 0;
}

.rules-col p a {
    color: #53abfa;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.rules-col h3 {
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: left;
}


/* ----- CALL TO ACTION ----- */

.cta {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.cta h1 {
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

@media (max-width: 700px) {
    .cta h1 {
        font-size: 24px;
    }
}

/* ----- footer ----- */

.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background: #393939;
}

.footer h4 {
    margin-bottom: 15px;
    margin-top: 15px;
    font-weight: 600;
    color: #fff;
}

.icons .fa {
    color: #53abfa;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.fa-heart-o {
    color: #5371fa;
}

.builder {
    text-decoration: none;
    color: #53abfa;
}

/* slajder */

.slider__container {
    padding: 15px;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    background: #2c3129;
  }
  
  .slider__wrapper {
    overflow: scroll;
    white-space: nowrap;
    width: 100%;
    position: relative;
    
    -ms-overflow-style: none;
    scrollbar-width: none; /* Firefox */
  }
  .slider__wrapper::-webkit-scrollbar {
    display: none;
  }
  
  .slider__wrapper.active {
    cursor: grab;
  }
  
  .slider_wrapper-item {
    max-width: 350px;
    width: 100%;
    display: inline-block;
    vertical-align: text-top;
    user-select: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
  }
  
  .slider_wrapper-item:not(:first-child) {
    margin-left: 24px;
  }
  
  .slider_wrapper-item--imgbox {
    width: 100%;
    height: 136px;
    margin-bottom: 16px;
  }
  .slider_wrapper-item--imgbox img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
  
  .slider_wrapper-item--title {
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    font-weight: 600;
    padding-left: 5px;
    text-align: center;
  }
  .slider_wrapper-item--description {
    font-size: 14px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 0 5px 5px;
    overflow: hidden;
    text-align: center;
  }
  
  div[class^="slider-arrow-"] {
    position: absolute;
    width: 20px;
    height: 100%;
    cursor: pointer;
    z-index: 9;
    display: flex;
    transition: all 0.2s ease-out 0.1s;
    align-items: center;
    opacity: 0;
    visibility: hidden;
  }
  div[class^="slider-arrow-"].active {
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease-out 0.2s;
  }
  div[class^="slider-arrow-"] img {
    position: absolute;
    width: 24px;
  }
  
  .slider-arrow-prev {
    top: 0px;
    left: 0px;
    background-image: linear-gradient(
      to right,
      rgba(34, 37, 49, 1) 0%,
      transparent 100%
    );
  }
  
  .slider-arrow-prev img {
    left: 16px;
  }
  
  .slider-arrow-next {
    top: 0px;
    right: 0px;
    background-image: linear-gradient(
      to left,
      rgba(34, 37, 49, 1) 0%,
      transparent 100%
    );
  }
  
  .slider-arrow-next img {
    right: 16px;
  }
  @media screen and (max-width: 768px) {
    .slider {
        height: 50vh !important;
    }
    .header {
        min-height: 50vh;
        height: 50vh !important;
    }
  }
  @media screen and (max-width: 600px) {
     .slider_wrapper-item:not(:first-child) {
      margin-left: 16px;
    }
    div[class^="slider-arrow-"] {
      display: none;
    }
    .slider_wrapper-item {
      max-width: 80%;
      background: #17171a3d;
      padding: 13px 16px;
  
      display: inline-grid;
      grid-template-columns: min-content 1fr;
    }
    .slider_wrapper-item--imgbox {
      width: 64px;
      height: 64px;
      margin-bottom: 0;
      margin-right: 16px;
      grid-row: 1 / span 2;
    }
    .slider_wrapper-item--title,
    .slider_wrapper-item--description {
      padding: 0;
      margin: auto 0;
    }
    .product-col {
        min-height: 300px;
    }
  }

  @media screen and (max-width: 500px) {
    .slider {
        height: 40vh !important;
    }
    .header {
        min-height: 40vh;
        height: 40vh !important;
    }
    .text-box h1 {
        margin-top: 20px;
    }
    span.text {
      font-size: 1.6em !important;
    }
  }

  /* o nama */

  .container {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    /* background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  }

  h1 {
    color: #fff;
    text-align: center;
    margin-top: 0;
  }

  p {
    color: #fff;
    line-height: 1.5;
  }

  .contact-info {
    margin-top: 30px;
  }

  .contact-info h2 {
    color: #fff;
    padding-left: 10px;
  }

  .contact-info p {
    margin-bottom: 10px;
  }

  .contact-info strong {
    font-weight: 500;
  }

  .contact-info span {
    display: inline-block;
    margin-right: 10px;
  }

  
  .wrapper {
    /* position: absolute;
    width: 80vw;
    transform: translate(-50%, -50%); */
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin: 0 auto;
    margin-top: 20px;
    max-width: 75%;
  }
  .container1 {
    width: 28vmin;
    height: 28vmin;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 1em 0;
    position: relative;
    font-size: 16px;
    border-radius: 0.5em;
    background-color: #21242b;
    border-bottom: 10px solid #18f98f;
  }
  i {
    color: #18f98f;
    font-size: 2.5em;
    text-align: center;
  }
  span.num {
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 3em;
  }
  span.text {
    color: #e0e0e0;
    font-size: 1em;
    text-align: center;
    pad: 0.7em 0;
    font-weight: 400;
    line-height: 0;
  }
  @media screen and (max-width: 1024px) {
    .wrapper {
      width: 85vw;
    }
    .container1 {
      height: 26vmin;
      width: 26vmin;
      font-size: 12px;
    }
  }
  @media screen and (max-width: 768px) {
    .wrapper {
      width: 90vw;
      flex-wrap: wrap;
      gap: 30px;
    }
    .container1 {
      width: calc(50% - 40px);
      height: 30vmin;
      font-size: 14px;
    }
  }
  @media screen and (max-width: 480px) {
    .wrapper {
      gap: 15px;
    }
    .container1 {
      width: 100%;
      height: 25vmin;
      font-size: 8px;
    }
    .contact-info p {
      font-size: 16px;
    }
  
    .contact-info strong {
      font-size: 16px;
      font-weight: 500;
    }
  }