
body {
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  height: 100vh; 
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-image: url('../IMAGENES/fondomar.jpg');
  background-size: cover;
  background-position: center;
}

.container {
 
  max-width: 70rem; 
    margin: 50px auto;
  background-color: rgba(255, 165, 0, 0.8); /* Naranja con transparencia */
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); 
  color: rgb(0, 0, 0);
  overflow: hidden;
}

.header {
  text-align: center;
  padding: 0px;
}

.back-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: white;
}

.slideshow-container {
  position: relative;
}

.mySlides {
  display: none;
}

.profile-image img {
  width: 100%;
  border-radius: 0px;
}

.texto {
  margin-top: 20px;
}

.incl {
  margin-top: 10px;
}




/* Estilos para los botones de font-awesome */
.back-button:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Reglas de medios para dispositivos móviles */
@media only screen and (max-width: 768px) {
  .navbar{
    display: none;
  }
  .back-button{
    display: block;
    font-size: 10px;
  }
  
  .texto{
    font-weight: bold;
    text-align: left;
    font-size: 4vw;
    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);
     margin: 20px auto; 
    background-color: #6285e6;
    opacity: 0.85;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
  }

  .content {
    padding: 20px;
    text-align: center;
  }
  
  .header {
    
    padding: 0px;
    text-align: center;
    justify-content: 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: 385px;
  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: #0962ff;
    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}
}


  