:root {
    --primary-color: #ffffff;
    --secondary-color: #40BF06;
    --accent-color:  #2352ff;
    --background-color: #ffffff;
    --text-color: #1A1A1A;
    --light-text: #FFFFFF;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}  

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: black;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #2352ff;
    transform: translateY(-2px);
    color: white;
}

.btn-order {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: black;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-large {
    font-size: 1.2rem;
    padding: 16px 32px;
}

.btn-small {
    font-size: 0.9rem;
    padding: 8px 16px;
    background-color: black;
    color: white;
}

/* Header Styles */
header {
    background-color: rgb(0, 0, 0);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo-text {
    color: var(--light-text);
    font-weight: 700;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    margin-right: 30%;
    gap: 18%;
}

.nav-link {
    color: var(--light-text);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 18px;
}

.nav-link:hover {
    color:  #2352ff;
}


/* Hero Section */
.hero {
    background : rgb(0, 0, 0);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 5%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    position: relative;
}

.scroll-down-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px; /* Tamaño del círculo */
    height: 50px; /* Tamaño del círculo */
    background-color: white; /* Fondo blanco */
    border-radius: 50%; /* Hacerlo redondo */
    color: black; /* Icono de color negro */
    font-size: 24px; /* Tamaño del icono */
    cursor: pointer;
    position: absolute;
    bottom: 40px; /* Más abajo */
    left: 50%;
    transform: translateX(-50%); /* Centrado horizontalmente */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra ligera */
    animation: bounce 2s infinite; /* Animación de rebote */
}

.scroll-down-icon i {
    font-size: 24px;
}

/* Adaptación para dispositivos móviles */
@media (max-width: 768px) {
    .scroll-down-icon {
        display: none; /* Ocultar el elemento en dispositivos móviles */
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

.text-container {
    flex: 1;
}

.main-text {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.profile-image {
    width: 25rem;
    border-radius: 100%;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    padding: 10px;
}

.social-icon {
    font-size: 2.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #2352ff;
}

/* About Section */
.about {
    padding: 4rem 5%;
    background-color: #f4f4f4;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Skills Section */
.skills {
    padding: 4rem 5%;
    background-color: #ffffff;
    text-align: center;
}

.c {
    width: 69px;
    fill: #2352ff; /* Cambia el color de la imagen SVG a #2352ff */
}


.vsc {
    width: 67px;
}

.Netbeans {
    width: 63px;
}

.Eclipse {
    width: 67px;
}

.Pycharm {
    width: 65px;
}

.Tailwind {
    width: 110px;
}

.Bootstrap {
    width: 65px;
}

.Ngrok {
    width: 110px;
}

.Cisco {
    width: 60px;
}

.Power {
    width: 120px;
}

.EU {
    width: 200px;
    border-radius: 5px;
}

.Portugues {
    width: 210px;
    border-radius: 5px;
}
.skills h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.skills-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.skill {
    text-align: center;
    flex-basis: 150px;
}

.skill i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.skill h3 {
    font-size: 1.2rem;
    color: var(--text-color);
}


.projects {
    padding: 4rem 5%;
    background-color: #f4f4f4;
    text-align: center;
}

.projects h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.projects-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
    text-align: left;
}

.project-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}
