@import './slider.css';
@import './wa.css';
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 90px 20px 0; */
}

h1 {
  font-size: 2.5em;
  text-align: center;
}
h2 {
  font-size: 2.7em;
  text-align: center;
}
h3 {
  font-size: 2em;
  text-align: center;
  color: red;
}
h4{
  font-size: 1.2;
  margin: 0;
  font-weight: normal;
}
h4::before {
  content: "— ";
  /* Opcional: Estilos adicionales para el guion */
  color: #fa0505; 
  font-weight: bold; 
}
p {
  font-size: 0.9em;
  margin: 10px;
  text-align: justify;
  /* max-width: 800px; */
  padding: 5px 30px;
}
.big {
  padding: 5px 5px;
}
nav ul {
  list-style:none;
  padding: 0 20px;
}
nav ul li {
  margin-top: 15px;
  margin-bottom: 15px;
}
nav ul li a {
  color: red;
}
li {
  font-size: 0.9em;
}
.button {
  text-decoration: none;
  font-size: 1.2em;
}
i {
  width: 33px;
  height: 33px;
  margin: 15px;
  font-size: 2.5em;
}
header .container .nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#inicio .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#servicios .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#proyectos .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#nosotros .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#nosotros .container #valores {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#cont-mensaje .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* #nosotros .container span {
  margin-top: 40px;
  margin-bottom: 40px;
} */
#proyectos .container a {
  margin-bottom: 40px;
}
#nosotros .container a {
  margin-top: 25px;
  margin-bottom: 40px;
}
#servicios .container a {
  margin-top: 40px;
  margin-bottom: 10px;
}
.column_attr {
  width: 70vw;
  height: 35vh;
  background-image: url(../images/slide.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  font-size: 0.5em;
  text-align: center;
  /* max-width: 500px; */
  display: flex;
  flex-direction: column;
  margin: 10px 5px;
  /* justify-content: center; */
}
.segunda {
  /* position: relative; */
  width: 70vw;
  height: 35vh;
  background-image: url(../images/img3.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  font-size: 0.5em;
  max-width: 500px;
  /* text-align: center; */
  display: flex;
  /* align-items: center; */
  justify-content: center;
  margin: 10px 5px;
}
.segunda h2 {
  padding-top: 50px;
}
.tercera {
  width: 70vw;
  height: 36vh;
  background-image: url(../images/img-1.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  font-size: 0.5em;
  max-width: 500px;
  text-align: center;
  margin: 10px 5px;
  /* display: flex; */
  /* align-items: center; */
}
button,
span {
  font-size: 1.25em;
  font-weight: bold;
  padding: 10px 10px;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  color: white;
  background-color: rgb(232, 33, 30);
  margin: 15px;
}
button:hover {
  background-color: rgb(142, 72, 63);
}
#formularioContacto button {
  width: 150px;
  text-align: center;
  margin: 40px;
}
.container {
  max-width: 1400px;
  margin: auto;
  /* min-width: 320px; */
}
header {
  background-color: rgb(245, 245, 245);
}
header .logo {
  margin: 0;
  padding: 25px 30px;
  font-weight: bold;
  color: blueviolet;
  font-size: 1.6em;
}
header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
header nav {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 5px;
}

header a {
  padding: 5px 12px;
  text-decoration: none;
  font-weight: bold;
  color: black;
}
header a:hover {
  color: crimson;
}
#ventajas {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ff4802;
  margin-top: 60px;
}
#ventajas h3 {
  color: white;
}

/* DETALLES DEL CONTACTO */
#detalles-contacto {
  margin: 10px;
  padding: 10px;
}

#contenedor-datos h4 {
  margin: 10px;
  padding: 10px;
}
#contenedor-datos form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contenedor-datos form input,
textarea {
  margin: 10px 20px;
  font-size: 1.3em;
  width: 300px;
  /* font-weight: bold; */
  /* max-width: 300px; */
}
/* #contenedor-datos form button {
  
} */
#mensaje {
  min-width: 270px;
}

/* TABLA DE DATOS */
#divtabla {
  /* position: relative; */
  overflow-x: auto;
}
table {
  position: absolute;
  left: 20px;
  margin-left: 8px;
  border-collapse: collapse;
  border: rgb(5, 5, 5) 2px solid;
  text-align: center;
  background-color: rgb(255, 255, 255);
  font-size: 0.7em;

  /* width: 300px;  Asegura que la tabla ocupe todo el ancho disponible dentro del contenedor */
  border-collapse: collapse;
  /*white-space: nowrap;  Evita que el texto de las celdas se envuelva y fuerza el scroll */
  /* max-width: 900px; */
}
.tdd {
  text-align: center;
  border: rgba(3, 3, 3, 0.783) 2px solid;
}

th {
  padding-left: 5px;
  padding-right: 5px;
  border: rgba(3, 3, 3, 0.783) 2px solid;
}
/* FECHAS */
.divrango {
  display: flex;
  flex-direction: row;
  padding: 10px;
}
.divrango label {
  display: block;
  width: 100px;
  text-align: right;
  margin-right: 5px;
  font-weight: bold;
}
.deleteBtn {
  padding: 0;
  margin: 3px;
  height: 20px;
  width: 50px;
  font-size: 0.9em;
  font-weight: normal;
  border-radius: 20px;
}
#detalles-contacto h4 {
  color: red;
  font-size: 1em;
}
#contenedor-datos h4 {
  color: red;
  font-size: 1em;
}
#inppsw {
  font-size: 1.5em;
}
/* @media (min-width: 400px) {
  #inicio {
    width: 700px;
    height: 500px;
  }
  .column_attr {
    width: 700px;
    height: 500px;
  }
} */
 #contador{
  margin-top: 5px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 5px;
  background-color: blue;
  color: white;
  padding: 10px;
  box-shadow: inset 0 -3em 3em rgb(0 200 0 / 30%), 0 0 0 2px white,
    0.3em 0.3em 1em rgb(200 0 0 / 80%);
 }
@media (min-width: 768px) {
  #encabezado {
    position: fixed; /* Hace que el header se quede en la parte superior */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: top 0.5s ease-in-out;
    /* overflow: hidden; */
  }

  /* header .nav {
    height: 120px;
  } */
  header .container .nav {
    max-width: 1000px;
    max-height: 120px;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
  }
  header .container .nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* height: 120px;
    padding: 5px 30px; */
  }
  header .container .nav ul {
    width: 700px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 50px;
  }
  header .container .nav a {
    height: 50px;
  }
  #inicio {
    margin-top: 100px;
    width: 700px;
    height: 500px;
  }
  #contador{
    margin-top: 30px;
  }

  .column_attr {
    width: 700px;
    height: 500px;
  }
  #inicio .container {
    /* display: flex; */
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .segunda {
    position: absolute;
    bottom: -80px;
    left: 10px;
    z-index: 100;
  }
  .tercera {
    position: absolute;
    bottom: -40px;
    right: -10px;
  }
  #servicios,
  #nosotros,
  #ventajas {
    margin-top: 110px;
  }
  #listaservicios .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #listaservicios {
    /* display: flex;
    flex-direction: column;
    align-items: center; */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    font-size: 1.5em;
  }
  #nosotros .container #valores {
    /* display: flex; */
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    /* justify-content: center; */
    /* align-content: center; */
    /* font-size: 1.5em; */
  }
  #nosotros .container div p {
    font-size: 1.5em;
  }
  #nosotros .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1000px;
    /* font-size: 1.5em; */
  }
  #contenedor-datos form input,
  textarea {
    width: 400px;
  }
  #detalles-contacto h4 {
    font-size: 1.5em;
  }
  #contenedor-datos h4 {
    font-size: 1.5em;
  }
  table {
    position: relative;
    width: 80%; /* O cualquier otro valor que no sea 100% */
    margin: 0 auto;
}
  /* .header-hidden {
    top: 0;
  } */
}
@media (min-width: 1367px) {
  /* header {
    position: fixed;
    z-index: 10;
    height: 120px;
  } */
  #inicio {
    width: 1000px;
    height: 600px;
  }
  .column_attr {
    width: 1000px;
    height: 600px;
  }
  #contador{
    margin-top: 5px;
  }
  /* .header-hidden {
    top: 0;
  } */
}
/* .header-hidden {
  top: -80px; 
} */
