/*Veliki ekran do 1200px*********************************************************/
@media only screen and (max-width: 1200px) {
    .naslovni-tekst {
        width: 100%;
        padding: 0 2%;
        transition: 0.9s;
    }

    .main-nav li {
        transition: 0.3s;
    }

    .row {
        padding: 0 2%;
        transition: 0.5s;
    }

    .col {
        display: block;
        float: left;
        margin: 2% 0% 2% 0%;
    }

    .media .span-1-of-4 {
        transition: 0.3s;
        width: 33.33%;
    }

    .korpa-mali-ekran {
        display: none;
    }


}



/*Mali tableti do velikih tableta 768px do 1023px*********************************************************/
@media only screen and (max-width: 1023px) {
    body {
        font-size: 18px;
    }

    .pozadina {
    /* background-image: linear-gradient(#040b27d5, #040b2753, #040b2700, #c01e7a5f), url(img/nova_pozadina2.png); */
    background-image: linear-gradient(#040b27c2, #040b2700, #040b2700, #040b2700), url(img/naslovna-mob.webp);
    background-size: cover;
    opacity: 97%;
    background-position: center;
    /* background-attachment: fixed; */
    /* width: 100%;
    height: 100vh; */
    /* 100% visine prozora */
    overflow: hidden;
    /* Skriva deo koji prelazi granice */
}
    

    .main-nav li {
        font-size: 85%;
        margin-left: 10px;
        transition: 0.3s;
    }

    .main-nav li a:hover,
    .main-nav li a:active {
    border-bottom: 2px solid #05fc11b4;
    /* background-color: #05fc1115; */
    }

    .logo {
        height: 45px;
        transition: 0.3s;
    }

    section {padding: 60px 0;}

    .col {
        display: block;
        float: left;
        margin: 2% 0% 2% 0%;
    }

    .media .span-1-of-4 {
        transition: 0.15s;
        width: 50%;
    }
    
    .korpa-mali-ekran {
        display: none;
    }


}




/*Mali ekrani dotanleta 481px do 767px*********************************************************/
@media only screen and (max-width: 767px) {

    /*  HEADER */

    
    h1,
    h2 {
        font-size: 150%;
        letter-spacing: 1px;
    }
    
    h1 {
        margin-top: 0;
        margin-bottom: 20px;
        color: rgba(255, 255, 255, 0.9);
        word-spacing: 3px;
    }
    
    h2 {
        font-size: 150%;
        word-spacing: 2px;
        text-align: center;
        margin-bottom: 30px;
    }

    .logo {
    height: 100px;
    width: auto;
    float: left;
    margin-top: 30px;
    margin-left: 10px;

}

.pozadina {
    /* background-image: linear-gradient(#040b27d5, #040b2753, #040b2700, #c01e7a5f), url(img/nova_pozadina2.png); */
    background-image: linear-gradient(#040b27c2, #040b2700, #040b2700, #040b2700), url(img/naslovna-mob.webp);
    background-size: cover;
    opacity: 97%;
    background-position: center;
    /* background-attachment: fixed; */
    /* width: 100%;
    height: 100vh; */
    /* 100% visine prozora */
    overflow: hidden;
    /* Skriva deo koji prelazi granice */
}

.naslovni-tekst {
    color: #dfdfdf;
    position: absolute;
    width: 100vw; /* širina ekrana */   
    max-width: 100%; /* da ne prelazi */
    /* width: 1140px; */
    top: 40%;
    left: 1%;
    transform: translate(-1%, -1%);
    display: block;

}

.naslovna-slova {
  /* position: relative; */
  /* float: left; */
  display: none;
  /* color: white; */
  color: #ebebeb;
  font-size: 20px;
  margin-bottom: 25px;
  padding-right: 150px;
  border-radius: 8px;
  z-index: 1; /* tekst ostaje iznad */
  overflow: hidden;
}

.naslovna-slova2 {
    /* margin-left: 40px; */
    /* padding-left: 25px; */
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: 30%;
    margin-top: 270px;
    /* margin-bottom: 300px; */
    font-size: 15px;
    background-color: rgba(192, 30, 122, 0.791);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 8px;
}

.pisana-slova3 {
    font-family: "Rouge Script", sans-serif, 'Lato', 'Arial', sans-serif;
    font-size: 30px;
    margin-left: 30%;
    margin-top: -15px;
}

.prva-sekcija {
    background-color: #dfdfdf;
    padding-top: 80px;
    padding-bottom: 80px;
    font-size: 15px;
}

.prva-sekcija {
    background-color: #dfdfdf;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* PROIZVODI */

.proizvodi-tekst {
    text-align: center;
    justify-content: center;
    width: 80%;
    margin-left: 5%;
    padding-bottom: 50px;
    font-size: 75%;
}

.podtekst-proizvodi {
    font-size: 75%;
}

.artikal {
    display: none;
}

.artikal-mob {
   /* border: 1px solid #243861;  Dodaje okvir za bolje razdvajanje */
    padding: 20px;
    text-align: center;
    /* margin-right: 50px; */
    display: inline-block;
    width: 75vw;
  }
    
  .sidenav h2 {
    display: none;
  }

  .vrsta-proizvoda h2 {
    padding-left: 50%;
    display: grid;
    
  }

  .desktop-naziv {
    display: none;
  }

  .bar {
    background-color: #C01E79;
  }

  .kontakt-in {
    font-size: 65%;
  }

  .kontak- {
    display: none;
  }

  .kontak-mob {
    margin-top: 45px;
    display: block;
    color: #C01E79;
    font-size: 90%;
  }

  .wrapper .sidenav ul li {
    margin-top: 80px;
  }

  /* .box-wrapper{
    position: relative;
    display: table;
    width:100vw;
    margin:auto;
    margin-top:35px;
    border-radius: 30px;
} */

  

  
    /*  BUTTONS  */

    .btn:link,
    .btn:visited {
        display: inline-block;
        font-size: medium;
        padding: 10px 30px;
        font-weight: 300;
        text-decoration: none;
        border-radius: 200px;
        color: rgb(255, 255, 255);
        transition: background-color 0.3s;
    }

    .btn-full:link,
    .btn-full:visited {
        background-color: #05fc1157;
        border: 1px solid #fff;
        margin-right: 10px;
        margin-bottom: 20px;
    }

    .btn-ghost:link,
    .btn-ghost:visited {
        border: 1px solid #fff;
    }

    .btn:hover,
    .btn:active {
        background-color: #05fc11b4;
    }


    /*  HAMBURGER MENI  */

    .hamburger{
        display: block;
        float: right;
        margin-right: 10px;
        margin-top: 10px;
        text-decoration: none;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #ab196cb1;
        backdrop-filter: blur(4px);
        width: 100%;
        z-index: 999;
        text-align: center;
        transition: 0.3s;
    }

    .main-nav.active{
        left: 0;
    }

    /* .sticky>.main-nav.active {
        left: 0;
        background-color: rgba(37, 37, 37, 0.639);
        backdrop-filter: blur(4px);
    } */

    .main-nav>li {
        display: block;
        margin: 15px 0;
        z-index: 9999;
    }

    .main-nav li a:link,
    .main-nav li a:visited {
        padding: 25px 0;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 150%;
        border-bottom: 2px solid transparent;
        transition: border-bottom 0.2s;
    }

    .main-nav>.email-korpa {
        display: none;
    }

    .korpa-mali-ekran {
        display: inline;
        float: right;
        color: #fff;
        font-size: 90%;
        margin-right: 20px;
        margin-top: 8px;
    }

    nav>ul {
        list-style: none;
        float: right;
    }

/*  OTVORENA KORPA  */
.catalog-page .cart-wrap.active {
    
    position: fixed;
    background: rgba(44, 72, 47, 0.685);
    backdrop-filter: blur(3px);
    /* border: 2px solid rgb(255, 255, 255); */
    border-radius: 7px;
    height: 80vh;
    width: 50%;
    top: 60px;
    right: 0;
    display: block !important;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 999;
    /* overflow: scroll; */
}

.form {
    position: fixed;
    color: white;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 7px;
    top: 12%;
    width: 60%;
    left: 20%;
    text-align: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 10px;
    background: rgba(1, 15, 0, 0.842);
    display: none;
    height: 85vh;
}

    textarea {
        height: 30vh;
        width: 70%;
        left: 15%;
    }

/* Dugme send mail */
    #sendMail {
        width: 60%;
        font-size: 90%;
        border: 1px solid green;
        font-weight: 500;
        padding: 5px 0;
        margin: 5px 20%;
        border-radius: 30px;
        color: rgb(0, 0, 0);
        background-color: #13ce1c;
    }


    .section-ikone {
        /* background-image: linear-gradient(rgba(255, 255, 255, 0.7),rgba(255, 255, 255, 0.7)), url(img/planineireka.jpg); */
        background-color: #ecf0f1;
        background-size: cover;
        background-position: center;
    }
    
}

/*Mali ekrani od 0 do 480px*********************************************************/
@media only screen and (max-width: 480px) {

    .pozadina {
    /* background-image: linear-gradient(#040b27d5, #040b2753, #040b2700, #c01e7a5f), url(img/nova_pozadina2.png); */
    background-image: linear-gradient(#040b27c2, #040b2700, #040b2700, #040b2700), url(img/naslovna-mob.webp);
    background-size: cover;
    opacity: 97%;
    background-position: center;
    /* background-attachment: fixed; */
    /* width: 100%;
    height: 100vh; */
    /* 100% visine prozora */
    overflow: hidden;
    /* Skriva deo koji prelazi granice */
}
    
    .hamburger{
        display: block;
        float: right;
        margin-right: 15px;
        margin-top: 10px;
        text-decoration: none;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #ab196cb1;
        backdrop-filter: blur(4px);
        width: 100%;
        z-index: 9999;
        text-align: center;
        transition: 0.3s;
    }

    .main-nav.active{
        left: 0;
    }

    /* .sticky>.main-nav.active {
        left: 0;
        background-color: rgba(37, 37, 37, 0.639);
        backdrop-filter: blur(4px);
    } */

      .vrsta-proizvoda h2 {
    padding-left: 50%;
    display: grid;
    
  }

    /* KONTAKT FORMA */


.form-wrap{
    width:60%;
    margin-left: 1%;
    /* float: right; */
    padding: 40px 25px 35px 25px;
    border-radius: 30px 30px 30px 30px;
    background: #ecf0f3;
}
.form-title{
    text-align: left;
    margin-left: 3px;
    font-size: 18px;
    letter-spacing: 0.5px;
}
.form-fields{
    display: table;
    width: 95%;
    padding: 10px 5px 5px 5px;
}
.form-fields input,
.form-fields textarea{
    border: none;
    outline:none;
    background: none;
    font-size: 12px;
    color:#555;
    padding: 20px 10px 20px 5px;
    width:100%
}
.form-fields textarea{
    height: 150px;
    resize: none;
}
.form-group{
    width: 46%;
    float: left;
    padding: 0px 30px;
    margin: 14px 12px;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #ffffff;
}
.form-fields .form-group:last-child {
    width: 96%;
}
.submit-button{
    width: 96%;
    height: 60px;
    margin: 0px 12px;
    border-radius: 30px;
    font-size: 20px;;
    font-weight: 700;
    outline: none;
    border:none;
    cursor: pointer;
    color:#fff;
    text-align: center;
    background: #C01E79;
    box-shadow: 3px 3px 8px #b1b1b1, -3px -3px 8px #ffffff;
    transition: .5s;
}
.submit-button:hover{
    background: #31279d;
}
/* Responsive css */
@media only screen and (max-width: 767px) {
    .box-wrapper{
        width: 100%;
    }
    .info-wrap,
    .form-wrap{
        width: 100%;
        height: inherit;
        float: none;  
    }

    .info-wrap .logo-kontakt {
        width: 50%;
    }
    .info-wrap{
        border-radius: 30px 30px 0px 0px;
    }
    .form-wrap{
        border-radius: 0px 0px 30px 30px;
    }
    .form-group{
        width: 100%;
        float: none;
        margin: 25px 0px;
    }
    .form-fields .form-group:last-child, 
    .submit-button{
        width: 100%;
    }
    .submit-button{
        margin: 10px 0px;
    }
}

    /* KONTAKT FORMA KRAJ */

    .main-nav>li {
        display: block;
        margin: 15px 0;
        z-index: 9999;
    }

    .main-nav li a:link,
    .main-nav li a:visited {
        padding: 2px 0;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 150%;
        border-bottom: 2px solid transparent;
        transition: border-bottom 0.2s;
    }

    .main-nav>.email-korpa {
        display: none;
    }

    nav>ul {
        list-style: none;
        float: right;
    }

    .media .span-1-of-4 {
        transition: 0.15s;
        width: 100%;
    }
    
    /*  OTVORENA KORPA  */
    .catalog-page .cart-wrap.active {
    
        position: fixed;
        background: rgba(44, 72, 47, 0.685);
        backdrop-filter: blur(3px);
        /* border: 2px solid rgb(255, 255, 255); */
        border-radius: 7px;
        height: 90vh;
        width: 60%;
        top: 60px;
        right: 0;
        display: block !important;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 999;
        /* overflow: scroll; */
    }


    /* OTVORENA FORMA */
    .form {
        position: fixed;
        color: white;
        border: 2px solid rgb(255, 255, 255);
        border-radius: 7px;
        top: 20%;
        width: 80%;
        left: 10%;
        text-align: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        padding: 10px;
        background: rgba(1, 15, 0, 0.842);
        display: none;
        height: 65vh;
    }
    
    .form > form > label {
        width: 60%;
        display: block;
        margin: 0 auto;
    }

    .form > form > input {
        width: 70%;
        font-size: 80%;
        display: block;
        margin: 10px auto;
    }

    textarea {
        height: 30vh;
        width: 70%;
        left: 15%;
        font-size: 80%;
    }

    .section-ikone {
        /* background-image: linear-gradient(rgba(255, 255, 255, 0.7),rgba(255, 255, 255, 0.7)), url(img/planineireka.jpg); */
        background-color: #ecf0f1;
        background-size: cover;
        background-position: center;
    }
}