.bg-red-custom {
    background-color: #da0037af;
}

.red-custom {
    background-color: #ae1e23;
    /* background-color: #ef6c02af; */
    color: white;
}

.orange-custom {
    color: #ae1e23;
    /* color: #ef6c02; */
}

.red-sharp{
    color: #e60003;
}

.btn:hover {
    background-color: #ef02023b;
    /* background-color: #ef6c0280; */
    color: white;
}

.bg-grey-custom {
    background-color: #252525e1;
}

.bg-grey-custom-light {
    background-color: #414141be
}

.bg-grey-custom-full {
    background-color: #171717;
}

.body-bg-grey-full {
    background-color: #171717;
}

.footer-bg-grey-full {
    background-color: #232224;
}

.bg-white-custom {
    background-color: #EDEDED;
}

.bg-black-custom {
    background-color: #171717;
}

.nav-link:hover {
    color: #e60003!important;
    /* color: #ef6c02 !important; */
}

.nav-link .active:hover {
    color: #e60003 !important;
    /* color: #ef6c02 !important; */
}

.navbar a {
    color: white !important;
    font-family: "Source Sans Pro", Hammer Thin, Helvetica, Arial, Sans Serif;
    font-weight: 400 !important;
    font-size: 120%;
}

.nav-link.active {
    color: #e60003 !important;
    /* color: #ef6c02 !important; */
    font-weight: 500 !important;
}

.nav-link.disabled {
    color: rgb(82, 81, 81) !important;
}

.navbar {
    z-index: 2;
    /* height: 11.5vh; */
}

@media (width > 1024px) {
    .logo-image {
        width: 290px;
        height: 90.5px;
        margin-left: 15vw;
    }
    
    #title-header {
        display: none;
    }

    .nav-link {
        margin-right: 1.35vw;
    }

}

@media (width > 1000px ) and (width < 1124px) {
    .logo-image {
        width: 23rem;
        height: 7.5rem;
        margin-left: 1.5rem;
    }
    
    #title-header {
        display: none;
    }

    .nav-link {
        margin-right: 1.35vw;
    }

}

@media (width > 1024px){
    .navbar-nav {
        margin-right: 15vw;
    }
}

@media (width <=1000px) {
    .logo-image {
        width: 11rem;
        height: 3.5rem;
    }
}


@media (width <=1000px) {
    .navbar-collapse {
        text-align: center;
    }
}

#video-overlay:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: radial-gradient(rgba(95, 95, 95, 0.733), #202020);
    z-index: 1;
    height: 100%;
    width: 100vw;
    max-width: 100%;
}

#video-overlay {
    z-index: -1;
    left: 0%;
    top: 0%;
    height: 100%;
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    position: absolute;
}

#heading-overlay {
    z-index: 2;
    color: rgba(255, 255, 255, 0.74);
    /* text-shadow: 0px 0px 20px #00000073; */
    font-size: 450%;
    font-weight: 400;
    font-family: 'Arial-BoldMT', serif !important;
}

#heading-overlay-contact {
    z-index: 2;
    /* text-shadow: 0px 0px 20px #00000073; */
    font-size: 300%;
    font-weight: 400;
}

@media (width <=1000px) {
    #heading-overlay-contact {
        z-index: 2;
        /* text-shadow: 0px 0px 20px #00000073; */
        font-size: 250%;
        font-weight: 400;
    }
}

@media (width <=1000px) {
    #heading-overlay {
        z-index: 3;
        color: rgba(255, 255, 255, 0.74);
        /* text-shadow: 0px 0px 20px #00000073; */
        font-size: 450%;
        font-weight: 400;
        font-family: 'Arial-BoldMT', serif !important;
        line-height: 0.7;
        margin-bottom: 3rem;
    }
}


#title-header {
    font-size: xx-large;
    font-weight: 700;
}

.color-changed {
    background-color: #252525e1 !important;
}

/* body, body a, body ul li, body p, body h1, body h2, body h3, body h4, body blockquote, body p{
    font-family: 'Arial-BoldMT', sans-serif !important;
} */

.container-custom {
    max-width: 50vw;
}

@media (width <1000px) {
    .container-custom {
        max-width: 90vw;
        text-align: left !important;
        text-anchor: start;
        text-overflow: clip;
    }
}

#remil {
    background-image:  radial-gradient(rgba(95, 95, 95, 1), #171717);
    background-repeat: no-repeat;
    background-size: cover;
}

.mb-8 {
    margin-bottom: 8rem !important;
}

.mt-8 {
    margin-top: 8rem !important;
}

.mt-6 {
    margin-top: 6.5rem !important;
}

.footer-custom {
    height: 15vh;
}

body {
    height: 100%;
}

.main-content {
    min-height: calc(100vh - 15vh);
}

::-webkit-scrollbar {
    width: 12px;
    /* Šířka scrollbar */
}

::-webkit-scrollbar-track {
    background: #252525e1;
}

::-webkit-scrollbar-thumb {
    background-color: #5f5f5f;
}

.bar-expandable {
    max-width: 0%;
    max-height: auto;
    transition: max-width 1s;
    overflow: hidden;
}

.expand {
    max-width: 100%;
    max-height: auto;
}

.center-img>div {
    display: flex;
    align-items: center;
}

.partner-title {
    display: block;
}

@media (width <1025px) {
    .partner-title {
        display: none;
    }
}

.fade {
    opacity: 0;
    transition: opacity 0.7s;
}

.fade-non-mobile{
    opacity: 0;
    transition: opacity 0.7s;
}

.fade-in {
    opacity: 1 !important;
}

.container-bg {
    background-image: linear-gradient(rgba(95, 95, 95, 0.733), #171717), url(../Img/remil_bg.JPG);
    background-repeat: no-repeat;
    background-size: cover;
}
.container-bg-2 {
    background-image: radial-gradient(rgba(95, 95, 95, 0.733), #202020), url(../Img/remil_bg.JPG);
    background-repeat: no-repeat;
    background-size: cover;
}

.container-bg-3 {
    background-image: radial-gradient(rgba(95, 95, 95, 0.733), #202020a9), url(../Img/remil_machine_bg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    transform: translateY(0);
    transition: transform 0.2s ease-out;
}

.container-bg-4 {
    background-image: radial-gradient(rgba(95, 95, 95, 0.833), #202020), url(../Img/remil_bg.JPG);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

#contact-block {
    background-color: #232224af;
    border-color: #6e6e6e54;
    border-style: solid;
    border-width: 1px;
}

.margined{
    margin-left: 10rem;
}
@media (width <1025px) {
    .margined{
        margin-left: 5rem;
    }
}

@media (width <1025px) {
    .mobile{
        font-size: smaller;
    }
}

.mframe{
    width: 40rem;
    height: 20rem;
}

@media (width <1025px) {
    .mframe{
        max-width: 100%;
        max-height: 50%;
    }
}

.fade-text-shadow{
    text-shadow: style="text-shadow: 0 3px 8px black;";
}

.mobile-br{
    display: none;
}

@media (width <1000px) {
    .mobile-br{
        display: block;
    }
}

@media (width <1000px) {
    .non-mobile{
        display: none;
    }
}
@media (width <1000px) {
    .heading-part{
        font-size: 53%;
    }
}

.about-panel{
    background-image:  radial-gradient(rgba(95, 95, 95, 1), #171717);
    background-repeat: no-repeat;
    background-size: cover;
}

@media (width <1000px) {
    .lead-mobile {
        font-size: medium;
    }
    .container-text-mobile{
        width: 20rem!important;
    }
    .remil-mobile{
        max-height: 50vh;
    }
    .remil-photo{
        max-width: 270px!important;
        max-height: 270px!important;
        padding-bottom: 2rem;
    }
    .mobile-bar{
        max-width: 100%!important;
    }
    .fade-non-mobile{
        opacity: 1;
    }
    .remil-img-expand {
        max-width: 270px!important;
        max-height: 270px!important;
        padding-bottom: 2rem;
    }
    .remil-img-expandable{
        max-width: 270px!important;
        max-height: 270px!important;
        padding-bottom: 2rem;
    }
    .container-contact{
        width: 75%!important;
    }
    .container-bg-4 {
        background-image: radial-gradient(rgba(95, 95, 95, 0.833), #202020), url(../Img/remil_bg.JPG);
        background-repeat: no-repeat;
        background-size: cover;
        height: 130vh;
    }
    .container-bg-3 {
        background-image: radial-gradient(rgb(59 58 58 / 73%), #000000a9), url(../Img/remil_machine_bg.svg);
        background-size: auto;
        background-repeat: no-repeat;
        background-position: left;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
        transform: translateY(0);
        transition: transform 0.2s ease-out;
        background-size: auto;
    }
}

.remil-photo{
    max-width: 420px;
    max-height: 420px;
}
.mobile-bar{
    max-width: 30%;
}

.remil-img-expandable{
    max-width: 0%;
    max-height: auto;
    transition: transform 1s;
    overflow: hidden;
    transform: scale(0);
    transform-origin: center center;
}

.remil-img-expand {
    transform: scale(1);
    max-width: 420px;
    max-height: 420px;
}

.container-contact{
    width: 55%;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  .content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5%;
    gap: 2rem;
  }
  
  .text-block {
    font-size: 2.5rem;
    opacity: 1;
    transform: translateY(50px);
    transition: all 1s ease;
  }
  
  .text-block.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .spacer {
    padding: 5rem 10%;
    background-color: #222;
  }

  .specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .spec-item {
    background: #1a1a1a;
    padding: 1.4rem 1.8rem;
    border-left: 5px solid #e53935;
    border-radius: 6px;
    transition: background 0.2s ease;
  }

  .spec-item:hover {
    background: #222;
  }

  .spec-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #ffffff;
  }

  .spec-value {
    font-size: 1.1rem;
    color: #bbbbbb;
  }

  @media (max-width: 600px) {
    .spec-title {
      font-size: 1.1rem;
    }
    .spec-value {
      font-size: 1rem;
    }
  }

  @media (max-width: 450px) {
    .container-bg-3 {
        background-image: radial-gradient(rgb(59 58 58 / 73%), #000000a9), url(../Img/remil_machine_bg.svg);
        background-size: auto;
        background-repeat: no-repeat;
        background-position: top;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
        transform: translateY(0);
        transition: transform 0.2s ease-out;
        background-size: 100vw 100vh;

    
    }

    .hero {
    position: relative;
    height: 77vh;
    overflow: hidden;
    padding-bottom: 5vh;
    align-items: center;
    text-align: center;
  }

  .content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding-left: 0%;
  }

   .text-block {
    font-size: 2rem;
    opacity: 1;
    transform: translateY(50px);
    transition: all 1s ease;
    font-size: x-large;
  }

  .display-2{
    font-size: 250%;
}
  }

  @media (max-width: 1079px) and (min-width: 450px){
.container-custom {
    max-width: 100vw;
}

.display-2{
    font-size: 303%;
}
  }

