*{
    box-sizing: border-box;
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    height: 100vh; 
    overflow: hidden; 
    margin: 0;
    
    background-image: url('slike/slika1.jpg');
    background-position: center center;
    background-size: cover; 
    transition: 0.4s ease;
}
body::before{
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh; 
    background-color: rgba(0,0,0, 0.7);
    z-index: -1;
}
.container{
    position: relative;
    width: 70vw;
    height: 70vh; 
    box-shadow: 0 3px 6px rgba(0,0,0, 0.2),0 3px 6px rgba(0,0,0, 0.3);
    overflow: hidden;
}

.slide{
    opacity: 0; 
    width: 100vw; 
    height: 100vh; 
    background-position: center center; 
    background-size: cover; 
    position: absolute; 
    top: -15vh;
    left: -15vw;
    transition: 0.4s ease; 
    z-index: 1;
}

.slide.active{
    opacity: 1;
}
.arrow{
    background-color: rgba(51,51,51,0.7); 
    color: #fff; 
    border: none; 
    padding: 20px;
    font-size: 30px;
    position: fixed;
    top: 50%;
    cursor: pointer; 
    transform: translateY(-50%);
    transition: 0.2s ease;
    
}
.arrow:hover{
    background-color: #333;
}
.left-arrow{
    left: calc(15vw - 65px);
}
.right-arrow{
    right: calc(15vw - 65px);
}