.gallery-container {
    
    width: 90%;
    margin: 30px auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 15px;
}

.grid .large {
    grid-column: span 4;
}

.grid .small {
    grid-column: span 2;
}

.grid .medium {
    grid-column: span 2;
}

.grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.separation-acc1{
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("images/sustainability/2.jpg")
}


.separation-acc1{

    display: flex;
    flex-direction: column;
    align-items:center;
    padding-top: 57px;
    gap: 10px;
   width: 100%;
    height: 250px;
}

.separation-acc1 .sepANaslov{

    color: var(--text-color);
    font-size: 55px;
}

.separation-acc1 p{
    color: rgb(219, 219, 219);
   margin-top: 13px;
   font-size: 20px;
   
}

.second-acc{
    

    /*border: red dotted;*/
    height: 550px;
    margin-top: 25px;



}

.second-container-acc{
   
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
    width: 90%;
    margin-left: 5%;


}
.second-container-content-acc{

   
    width: 70%;
    margin: 50px 110px;
    font-size:23px;
    text-align: justify;
    color: var(--text-color)
    
    }

.second-container-content-acc h3{

    text-align: center;
    font-size: 30px;




}
.second-container-content-acc p{


    margin-top: 25px;
    font-size: 20px;


}

.second-container-acc .second-slika1-acc{
    width: 90%;
    margin: 55px 3px;
    border-radius: 10px;
}



.third-acc{
    
    
    /*border: red dotted;*/
    height: 550px;
    margin-top: 30px;




}


.third-acc-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
    width: 90%;
    margin-left: 5%;


}

.third-acc-container-content h3{

    font-size: 30px;
display: flex;
align-self: center;
justify-content: center;

}


.third-acc-container .third-slika1{
width: 100%;
margin: 55px 65px;
border-radius: 5px;
}

.third-acc-container-content{



width: 70%;

margin: 70px 90px;
font-size:23px;
text-align: justify;
padding-left: 30px;



}




.main-button3{

background-color: #BB9457;
display: inline-block;
color: var(--text-color);
border: 2px solid #BB9457;
padding: 10px 20px;
border-radius: 7px;
font-size: 18px;
transition: transform 0.3s ease;  
margin-top: 50px;
margin-left: 37%;





}

.main-button3:hover{

background-color:#956636;
color: white;
transform: translateY(-6px);
}

@media screen and (max-width:1440px) {

    .third-acc{
        /*border: red dotted;*/
        height: 550px;
        margin-top: 30px;
        margin-bottom: 5%;
    }
    
    .third-acc-container .third-slika1{
        width: 100%;
        height: 70%;
        margin:10%;
        border-radius: 5px;
        }

        .second-container-acc .second-slika1-acc{
            width: 90%;
            height: 70%;
            margin: 10% 5% ;
            border-radius: 10px;
        }

        
     .main-button3{

    padding: 10px 20px;
    font-size: 17px;
    margin-left: 33%;
    }


        .main-button3:hover{

            background-color:#956636;
            color: white;
            transform: translateY(-6px);
            }

            
    
}

@media screen and (max-width:1024px) {
     
   
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid .large,
    .grid .small, 
    .grid .medium {
        grid-column: span 1;
    }


    .separation-acc1{
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-image: url("images/sustainability/2.jpg")
    }
    
    
    
    
    .separation-acc1 .sepANaslov{
        font-size: 50px;
    }
    .separation-acc1 p{
       font-size: 17px;
    }
    
    .second-acc{
        /*border: red dotted;*/
        height: 450px;
        margin-top: 35px;
        margin-bottom: 5%;
    }
    
    .second-container-acc{
        gap: 5px;
        width: 90%;
    }
    .second-container-content-acc{
    
       
        width: 90%;
        margin: 5%;
        font-size:23px;
        color: var(--text-color)
        
        }
    
    .second-container-content-acc h3{
        text-align: center;
        font-size: 28px;
    }
    .second-container-content-acc p{
        margin-top: 20px;
        font-size: 17px;
    }
    
    .second-container-acc .second-slika1-acc{
        width: 100%;
        height: 35vh;
        margin:  15% 0%;
  
    }
    .third-acc{
        /*border: red dotted;*/
        height: 350px;
        margin-top: 50px;
        margin-bottom: 5%;
        }

    .third-acc-container{
        gap: 5px;
        width: 90%;
        margin-left: 5%;
    }
    
    .third-acc-container-content h3{
    
        font-size: 25px;
    display: flex;
    align-self: center;
    justify-content: center;
    
    }
    
    
    .third-acc-container .third-slika1{
    width: 100%;
    margin: 15% 2% ;
    border-radius: 5px;
    }
    
    .third-acc-container-content{
    
    width: 90%;
    margin: 15px 10px;
    font-size: 19px;
    text-align: justify;
    padding-left: 30px;
    
    
    
    }
    
    .main-button3{
    
    background-color: #BB9457;
    display: inline-block;
    color: var(--text-color);
    border: 2px solid #BB9457;
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 15px;
    transition: transform 0.3s ease;  
    margin-top: 5%;
    margin-left: 30%;
    
    }
    .main-button3:hover{
    background-color:#956636;
    color: white;
    transform: translateY(-6px);
    }    
    
   


}
    





@media  screen and (max-width:768px) {


   
    .grid {
        grid-template-columns: 1fr;
    }

    .grid .large,
    .grid .small,
    .grid .medium {
        grid-column: span 1;
    }
    


    .separation-acc1 .sepANaslov{
    
        color: var(--text-color);
        font-size: 45px;
    }
    
    .separation-acc1 p{
        
       font-size: 17px;
       
    }
    
    .second-acc{
    

        /*border: red dotted;*/
        height: 580px;
        margin-top: 25px;
        margin-bottom: 300px;
    
    
    
    }
    
    .second-container-acc{
       
        display: grid;
        grid-template-columns: repeat(1,1fr);
        
    
    
    }
    .second-container-content-acc{
    
        margin: 5%;
        width: 90%;
        color: var(--text-color);
        
        
        }
    
    .second-container-content-acc h3{
    
        text-align: center;
        text-wrap: pretty;
        font-size: 28px;
    
    }
    .second-container-content-acc p{

        margin-top: 20px;
        font-size: 18px;
    
    
    }
    
    .second-container-acc .second-slika1-acc{

        height: 40vh;
        margin: 50px 5%;
        border-radius: 10px;

     }

     .third-acc{
        /*border: red dotted;*/
        height: 600px;
        margin-top: 30px;
        margin-bottom: 80px;
    }
    
    
    .third-acc-container{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        gap: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        background-color: #f9f9f9;
        width: 90%;
        margin-left: 5%;
    
    
    }
    
    .third-acc-container-content h3{
    
    font-size: 30px;
    display: flex;
    align-self: center;
    justify-content: center;
    text-wrap: nowrap;
    
    }
    
    
    .third-acc-container .third-slika1{
    width: 90%;
    height: 40vh;
    margin: 20px 26px;
    border-radius: 5px;
    }
    
    .third-acc-container-content{
    width: 90%;
    margin: 10px 5%;
    font-size:18px;
    text-align: unset;
    padding-left: 0px;
    
    }
        
    .main-button3{
    padding: 10px 20px;
    font-size: 13px; 
    margin-top: 30px;
    margin-bottom: 15px;
    margin-left: 40%;
    }
}

@media screen and (max-width:480px){
    

    .grid {
        grid-template-columns: 1fr;
    }

    .grid .large,
    .grid .small,
    .grid .medium {
        grid-column: span 1;
    }

    .separation-acc1 .sepANaslov{
    
        color: var(--text-color);
        font-size: 45px;
    }
    
    .separation-acc1 p{
        
       font-size: 17px;
       
    }
    
    .second-acc{
    

        /*border: red dotted;*/
        height: 880px;
        margin-top: 25px;
        margin-bottom: 10%;
    
    
    
    }
    
    .second-container-acc{
       
        display: grid;
        grid-template-columns: repeat(1,1fr);
        height: 100%;
        
    
    
    }
    .second-container-content-acc{
    
        margin: 5%;
        width: 90%;
        color: var(--text-color);
        
        
        }
    
    .second-container-content-acc h3{
    
        text-align: center;
        text-wrap: pretty;
        font-size: 28px;
    
    }
    .second-container-content-acc p{

        margin-top: 20px;
        font-size: 18px;
    
    
    }
    
    .second-container-acc .second-slika1-acc{

        height: 30vh;
        width: 43vh;
        margin: 10% 2%;
        border-radius: 10px;
    }

    .third-acc{
        /*border: red dotted;*/
        height: 550px;
        margin-top: 30px;
        margin-bottom: 130px;
    }
    
    
    .third-acc-container{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        gap: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        background-color: #f9f9f9;
        width: 90%;
        margin-left: 4%;
    
    
    }
    
    .third-acc-container-content h3{
    
    font-size: 30px;
    display: flex;
    align-self: center;
    justify-content: center;
    text-wrap: nowrap;
    
    }
    
    
    .third-acc-container .third-slika1{
    width: 40vh;
    height: 25vh;
    margin: 5%;
    border-radius: 5px;
    }
    
    .third-acc-container-content{
    
    
    
    width: 90%;
    margin: 10px 5%;
    font-size:18px;
    text-align: unset;
    padding-left: 0px;
    
    }
        
    .main-button3{
    padding: 10px 20px;
    font-size: 13px; 
    margin-top: 30px;
    margin-bottom: 15px;
    margin-left: 30%;
    }
    

}


@media only screen and (min-device-width: 390px) and (max-device-width: 393px) and (orientation: portrait)  {
   
        @supports (-webkit-touch-callout: none) {
      
   
  
   
    .grid {
        grid-template-columns: 1fr;
    }

    .grid .large,
    .grid .small,
    .grid .medium {
        grid-column: span 1;
    }

    .separation-acc1 .sepANaslov{
    
        color: var(--text-color);
        font-size: 45px;
    }
    
    .separation-acc1 p{
        
       font-size: 17px;
       
    }
    
    .second-acc{
    

        /*border: red dotted;*/
        height: 780px;
        margin-top: 25px;
        margin-bottom: 5%;
    
    
    
    }
    
    .second-container-acc{
       
        display: grid;
        grid-template-columns: repeat(1,1fr);
        height: 100%;
    
    
    }
    .second-container-content-acc{
    
        margin: 5%;
        width: 90%;
        color: var(--text-color);
        
        
        }
    
    .second-container-content-acc h3{
    
        text-align: center;
        text-wrap: pretty;
        font-size: 1.5rem;
    
    }
    .second-container-content-acc p{

        margin-top: 20px;
        font-size: 1rem;
    
    
    }
    
    .second-container-acc .second-slika1-acc{

        height: 30svh;
        width: 50svh;
        
        margin: 10% 3%;
        border-radius: 10px;
    }

    .third-acc{
        /*border: red dotted;*/
        height: 650px;
        margin-top: 30px;
        margin-bottom: 10%;
    }
    
    
    .third-acc-container{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        gap: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        background-color: #f9f9f9;
        width: 90%;
        margin-left: 4%;
    
    
    }
    
    .third-acc-container-content h3{
    
    font-size: 30px;
    display: flex;
    align-self: center;
    justify-content: center;
    text-wrap: nowrap;
    
    }
    
    
    .third-acc-container .third-slika1{
    width: 40vh;
    height: 25vh;
    margin: 7% ;
    border-radius: 5px;
    }
    
    .third-acc-container-content{
    
    
    
    width: 90%;
    margin: 10px 5%;
    font-size:18px;
    text-align: unset;
    padding-left: 0px;
    
    }
        
    .main-button3{
    padding: 10px 20px;
    font-size: 13px; 
    margin-top: 30px;
    margin-bottom: 15px;
    margin-left: 30%;
    }
}
    
}