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

.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%;
}
.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: 25%;
    width: 100%;
    height: 45%;
    background-color: #898681;
    left: 50%;
    transform: translateX(-50%);
}
 

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

.item-webhosting{
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%), url('../../fotogalerie/projekty/webhosting.png');
    background-size: cover;
}

.item-ssl{
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%), url('../../fotogalerie/projekty/ssl.png');
    background-size: cover;
}

.item-cryptography{
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%), url('../../fotogalerie/projekty/cryptography.png');
    background-size: cover;
}

.item-cryptography-2{
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%), url('../../fotogalerie/projekty/cryptography-2.png');
    background-size: cover;
}

.item-projects h2{
    color: black !important;
    font-weight: 800 !important;
}


.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: 400px;
    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;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 5%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #c7C7C7;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    height: 90%;
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -0.5%;
    margin-bottom: 0.5%;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }


footer{
    margin-top: 32%;
    margin-bottom: 3%;
    font-family: "samantha-italic", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    color: #DAD9D8;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    bottom: -5%;

}

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: 1440px) {
    .owl-carousel .owl-nav{
        bottom: -25%;
    }
}
@media (max-width: 1024px) {
    .owl-item{
        height: 300px;
    }
    .projects{
        height: 47%;
    }
    .owl-carousel .owl-nav{
        bottom: -27%;
    }
    .owl-carousel .owl-stage-outer {
        padding-left: 6px; /* This will push the first item 5% from the left of the container */
    }
}
@media (max-width: 768px) {
    .owl-item{
        height: 250px;
    }
    .home-demo h2{
        font-size: 28px;
    }
    .navbar-brand{
        width: 22%;
    }
    .navbar-brand img{
        width: 100%;
    }
    .owl-carousel .owl-nav{
        bottom: -40%;
    }
}

@media(max-width: 425px){
    footer{
        bottom: -2%;
    }
    .nav-link{
        padding: 0.2rem 0.5rem;
    }
    .flex-row{
        scale: 120%;
        margin-left: -1%;
    }
    .navbar-brand{
        top: 6%;
    }
    .navbar-toggler{
        scale: 120% ;
    }
    .projects{
        height: 285px;
    }
    .projects{
        top: 20%;
    }
    #contact{
        font-size: 30px;
    }
    .owl-nav{
        left: 50%;
    transform: translate(-50%);
    }
}