@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);
}

/*Home - sobre mí*/
.home {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 30px 100px;
}
.content {
    max-width: 500px;
    color: #555;
}
.content h2 {
    font-size: 3em;
}
.content h2 span {
    color: #7d2ae8;
}
.content h4 {
    font-size: 2em;
}
.content p {
    padding: 10px 0 40px 0;
}
.btn-group a {
    color: #fff;
    text-decoration: none;
    padding: 10px 40px;
    background: #7d2ae8;
    border-radius: 10px;
    border: 2px solid #7d2ae8;
    font-weight: 500;
    transition: .3s;
}
.btn-group a:nth-child(1):hover {
    color: #7d2ae8;
    background: transparent;
}
.btn-group a:nth-child(2) {
    color: #7d2ae8;
    background: transparent;
    margin-left: 30px;
    padding: 10px 30px;
}
.btn-group a:nth-child(2):hover {
    color: #fff;
    background: #7d2ae8;
}
.social-icons {
    position: absolute;
    bottom: 50px;
}
.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #7d2ae8;
    border-radius: 50%;
    margin-right: 22px;
    text-align: center;
    line-height: 35px;
    border: 1px solid #fff;
    outline: 2px solid #7d2ae8;
    transition: .3s;
}
.social-icons a:hover {
    transform: translateY(-5px);
}
.social-icons a i {
    color: #fff;
}
.social-icons_img {
    width: 530px;
    height: auto;
    margin-top: 97px;
}

/* 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;
    }

    .home {
        flex-direction: column;
        justify-content: center;
        padding: 100px 20px 30px 20px;
        text-align: center;
    }

    .content {
        max-width: 100%;
    }

    .content h2 {
        font-size: 2.2em;
    }

    .content h4 {
        font-size: 1.5em;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-group a {
        margin: 10px 0;
        padding: 10px 35px;
        font-size: 1em;
    }

    .social-icons {
        position: static;
        margin-top: 30px;
    }

    .social-icons_img {
        display: none;
    }
}


