/* RESET */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    font-size: 18px;
    scroll-behavior: smooth;
    scroll-padding: 1rem;
    transition-duration: 0.5s;
    width: 100%;
    overflow-x: hidden;
}

body{
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    line-height: 1.55;
    color: rgb(0, 0, 0);
    width: 100%;
    overflow-x: hidden;
}

/* TIPOGRAFIJA */

h1{
    color: rgb(0, 0, 255);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h1+p{
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

h2{
    color: rgb(0, 0, 255);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h2+p{
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

#problem-solution .em{
    font-size: 1.4rem;
}

h3{
    color: rgb(0, 0, 255);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

h3+p{
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

em{
    font-size: 1.1rem;
    font-weight: bold;
}

p.big{
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 1.5rem;
}

p.name{
    font-weight: bold;
    margin: 0.5rem 0;
}

a{
    font-weight: 700;
    text-decoration: none;
    color: rgb(0, 0, 0);
}

a:hover{
    color: rgb(0, 0, 0);
}



/* CONTAINER */

.container{
    width: 85%;
    margin: 0 auto;
}




/* STYLE */

section{
    padding: 12rem 0;
}


/* NAVIGATION */

nav{
    background-color: rgb(230, 230, 230);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 1px solid rgb(128, 128, 128);
    box-shadow: 5px 5px 5px rgb(0, 0, 0);
    z-index: 1;
}

.nav{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.nav img{
    width: 110px;
    border: none;
    border-radius: 1rem;
}

.nav button{
    margin: 0.5rem 6rem;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    box-shadow: 10px 10px 10px rgb(0, 0, 0);
    width: 50%;
    margin-left: 15rem;
}

.nav button i{
    margin-right: 0.5rem;
}

ul{
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    margin-left: 8rem;
}

li{
    /* border: 1px solid black; */
    border-bottom: 1px solid rgb(128, 128, 128);
    margin-left: 1rem;

}


/* NASLOV */

#naslov{
    padding: 15rem 0 10rem 0;
}

button{
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 1rem;
    padding: 1rem;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: rgb(0, 0, 0);
    background-color: rgb(230, 230, 230);
    transition: 0.3s;
    font-weight: bold;
}

#naslov button{
    box-shadow: 10px 10px 10px rgb(0, 0, 0);
}

button:hover{
    color: rgb(255, 255, 0);
    background-color: rgb(0, 0, 255);
}

#naslov .result{
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

#naslov button i{
    margin-right: 0.5rem;
}

.result i{
    margin-right: 0.3rem;
    color: rgb(0, 128, 0);
}

.naslov{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}

.naslov img{
    margin: 2rem auto;
    width: 100%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 2rem;
}


/* PROBLEM-SOLUTION */

#problem-solution{
    background-color: rgb(230, 230, 230);
}

.problem-solution p{
    margin-bottom: 1rem;
}

.problem-solution{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 3rem;
}

.problem-solution video{
    width: 100%;
    margin-top: 2rem;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 2rem;
}


/* BENEFITS */

.benefits{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10rem;
    margin-top: 4rem;
    text-align: center;
}

.benefits i{
    color: rgb(0, 0, 255);
}

#benefits h2{
    text-align: center;
}


/* TESTEMONIALS */

#testimonials{
    background-color: rgb(230, 230, 230);
}

#testimonials h2{
    text-align: center;
}

.testimonials{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 5rem;
    margin-top: 3rem;
}

.testimonials div{
    border: 2px solid rgb(0, 0, 0);
    border-radius: 1rem;
    padding: 1rem;
    background-color: rgb(255, 255, 255);
    box-shadow: 10px 10px 10px rgb(0, 0, 0);
}

.testimonials p{
    font-weight: bold;
}

p.big{
    text-align: center;
    margin-top: 5rem;
}

.testimonials i{
    color: rgb(255, 215, 0);
}



/* FEATURES */

#features h2{
    text-align: center;
}

.features{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin: 4rem 7rem;
    gap: 10rem;
    line-height: 3rem;
    background-color: rgb(230, 230, 230);
    border-radius: 1.5rem;
    padding: 1rem;
}




/* FAQs */

#faqs{
    background-color: rgb(230, 230, 230);
}

#faqs .container{
    margin: 0 auto;
    padding: 0;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    display: flex;
    min-height: 100%;
    width: 80%;
}

.faqs{
    margin: 0 auto;
    padding: 4rem;
    width: 48rem;
}

.accordion {
    .accordion-item {
      border-bottom: 1px solid rgb(211, 211, 211);
      button[aria-expanded='true'] {
        border-bottom: 1px solid rgb(0, 0, 255);
      }
    }
    button {
      position: relative;
      display: block;
      text-align: left;
      width: 100%;
      padding: 1rem 1.3rem;
      color: rgb(0, 0, 0);
      font-size: 1rem;
      font-weight: 400;
      border: none;
      background: none;
      outline: none;
      &:hover, &:focus {
        cursor: pointer;
        color: rgb(0, 0, 255);
        &::after {
          cursor: pointer;
          color: rgb(0, 0, 255);
          border: 1px solid rgb(0, 0, 255);
        }
      }
      .accordion-title {
        padding: 1em 2em 1em 0;
      }
      .icon {
        display: inline-block;
        position: absolute;
        top: 20px;
        right: 0;
        width: 22px;
        height: 22px;
        border: 1px solid;
        border-radius: 22px;
        &::before {
          display: block;
          position: absolute;
          content: '';
          top: 9px;
          left: 5px;
          width: 10px;
          height: 2px;
          background: currentColor;
        }
        &::after {
          display: block;
          position: absolute;
          content: '';
          top: 5px;
          left: 9px;
          width: 2px;
          height: 10px;
          background: currentColor;
        }
      }
    }
    button[aria-expanded='true'] {
        color: rgb(0, 0, 255);
      .icon {
        &::after {
          width: 0;
        }
      }
      + .accordion-content {
        opacity: 1;
        max-height: 9em;
        transition: all 200ms linear;
        will-change: opacity, max-height;
      }
    }
    .accordion-content {
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      overflow-y: scroll;
      transition: opacity 200ms linear, max-height 200ms linear;
      will-change: opacity, max-height;
      p {
        font-size: 1rem;
        font-weight: 400;
        margin: 2em 0;
        color: rgba(0, 0, 0, .8)
      }
    }
  }





/* AKCIJA */

fieldset{
    border: 3px solid rgb(0, 0, 0);
    box-shadow: 5px 5px 5px rgb(0, 0, 0);
    background-color: rgb(230, 230, 230);
    padding: 1rem;
}

legend{
    text-align: center;
    color: rgb(0, 0, 255);
    font-size: 2rem;
    font-weight: 800;
}

fieldset p{
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

form div{
    margin-bottom: 1rem;
}

input{
    width: 100%;
    padding: 0.5rem;
    /* margin-bottom: 1rem; */
    border: none;
    border-radius: 1rem;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
}

.submit{
    margin-top: 1.5rem;
    transition: 0.3s;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
}

.submit:hover{
    color: rgb(255, 255, 0);
    background-color: rgb(0, 0, 255);
}




/* FOOTER */

footer{
    padding: 3rem 0;
    background-color: rgb(230, 230, 230);
}

footer p{
    text-align: center;
    margin-top: 3rem;
}

footer ul{
    border-bottom: 2px solid rgb(128, 128, 128);
    width: 310px;
    margin: 0 auto;
    padding-bottom: 0.5rem;
}

footer li{
    border: none;
}

.instagram:hover{
    color: rgb(255, 0, 0);
}

.facebook:hover{
    color: rgb(0, 0, 255);
}

.gmail:hover{
   color: rgb(255, 0, 0); 
}

footer div{
    text-align: center;
    margin: 0 auto;
}


/* POP UP */

.modal{
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.3s ease-in-out;
    z-index: -1;

    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.open{
    opacity: 1;
    z-index: 999;
}

.modal-inner{
    background-color: rgb(255, 255, 255);
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    text-align: center;
    width: 380px;
}

.modal-inner h2{
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1rem;
    color: rgb(0, 0, 0);
}



/* RESPONSIVE DESIGN */


@media screen and (max-width:1450px){  
      
    .features{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        margin: 0rem 1rem;
        gap: 10rem;
    }
}


@media screen and (max-width: 1230px){

    .problem-solution{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        gap: 2rem;
    }

    .benefits{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        gap: 6rem;
        margin-top: 4rem;
        text-align: center;
    }

    .naslov img{
        margin: 3rem auto;
    }

    .problem-solution video{
        width: 100%;
        margin-top: 0rem;
    }

}


@media screen and (max-width: 1190px){

    .features{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        margin: 0rem auto;
    }
   
}

@media screen and (max-width: 1140px){

    .features{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        gap: 0;
        margin: 0 auto;
        width: 60%;
        text-align: start;
    }
}


@media screen and (max-width: 1100px){
    
    .testimonials{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        gap: 5rem;
        margin-top: 3rem;
    }

    .naslov{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        text-align: center;
    }

    .naslov img{
        margin: 3rem auto;
        width: 80%;
    }
    
}

@media screen and (max-width: 950px){
    section{
        padding: 9rem 0;
    }

    #naslov{
        padding: 13rem 0 9rem 0;
    }
}


@media screen and (max-width: 900px){
    .features{
        width: 70%;
    }
}


@media screen and (max-width: 820px){
    
    .features{
        width: 80%;
    }
}


@media screen and (max-width: 720px){
    .nav button{
        margin-left: 7rem;
        width: 70%;
    }
}


@media screen and (max-width: 690px){
    .faqs h2{
        font-size: 1.8rem;
    }
}


@media screen and (max-width: 660px){

    fieldset p{
        font-size: 1.7rem;
    }

    .features{
        width: 80%;
    }

    .faqs h2{
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 630px){
    .features{
        width: 90%;
    }

    .naslov img{
        margin: 3rem auto;
        width: 100%;
    }
}

@media screen and (max-width: 610px){
    .faqs h2{
        font-size: 1.6rem;
    }
}


@media screen and (max-width: 570px){
    .nav button{
        margin-left: 5rem;
        width: 70%;
    }

    .features{
        width: 100%;
    }
}


@media screen and (max-width: 540px){
    .start{
        text-align: start;
    }
   
    h2{
        font-size: 1.8rem;
    }
    
    p.big{
        font-size: 1.3rem;
    }
    
}


@media screen and (max-width: 510px){
    fieldset p{
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 500px){
    .nav button{
        margin-left: 4rem;
        width: 70%;
    }

    .features{
        width: 110%;
        margin-left: -1rem;
    }

}


@media screen and (max-width: 460px){
    .features em{
        font-size: 1rem;
    }

    .nav button{
        margin-left: 3rem;
        width: 70%;
    }

}


@media screen and (max-width: 420px){

    h1{
        font-size: 2.3rem;
    }

    h1+p{
        font-size: 1.3rem;
    }

    .features em{
        font-size: 0.9rem;
    }

    .features{
        width: 110%;
        margin-left: -1rem;
    }

    .nav button{
        margin-left: 2rem;
        width: 70%;
    }

    #faqs .container{
        width: 90%;
    }

    h2+p{
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    #problem-solution .em{
        font-size: 1.3rem;
    }
    
}

@media screen and (max-width: 390px){
   .akcija legend{
    font-size: 1.8rem;
   }

h2+p{
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

#problem-solution .em{
    font-size: 1.25rem;
}
   
}


/* SAMO KONKRETNA DORADA */


@media screen and (max-width: 360px){

    h1{
        font-size: 2.1rem;
    }

    h1+p{
        font-size: 1.2rem;
    }

    .nav button{
        margin-left: 2rem;
        width: 60%;
    }

    #naslov a button{
        width: 105%;
        margin-left: -0.5rem;
    }

    .features em{
        font-size: 0.85rem;
    }

    #features h2{
        margin-left: -0.5rem;
    }

    .faqs h2{
        font-size: 1.4rem;
    }

    .accordion button{
        font-size: 0.9rem;
       }
    
    h2+p{
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    #problem-solution .em{
        font-size: 1.2rem;
    }
}

