/* Estilos generales */
body {
    background-color: black;
    color: #4ade80; /* green-400 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Header */
.header {
    padding: 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
}
.header-nav {
    display: flex;
    gap: 1rem;
}
.nav-list {
    list-style-type: none;
    padding: 0;
    margin: auto;
    display: flex;
    gap: 1rem;
    color: whitesmoke;
}
.nav-list a {
    text-decoration: none;
    color: #4ade80; /* green-400 */
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}
.header-level {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.level-text {
    font-size: 1.125rem;
    text-align: center;
}

.level-button {
    background-color: #15803cdc; /* green-700 */
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
}

.level-button:hover {
    background-color: #16a34a; /* green-600 */
}

/* Contenido principal */
.main-content {
    display: flex;
    justify-content: center;
    color: aliceblue;
    padding: 1rem;
}
.tab-button.active {
    background-color: #4CAF50;
    color: white;
  }
.previews {
    position: relative;
    width: 100%;
    cursor: pointer;
    margin: auto;
    height: fit-content%;
    margin-bottom: 1rem;
}
.previews img {
    position: relative;
    width: 100%;
    object-fit: cover;
    height: 300px;
    text-align: center;
    object-fit: cover;
    border-radius: 0.5rem;
}
#panel_oculto{
    display: none;
}
.p-static{
    position: absolute;
    width: fit-content;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: white;
    padding: 10px;
    z-index: 1;
}
#hora-actual {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    color: #dcdfdd;
    text-shadow: 0 0 8px #171817;
  }
.previews p {
    position: absolute;
    top: 50%;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: white;
    width: fit-content;
    padding: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    color: #dcdfdd;
}
.intro{
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 1rem;
    background-color: rgba(62, 235, 10, 0.096);
}
/* Paneles */
.left-panel, .right-panel {
    width: 25%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.right-panel {
    width: 20%;
    padding: 5px;
}
.temas{
    padding: 8px;
    margin:auto;
    align-items: center;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    background-color: rgba(52, 209, 209, 0.322);
    color: bisque;
}
.temas:hover{
    background-color: rgba(123, 148, 13, 0.493);
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(145deg, #1a1a1a7e, #2d2d2d79);
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid #00ff88;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: #00ff88;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #fff;
}

.modal-content h2 {
  color: #00ff88;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content label {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.modal-content input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #00ff88;
  border-radius: 8px;
  padding: 0.8rem;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.modal-content input:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.btn-modal{
  background: #00ff88;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-modal:hover {
  background: #00cc6a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.modal-content button:active {
  transform: translateY(0);
}

.main-content {
    display: flex;
    justify-content: center;
    color: aliceblue;
    padding: 1rem;
}
form{
    display: inline-grid;
    width: 100%;
    height: 50%;
}

.center-panel {
    width: 47%;
    height: 90vh;
    padding: 5px;
    margin: 10px;
    overflow-x: scroll;
}

.panel-title {
    font-size: 1.25rem;
    background-color: rgba(55, 124, 34, 0.493);
    font-weight: bold;
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    text-align: center;
}
.img_container {
    width: 100%;
    margin: auto;
    height: 200px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.panel-description {
    font-size: 1rem;
    padding: 0.5rem;
    text-align: center;
    margin-bottom: 1rem;
}
/* Panel izquierdo */
.avatar-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.skills-title {
    font-size: 1.125rem;
    width: 100%;
    height: auto;
    border: 2px dotted black;
    text-align: center;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.skills-list {
    list-style-type: disc;
    list-style-position: inside;
    margin: 0 auto;
    text-decoration: none;
    list-style: none;
    padding-left: 0;
}

.skills-list li {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0.5rem;
    margin: 0.5rem 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #e0fdfb;
    background-color: #2b2b2b65;
    border-radius: 3px;
    border: 0.5px solid rgba(214, 218, 210, 0.801);
    background-clip: padding-box;
    z-index: 0;
    transition: transform 0.3s ease;
  }
  
 
  
  .skills-list li:hover {
    animation: borderShift 2s linear infinite;
    cursor: pointer;
    background: linear-gradient(135deg, #09977659, #09799e81);

  }
  
  @keyframes borderShift {
    0% {
      filter: hue-rotate(0deg);
    }
    100% {
      filter: hue-rotate(360deg);
    }
  }
  
  
  
  

/* Panel central */
.chart-container {
    justify-content: center;
    width: 80%;
    max-height: 500px;
    margin:  auto;
    padding: 1rem;
    border-radius: 0.5rem;
}

.recent-project-title {
    background-color: #166534; /* green-900 */
    padding: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.project-list {
    list-style-type: disc;
    list-style-position: inside;
    height: auto;
    padding-left: 0;
}

.project-list li {
    padding: 0.5rem;
}

/* Panel derecho */
.panel-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.project-item {
    margin-bottom: 1rem;
}

.progress-bar {
    background-color: #15803d; /* green-700 */
    height: 0.5rem;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
}

.progress-fill {
    background-color: #4ade80; /* green-400 */
    height: 100%;
    border-radius: 0.25rem;
    width: 8.66%;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .left-panel, .right-panel {
        width: 100%;
    }
    .center-panel {
        width: 90%;
        margin: auto;
    }
}