.carousel-item {
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}
/*--- Fixované pozadí --*/
figure {
    position: relative;
    width: 100%;
    height: 60%;
    margin: 0!important;
}
.fixed-wrap {
    clip: rect(0, auto, auto, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#fixed {
    background-image: url('obrazky/mac.png');
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    will-change: transform;
}
/*--- Bootstrap Padding Fix --*/
    [class*="col-"] {
    padding: 1rem;
    }





/*--- Vlastní css úpravy ---*/
    .navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
        color: rgb(255, 193, 7);
    }

    .navbar-dark .navbar-nav .nav-link:hover {
        color: rgb(255, 193, 7) !important;
    }

    body {
        padding-top: 20px;
    }

    .carousel-caption {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 100%;
    }

    .carousel-inner img {
        width: 100%;
        height: 800px;
        object-fit: cover;
    }

    .main{
        background-color: rgb(40, 40, 40);
        color: white;
    }

    .text {
        padding-left: 3%;
    }

    .navbar-brand img {
        width: 100px;
        height: auto; 
    }

    #slides {
        height: 100vh;
    }

    .carousel-inner,
    .carousel-item {
        height: 100vh;
    }

    .carousel-item img {
        object-fit: cover;
        width: 100%;
        height: 100vh;
    }