body {
  font-family: sans-serif;
  font-size: 15px;
  text-align: center;
  background-color: #f8f9fa;
}
/*MENU*/
.navbar-brand {

  margin-left: 100px;
}

.navbar-nav .dropdown-menu {
  border: 0;
  border-radius: 0;
  padding: 0;
 

}


@media (min-width:768px) {
  .dropdown:hover>.dropdown-menu {
    display: block;
   



  }
}
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    text-align: left;
  }

  .nav-item {
    width: 50%;
    font-size: small;
    
   
  }

  .dropdown-menu {
    
    left: auto;
    right: 0;
    
  
    
  }
  
  .dropdown-item {
    padding-left: 35px;

   
    
  }
  .navbar-nav li a{
    font-size: 0.8rem;
    
  }
      
}
@media (max-width: 768px){
  .navbar .nav-link{
    font-size: 8px;
  }
}

/* Personalización para quitar el borde de los elementos del submenu */
.navbar-nav .dropdown-menu .dropdown-item {
  border: none;


}

.navbar {
  margin-top: 40px;
  margin-bottom: 0;
  margin-right: 100px;
  position: relative;

  font-size: 14px;

}

.navbar-nav li a {
  color: #4496a1;

}


.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #4496a1;
  color: white;

}
@media screen and (max-width: 768px) {
  .a .nav-link .dropdown-toggle .show {
    background-color: #4496a1;
    color: #ffffff;
   

  }
}

.dropdown-item {
  margin-top: 8px;
}

.navbar-nav .nav-item a .active {
  color: #4496a1;
}

.navbar-nav .nav-link {

  color: #4496a1;
  text-transform: uppercase;
  font-size: 16px;
  padding: 16px;
  border: none;
  cursor: pointer;
}

button.navbar-toggler {

  border: none;

}

button.navbar-toggler:hover {
  text-decoration: none;
}

button.navbar-toggler:focus {
  box-shadow: none;

}

.navbar-nav .nav-link {
  color: #4496a1;
}

.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
  color: #4496a1;
}

.navbar-nav .nav-link {
  color: #4496a1;
}


a .nav-link .dropdown-toggle .show {
  color: #4496a1;

}
@media screen and (max-width: 768px) {
  .a .nav-link .dropdown-toggle .show {
    background-color: #4496a1;
    color: #ffffff;
  }
}

.navbar-nav .nav-link::after {
  content: none;
}
/*banderas*/
.flag-icon {
  height: 24px;  /* Adjust size as needed */
  width: auto;
  margin-left: 10px; /* Spacing between flags */
}

/*FOOTER*/
.footer-right {
  color: #fff;
  font-size: 10px;
}

footer {
  position: relative;
  margin-top: -8px;
  padding: 20px;
  background-color: #000000;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
}

.infosocialmedia {
  position: relative;
  padding-left: 25px;

  font-size: 12px;
  font-weight: 100;
  background-color: #000000;
}

.infosocialmedia ul li {
  display: inline;
  padding: 5px;

}



.infosocialmedia ul li a {
  color: #fff;
  text-decoration: none;
  text-align: left;

}
.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.video-container__video {
  width: 100%;
  height: auto;
  display: block;
}
/*VIDEO-HOME*/
.video-overlay {
  position: absolute;
  top: 80%;
  left:35%;
  transform: translate(-50%, -50%);
  color: white;
 
  text-align: start;
  font-size: 3vw;
  /* Responsive font size */
  line-height: 1em;
  letter-spacing: -1px;
  font-family: "Gotham", sans-serif;
  font-weight: 700;
  
}

@media screen and (max-width: 768px) {
  .video-overlay {
    font-size: 3.5vw;
    /* Adjust font size for smaller screens */
  }
}

/* SOLUCIONES-HOME*/
#soluciones {
  text-align: center;
  padding: 20px;
}

.desc {
  background-color: #4496a1;
  font-size: 36px;
  color: #222222;
}

.elegante-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  background: rgb(2, 0, 36);
  background: linear-gradient(8deg, rgba(2, 0, 36, 1) 1%, rgba(38, 196, 228, 1) 100%);
  justify-content: space-evenly;
  padding: 100px;
  margin-top: -8px;
}

.elegante-content {
  text-align: center;
  transition: transform 0.2s;
  width: 25%;
  margin: 20px;
  padding: 200px;

}

.elegante-content a {
  text-decoration: none;
  color: white;
}

.elegante-content:hover {
  transform: scale(1.02);
}

.elegante-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

h2 {
  font-size: 1.5rem;
  margin: 10px 0;
}

p {
  font-size: 1.0rem;
  margin: 0;
}


@media (max-width: 768px) {
  .elegante-section {
    flex-direction: column;
    align-items: center;
  }

  .elegante-content {
    width: 60%;
    margin: 20px 0;
    padding: 10px;
    text-align: start;
  }


  .elegante-content h2{
    text-align: center;
  }
}






/* FOREST*/


.cover-image {
  position: relative;
  height: 80vh;
  /* O ajusta la altura según tus preferencias */
  overflow: hidden;
 width: 100%;
 

}


  .elegante-content {
    margin: 20px 0;
    padding: 10px;
  }


.cover-image-drone {
  position: relative;
  height: 100%;
  /* O ajusta la altura según tus preferencias */
  overflow: hidden;
  position: relative;
  margin-top: -8px;
  padding-right: 0;
  width: 100%;
}

.cover-image-forest {
  position: relative;
  height: 100%;
  /* O ajusta la altura según tus preferencias */
  overflow: hidden;
  position: relative;
  margin-top: -8px;
  padding-right: 0;
  width: 100%;
}

.cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;


}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  /* Inicialmente, el superpuesto es invisible */
  animation: fadeIn 2s;
  /* Animación de aparición suave */
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
  /* Retardo para comenzar la animación */
}
.overlay1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  /* Inicialmente, el superpuesto es invisible */
  animation: fadeIn 2s;
  /* Animación de aparición suave */
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
  /* Retardo para comenzar la animación */
}
@media (max-width: 768px) {
  .overlay1{
   
   font-size: 0.4rem;
   padding: 0;
   margin-top: 8px;
 
  }
}
.overlay-firefighter {
  position: absolute;
  top: 10%;
  left: 4%;
  width: 35%;
  height: 20%;
  font-size: 8px;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
  text-align: justify;
  opacity: 0;
  /* Inicialmente, el superpuesto es invisible */
  animation: fadeIn 4s;
  /* Animación de aparición suave */
  animation-fill-mode: forwards;
  animation-delay: 1s;
  /* Retardo para comenzar la animación */
}

.overlay-firefighter-drone {
  position: absolute;
  top: 30%;
  left: 4%;
  width: 35%;
  height: 20%;
  font-size: 8px;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
  text-align: justify;
  opacity: 0;
  /* Inicialmente, el superpuesto es invisible */
  animation: fadeIn 4s;
  /* Animación de aparición suave */
  animation-fill-mode: forwards;
  animation-delay: 1s;
  /* Retardo para comenzar la animación */
}

.text {
  color: #ffffff;
}

.text h1,
.text p {
  font-size: 4em;
  margin: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#fire-lapalma {
  width: 100%;

}

.forest-section {
  background: rgb(2, 0, 36);
  background: linear-gradient(8deg, rgba(2, 0, 36, 1) 1%, rgba(38, 196, 228, 1) 100%);
  color: white;
  padding: 200px;
  text-align: center;
}

/* Estilos para el título "Defendamos Nuestros Bosques" */
.forest-text h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #080808;
  text-align: justify;
}

.forest-text h1 {
  padding-bottom: 60px;
}

/* Estilos para el párrafo de descripción */
.forest-text p {
  margin-top: 50px;
  font-size: 1.2em;
  margin: 0;
  text-align: justify;
}

@media (max-width: 768px) {
  .forest-section {
    padding: 20px; /* Adjust padding for smaller screens */
  }
}

 

@media (max-width: 768px) {
  .forest-text {
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 768px) {
  .forest-text h1 {
    font-size: 3.0vw;
    margin: 0;
    padding-bottom:5%;
  }
}

@media screen and (max-width: 768px) {
  .forest-text p {
    font-size: 2.8vw;
    margin: 0;
    padding-top:5px ;
  }
}

body.forest {
  font-family: sans-serif;
  background-color: #f7f7f7;
  /* Fondo negro */
  color: #fff;
  /* Color de texto blanco */
  margin: 0;
  padding: 0;
}

.apartados {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f7f7f7;
  /* Fondo negro para la sección */
}

.apartado:nth-child(odd) {
  background: rgb(34, 145, 162);
  background: linear-gradient(0deg, rgba(34, 145, 162, 1) 14%, rgba(37, 89, 97, 1) 100%);
  /* Fondo para apartados impares*/
  color: white;
  /*background-image: url(media/fondo.jpg);*/


}

.apartado:nth-child(odd) h1 {
  color: white;

}

.apartado:nth-child(even) {
  background-color: #fff;
  /* Fondo para apartados pares */

}

.firefighter {
  width: 100%;
  height: auto;

}

.drone_polygon {
  width: 100%;
  height: 100%;

}

.apartado {
  width: 100%;
  background-color: #808080;
  padding: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.apartado ul li {
  color: #000;
  text-align: left;
  font-size: 1.5em;
}

.apartado .contenido p h1 {
  font-size: 24px;
}

.apartado .contenido h3 {
  font-size: 24px;
  color: black;
}

@media screen and (max-width: 768px) {
  .apartado {
    flex-direction: column;
     width: 100%;
    padding:0;
    margin: 0;
  }
}

@media (max-width: 768px) {
.apartado  .contenido  {
      width: 100%;
      padding: 10px;
      margin: 0;
      font-size: 0.8rem;
      max-width: 100%;
     
     }
}

@media (max-width: 768px) {
  .apartado  #img-right {
      border-radius: 10px;
      width: 100%;
      max-width: 80%;
      height: 100%;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
      margin-left: 0;
      padding: 0;
      margin-bottom: 20px;

  }
}

@media (max-width: 768px) {
  .apartado .verde-aqua  contenido {
    flex-direction: column;    
    width: 100%;
    padding: 10px;
    margin: 0;
    font-size: 0.8rem;
    max-width: 100%;
       
       }
  }
  
  @media (max-width: 768px) {
     .verde-aqua .img-left {
        border-radius: 10px;
        width:85%;
        height: 100%;
        max-width: 100%;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
      margin: 0;
      margin-top: 20px;
      margin-bottom: 10px;
    
       
  
    }
  }
  @media (max-width: 768px) {
    .verde-aqua .contenido ul li{
     margin: 0;
     margin-top: 0;
     margin-bottom: 0;
     padding:5px;
     font-size: 1.0rem;
   
      
 
   }
 }
 @media (max-width: 768px) {
  .cover-image .overlay-firefighter{
   
   font-size: 0.3rem;
 
    

 }
}

@media (max-width: 768px) {
  .overlay-firefighter-drone{
   width: 90%;
   margin: 0;
   padding: 0;

   
    }
}
@media (max-width: 768px) {
  .cover image .overlay-firefighter-drone .text p {
  font-size:0.3rem;
   padding-left: 0px;
   margin: 0;

 
 }
}


@media (max-width: 768px) {
  #texto-superpuesto  h1  {

  font-size: 0.8rem;
}
}
@media (max-width: 768px) {
  #fondo-texto  {
  width: 80%;
  font-size: 0.6rem;
}
}

@media (max-width: 768px) {
  #texto-superpuesto  p  {

  font-size: 0.6rem;
}
}
@media(max-width: 768px){
  #contenedor #fondo-texto h2{
    font-size: 0.5rem;
    
  }
}
@media(max-width: 768px){
  #contenedor #fondo-texto h1{
    font-size: 0.6rem;
    
  }
}

#banner-text {

  color: white;
  /*#4496a1; /* Text color */
  font-size: 2em;
  /* Adjust text size as needed */
  text-align: center;
  font-size: 45px;
  line-height: 1.19em;
  letter-spacing: -1.28px;
  font-family: "Gotham", sans-serif;
  font-weight: 500;
  background: rgb(34, 48, 162);
  background: linear-gradient(0deg, rgba(34, 48, 162, 1) 0%, rgba(24, 33, 112, 1) 5%, rgba(0, 0, 0, 1) 52%);
  padding: 250px;
}

@media screen and (max-width: 768px) {
  #banner-text {
    font-size: 4vw;
    /* Adjust font size for smaller screens */
    padding: 20% 5%;
    /* Adjusted padding for smaller screens */
  }
}


#img-right {

  border-radius: 30px;
  max-width: 35%;
  margin-left: 150px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}
.img-left {
  border-radius: 30px;
  max-width: 40%;
  margin-right: 150px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.image-div {
  width: 1500px;
  height: 500px;
}


.contenido {
  flex: 1;
  padding: 20px;
  max-width: 50%
}

.contenido h2 {
  color: #080808;
  /* Color de títo blanco */
  font-size: 1.8rem;
  margin: 0;
  padding: 10px;
  font-weight: bold;
}

.contenido p {
  font-size: 1.1rem;
  margin: 0;
  text-align: justify;
  color: white;
  padding: 10px;
}

/* The Company */
.list-feat {
  font-size: 1.5rem;
  margin: 0;
  text-align: justify;
  color: white;
  padding: 30px;
}

#The_Company body {
  background-color: #f7f7f7;
  font-family: Arial, sans-serif;
}

.custom-bg {
  background-color: #f7f7f7;
  padding: 40px;
}

.custom-text {
  text-align: left;
  color: #333;
}

.custom-text h2 {
  font-size: 28px;
  font-weight: bold;
  margin-top: 20px;
}

.custom-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
}

.btn-primary {
  background-color: #0074b0;
  border: none;
}

.btn-primary:hover {
  background-color: #005d90;
}

#contenedor {
  position: relative;
  text-align: center;
}

#texto-superpuesto {
  color: #fff;
  /* Color del texto */
  font-size: 20px;
  /* Tamaño del texto */
  /*font-weight: bold;*/
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  /* Sombra del texto */
}
@media(max-width: 768px){
 #texto-superpuesto{
  color: #fff;
  /* Color del texto */
  font-size: 10px;
  /* Tamaño del texto */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  /* Sombra del texto */
    
  }
}

#fondo-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  /* Fondo semitransparente para el texto */
  padding: 10px;
  /* Espaciado interno del fondo del texto */
  border-radius: 10px;
  /* Bordes redondeados para el fondo del texto */
}
@media (max-width: 768px) {
  #fondo-texto {
    padding: 5px;
    max-width: 90%;  /* Ajusta el ancho máximo para evitar desbordamiento */
  }
  
}

#contenedor img {
  width: 100%;
  height:100%;
  display: block;
}

.cover-image img {
  margin-top: 8px;
}

/*cookies*/


.contenedora img {
  width: 100%;
  height: 25%;
  display: block;
}



#myImg {

  cursor: pointer;
  transition: 0.3s;
  border-radius: 30px;

  max-width: 40%;
  margin-right: 150px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* 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.9);
  /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0.1)
  }

  to {
    transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
.jumbotron {
  position:relative;
  margin-top: -8px;
  background-color: #4396a1;
  color: #fff;
  font-size: 20px;
  padding: 120px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  width: 100%;
}
@media only screen and (max-width: 700px) {
 .apartados .jumbotron h3  {
    width: 100%;
    font-size:1rem;
   
    
  }
}
@media only screen and (max-width: 700px) {
  .apartados .jumbotron   {
     width: 100%;
    padding: 20px;
   margin-top: 10px;
   margin-bottom: 10px;
    
     
   }
 }