body {
    font-family: 'Montserrat';
    
    font-size: larger;
    padding-top: 56px;
}
.navbar-brand {
  margin: 0;
  padding: 0;
  border: 0;
}
.container2 {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

button {
  height: 7vh; 
  width: 23vh; 
  background-color: orangered;
  color: white; 
  border-color: orangered; 
  border-radius: 25px; 
  text-align: center;
  margin-top: 3vh;
  padding-top: 1vh;
  
  
}  
button:hover{
  background-color: purple;
  border-color: purple;
}

.my-table{
    width: 100%;
}


table,td,th, tr{
    border-style: collapse;
    
}


#titulo{
  padding-left:41vh;
  text-align: center;
  font-size: 3vw;
}

#foto{
  height: auto; 
  width: 42vh; 
  padding-left: 0; 
  vertical-align: top;
}

#portfolio {
  
  background-color: white;
  text-align: left;
}

#portfolio h3 {
  width: 100%;
  font-family: 'Montserrat';
  text-align: left;
  font-size: 28px;
  margin-bottom: 5px;
  background-color: white;
  color: black;

  padding-left:1rem ;
}
hr{
  border: 2px solid orangered;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  display:flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 15px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

.portfolio-item img {
  width: 33%;
  border-radius: 5px;
}

.portfolio-item p {
  margin-top: 10px;
  font-weight: bold;
}


/* Estilos para la clase .intro */
.intro {
    display: grid;
    padding-left: 10px;
    padding-right: 10px;
    grid-template-columns: 1fr minmax(0, 800px) 1fr; /* Márgenes laterales y contenido centrado */
    padding-top: 3vh;
    padding-bottom: 3vh;
    text-align: justify; /* Texto centrado */
    background-color: #002B7F; /* Fondo suave */
    color: white; /* Color del texto */
  }

  .intro3 {
    display: grid;
    padding-left: 2vh;
    padding-right: 2vh;
    grid-template-columns: 1fr minmax(0, 800px) 1fr; /* Márgenes laterales y contenido centrado */
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: justify; /* Texto centrado */
    background-color: white;
    color: black; /* Color del texto */
  }
  #accion{
    display: flex;
    align-content: center;
  }
  #accion h4{
    align-items: flex-end;
    color: black;
  }
  .intro4 {
    display: grid;
    padding-left: 10px;
    padding-right: 10px;
    grid-template-columns: 1fr minmax(0, 800px) 1fr; /* Márgenes laterales y contenido centrado */
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: justify; /* Texto centrado */
    background-color: #002B7F;
    color: white; /* Color del texto */
  }
  #action-button{
    align-items: center;
  }

  .intro h3 {
    grid-column: 2; /* Centra el título en la columna del contenido */
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .intro p {
    grid-column: 2; /* Centra el párrafo en la columna del contenido */
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto;
  }

  .intro2 {
    
    display: grid;
    padding-left: 10px;
    padding-right: 10px;
    grid-template-columns: 1fr minmax(0, 800px) 1fr; /* Márgenes laterales y contenido centrado */
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: justify; /* Texto centrado */
    background-color: black;
    color: white; /* Color del texto */
  
  }

  
  
  .correo{
    background-color: #002B7F;
    color: white;
    width: 100%;
    padding-bottom: 1%;
    padding-top: 1%;
  }

  .correo form{
    width: 80%;
    margin-left: 10%;
    
  }


  #waarom {
    display: grid;
    grid-template-columns: 1fr; /* Móvil: 1 sola columna */
    gap: 0;
    background-color: white;
    padding: 20px;
    padding-bottom: 20px;
    border-color: white;
}

/* Columnas dentro de #waarom */
#waarom .column {
  padding: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: normal;
  position: relative;
}
#block {
  background-color: orangered;

}
#block h3{
  color: white;
}
#waarom .column-1 {
  background-color: black; /* Negro */
  color: white;
  
}


#waarom .column-3 {
  background-color:#002B7F; /* Naranja  */
  color: white;
}

#waarom .column-4 {
  background-color: black; /* Negro */
  color: white;
}


/* Líneas de separación entre columnas */
#waarom .column:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 2px;
  height: 80%;
  background-color: white;
}

#OverOns {
  padding-top: 14vh;
  display: grid;
  grid-template-columns: 1fr; /* Móvil: 1 sola columna */
  gap: 0;
  background-color: white;
  padding: 5vh;
  border-color: white;
}

/* Columnas dentro de #OverOns */
#OverOns .column {
padding: 2vhpx;
text-align: center;
font-size: 4vh;
font-weight: normal;
position: relative;
}

#OverOns .column-1 {
background-color: black; /* Negro */
color: white;
}


#OverOns .column-3 {
background-color:#002B7F; /* Naranja  */
color: white;
}

#overOns .column:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 2px;
  height: 80%;
  background-color: white;
}



/* Fondo oscuro semi-transparente */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}






footer {
  background-color: black; /* Fondo negro */
  padding: 20px;
  display: flex;
  flex-direction: column; /* Por defecto, en columna para móviles */
  align-items: center;
  text-align: center;
}

/* Contenedor de imágenes */
footer div {
  display: flex;
  flex-direction: column; /* Por defecto, imágenes en columna */
  align-items: center;
  gap: 10px; /* Espaciado entre imágenes */
  margin-top: 10px;
}

/* Ajustar el tamaño de las imágenes */
footer img {
  max-width: 100px; /* Tamaño proporcional */
  height: auto;
}

/* Estilos específicos para la sección #proces */
/* Estilos específicos para la sección #proces */
#proces {
  padding-top: 10vh;
  background-color: white; /* Color de fondo ligero */
}

#proces .intro3 h3 {
  text-align: center;
  font-size: 5vh;
  font-weight: normal;
  color: black;
  margin-bottom: 2vh;
}

#proces .p {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  min-height: 550px; /* Ajusta este valor según sea necesario */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#proces .img-container {
  position: relative;
  display: inline-block;
}

#proces .img-container img {
  height: 40px;
  width: 46px;
}
#home .container2 td#foto img {
  width: 100%;
  height: auto;
  margin-left: -5vh; 
  margin-top: -25vh;
  position: relative; 
  z-index: 2;
}
#proces .step-number {
  position: absolute;
  top: -35px;
  right: -2px;
  background: rgba(255, 255, 255, 0.7); /* Fondo blanco traslúcido */
  color: black;
  font-size: 14px;
  font-weight: bold;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#proces h5 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

#proces p {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
  line-height: 1.5;
  flex-grow: 1; /* Permite que el texto ocupe espacio y no se sobreponga */
}




  .intro2 h3 {
    grid-column: 2; /* Centra el título en la columna del contenido */
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .intro2 p {
    grid-column: 2; /* Centra el párrafo en la columna del contenido */
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto;
  }
  .pie{
    background-color: black;

  }
  .pie img{
    width: 50vh;
    height: auto;
  }
  
  @media (min-width: 768px) {
    td[colspan="2"] {
        font-size: 3.5vw; /* En pantallas más grandes, ajusta el tamaño */
    }
    #waarom {
      grid-template-columns: 1fr;
  }

  #waarom .column:not(:last-child)::after {
      display: none;
  }
  
    
  footer {
    flex-direction: row;
    justify-content: space-between;
}

footer div {
    flex-direction: row; /* Mostrar imágenes en línea */
}
}



@media (max-width: 480px) { /* Móviles pequeños */
  #foto{
    height: auto; 
    width: 21vh; 
  }
 

  #titulo{
    padding-left:2vh;
    text-align: center;
    font-size: 4vw;
  }


  #home .container2 td#foto img {
    width: 100%;
    height: auto;
    margin-left: 0; 
    margin-top: 0;
    position:static; 
    z-index: 2;
  }
  #home {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 0px;
    
}

#home .container2 {
    width: 100%;
}

#home table, 
#home tbody, 
#home tr, 
#home td {
    display: block;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    background-color: black;
    color: white;
}
#home tr{
  padding-top: 4vh;
  padding-bottom: 1vh;
}

#home #titulo {
    font-size: 6vw;
    padding: 5px 5px;
}

#home #foto img {
    width: 100%;
    height: auto;
    margin: 0;
    position: static;
}

#home td {
    padding: 10px;
}

#OverOns {
  display: grid;
  grid-template-columns: 1fr; /* Móvil: 1 sola columna */
  gap: 0;
  background-color: white;
  margin-top: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-color: white;
}

/* Columnas dentro de #OverOns */
#OverOns .column {
padding: 20vh;
text-align: center;
font-size: 5vh;
font-weight: normal;
position: relative;
}
.portfolio-item img {
  width: 95%;
  height: auto;
  border-radius: 5px;
}

}
@media (min-width: 1024px) {
  #waarom {
      grid-template-columns: repeat(3, 1fr);
  }
}