body{
    background-color: #282623;
    color: #DAD9D8;
}

.navbar-brand{
    position: absolute; 
    top: 0%;
    left: 50%; 
    transform: translateX(-50%);
}

.navbar a{
    color: #DAD9D8 !important;
}

.navbar-dark .navbar-toggler{
    color: #DAD9D8;
    border-color: transparent;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23DAD9D8' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav{
    text-align: right;
}
.flex-row{
    scale: 150% ;
    margin-left: 5%;
    margin-top: 2%;
}
.navbar-toggler{
    scale: 150%;
    margin-right: 2%;
    margin-top: 2%;
}
h1{
    font-family: "blakely", sans-serif;
font-weight: 300;
font-style: normal;
font-size: 87px;
}
.mainText{
    position: absolute;
    left: 8%;
    top: 25%;
    width: 42%;
    z-index: -1;
}
.Carousel{
    position: absolute;
    right: 15%;
    top: 20%;
    width: 25% !important;

}

.carousel-inner{
    overflow: visible;
}
.carousel-item {
    opacity: 1 !important;
    display: block !important;
    transform: rotate(0) scale(100%);
    transition: transform 0.3s ease-in-out -0.05s;
}

.next{
        transform: rotate(5deg) scale(0.91) !important;
        position: inherit;
        align-self: baseline;
        left: 8%;
        bottom: 1%;
        transition: transform 0.3s ease-in-out -0.05s
}

.nextNext{
    transform: rotate(11deg) scale(0.87)    !important;
        position: inherit;
        align-self: baseline;
        left: 12%;
    bottom: 1%;
        z-index: -1;
        transition: transform 0.3s ease-in-out -0.05s
}

.active{
    transform: rotate(0deg) scale(1) !important;
    transition: transform 0.3s ease-in-out -0.05s;
}

.carousel-fade .carousel-item{
    transition-property: transform !important;
}
.carousel-fade .carousel-item-next.carousel-item-left, .carousel-fade .carousel-item-prev.carousel-item-right, .carousel-fade .carousel-item.active{
    transform: rotate(0deg) scale(1) !important;
    left: 0%;
    bottom: 0%;
}



.projects{
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    background-color: #898681;
}
 

  .home-demo .item {
    height: 100%;
    width: 100%;
}

.item-fox{
    background: linear-gradient(to bottom,transparent, rgba(0,0,0,1)), url(../fotogalerie/projekty/fox2.png);
    background-size: cover;
}

.item-websites{
    background: linear-gradient(to bottom,transparent, rgba(0,0,0,1)), url(../fotogalerie/projekty/websites2.png);
    background-size: cover;
}

.item-kraken{
    background: linear-gradient(to bottom,transparent, rgba(0,0,0,1)), url(../fotogalerie/projekty/kraken2.png);
    background-size: cover;
}

.item-academy{
    background: linear-gradient(to bottom,transparent, rgba(0,0,0,1)), url(../fotogalerie/projekty/academy2.png);
    background-size: cover;
}

.item-planet{
    background: linear-gradient(to bottom,transparent, rgba(0,0,0,1)), url(../fotogalerie/projekty/planet2.png);
    background-size: cover;
}

.item-dj{
    background: linear-gradient(to bottom,transparent, rgba(0,0,0,1)), url(../fotogalerie/projekty/dj2.png);
    background-size: cover;
}

.item-projects{
    background: linear-gradient(to bottom,transparent, rgba(0,0,0,1)), url(../fotogalerie/projekty/projects2.png);
    background-size: cover;
}



.home-demo h2 {
    color: #FFF;
    text-align: center;
    padding: 5rem 0;
    margin: 0;
    font-weight: 300;
    position: absolute; /* Add this line */
    bottom: -60px; /* Adjust this value as needed to move the text below */
    left: 50%; /* Centers the text */
    transform: translateX(-50%); /* Align center with left 50% */
    width: 100%; /* Ensures the text is centered in the container */
  }
.owl-item{
    height: 750px;
    margin-top: 0.5%;

}
.owl-carousel .owl-stage-outer {
    padding-left: 10px; /* This will push the first item 5% from the left of the container */
}

.owl-carousel .owl-nav {
    position: absolute;
    right: 5%; /* Adjust as needed for the exact positioning */
    bottom: -14%; /* Adjust as needed for the exact positioning */
    text-align: right;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
}

.owl-theme .owl-nav [class*=owl-]:hover{
    background: transparent !important;
}

.owl-nav{
    font-size: 75px;
}

.owl-theme .owl-dots, .owl-theme{
    display: none;
}

footer{
    margin-top: 100%;
    margin-bottom: 3%;
    font-family: "samantha-italic", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 40px;
color: #DAD9D8;
}

footer a {
    color: #DAD9D8 !important;
}
 .nav-item{
    margin-right: 2.5%;
 }

 /* Set the scrollbar width and color */
::-webkit-scrollbar {
    width: 10px; /* adjust as needed */
    background-color: #58534E; /* set the background color of the scrollbar */
  }
  
  /* Style the scrollbar thumb */
  ::-webkit-scrollbar-thumb {
    background-color: #898681; /* set the color of the scrollbar thumb */
    border-radius: 10px; /* set the border radius of the scrollbar thumb */
  }
  
  /* Set the scrollbar track */
  ::-webkit-scrollbar-track {
    background-color: #58534E; /* set the background color of the scrollbar track */
    border-radius: 10px; /* set the border radius of the scrollbar track */
  }


  @media (max-width: 1829px)  {
    .home-demo .item{
        height: 90%;
    }
    .home-demo h2{
        bottom: 0px;
    }
    .owl-carousel .owl-nav {
        bottom: -7%	;
    }
}

@media (max-width: 1620px) {
    .owl-carousel .owl-nav {
        bottom: -5%	;
    }
}

@media screen and (max-width: 1600px) and (min-height: 840px) {
   footer{
       margin-top: 105%;
   }
}

@media (max-width: 1440px) {
    .projects{
        height: 90%;
    }
    .home-demo .item{
        height: 90%;
    }
    .home-demo h2{
        bottom: 0%;
    }
    .owl-item{
        height: 650px;
    }
    footer{
        margin-top: 104%;
    }
}

@media (max-width: 1024px) {
    .Carousel{
        right: 6%;
        top: 25%;
        width: 32% !important;
    }
    .lead{
        font-size: 1.2rem;
    }
    h1{
        font-size: 80px;
    }
    footer{
        margin-top: 150%;
    }
}

@media (max-width: 768px) {
    h1{
        font-size: 60px;
    }
    .lead{
        font-size: 1rem;
    }
    .Carousel{
        top: 23%;
        right: 6%;
        width: 38% !important;
    }
    footer{
        margin-top: 185%;
    }
}

@media(max-width: 425px){
    .navbar-brand{
        width: 25%;
    }
    .navbar-brand img{
        width: 100%;
    }
    .nav-link{
        padding: 0.2rem 0.5rem;
    }
    .flex-row{
        margin-left: -1%;
        scale: 120% ;
    }
    .navbar-toggler{
        scale: 120% ;
        margin-right: 0%;
        margin-top: -1%;
    }
    .navbar-dark .navbar-nav .nav-link{
        font-size: 12px;
    }
    .mainText{
        left: 5%;
        top: 13%;
        text-align: center;
        width: 90%;
    }
    .Carousel{
        top: 50%;
        right: 20%;
        width: 58% !important;
    }
    h1{
        font-size: 55px;
    }
    .lead{
        font-size: 0.94rem;
    }
    .owl-item{
        height: 465px;
    }
    .owl-carousel .owl-nav{
        bottom: -20%;
        left: 50%;
        transform: translate(-50%);
    }
    .projects{
        height: 68%;
    }
    footer{
        margin-top: 300%;
    }
    .home-demo h2{
        font-size: 25px;
        bottom: -4%;
    }
}
@media (max-width: 375px) {
    .Carousel{
        top: 49%;
        right: 16%;
        width: 65% !important;
    }
    footer{
        margin-top: 340%;
    }
    .home-demo h2{
        font-size: 23px;
    }
    .lead{
        margin-top: -3%;
        font-size: 0.8rem;
    }
    .projects{
        height: 460px;
        top: 105%;
    }
    .owl-carousel .owl-nav{
        left: 50%;
        right: initial;
        transform: translate(-50%);
    }
}

@media (max-width: 360px) {
    footer{
        margin-top: 360%;
    }
}
@media (max-width: 320px) {
    .lead{
        font-size: 0.84rem;
    }
    .projects{
        height: 66%;
    }
    h1{
        font-size: 45px;
    }
    .flex-row{
        scale: 100% ;
        margin-left: -5%;
    }
    .home-demo h2{
        font-size: 20px;
    }
    footer{
        margin-top: 400%;
    }
}