body {
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
  padding: 0;
  background-image: url(../IMAGENES/fondo.barco.JPG); /* Reemplaza 'tu-imagen.jpg' con la ruta de tu imagen */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh; /* 100% de la altura de la ventana de visualización */
 
}

.container {
  max-width: 70rem;
  margin: 50px auto;
  background-color: #ffffff;
  opacity: 0.95;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  overflow: hidden;
}

.header {
  background-color:#77d8f0;
  color: #fff;
  padding: 0px;
  text-align: center;
}

.profile-image {
  width: 30%;
  height: 200px;
  border-radius: 30%;
}

.img{
  max-height: 20px;
}
.content {
  padding: 20px;
  text-align: center;
}

.experience {
  margin-top: 20px;
  display: inline-flex;
}

.experience h2 {
  color:  #0962ff;
}

.experience p {
  line-height: 1.6;
}

.navbar {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;   
  transition: background-color 0.3s ease;
  width: 100%;
}

.nav-list {
  list-style-type: none;
  display: inline-flex;
  margin-left: 35%;
}

.nav-list li a {
  padding: 10px;
  color: whitesmoke;
  font-size: 20px;
  text-decoration: none;
}

nav a.contacto-btn {
  background-color: #ffA500; /* Naranja */
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.dropdown {
  position: relative;
  z-index: 1;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: lightgray;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #fff;
  border-radius: 10px;
}

.dropdown-content a:hover {
  background-color:  #9dcefc;
}

.navbar-collapse {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.back-button {
  display: none;
}










 
/* Estilos para pantallas pequeñas (móviles) */
@media screen and (max-width: 768px) {
  .navbar{
    display: none;
  }
  .back-button{
    display: block;
    font-size: 10px;
  }
  
  .texto{
    font-weight: bold;
    text-align: left !important;
    font-size: 4.0vw;
    margin: 6px;
  }
  .nav-list {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #005eff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    z-index: 999;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
  }
  .container {
    max-width: calc(100% - 40px); 
    max-height: calc(100% - 90px);/* Restamos el doble del margen deseado */
    margin: 20px auto; 
    background-color: #77d8f0;
    
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
  }
.opcion{
  color: rgb(255, 103, 103);
  font-weight: bold;
  margin-bottom: 3px;
}
  .content {
    padding: 20px;
    text-align: center;
  }
  
  .header {
    padding: 0px;
    text-align: center;
    
    font-size: 3vw;
    display: flex;
    color:#ffA500; 
    font-family:Arial, Helvetica, sans-serif
  }
  .pers{
    font-size: 5vw;
    margin: 0px;
    font-weight: bolder;
    text-align: center;
  }
  .h1-container{
    text-align: center;
  }

  h2 {
    padding: 3px;
    text-align: center;
    font-weight: bold;
  }

 
 .profile-image {
  width: 100%;
  height: 390px;
  border-radius: 0px;
  overflow: hidden;
}
 .profile-image .mySlides img {
  width: 100%;
  height: auto;
  object-fit: cover;
 }

  .experience {
    margin-top: 20px;
    display: block;
  }

  .experience h2 {
    color: #0962ff;
  }

  .experience p {
    line-height: 1.6;
  }
.incl{
  color: #ffA500; 
}

  
  .back-button {
    padding: 10px 20px;
    background-color: #ff7809;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 280px;
  }
  
  .back-button:hover {
    background-color:#ffA500; 
  }
  

}




/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}



/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}