@import url('https://fonts.googleapis.com/css2?family=Chivo:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chivo:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto+Slab:wght@100..900&display=swap');

.chivo{
  font-family: "Chivo", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.poppins-extrabold {  /*mozda zamjenit ovaj font*/
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
}

*{
    margin: 0;
    padding: 0;
}

body{
  background-color: #EBEBEB;
  overflow-x: hidden;
}

p{
  width: 45vw;
  height: auto;
  font-family: "Chivo", serif;
  font-weight: 100;
}

h2{
  font-size: 42px;
  text-align: center;
  font-family: "Poppins", serif;
  font-weight: 800;
  color: #c69c6d;
}

.mySlides {
  display: block;
}

/* navigacija */
nav{
  position: fixed; 
  z-index: 3;
  font-family: "Chivo", serif;
  font-weight: 100;
}

.sidebar {
    height: 100%; 
    width: 0; 
    position: fixed; 
    z-index: 2; 
    top: 0;
    left: 0;
    background-color: #111; 
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; 
    transition: 0.5s; 
  }
  
  /* The sidebar links */
  .sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .sidebar a:hover {
    color: #c69c6d;
  }
  
  .sidebar .closebtn {
    position: absolute; 
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  /* otvaranje sidebara */
  .openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
  }
  
  .openbtn:hover {
    background-color: #444;
  }
  
  section {
    padding-top: 20px;
    min-height: 100vh;
  }

/*   h2{
    font-family: "Poppins", serif;
    font-weight: 800;
    font-style: normal;
    color: #c69c6d;
  } */

  /*pocetna*/
  /*ProuĂ„Ĺ¤it: https://developer.mozilla.org/en-US/docs/Web/CSS/background-blend-mode*/

  /*pocetna*/
  #pocetna{
    height: 100vh;/*viewport height*/
    background-image: url("roomcraft_pocetna.jpeg");
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* opacity: 85%; */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .roomcraft_logo{
    height: 60vh; 
    opacity: 100%;
    /* padding: -10em; */
    z-index: 1;
    margin-bottom: 10px;
    transition: transform 2s ease;
  }

  /*usluge*/
  #usluge{
    width:80vw;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5vw;
} 

.polaroid{
    background-color: #EBEBEB;
    width: 23vw;
    height: auto;
    display: flex;
    flex-direction: column;
    transition-duration: 0.5s;
    /* border-radius: 1rem; */
}

.polaroid img {
    padding: 26px;
}

.polaroid:hover {
    z-index: 2;
    /* box-shadow: 10px 10px 10px 10px grey; */
    box-shadow: -10px 10px 10px grey, 10px 10px 10px grey;
    transform: scale(1.02);
}

#usluge h4 {
  font-family: "Chivo", serif;
  font-weight: 100;
  color: #c69c6d;
  font-size: 25pt;
  /* padding-left: 26px; */
  /* width: 30vw; */
  text-align: center;
  margin-top: -10px;
}

  /*galerija*/
  #galerija{
    padding: 20px;
    text-align: center;
  }

  .radovi{
    display: flex;
    justify-content: center;  /*bez ovog bude jedno ispod drugog*/
    /*background-image: url("slike/pozadina.jpg"); nac bolju sliku*/
    flex-wrap: wrap; /*za horizontalni poredak*/
    gap: 20px; 
    position:relative;
  }

  .radovi img{
    height: 30vh;
    width: auto;
    /* transition: transform 0.3s, z-index 0s; */
    transition: all 0.3s;
    /* border-radius: 1rem; */
    filter: grayscale(1);
    z-index: 1;
  }

  .radovi img:hover{
    transform: scale(120%);
    box-shadow: 10px 5px 10px 5px #111;
    filter: grayscale(0);
    z-index: 2;
    position: relative;
  }

  .radovi_ana{
    padding-bottom: 2%;
  }

  #galerija h2{
    margin: 3%;
    /* font-size: 35pt; */
  }

  .button {
    font-family: "Chivo", serif;
    font-weight: 100;
    padding: 2%;
    margin-top: 3%;
    margin-bottom: 5%;
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 10rem;
    background-color: #111;
    color: #c69c6d;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
  }

  .button:hover {
    color: #fff;
    background-color: #c69c6d;
    transform: scale(1.1);
  }

  
/*umjetnici*/
.boban_ana{ 
    width: 95%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
}

#boban{
  padding-bottom: 5%;
}

.boban_ana p{
    width: 45vw;
    height: auto;
    text-align: justify;
    font-family: "Chivo", serif;
    font-weight: 100;
}

.boban_ana img{
    width: 20vw;
    height: auto;
}

.boban_ana img{
  width: 20vw;
  height: auto;
  transition: transform 0.3s;
} 

.boban_ana img:hover{
  transform: scale(120%);
  
}

  /* .boban, .ana{
    display: flex;
    padding: 3%;
    background-color:#EBEBEB;
  }
  #umjetnici h4{
    font-size: 32pt;
  }

  #umjetnici img{
    border-radius: 1rem;
    height: 35vh;
  } */

  /*studio*/
  #studio{
    text-align: center;
  }

  #studio{
    width: 100%;
    height: auto;
    /* margin-left: auto;
    margin-right: auto; */
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-bottom: 5%;
    gap: 2%;
    flex-direction: row;
    /* border-top: 3px solid #c69c6d; */
   /*  border: 10px solid transparent;
    padding: 15px;
    border-image: url(border.png) 30 round; */
  }

  .slajder_cijeli{
    width: 100%;
  }

  .roomcraft_studio_slike{
    width: 30vw; 
    height: auto; 
    object-fit: cover; /* Ensures images maintain aspect ratio */
    align-items: center;
  }

  .o_roomcraftu{
    padding: 5%;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
  }

  .roomcraft_logo{
    height: 20vh; 
    /* padding: -10em; */
    z-index: 1;
    margin-bottom: 10px;
  }

  #studio h2{
    padding-bottom: 50px;
  }

  #studio p{
    width: 35vw;
    font-family: "Chivo", serif;
  }

  /*slider*/
  .slideshow-container {
    /* max-width: 1000px; */
    position: relative;
    margin: auto;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    display: none;
    color: #cc2121;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  .tocka {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1s;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
 
/*   .slider-container{ 
    position: relative; 
    /* width: 600px;  
    max-width: 100%; 
    overflow: hidden;  
    border-radius: 10px;  
  }

/*   .slider{ 
    display: flex; 
    /* width: 300%;  
    animation: slide 5s infinite alternate ease-in-out; 
  } 

  .slide { 
    width: 100%; 
    flex: 1; 
  } */

/*   @keyframes slide {
      0% { transform: translateX(0); }
      33% { transform: translateX(-100%); }
      66% { transform: translateX(-200%); }
      100% { transform: translateX(0); }
  }
 */

  /*faq*/
  #faq{
    width: 100vw;
    height: auto;
    z-index: 1;
    text-align: justify;
  }
  
  .faq-content {
    margin: 0 auto;
    text-align: center;
  }
  
  .faq-question {
    padding: 20px 0;
    border-bottom: 1px dotted #ccc;
  }
  
  .panel-title {
    font-family: "Chivo", serif;
    font-weight: 100;
    font-size: 24px;
    /* width: 100%; */
    position: relative;
    margin: 0;
    padding: 10px 10px 0 48px;
    display: block;
    cursor: pointer;
  }
  
  .panel-content {
    font-family: "Chivo", serif;
    font-weight: 100;
    font-size: 20px;
    padding: 0px 14px;
    margin: 0 40px;
    height: 0;
    overflow: hidden;
    z-index: -1;
    position: relative;
    opacity: 0;
    transition: .4s ease;
  }
  
  .panel:checked ~ .panel-content{
    height: auto;
    opacity: 1;
    padding: 14px;
  }
  
  .plus {
    position: absolute;
    margin-left: 20px;
    margin-top: 4px;
    z-index: 5;
    font-size: 42px;
    line-height: 100%;
    user-select: none;
    transition: .2s ease;
    color: #c69c6d;
    z-index: 1;
  }
  
  .panel:checked ~ .plus {
    transform: rotate(45deg);
  }
  
  .panel {
    display: none;
  }


  /*Kontakt*/
  #kontakt{
    background-color: #111;
    max-height: 60vh;
    position: relative;
    /* display: flex; */
  }

  iframe{
    width:100%;
    height:45vh;
  }

  #kontakt .logo{
    width:auto;
    height: 8vh;
  }

  .dno{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    gap: 38vw;
    padding: 7em;
  }

      .drustvene {
        display: flex;
        justify-content: center; 
        flex-wrap: wrap; 
        margin-top: 20px; 
       /*align-items:right; */
    }

    .ikone{
        height: 8vh;
        margin: 0 10px;
    }

    .ikone:hover {
        opacity:0.8;
    }

    .ikone-link{
      margin: 0;
      /* padding-top: 10%; */
  }

  /*Responzivnost*/
  /*manji laptop footer*/
  @media only screen and (max-width: 900px){
    .dno{
      gap: 30vw;
      padding: 7em;
    }
  }

 /*za tablet*/
 @media only screen and (max-width: 768px){
  /*usluge*/
  #usluge{
    flex-direction: column;
    width: 100vw;
  }

  #usluge h4 {
    font-size: 25pt;
  }

  .polaroid{
    width: 80vw;
    margin-bottom: 8vh;
  }

  /*galerija*/
  .button{
    font-size: 25pt;
  }

  /*umjetnici*/
  .boban_ana{
    flex-direction: column;
  }

  .boban_ana img{
    width: 80vw;
    height: auto;
    padding-bottom: 2%;
  }

  .boban_ana img:hover{
    transform: none;
  }

  .boban_ana p{
    width: 80vw;
    font-size: 20pt;
  }
  
  .ana_tekst{
    padding-bottom: 2%;
  }

  /*studio*/
  #studio{
    flex-direction: column;
  }
  
  .roomcraft_studio_slike{
    width: 80vw;
  }
  
  #studio p{
    width: 80vw;
    font-size: 20pt;
  }

  .panel-title {
    font-size: 20pt;
  }
  .panel-content{
    font-size: 20pt;
    text-align: justify;
  }

 }

  /*za mobitel*/
  @media screen and (max-width: 450px) {

    section{
      max-width: 100vw;
      /* overflow-x: hidden; */
    }
    #pocetna, #usluge, #umjetnici, #studio, #faq, #kontakt{
      overflow-x: hidden;
    }

    /*navigacija*/
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}

    h2{
      font-size: 20pt;
      text-align: left;
    }

    /*pocetna*/
    .roomcraft_logo{
      width: 40vh; 
      height: auto;
    }

    /*usluge*/
    #usluge h4 {
      font-size: 18pt;
    }

    /*galerija*/
    .button{
      font-size: 1rem;
    }

    /*umjetnici*/
    #umjetnici p{
      font-size: 16px;
    }

    /*studio*/
    #studio p{
      font-size: 16px;
    }

    /*faq*/
    #faq{
      height: auto;
    }
    .faq-header{
      text-align: center;
    }
    .panel-title {
      font-size: 16px;
    }
    .panel-content{
      font-size: 16px;
    }
    /*footer*/
   /*  .dno{
      flex-direction: column;
    } 
      */
    iframe {
      height: 40vh;
    }

    .dno {
        padding: 1em 0.5em;
        margin-top: 150px;
        flex-direction: column;
    }

    .ikone {
        height: 4.5vh;
    }
  }