@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo {
    font-size: 2em;
    color: #555;
    cursor: default;
}
.logo span {
    color: #7d2ae8;
}
.navigation {
    margin-left: -300px;
}
.navigation a {
    display: inline-block;
    font-size: 1.1em;
    color: #555;
    text-decoration: none;
    margin-right: 40px;
    font-weight: 500;
    padding: 3px 2px;
    transition: color 0.3s,
    background 0.3s, 
    letter-spacing 0.3s, 
    transform 0.3s, padding 0.3s, 
    border-radius 0.3s;
}

.navigation a:hover {
    color: #fff;
    background-color: #7d2ae8;
    text-decoration: underline;
    border-radius: 4px;
    padding: 3px 2px;
    color: #ffffff;
    display: inline-block;
    transform: scale(1.1);
}


/* habilidades y herramientas */
.sckills {
    width: 100%;
    height: 100vh; 
    background-color: rgb(255, 255, 255);
    padding: 60px 12% 40px 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sckills h1 {
    color: rgb(0, 0, 0);
    align-items: center;
}

.sckills__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7em;
    width: 100%;
}

.sckills__content1,
.sckills__content2 {
    background: linear-gradient(180deg, #7d2ae8 0%, #000000d8 100%);
    border: 1px solid #00000083;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(22, 240, 240, 0.87);
    padding: 1.5em 1.1em 1.5em 1.1em;
    min-width: 330px;
    max-width: 400px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5em;
}

.sckills__content1 h2,
.sckills__content2 h2 {
    font-size: 1.3em;
    margin-bottom: 0.7em;
    color: #ffffff;
    border-bottom: 1px solid #b2b2b2;
    width: 100%;
    padding-bottom: 0.3em;
}

.sckills__content__item {
    display: flex;
    align-items: center;
    gap: 0.7em;
    background: #f6f6f6;
    border-radius: 8px;
    padding: 0.5em 0.8em;
    margin-bottom: 0.5em;
    width: 100%;
}

.sckills__content__item p {
    margin: 0 0.5em 0 0;
    font-size: 1em;
    color: #222;
}

.sckills h1 {
    font-size: 42px;
    text-align: left;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 2em;
}

.sckills__content {
    margin-top: 0;
}

.sckills__content1 {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.sckills__content1__item {
    display: flex;
    gap: 1em;
    align-items: center;
}

.sckills__content1__item img {
    width: 40px;
    height: auto;
}

.sckills__content2 {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.sckills__content2__item {
    display: flex;
    gap: 1em;
    align-items: center;
}

.sckills__content2__item img {
    width: 40px;
    height: auto;
}

.sckills__content__item img {
    width: 40px;
    height: auto;
}

/* Botón hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #7d2ae8;
    border-radius: 2px;
    transition: 0.3s;
}

/*Responsive*/

@media (max-width: 900px) {
    header {
        padding: 20px 30px;
    }
    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 200px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 20px 20px 20px;
        transition: right 0.3s;
        z-index: 150;
        margin-left: 0;
    }
    .navigation.active {
        right: 0;
    }
    .navigation a {
        margin: 20px 0;
        font-size: 1.2em;
        padding: 10px 0;
        width: 100%;
        border-radius: 6px;
    }
    .hamburger {
        display: flex;
    }

    .sckills {
        padding: 40px 20px;
        height: auto;
        text-align: center;
        margin-top: 50px;
    }

    .sckills h1 {
        font-size: 32px;
        margin-bottom: 1.5em;
    }

    .sckills__content {
        flex-direction: column;
        gap: 2em;
    }

    .sckills__content1,
    .sckills__content2 {
        width: 100%;
        max-width: 360px;
        padding: 1em;
    }

    .sckills__content__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.8em;
    }

    .sckills__content__item img {
        width: 50px;
        margin-bottom: 10px;
    }

    .sckills__content__item p {
        font-size: 1em;
    }
}
