:root {
    --Fondo2: hsl(217, 19%, 35%);
    --Activation: hsl(214, 17%, 51%);
    --texts: hsl(212, 23%, 69%);
    --Fondo1: hsl(210, 46%, 95%);
}
body{
    background-color: var(--Fondo1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Manrope", sans-serif;
}
h1,  p{
    font-size: 15px;
}
h1{
    color: var(--Fondo2);
}
p{
    color: var(--Activation);
}

.container{
    background-color: white;
    display: flex;
    flex-direction: column;
    width: 90%;

}
.imgPrin{
    width: 100%;
}

.info{
    border-radius: 10px;
    padding: 40px 30px;
}

.person{
    display: flex;
    align-items: center;
    position: relative;
}

.person img{
    width: 50px;
    border-radius: 50%;
    margin-right: 5px;
}
.person h1, .person p{
    color: var(--Fondo2);
    margin: 5px;
}
/**---------------------------------------------------------------------------------*/
.socialMedia{
    border-radius: 50%;
    border: 1px solid var(--Activation);
    background-color: var(--Fondo1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: absolute;
    right: 0;
    z-index: 2;
}

.imgSocialMedia{
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    position: relative;
    top: 25%;
    left: 50%;
}


/**---------------------------------------------------------------------------------*/
/* New styles for the share menu */
.share-menu {
    position: absolute;
    background-color: var(--Fondo2);
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 15px; 
    padding: 15px 35px;
    left: -30px;
    right: -30px;
}

.share-menu.active {
    display: flex;
}

.share-menu span {
    color: var(--texts);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 13px;
}

.share-menu a {
    display: flex;
    align-items: center;
}

.share-menu img {
    width: 20px;
    height: 20px;
    margin: 5px;
}

.socialMedia.active {
    background-color: var(--Fondo2);
}

.socialMedia.active .imgSocialMedia {
    filter: brightness(0) invert(1);
}


@media (min-width: 1440px) {
    
    h1{
        font-size: 30px;
    }
    p{
        font-size: 21px;
        
    }
    .container{
        width: 50%;
        flex-direction: row;

    }
    .imgPrin{
        width: auto;
        max-width: 400px;
        height: 100%;
    }
    .person img{
        margin-right: 20px;
    }
    .person h1, .person p{
        font-size: 15px;
    }
    .info{
        background-color: white;
 
    }
    /**---------------------------------------------------------------------------------*/
    .share-menu {
        position: absolute;
        left: 325px;
        top: -80px;
        width: max-content;
    }
    
    .share-menu.active {
        display: flex;
    }
    
    .share-menu::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 20px;
        height: 20px;
        background-color: var(--Fondo2);
    }

    .share-menu img {
        width: 20px;
        height: 20px;
        margin: 5px;
    }
}