/*Fuentes=====================================================================*/

/*@font-face {
  font-family: openSans;
  src: url('../fonts/Open_Sans/OpenSans-Regular.ttf');
  font-style: normal;
  font-weight; normal;
}

@font-face {
  font-family: openSans;
  src: url('../fonts/Open_Sans/OpenSans-Bold.ttf');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: openSans;
  src: url('../fonts/Open_Sans/OpenSans-Italic.ttf');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: openSans;
  src: url("../fonts/Open_Sans/OpenSans-Light.ttf");
  font-weight: lighter;
}

@font-face {
  font-family: openSans;
  src: url("../fonts/Open_Sans/OpenSans-ExtraBold");
  font-weight: bolder;
}


@font-face {
  font-family: sourceSansPro;
  src: url("../fonts/Source_Sans_Pro/SourceSansPro-Bold.ttf");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: sourceSansPro;
  src: url("../fonts/Source_Sans_Pro/SourceSansPro-Black.ttf");
  font-weight: bolder;
  font-style: normal;
}

@font-face {
  font-family: sourceSansPro;
  src: url("../fonts/Source_Sans_Pro/SourceSansPro-Italic.ttf");
  font-style: italic;
  font-weight: normal;
}

@font-face {
  font-family: sourceSansPro;
  src: url("../fonts/Source_Sans_Pro/SourceSansPro-Light.ttf");
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: sourceSansPro;
  src: url("../fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}*/

@font-face {
  font-family: Roboto;
  src: url("../fonts/Roboto/Roboto-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Roboto;
  src: url("../fonts/Roboto/Roboto-Bold.ttf");
  font-weight: bold;
}

@font-face {
  font-family: Roboto;
  src: url("../fonts/Roboto/Roboto-Light.ttf");
  font-weight: lighter;
}

@font-face {
  font-family: RobotoCondensed;
  src: url("../fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf");
  font-weight: normal;
}


/*Animaciones=================================================================*/

#cajaPantalla{
  animation-duration: 3s;
  animation-name: movein;
  opacity: 80%;
}

#rayas {
  position: absolute;
  width: 50%;
  height: 410px;
  left: 25%;
  animation-duration: 5s;
  animation-name: movein2;
  opacity: 100%;
  background-image: url("../img/main.gif");
  background-size: cover;
  }

@keyframes movein2 {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}

@keyframes disap {
  0% {
    display: none;
  }
  100% {
    display: inline-block;
  }
}


@keyframes movein {
  0% {
    opacity: 0%;
  }

  100% {
    opacity: 80%;
  }
}

html, body, #home {
  width: 100%;
  height: 100%;
  margin: 0;
}



/*Estilos generales===========================================================*/


body {
   /*font-family: 'Open Sans', sans-serif;*/
   font-family: 'Roboto', sans-serif;
   padding: 0;
   margin: 0;
   background-color: white;
   /*background-image: url("../img/niebla2.png");
   background-size: cover;*/
   /*background-image: url('../img/jupiter.png');*/
   background-repeat: no-repeat;
   background-size: cover;
   background-attachment: fixed;
   background-position: center;
   overflow-x: hidden;
   line-height: 25px;
}

 #principal {
  /*background-image: url("../img/niebla.gif") !important;*/
  background-size: cover;
}


.aboutParrafo {
   padding-right: 103px;
}

ul {
  list-style: none;
}

p {
  font-size: 16px;
}



a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: black;
  weight: bolder;
}

footer {
  color: black;
  text-align: center;
  padding: 30px 0 35px 0;
}



/*Página Inicio==============================================================*/

#presentacion {
  padding: 10px;
  margin: auto;
  width: 15%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  position: relative;
  font-size: 20px;
}

#presentacion a {
  padding: 5px;
}

#fondoInicio {
  /*background-image: url("../img/inicio32bbis.gif");*/
  /*background-color: #8e92a7;*/
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #eef4ff;
}

/* Contenedor del selector de idioma */
.lang-switch-container {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 1px;
  z-index: 1000;
}

/* Botones ES / EN */
.lang-btn {
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  padding: 2px 5px;
  font-weight: normal;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.lang-btn:hover {
  color: #000;
}

/* Estado activo */
.lang-btn.active {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}

/* Separador */
.lang-separator {
  color: #ccc;
  margin: 0 2px;
}

#presentacion h2 a {
  margin: 10px;
  color: #ffffff;
}

#presentacion h2 a:hover {
  color: black;
}


/*Página inicial menú=========================================================*/

.niebla {
  /*background-image: url("../img/inicio3.gif");*/
  background-size: cover;
  height: 790px;
  margin-top: 20px;
}

.niebla hr {
  /*color: white;*/
  color: black;
}

/*Cabecera====================================================================*/


.logoInicioPre {
  font-family: RobotoCondensed;
  height: 90px;
  width: 50%;
  font-size: 50px !important;
  font-weight: lighter;
  padding-top: 80px;
  padding-bottom: 25px;
  text-align: center;
  position: absolute;
  top: 35%;
  left: 25%;
  background-color: gray;
  color: white;  
  opacity: 100%;
  background-image: url("../img/main.gif");
  background-size: cover;
  }

 @keyframes rotating {
   from {transform: rotateZ(180deg); left: -500px }
   to {transform: rotateZ(0deg); left: 0px}
 }

a:#subt {
  font-size: 30px !important;
}

.logoInicio {
  font-family: RobotoCondensed;
  /*padding: 13px 15px 20px 15px;*/
  /*margin: 0 auto;*/
  height: 30px;
  width: 20%;
  font-size: 30px;
  font-weight: lighter;
}

.logoInicio a  {
   color: black;
}

.logoInicioPre a {
  /*color: #3E6EB9;*/
  color: white;
}

.logoInicio a:hover  {
   color: #5a81bf;
}

.logoInicioPre a:hover {
   color: black;
}

header {
  text-align: center;
}

#cajaPantalla {
  /* margin-top: 400px;*/
   width: 100%;
   /*background-color: #6DA3F2;*/
   background-image: url('img/jupiter2.gif');
}


/*EStilos de secciones========================================================*/

.title_section {
  /*color: #5a81bf*/
  color: black;
}

.line_section {
  /*color: #012273;*/
  color: black;
}


/*Menú horizontal============================================================*/


ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

li {
  display: inline;
}

header {
  /*background-image: url("../img/niebla2.png");*/

  }

header, nav {
    background-color:rgba(255,255,255,0.7);
  }

footer {
    background: rgba(0,0,0,0);
  }


.menu {
    padding-bottom: 10px;
    padding-top: 10px;
    font-family: RobotoCondensed;
  }

.menu ul {
  text-align: center;
}

.menu li a {
  padding: 0px 10px;
  /*color: #D6C0FF;*/
  color: black;
}

.menu li a:hover {
  color: #5a81bf !important;
}

/*Otros======================================================================*/

.fila-encabezado {
  display: flex;
  align-items: center; /* Alinea la imagen y el texto verticalmente */
  width: 100%;
}

.etiqueta {
  flex: 1;             /* Hace que el span ocupe todo el espacio disponible */
  text-align: center;   /* Centra el texto dentro de ese espacio */
}

/*Página docencia=============================================================*/

.generalSection {
  padding: 5%;
  background-color: transparent;
  /*background-image: url("../img/jupiter.png");*/
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: white;
  /*font-weight: bold;*/
  color: black;
}

.parrafo {
  background-color: white;
  padding: 20px;
}

.parrafoSonido {
  background-color: white;
  width: 98.5%;
  padding: 10px;
}

.socialMedia {
  width: 310px;
  background-color: white;
  opacity: 90%;
  padding: 8px 5px 5px 8px;
}


.mail {
  width: 265px;
  background-color: white;
  opacity: 90%;
  padding: 10px;
}

/*Página Sonido================================================================*/

.cajaSonido {
    width: 100%;
}

.seccionSonido {
  padding: 0.5% 15%;
  background-color:  transparent;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: white;
}

.menuSonido {
  /*margin-left: 300px;
  margin-top: 40px;*/
}

.listaMenuSonido {
  position: fixed;
  top: 168px;
  left: 3%;
  background-color: white;
  opacity: 90%;
  padding: 3px;
}

.listaMenuSonido1 {

}

#cajaSonidoBis {
  width: 100%;
}

.listaMenuSonido li a, .listaMenuSonido1 li a {
  padding: 5px;
  display: block;
  color: black;
}


.listaMenuSonido li a:hover, .listaMenuSonido1 li a:hover{
  color: white;
  background-color: #3E6EB9;
}

.contentTextSonido {
  background-color: white;
  color: black !important;
  padding: 20px 20px 20px 20px;
}


/*Página Obras ========================================================*/

  .netArtGenSection {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-evenly;
  }

  .netArtWork {
    border: 2px black solid;
    padding: 10px 20px 25px 20px;
    width: 325px;
    height: 297px;
    margin: 15px 10px;
    /*background-color: #012273;*/
    /*background-color: #5a81bf;
    color: rgba(255,255,255,1);*/
    background-color: white;
    color: black;
  }

  .netArtWork:hover {
    border: 2px #5a81bf solid;
    color: #5a81bf;

  }

  .netArtWork img {
    max-width: 325px;
    max-height: 325px;
    }

  .netArtWork a {
    text.align: center;
  }

  .workPhoto {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .works {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-evenly;
  }
  
 

/*Página Sobre mí=============================================================*/

.contentAbout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.photoAbout {
  display: flex;
  flex-direction: column;
}

.photoAbout img {
  width: 310px;
}

/*Top Button==================================================================*/

.backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  color: white;
  border: 3px solid black;
  outline: none;
  background-color: tranparent;
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 50%;
  font-size: 18px;
  opacity: 0.5;
}

.backToTop:hover {
  opacity: 1;
  background-color: #5a81bf;
}




/*Investigación================================================================*/

a.proyecto {
  color: #1a1aff;;
}

a:hover.proyecto {
  color: #8e92a7;
}



/*Idiomas */

/* Ocultar por defecto cualquier elemento con etiqueta de idioma */
[data-lang] {
  display: none !important;
}

/* Mostrar únicamente los que tengan la clase activa */
[data-lang].lang-active {
  display: inline !important;
}

/* Forzar visualización correcta en elementos de lista del menú */
li[data-lang].lang-active {
  display: inline-block !important;
}

/* Forzar visualización correcta en títulos, párrafos y pies de página */
p[data-lang].lang-active,
h1[data-lang].lang-active,
footer[data-lang].lang-active,
div[data-lang].lang-active {
  display: block !important;
}

/* Botón de idiomas fijo en la esquina superior derecha */
.lang-switch-container {
  position: fixed; /* Lo fija respecto a la pantalla/pantalla de navegación */
  top: 20px;       /* Distancia desde el borde superior */
  right: 20px;     /* Distancia desde el borde derecho */
  z-index: 9999;   /* Asegura que quede por encima de otros elementos al hacer scroll */
}

/*RESPONSIVE===================================================================*/


@media (max-width: 1440px)  {
  .photoAbout {
    display: flex;
    flex-direction: row;
  }

  .photoAbout img {
    width: 128px;
  }
}

@media (max-width: 1380px) { /*Standards*/
  #cajaPantalla {
    /*margin-top: 250px;*/
  }

  .logoInicio {
    width: 80%;
    padding: 13px 0px 20px 0px;
    margin: 0px auto;
    font-size: 30px;
  }

  .logoInicioPre {
    font-size: 35px !important;
    
  }

  #presentacion {
    font-size: 18px;
  }

  .listaMenuSonido1 {
    top: 325px;
  }

  .photoAbout img {
    width: 225px;
  }

  .photoAbout {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 1366px)  {
  .niebla {
    height: 870px;
}

@media (max-width: 1280px)  {

  #cajaPantalla {
    /*margin-top: 280px;*/
  }

  .listaMenuSonido {
    top: 185px;
  }

  .listaMenuSonido li a {
    font-size: 16px;
    margin-left: -30px;
  }

  .niebla {
    height: 645px;
  }
}

@media (max-width: 1112px) and (orientation: landscape){
  .photoAbout img {
    width: 140px;
  }

  .niebla {
    height: 680px;
  }
}

@media (max-width: 1024px) {

  #cajaPantalla {
    /*margin-top: 580px;*/
  }

  .photoAbout img {
    width: 285px;
  }

  .listaMenuSonido {
    top: 185px;
  }

  .listaMenuSonido li a {
    font-size: 14px;
    margin-left: -30px;
  }
}



@media (max-width: 1024px) and (orientation: landscape) {
  #cajaPantalla {
  /*margin-top: 260px;*/  }

  .niebla {
  height: 615px;
  }
}

@media (max-width: 1024px) and (orientation: portrait) {
  .logoInicio {
    width: 95%;
  }

  .logoInicioPre {
    
  }

  .niebla {
    height: 1200px;
  }
}

@media (max-width: 960px) {
  #cajaPantalla {
    /*margin-top: 200px;*/
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  .logoInicio {
    width: 95%;
  }
  .niebla {
    height: 1250px;
  }
}

@media (max-width: 896px) {
  #cajaPantalla {
    /*margin-top: 125px;*/
  }
}

@media (max-width: 846px) and (orientation: landscape) {
  .niebla {
    height: 262px;
  }
}

@media (max-width: 834px) and (orientation: portrait){
   #cajaPantalla {
    /*margin-top: 480px;*/
  }

  .photoAbout img {
    display: none;
  }

  .listaMenuSonido {
    top: 185px;
  }

  .listaMenuSonido li a {
    font-size: 14px;
    margin-left: -30px;
  }

  .niebla {
    height: 960px;
  }

  .logoInicioPre {
    top: 450px;

  }
}

@media (max-width: 814px) {
  #cajaPantalla {
    /*margin-top: 100px;*/
  }

  .logoInicioPre {
    height: 150px;
  }
}

@media (max-width: 810px) and (orientation: portrait) {
  .logoInicioPre {
    height: 100px;
  }
}

@media (max-width: 800px) and (orientation: portrait) {
  #cajaPantalla {
    /*margin-top: 550px;*/
  }

  .niebla {
    height: 1120px !important;
  }
}

@media (max-width: 800px) {
  #cajaPantalla {
    /*margin-top: 540px;*/
  }
  .logoInicioPre {
    
    font-size: 30px !important;
    height: 90px;
  }
}

@media (max-width: 800px) and (orientation: portrait) {
   .niebla {
     height: 1125px;
   }
}

@media (max-width: 768px) {
  #cajaPantalla {
    /*margin-top: 460px;*/
  }

 
  .logoInicioPre {
     left: 0%;
     width: 100%;
     height: 90px;
     top: 35%;
   }
 }

@media (max-width: 768px) and (orientation: portrait) {

  .logoInicio {
    width: 95%;
  }



  .niebla {
    height: 870px;
  }

  .logoInicioPre {
     left: 0%;
     width: 100%;
     height: 90px;
     top: 35%;
  }

  .listaMenuSonido {
    display: none;
  }

  .contentTextSonido { 
  padding: 0px;
}

.seccionSonido {
  padding: 0.5% 5%;

}

.aboutParrafo {
  padding-right: 5px;
}


@media (max-width: 740px) and (orientation: landscape) {
  .niebla {
    height: 208px;
  }


  .logoInicioPre {
     left: 0%;
     width: 100%;
     height: 90px;
     top: 35%;
}

@media (max-width: 736px) {
  #cajaPantalla {
    /*margin-top: 120px;*/
  }

  .logoInicioPre {
    width: 100%;
    left: 0%;
    top: 35%;
  }

  .niebla {
    height: 263px;
  }
}

@media (max-width: 667px) and (orientation: landscape) {
  .niebla {
    height: 223px;
  }
}

@media (max-width: 640px) and (orientation: landscape){
  #cajaPantalla {
    /*margin-top: 100px;*/
  }

  .niebla {
    height: 208px;
  }
}

@media (max-width: 600px) {
  #cajaPantalla {
    /*margin-top: 410px;*/
  }

  .logoInicioPre {
    width: 100%;
    left: 0%;
    top: 35%;
  }

  .listaMenuSonido {
    display: none;
  }

  .logoInicio a {
    font-size: 34px;
  }

  .backToTop {
    bottom: 10px;
    right: 15px;
    opacity: 0.5;
  }

  .netArtWork img {
    height: 180px !important;
    }
}

@media (min-width: 590px) and (max-width:601px) {
  .seccionSonido  {
    padding: 70px;
  }
}

@media (max-width: 568px) and (orientation: landscape) {
  .niebla {
    height: 169px;
  }
}

@media (max-width: 428px) {
  .logoInicioPre {
    height: 120px;
  }
}


@media (max-width: 414px) {
  #cajaPantalla {
    /*margin-top:  310px;*/
  }

  .logoInicioPre {
    width: 95%;
    top: 350px;
    height: 130px;
  }


  .logoInicio {
    width: 90%;
  }

  .seccionSonido {
    padding: 20px;
  }

  .seccionSonido img {
    width: 320px;
    padding-left: 28px;
  }

  .seccionSonido iframe {
    width: 320px;
    padding-left: 28px;
    height: 175px;
  }

  .niebla {
    height: 695px;
  }
}


@media (max-width: 384px) {

    #cajaPantalla {
    /*margin-top: 180px;*/
  }

  .logoInicioPre {
    width:  93%;
    height: 110px;
    font-size: 27px !important;
    top: 250px;
  }

  .menu a {
    font-size: 14px;
  }
  .seccionSonido img {
    width: 300px;
    padding-left: 20px;
  }

  .seccionSonido iframe {
    width: 300px;
    padding-left: 20px;
    height: 175px;
  }

  .niebla {
    height: 488px;
  }

  .netArtWork img {
    height: 150px !important;
    }
}

@media (max-width: 375px) {
  #cajaPantalla {
    /*margin-top: 150px;*/
  }

  .logoInicioPre {
    width: 95%;
    font-size: 28x !important;
    height: 120px !important;
  }

  .menu a {
    font-size: 15px;
  }

  .seccionSonido img {
    width: 290px;
    padding-left: 21px;
  }

  .seccionSonido iframe {
    width: 290px;
    padding-left: 21px;
    height: 160px;
  }

  .niebla {
    height: 515px;
  }
}

@media (max-width: 360px)  {

  #cajaPantalla {
    /*margin-top: 280px;*/
  }

  .logoInicioPre {
    width: 95%;
    height: 160px;
    top: 230px;
  }

  .menu a {
    font-size: 14px;
  }

  .logoInicio {
    width: 90%;
  }

  .seccionSonido {
    padding: 20px;
  }

  .seccionSonido img {
    width: 300px;
    padding-left: 10px;
  }

  .seccionSonido iframe {
    width: 300px;
    padding-left: 10px;
    height: 175px;
  }

  .niebla {
    height: 588px;
  }
}

@media (max-width: 320px) {
  #cajaPantalla {
    /*margin-top: 110px;*/
  }

  .logoInicioPre {
    width: 95%;
    font-size: 28px !important;
    top: 150px;

  }

  .logoInicioPre a {
    font-size: 30px;
  }

  #presentacion a {
    font-size: 20px;
  }

  .logoInicio {
    width: 90%;
  }

  .menu a {
    font-size: 11px;
  }

  .seccionSonido img {
    width: 260px;
    padding-left: 10px;
  }

  .seccionSonido iframe {
    width: 260px;
    padding-left: 10px;
    height: 150px;
  }

  .niebla {
    height: 417px;
  }
}

@media (max-width: 242px) {
  #cajaPantalla {
    /*margin-top: 0px;*/
  }

  .logoInicio h1 {
    font-size: 13px !important;
  }

  .logoInicioPre a {
    font-size: 23px !important;
  }

  .logoInicioPre {
    font-size: 15px !important;
    width: 90%;
    height: 70px !important;
    top: 75px;
  }

  .logoInicio a {
    font-size: 20px;
  }

  #presentacion a {
    font-size: 18px;
  }
}
