*{
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 100ms;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1000;
    transform: translateX(-50%) translateY(-50%);
}
/* MediaQuery para dispositivos móviles */
@media (max-width: 800px) {
    #video-background {
        display: none;
    }
    .video-container {
        height: auto;
    }
    .slide-up.closed {
        max-height: auto;
        overflow-y: visible;
    }
}

.content {
    position: relative;
    z-index: 1;
    color: #fff; /* Cambia el color del texto según tus necesidades */
    text-align: center; /* Alinea el contenido al centro */
    padding: 20px; /* Espacio alrededor del contenido */
}

.bg-metal {
    position: relative;
    background-image: url('../images/metal/metal03.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-metal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Cambia el valor de opacidad según tus necesidades */
    z-index: -1;
}

.bg-crv {
    position:relative;
    background-image: url('../images/landing/crv-header-01.jpg');
    background-position:top;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-non-ferrous {
    position:relative;
    background-image: url('../images/non-ferrous/banner.jpg');
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-non-ferrous::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Cambia el valor de opacidad según tus necesidades */
    z-index: -1;
}

.bg-crv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Cambia el valor de opacidad según tus necesidades */
    z-index: -1;
}

.bg-roll-off {
    position:relative;
    background-image: url('../images/landing/container.jpg');
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-roll-off::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Cambia el valor de opacidad según tus necesidades */
    z-index: -1;
}

.bg-end-dump {
    position:relative;
    background-image: url('../images/landing/roll-off-01.png');
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-end-dump::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Cambia el valor de opacidad según tus necesidades */
    z-index: -1;
}

.bg-flat-bed {
    position:relative;
    background-image: url('../images/landing/flatbed02.jpg');
    background-position:top;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-flat-bed::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Cambia el valor de opacidad según tus necesidades */
    z-index: -1;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translate(0) scale(1);
    visibility: visible;
}

.dropdown-menu:hover {
    opacity: 1;
    transform: translate(0) scale(1);
    visibility: visible;
}

.slide-up {
	max-height: 500px; /* approximate max height */

	transition-property: all;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.slide-up.closed {
	max-height: 0;
	overflow-y: hidden;
}