body {
    background-color: black;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: white;
}

main {
    position: relative;
    flex: 1;
    background-color: transparent;
}

#detail{
    color: rgb(131, 131, 255);
    font-size: 18px;
}

/*PROJECTS*/

#pixantu-video {
  width: 100%;        /* se adapta al contenedor */
  max-width: 720px;   /* nunca más grande que 720px */
  height: auto;       /* mantiene proporción */
  display: block;
}
.carousel {
  max-width: 600px;
  margin-left: 5%;
  display: flex;
  align-items: center;
}

.slides {
  overflow: hidden;
  width: 100%;
}

.slides img {
  width: 100%;
  display: none;
}

.slides img.active {
  display: block;
}

.carousel button {
  background-color:rgb(131, 131, 255);
  opacity: 0.7;
  color: white;           
  border: none;

  font-size: 20px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.audio-control{
    margin-left: 5%;
}

/*TEXTOS Y ELEMENTOS GLOBALES*/

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h1,h2{
font-family: Arial, Helvetica, sans-serif;
text-align: justify;
  margin: 10% 15% 0% 5%;
}

h3,h4 {
  font-family: "IBM Plex Mono", monospace;
  text-align: justify;
  margin: 5% 15% 5% 5%;
}

a{
    color:lightskyblue;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

p {
    font-family: "IBM Plex Mono", monospace;
    position: relative;
    z-index: 1;
    text-align: justify;
    margin: 0% 5% 5% 5%;
    min-width: 250px;
    max-width: 400px;
    font-size: 14px;
}

/* LANDING (index/index2) */

.background-video {
    position: fixed;
    opacity: 0.7;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.logo-landing {
    position: relative;
    z-index: 1;
    display: block;
    margin: auto;
    margin-top: 10%;
    width: 80%;
    max-width: 80%;
    height: auto;
}

.welcome-text {
    position: relative;
    z-index: 1;
    color: white;
    text-align: justify;
    margin: 40% 5% 15% 5%;
    min-width: 250px;
    font-size: 21px;
}

.disclaimer{
    font-family: "IBM Plex Mono", monospace;
    background-color: black;
    position: relative;
    z-index: 1;
    margin-top: 5%;
    margin-bottom: 5%;
    padding-left: 5%;
    min-width: 250px;
    font-size: 16px;
}

/*ABOUT*/

.img-bio{
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
}

#img-bio-icon{
    max-height: 400px;
}

#about-language{
    font-style: italic;
    color: lightblue;
    margin-top:10px;
    margin-bottom:10px;
    opacity: 0.7;
}
/* NAVIGATION y Lenguaje */

.navigation-bar ul {
    list-style-type: none;
    position: fixed;
    top: 0;
    right: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.navigation-link {
    transition: all 0.4s ease;
    display: block;
    font-size: 18px;
    text-decoration: none;
    text-align: right;
    padding-left: 4px;
    margin-bottom: 20px;
    color: white;
    background-color: blue;
    opacity: 0.7;
}

.navigation-link:hover{
    transition: all 0.4s ease;
     font-size: 20px;
    background-color: rgb(0, 0, 0);
}

#language{
    background-color:white;
    font-family: "IBM Plex Mono", monospace;
    color: black;
}
#languague:hover{
    color: black;
    background-color: white;
}

/* FOOTER */

footer {
    background-color: black;
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1;
}

.contact-list {
    display: block;
    list-style-type: none;
}

.contact-link {
    transition: all 0.4s ease;
    color: white;
    text-decoration: none;
    padding: 10px;
    display: flex;
}

.contact-link:hover {
    transition: all 0.4s ease;
    color:lightskyblue;
    margin-left: 10px;
}

#contact-email{
  font-family: "IBM Plex Mono", monospace;    margin-top: 5%;
    margin-bottom: 5%;
}
