body {
    font-family: Arial, sans-serif;
    background-color: #8a8ae4;
    margin: 0;
    padding: 0;
}

.hero {
    background-color: #282c34;
    color: rgb(255, 255, 255);
    padding: 3rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
}

ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
/* .section {
    padding: 20px 0;
}
.section h2 {
    text-align: center;
    margin-bottom: 20px;
}
.section ul {
    list-style-type: none;
    padding: 0;
}
.section ul li {
    margin: 5px 0;
    font-weight: bold;
    cursor: pointer;
} */

/* Terminal Styling */
.terminal-window {
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
    margin-top: 2rem;
}

.terminal-header {
    background-color: #333;
    padding: 10px;
    display: flex;
    align-items: center;
}

.dot { height: 12px; width: 12px; border-radius: 50%; margin-right: 8px; }
.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.terminal-title { color: #ddd; font-size: 0.9rem; font-family: monospace; }

.terminal-body {
    padding: 20px;
    color: #00ff00; /* Verde terminal */
    font-family: 'Courier New', Courier, monospace;
    height: 300px;
    overflow-y: auto;
}

.input-line { display: flex; }
.prompt { margin-right: 10px; color: #00ff00; }

#terminal-input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    width: 100%;
    font-family: inherit;
}

.about-me {
    padding-right: 1rem;
    border-right: 1px solid #eeeef3;
}
.Experiencia{
    padding-left: 2rem;
}
#Habilidades{
    padding-left: 2rem;
}

.carousel-item {
    text-align: center;
    font-size: 1.2rem;
    padding: 1rem 0;
}

.footer {
    background-color: #282c34;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 0;
}

#contact-form {
    margin-bottom: 1rem;
    margin-top: 20px;
}
#contact-details{
    display: none;
}
.Experiencia li {
    padding-left: 6rem;
    padding-right: 5rem;
}
.Experiencia a {
    color: inherit;
    text-decoration: none;
}
.Experiencia a:hover{
    color: black;
    text-decoration: underline;
}

#skills-list {
    list-style-type: none;
    padding: 0;
    position: relative;
}

#skills-list li {
    margin: 10px 0;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s;
}

#skills-list li:hover {
    color: #007bff;
}

#description-box {
    position: absolute;
    /* margin-top: 20px; */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 1rem;
    display: none; /* Oculto por defecto */
    max-width: 250px;
    z-index: 10; /* Asegura de que esté encima de otros elementos */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

}

/* Estilos para la sección de cursos */
.courses {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 20px 0;
    background-color: #f9f9f9;
}

.courses h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
}

.courses-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.course {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.course:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05); /* Opcional: efecto de agrandar ligeramente */
}

.course-logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    transition: transform 0.3s ease-in-out;
}

.course:hover .course-logo {
    transform: translateX(-10px); /* Mueve el logo a la izquierda */
}

.course-name {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

/* Móviles */
@media (max-width: 768px) {
    .hero {
        height: 100%; 
        padding: 40px 10px; /* Espaciado adicional para un mejor diseño */
    }
    #skills-list li {
        font-size: 1rem;
        margin: 5px 0;
    }
    #description-box {
        position: relative;
        max-width: 100%;
        margin-top: 10px;
        left: 0;
        top: 0;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1200px) {
    #skills-list li {
        font-size: 1.2rem;
    }

    #description-box {
        max-width: 100%;
    }
}

/* PCs */
@media (min-width: 1200px) {
    #skills-list li {
        font-size: 1.5rem;
    }

    #description-box {
        max-width: 300px;
    }
}