.display-row{
    display: flex;
    flex-direction: row;
    width: 100%;
    text-align: justify;
}
.article{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
.article img{
    margin-bottom: 15px;
}
.se-img img {
    border-radius: 30px;
}
.article h2{
    color:#6c7176;
    font-weight: 900;
}
.datum{
    color:#ad2b39;
    font-weight: 800;
    width: 100%;
    text-align: justify;
}
.article h2,
.article p{
    width: 100%;
    text-align: justify;
}
h2 p {
    font-size: 24px;
}
/* GALERIJA */
.wrapper-body{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #212225;
    border-radius: 35px;
    width: 100%;
    margin-top: 50px;
}
.wrapper{
    max-width: 1030px;
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
}
.wrapper .carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100%/4)-12px);
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.carousel{
    padding-left: 0;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.gallery-box img {
    width: 245px;
    height: 245px;
}
.carousel .gallery-box{
    list-style: none;
    height: 342px;
    background: #212225;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    scroll-snap-align: start;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel.no-transition {
    scroll-behavior: auto;
}
.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.carousel.dragging .gallery-box {
    cursor: grab;
    user-select: none;
}
.carousel :where(.gallery-box, .gallery-box__img) {
    display: flex;
    justify-content: center;
    align-items: center;
}
.gallery-box .gallery-box__image img{
    object-fit: cover;
    border-radius: 8px;
}
.slider-button{
    position: absolute;
    width: 50px;
    background: rgba(169,169,169,0);
    border: none;
    cursor: pointer;
}
#left{
    left:-200px;
}
#right{
    right:-200px;
}
.slider-button:active{
    opacity: 0.6;
}

@media screen and (min-width: 1440px){
    .white{
        display: none;
    }
    .black{
        display: flex;
    }
}

@media screen and (max-width: 1440px){
    .wrapper .carousel{
        grid-auto-columns: calc((100% / 3) - 9px);
        width: 100%;
    }
    #left{
        left:-80px;
    }
    #right{
        right:-60px;
    }
    .white{
        display: flex;
    }
    .black{
        display: none;
    }
}
@media screen and (max-width: 1250px){
    .wrapper .carousel{
        grid-auto-columns: calc((100% / 2) - 6px);
        width: 100%;
    }
    #left{
        left:0px;
    }
    #right{
        right:0px;
    }
    .white{
        display: flex;
    }
    .black{
        display:none;
    }
}
@media screen and (max-width: 840px){
    .wrapper .carousel{
        grid-auto-columns: 100%;
        width: 100%;
    }
    .white{
        display: flex;
    }
    .black{
        display:none;
    }
}
@media screen and (max-width: 630px){
    .display{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .se-img img {
        border-radius: 10px !important;
    }
    .card-naslov {
        display: flex;
        flex-direction: column-reverse;
    }
    .card-naslov h2 {
    margin-top: 0px;
    }
  
}