@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
/* font-family: 'Lobster', cursive; */

* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 85%;
    margin: 50px auto;
    text-align: center;
}

.container .title {
    width: 60%;
    margin: 0px auto 30px auto;
    margin-top: 5rem;
    
}
.container .title img{
    width: 400px;
    height: 400px;
    padding: 0%;
    margin: 0;
    transform: translate(-100px,-150px);
    transform: rotate(60)
}

.container .title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;

}

.container .title p {
    color: #333;
    font-size: 17px;
}

.content .list {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.content .list li {
    color: #000;
    margin: 0px 15px;
    transition: .3s ease-in-out;
    cursor: pointer;
    font-size: 25px;
    font-weight: 600;
    position: relative;
    border-bottom: solid 1px black;

}

.content .list li::after {
    content: "";
    position: absolute;
    bottom: -3px;
    width: 0%;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4a373;
    transition: .4s ease-in-out;
}

.content .list li:hover::after {
    width: 100%;
}

.content .list li:first-child {
    color: #d4a373;
}

.box_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.box {
    width: 80%;
    margin: 20px auto;
    background: #FFF;
    border-radius: 3px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    align-items: center;
    animation: movement 1s ease-in-out;
    text-align: center;
}
.text {
    width: 100%;
}


.box .box_img {
    width: 35%;
    text-align: center;
}

.box_img img {
    width: 130px;
    height: 130px;
}

.box .text {
    text-align: left;
    width: 60%;
}

.text h3 {
    text-transform: capitalize;
}

.text hr {
    width: 50px;
    background: #d4a373;
    height: 3px;
    margin: 5px 0px 10px 0px;
}

.text section {
    font-weight: 600;
    margin-bottom: -5px;
}

.text .stars {
    margin-bottom: -2px;
}

.text .stars i {
    font-size: 13px;
    color: #d4a373;
}

.text article {
    font-size: 15px;
}

@keyframes movement {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* @media(max-width: 1320px){
    .box{
        width: 100%;
    }
} */
@media(max-width: 900px) {
    .box_flex { 
        flex-direction: column;
        margin: 0;
        padding: 0%;
        width: 100%;
    } 

    body{
        display: grid;
        place-items: center;

    }
    /*main cointainer*/
    body>div {
        margin: 0%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-left: 20px;
    }
    
    .box_img img {
        width: 250px;
        height: auto;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .box_img img:hover {
        transform: scale(1.05); /* Slight zoom on hover */
    }
    

   
    .menu .list {
        display:flex;
        flex-direction: column;
    }
   
    body>footer {
        width: 80%;
        display: none;
    }


    .box {
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }
    img{
        max-width: 100%;
        height: auto;
    }
    .prmocija{
        display: flex;
        flex-direction: row;
    }
    .slike img{
        max-width: 100%;
        height: auto;
    }
    .slike .ikonica{
        width: 20px;
        height: 20px;
    }


}

footer {
    background-color: #f2f2f2;
    padding: 20px;
    text-align: center;
}

.footer-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
    color: #333;
    font-size: 20px;
}

.footer-social a:hover {
    color: #000;
}

.fa-facebook:before {
    content: "\f09a";
}

.fa-twitter:before {
    content: "\f099";
}

.fa-instagram:before {
    content: "\f16d";
}
#back-to-top-btn {
    display: none; /* Hide the button by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
  }
  
  #back-to-top-btn.show {
    display: block; /* Show the button when it's scrolled down */
  }
  .gray-button {
    background-color: #888;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  
  .gray-button:hover {
    background-color: #666;
  }
  .gray-button a {
    color: white; /* Set the text color for the anchor tag inside the button */
    text-decoration: none; /* Remove any default underline or text decoration */
  }
  
  .gray-button a:hover {
    text-decoration: underline; /* Add underline on hover for the anchor tag */
  }