/* &copy; Lamec Sánchez Contreras, Alle Rechte vorbehalten */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  font-size: 100%;
  
}

header {
  background-color: #333;
  color: white;
  padding: 1rem;
  text-align: center;
}
.page_active{
color: gray;
margin-top: 5rem; /* Añade un margen inferior para crear espacio entre líneas */
display: block; /* Asegura que el margen se aplique correctamente */
content: ""; /* Necesario para algunos navegadores */
line-height: 1,5;
}



nav ul {
  display: none;
  flex-direction: row;
  gap: 0.5rem;
  padding: 0;
}

/* Menú desplegable cuando se activa */
nav ul.show {
  display: flex;
  background-color: #333;
  padding: 1rem;
  position: absolute;
  top: 60px; /*Alineación debajo del botón */
  left: 0;
  right: 0;
}

/* Estilos para los enlaces del menú en móviles */
nav a {
  color: white;
  font-size: 1.2rem;
  padding: 0.5rem;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  padding: 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  color: #ffcc00; /* Cambia el color al pasar el cursor */
  transform: scale(1.1); /* Agranda un poco el enlace */
}

/* Efecto de subrayado animado */
nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #ffcc00;
  transition: width 0.3s ease, left 0.3s ease;
}

nav a:hover::before {
  width: 100%;
  left: 0;
}

main {
  padding: 2rem;
  text-align: center;
}

.page {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease; /* Añade una animación de desvanecimiento */
}

.page.active {
  display: block;
  opacity: 1;
}

h2 {
  color: #333;
  margin-bottom: 1rem;
}
h3{
  text-align: left;
}
p{
   text-align: justify;
}
.image {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  width: 300px;
  height: 200px;
  margin-left: auto;
  margin-right: auto; /* Centra el contenedor */
 
  
  
}

.image img {
  width: 5px;
  flex-grow: 1;
  object-fit: cover;
  opacity: 0.8;
  transition: 0.9s ease;
  
 
  
}
.image img:hover {
  cursor: crosshair;
  width: 80px;
  opacity: 2;
  filter: contrast(120%);
  position: obsolute;
  
  
}

#profil{
  text-align: justify;
    padding: 20px;
    border-radius: 10px;

}

.mich_historia, .erfahrung {
  text-align: justify; /* Justifica el texto para un mejor ajuste */
  font-size: 16px;
  color: gray;
  line-height: 1.5;
  margin-top: 2rem;
  hyphens: auto;
}

.lebenslauf_foto {
  border-radius: 30px;
  width: 200px;
  height: auto; /* Mantiene la proporción de la imagen */
  margin-left: 10px; /* Espacio entre la imagen y el contenido */
  margin-top: -10px;
  float: right; /* Coloca la imagen a la derecha y permite que el texto la rodee */
}
.studium, .n_umschulung{
  text-align: justify; 
  hyphens: auto;
}

.h {
  margin-top: 2rem;
}

.h h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #333;
}

.video_container {
  display: flex;
  justify-content: center; /* Centra el contenedor horizontalmente */
}

.video {
  border-radius: 8px;
  max-width: 20%;
  height: auto;
  text-align: left; /* Alinea el contenido interno a la izquierda */
}

model-viewer {
  width: 100%;
  height: 400px;
  border-style: solid;
  border-width: 7px;
}

.spiel {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.spiel:hover {
  background-color: #0056b3;
  
}
.download-btn{
 
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.download-btn:hover {
    background-color: #0056b3;
}

footer {
  background-color: #222;
  color: #fff;
  font-size: 14px;
  bottom: 0;
  position: fixed;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 999;
}

footer p {
  margin: 10px 0;
  text-align: center;
  hyphens: auto;
}


footer i {
  color: rgb(16, 16, 16);
}

footer a {
  color: #3c97bf;
  text-decoration: none;
}

.chat-container {
  position: fixed;
  bottom: 100px; /* Ajusta este valor según tus necesidades */
  right: 20px; /* Ajusta este valor según tus necesidades */
  z-index: 1000; /* Asegura que el chat esté por encima de otros elementos */
}