@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+BE+VLG:wght@100..400&display=swap');


body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    margin: 0;
    height: 100vh;  
}

#particles-js{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}


.container-rectangle{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: auto;
    width: 85vh;
    padding: 30px;
    border-radius: 30px;
    background-color: rgb(52, 49, 49);
    position: relative;
    z-index: 1;
}

.img-square{
    display: flex;
    position: absolute; 
    width: 38vh;
    height: 38vh;
    border-radius: 25px;
    background-color: rgb(217,217,217);
    left: -9rem;
    overflow: hidden;
}

.perfil-img{
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-container{
    display: flex;
    flex-direction: column;
    text-align: left;
    color: white;
    font-size: 20px;
    margin: 5vh 0 5vh 28vh;
}

.name{
    font-family: "Montserrat", serif;
    font-size: 4vh;
    font-weight: bold;
}

.espc{
    display: block;
    font-family: "Montserrat", serif;
    margin-top: 1vh;
    font-size: 2vh;
    font-weight: 450;
}

.body-text{
    font-family: "Montserrat";
    font-size: 2vh;
    margin-top: 2vh;
}

.footer-text{
    display: flex;
    flex-direction: row;
    gap: 2vh;
}

.icon{
    display: flex;
    width: 5vh;
    height: 5vh;
    justify-content: center;
    align-items: center;
    background-color: rgb(98,92,92);
    border-radius: 100%;
    cursor: pointer;
    margin: 1vh 0 0 0;
    animation: beat 2.5s infinite;
}

a{
    text-decoration: none;
    color: white;
    transition: color 400ms ease-in-out;
}

a:hover{
        color: rgb(71, 204, 37); 
    
}

.icon-name{
    font-family: "Montserrat";
    font-size: 2vh;
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

@media (max-width: 1024px){

    body{
        margin: 0;
        height: 100vh;  
    }

    .img-square {
        position: absolute; 
        top: -9vh;
        left: 50%;
        transform: translateX(-50%);
        width: 18vh; 
        height: 18vh; 
        border-radius: 50%; 
        background-color: rgb(217,217,217);
        border: 1.5vh solid rgb(52, 49, 49);
    }

    .container-rectangle {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        width: 30vh;
        padding: 30px;
        border-radius: 30px;
        background-color: rgb(52, 49, 49);
    }

    .text-container {
        margin-top: 8vh;
        text-align: center;
        color: white;
        font-size: 16px;
        margin: 11vh 0vh 5vh 0vh;
    }

    .container-rectangle{
        display: flex;
        height: auto;
        background-color: rgb(52, 49, 49);
    }

    .name{
        font-family: "Montserrat", serif;
        font-size: 3vh;
        text-align: center;
        font-weight: bold;
    }

    .body-text{
        font-family: "Montserrat";
        font-size: 1.5vh;
        margin-top: 2vh;
    }

    .footer-text{
        display: flex;
        justify-content: center;
        flex-direction: row;
        gap: 2vh;
    }
    
    .icon{
        display: flex;
        width: 5vh;
        height: 5vh;
        justify-content: center;
        align-items: center;
        background-color: rgb(98,92,92);
        border-radius: 100%;
        cursor: pointer;
        margin: 1vh 0vh 0vh 0vh;
    }

}

@keyframes beat {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05); /* Escala el icono al 120% */
    }
}