*{
    margin: 0;  /* margen exterior */
    padding: 0; /* margen interior */
    box-sizing: border-box; /* borde interior */
}

/* Primera Sección de Index.html */
body {
    background-color: #2597ef;
    font-family: "Roboto Mono", monospace;
    color: #042c6c;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

main {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.titulo {
    font-family: "Caveat", cursive, "Roboto Mono", monospace;
    margin-top: 35px;
    font-size: 30px;
    text-decoration: underline;
    color: white;
    background-color: rgb(28, 76, 92);
    padding: 5px;
    text-shadow: 0 1px 2px black;
}

.nom {
    background-color: rgb(28, 76, 92);
    padding: 5px;
    color: white;
}

section {
    margin-bottom: 30px;
    text-align: center;
}

.navbar table{
    text-align: center;
    background-color: #155dd1;
    padding: 15px;
    width: 100%;
    box-shadow: 0 2px 5px black;
    text-shadow: 0 1px 5px black;
}

.navbar a {
    text-decoration: none;
    color:white;
    font-weight: bold;
    font-size: 18px;

}

nav a:hover {
    text-decoration: underline;
    color: black;
}

.iv {
    width: 30%;
    float: left;
    margin: 0 0 20px 20px;
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 15px 5px black;
    margin-left: 70px;
}

.frase {
    font-style: oblique;
    font-weight: bolder;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
    font-size: 20px;
    background-color: white;
    color: black;
    padding: 15px;
    margin-left: 200px;
    margin-right: 80px;
    box-shadow: 0 15px 10px black;
}

.intro {
    margin: auto;
    text-align: justify;
    margin-left: 450px;
    margin-right: 130px;
    font-size: 18px;
    color: black;
    font-weight: bold;
}

footer {
    margin: auto;
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    margin-top: 100px;
}

/* Sección sobre mí */
.nombre2 {
    background-color: #3173df;
    padding: 15px;
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 15px black;
    text-align: center;
    text-shadow: 0 1px 2px black;
    box-shadow: 0 1px 5px black;
    
}

.frase2 {
    font-style: oblique;
    font-weight: bolder;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 150px;
    font-size: 20px;
    background-color: white;
    color: black;
    padding: 15px;
    margin-right: 40px;
    box-shadow: 0 15px 10px black;
    text-shadow: 0 1px 2px gray;
}

.fotme {
    margin: auto;
    width: 80%;
    float: right;
    margin: 0 0 20px 20px;
    width: 400px;
    border-radius: 15px;
    box-shadow: 0 15px 10px black;
    margin-right: 10px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.titulo3{
    font-size: 24px;
    background-color: aquamarine;
    padding: 10px;
    margin-bottom: 30px;
    color: black;
    font-weight: bolder;
    box-shadow: 0 1px 5px black;
    text-shadow: 0 1px 2px gray;
    margin-left: 300px;
    margin-right: 300px;    
}

.uno {
    margin: auto;
    color: black;
    text-align: justify;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    margin-left: 80px;
    margin-right: 80px;
}

.titulo4 {
    font-size: 25px;
    color: black;
    text-shadow: 0 1px 2px gray;
    text-decoration: underline;
    background-color: rgb(168, 160, 160);
    margin-left: 450px;
    margin-right: 450px;
    box-shadow: 0 1px 2px black;
    margin-bottom: 20px;
}

.sub2 {
    font-size: 18px;
    color: black;
    margin-bottom: 50px;
}

.drop {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.mini {
    width: 100px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 20px black;
    margin-bottom: 70px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mini:hover {
    transform: scale(1.10);
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.contenido-modal {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.cerrar {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.particip {
    font-size: 18px;
    list-style: none;
}

.particip a {
    text-decoration: none;
    color:white;
    font-weight: bold;
    font-size: 18px;
}

/* Sección laboral */

.experiencia-laboral{
    max-width: 1200px;
    text-align: center;
}

.title {
    font-size: 40px;
    background-color: #004466;
    color: white;
    text-align: center;
    padding: 5px;
    text-shadow: 0 1px 2px black;
    box-shadow: 0 1px 2px black;
}

.cur {
    width: 10%;
    display: block;
    height: auto;
    float: left;
    border-radius: 15px;
    margin-left: 150px;
    margin-right: 40px;
    margin-top: 90px;
    box-shadow: 0 4px 5px black;
}

.titulo10 {
    font-size: 24px;
    background-color: white;
    padding: 3px;
    box-shadow: 0 1px 2px black;
    color: black;
    margin-bottom: 10px;
    font-weight: bolder;
    margin-left: 300px;
    margin-right: 300px;
}

.trab {
    box-shadow: 0 1px 5px black;
    border-radius: 20px;
    padding: 30px;
    color: black;
    margin-bottom: 15px;
    background-color: white;
}

.trabajo {
    font-size: 18px;
    text-align: justify;
    font-weight: bold;
    margin-top: 40px;
}

.trabajo1 {
    font-size: 18px;
    text-align: justify;
    font-weight: bold;
}

.fecha {
    text-align: left;
    margin-bottom: 10px;
}

.work0 {
    text-align: left;
    list-style: square;
    margin-left: 300px;
}

.work {
    text-align: left;
    margin-left: 30px;
    list-style: square;
    margin-bottom: 30px;
}

button.ver-mas {
  background-color: #2e86de;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
}

button.ver-mas:hover {
  background-color: #1e5f9d;
}

.detalles {
  margin-top: 18px;
  font-size: 1em;
  line-height: 1.5;
}

.oculto {
  display: none;
}

/* Sección de contacto */
.info {
    max-width: 100%;
    box-shadow: 0 5px 15px black;
    width: 600px;
    border-radius: 20px;
    padding: 30px;
    color: black;
    text-align: left;
    display: block;
    margin: auto;
    background-color: lightblue;
    font-size: 17px;
    font-weight: bold;
    margin-top: 50px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 5px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  margin-top: 20px;
  padding: 10px;
  width: 100%;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

.error {
  color: red;
  margin-top: 10px;
  font-weight: bold;
  font-size: 12px;
}