:root {
  --orange-wheel-hex: #f58634;
  --red-stage: #d05d04;
  --shark: #1d2023;
  --limed-spruce: #3f4e56;
  --outer-space: #30383f;
  --limed-spruce: #38444a;
  --river-bed: #4a5c64;
  --walnut: #73441c;
  --iroko: #493624;
  --birch: #362b1e;
  --fire: #b44404;
  --bs-primary: #b44404;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333; 
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100vw;
}

#logo {
  opacity: 1;
  box-shadow: #1d2023;
  height: 200px;
  width: auto;
}
#nav {
  background: var(--fire) !important;
  color: aliceblue !important;
}

#nav a {
  color: aliceblue !important;
}
.navbar-toggler-icon {
  color: aliceblue !important;
  border-color: aliceblue !important;
}
#menubtn {
  color: aliceblue;
  border-color: aliceblue !important;
}

#section2 {
  background-image: url("/assets/img/back_white.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 100px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
h1:hover{
  transform: scale(1.1);
}

h1 {
  color: var(--fire) !important;
  font-size: 3.5em;
  font-weight: 700;
}

h2 {
  font-size: 2.5em;
  font-weight: 600;
}

h3 {
  font-size: 1.8em;
  font-weight: 700;
}

#section3 {
  padding-top: 100px;
}

#section4{

  background-image: url("/assets/img/back_white.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 100px;

}

.carousel-fixed-height .carousel-item {
  height: 500px;
  background-color: #f0f0f0;
}

.carousel-fixed-height .carousel-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.item img {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 300px;
}
#logocontainer{
  background: rgba(10, 7, 7, 0.2);
  border-radius: 16px;
  box-shadow: 1 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10.3px);
  -webkit-backdrop-filter: blur(15.3px);
}


.atropos-inner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}


#logo {
    margin-left: auto;
    margin-right: auto;
    display: block;

}

.hero-banner .container .row .col-12 {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    height: 100%;
}

@media (max-width: 767.98px) {
  .atropos {
    max-height: 200px; 
  }
}
#historia{
  padding-top: 100px;
  border-width: 1px;
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 1 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10.3px);
  -webkit-backdrop-filter: blur(15.3px);
}
#nuestrostrabajos{
  padding-top: 100px;
  border-width: 1px;
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 1 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10.3px);
  -webkit-backdrop-filter: blur(15.3px);
}

#frase {
  color: white;
}

.gal1 {
  filter: grayscale();
  overflow: hidden;
}

.card{
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px;
  box-shadow: 1 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10.3px);
  -webkit-backdrop-filter: blur(15.3px);
}

.card .card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

#fotofilm {
  display: grid;
  column-gap: 100px;
  left: 0;
  top: 0;
  filter: grayscale();
  animation: scroll-up-double 70s linear infinite;
  z-index: 100;
}

.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: #f58634;
  --bs-btn-hover-border-color: var(--bs-primary);
}
.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.1em;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}
.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1em;
  text-decoration: none;
}

.bg-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: #f58634;
  --bs-btn-hover-border-color: var(--bs-primary);
}

footer p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85em;
  color: #666;
}
.card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 1 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10.3px);
  -webkit-backdrop-filter: blur(15.3px);
}
.card:hover {
  cursor: pointer;
  transform: scale(1.1);
  box-shadow: #1d2023;
  text-shadow: #1d2023;
}

#nservicios {
  padding-top: 100px;
  border-width: 1px;
  border-color: white;
  border-radius: 16px;
  box-shadow: 1 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10.3px);
  -webkit-backdrop-filter: blur(15.3px);
}

@keyframes scroll-up-double {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-70%);
  }
}
@media (width <600px) {
  #logo {
    width: 250px;
    height: auto;
  }

  #fotofilm {
    visibility: hidden;
  }
}

@media (width > 1400px) {
  #logo {
    height: 500px;
    width: auto;
  }
}
.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1; /* This is crucial for the video to be in the background */
  transform: translate(-50%, -50%);
  object-fit: cover;
  background-size: cover;
}

.video-overlay {
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 0; 
}

.hero-banner .container {
  position: relative;
  z-index: 1;
}

#contacto{
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px;
  box-shadow: 1 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10.3px);
  -webkit-backdrop-filter: blur(15.3px);
}

@media (max-width: 767.98px) {
  .hero-banner .background-video {
    display: none;
  }
  .hero-banner {
    background-image: url('/assets/img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .video-overlay {
    background-color: rgba(0, 0, 0, 0.4); /* Adjust overlay for static image */
  }
}