.gallery-container {
    
    width: 90%;
    margin: 50px 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%;
    height: 550px;
    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: 45px;
    font-size: 22px;


}

.second-container-acc .second-slika1-acc{
    width: 85%;
    height: 70%;
    margin: 30px 20px;
    border-radius: 10px;
}


@media screen and (max-width:1440px) {

    .grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        gap: 15px;
    }
    
    .grid .large {
        grid-column: span 2;
    }
    
    .grid .small {
        grid-column: span 2;
    }
    .grid .small img{
        height: 383px;
    }
    
    .grid .medium {
        grid-column: span 2;
    }
    .grid .medium img{
        height: 383px;
    }
    
    .grid img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
    }
}
@media  screen and (max-width:1024px) {

    .second-container-acc .second-slika1-acc{

        height: 45vh;
        margin: 15% 7%;
        border-radius: 10px;
    }
    .second-container-content-acc{
        margin: 10%;
        width: 90%;
        color: var(--text-color);
        }
    }


@media screen and (max-width:768px){
    .grid {
        grid-template-columns: 1fr;
    }

    .grid .large,
    .grid .small,
    .grid .medium {
        grid-column: span 1;
    }
    

    .second-acc{
        height: 100vh;
        margin-top: 35px;
        margin-bottom: 2 0px;
    
    }
    
    .second-container-acc{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        height: 90%;
    }
    .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: 45vh;
        margin: 10px 7%;
        border-radius: 10px;
    }

    .separation-acc1 .sepANaslov{

        color: var(--text-color);
        font-size: 50px;
    }
    
    .separation-acc1 p{
        color: rgb(219, 219, 219);
       margin-top: 10px;
       font-size: 15px;
       
    }
    
 
}
@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .grid .large,
    .grid .small,
    .grid .medium {
        grid-column: span 1;
    }

    .second-acc{
    

     
        height: 100vh;
        margin-top: 25px;
        margin-bottom: 30px;
    
    
    
    }
    
    .second-container-acc{
       
        display: grid;
        grid-template-columns: repeat(1,1fr);
        height: 90%;
    
    
    }
    .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;
        margin: 30px 7%;
        border-radius: 10px;
    }
}

@media only screen and (min-device-width: 390px) and (max-device-width: 393px) and (orientation: portrait){
   
    .second-acc{
    

     
        height: 100vh;
        margin-top: 30px;
        margin-bottom: 15px;
    
    
    
    }

    .second-container-acc .second-slika1-acc{

        height: 35vh;
        margin: 30px 7%;
        border-radius: 10px;
    }
}