body {
  font-family: Arial, sans-serif;
  margin: 0;
}

#navBar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #002949;
}

#navBar a {
  color: white;
  text-decoration: none;
  transition: background-color 0.2s;
  padding: 20px;
  font-family: "Roboto Slab", serif;
}

#navBar a:hover {
  background-color: #004b85;
}

/* NavBar Mobile  */

#navBarMobile {
  display: none;
  background-color: #002949;
  justify-content: flex-end;
  padding-right: 1em;
}

/* Hamburguer Menu */

.menu-button {
  cursor: pointer;
  display: block;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.4s;
}

.change .bar:nth-child(1) {
  transform: translateY(8px) rotate(-45deg);
}

.change .bar:nth-child(2) {
  opacity: 0;
}

.change .bar:nth-child(3) {
  transform: translateY(-8px) rotate(45deg);
}

#navBarMobileOptions {
  background-color: #004070;
  display: flex;
  flex-direction: column;
  max-height: 0;
  transition: max-height 0.5s ease-in-out;
}

#navBarMobileOptions a {
  color: white;
  text-decoration: none;
  font-family: "Roboto Slab", serif;
  display: none;
}


@media screen and (max-width: 1100px) {
  #navBarMobile {
    display: flex;
  }

  #navBar {
    display: none;
  }

  #navBarMobileOptions a{
    display: block;
  }
  
}


.showing {
  max-height: 100px !important ;
}


#start {
  /* background-color: #0078d4; */
  background-image: url("./assets/vintagePattern.jpg");
  background-repeat: repeat;
  position: relative;
}

#header {
  margin: 0;
  /* background-color: #0078d4; */
  color: white;
  display: flex;
  justify-content: space-evenly;
}

#photo {
  margin-top: 20px;
}

#photo img {
  height: 360px;
}

#name {
  display: flex;
  align-items: center;
  font-family: "Young Serif", serif;
}

#name p {
  font-size: 40px;
}
#langSelector {
  display: flex;
  justify-content: center;
  /* position: absolute; */
  transform: translateY(50%);
  margin-top: -50px;
}

#langBackground {
  background-color: #004b85;
  border-radius: 500px;
  padding: 10px;
  display: flex;
}
.languageButton {
  height: 60px;
  width: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
  margin: 4px;
  border: #002949 solid 3px;
  border-radius: 100%;
  transition: transform 0.3s;
}

.languageButton:hover {
  transform: scale(1.2);
  box-shadow: white 0px 0px 10px;
}
#content {
  margin: 100px 300px 20px 300px;
}

#content ul a{
  color: black;
  text-decoration: none;
}

#content ul a:hover{
  color: #004b85;
  text-decoration: underline;
}

@media screen and (max-width: 1100px) {
  #content {
    margin: 100px 30px 20px 30px;
  }

  #header {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #name p {
    font-size: 15px;
  }
  #photo img {
    height: 350px;
  }
}

.midPageNotes{
  font-family: "Roboto Slab", serif;
  font-size: 1.2em;
}

/* #intro{
    margin-top: 8em;
    margin-bottom: 8em;
} */

.introDiv p {
  font-family: "Roboto Slab", serif;
  color: #002949;
  font-size: 1.5em;
}

h1 {
  font-size: 36px;
}
h2 {
  font-size: 24px;
}
.section {
  margin-top: 30px;
}
.section h2 {
  color: #004b85;
  font-family: "Young Serif", serif;
}

.section li {
  font-family: "Roboto Slab", serif;
  list-style-type: none;
}



#congresses li {
  list-style-type: square;
}

#congresses li::marker {
  color: #004b85;
}

#content li {
  margin-bottom: 10px;
}

#footer {
  background-color: #002949;
  padding: 3em;
  display: flex;
  justify-content: space-evenly;
  color: white;
  font-family: "Roboto Slab", serif;
}

.footerText {
  display: flex;
  align-items: center;
  height: 100%;
  text-align: center;
}

.footerIcon {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 1100px) {
  #footer {
    display: flex;
    justify-content: unset;
    flex-direction: column;
    align-items: center;
  }

  #footer div {
    margin-bottom: 1em;
  }
}

/* CV Page Styles */

#myCV {
  display: flex;
  justify-content: center;
  margin-top: 2em;
}

.pdf-link {
  display: inline-block;
  padding: 10px 20px; /* Ajusta el padding según tus preferencias */
  background-color: #007bff; /* Color de fondo del botón */
  color: #fff; /* Color del texto */
  text-decoration: none; /* Elimina el subrayado del enlace */
  border: 1px solid #007bff; /* Borde del botón */
  border-radius: 5px; /* Bordes redondeados */
  transition: background-color 0.3s ease; /* Agrega una transición de color de fondo suave */

  /* Estilo para hover (opcional) */
  &:hover {
    background-color: #0056b3; /* Cambia el color de fondo al pasar el mouse */
  }
}

#pageContent{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#PDFLinkDiv{
  margin-top: 2em;
}

#PDFLinkDiv a{
  width: 6em;
  text-align: center;
}


@media screen and (max-width: 1100px) {
  #PDFLinkDiv a{
    width: 100%;
  }
}

/* Teaching Page Styles */

#teachingSection h2{
  margin-top: 2em;
}

.season{
  font-family: "Roboto Slab", serif;
  display: flex;
  margin-bottom: 1em;
}

.season p{
  width: 50%;
}

.season p:first-child {
  text-align: right;
  padding-right: 1em;
}

.season p:last-child {
  padding-left: 1em;
}


/*Research Page Style*/

#posterSection{
  display: flex;
  flex-direction: column;
}

#posterSection div{
  display: flex;
  justify-content: center;
}

.posterThumbnail{
  height: 10em;
  margin: 1em;
}

.posterLink{
  display: flex;
  align-items: center;
  color: #002949;
  text-decoration: none;
  font-family: "Roboto Slab", serif;
}
