
/* ##################################### PROFILE DISPLAYER #################################### */


.profileDisplayerContainer{
    position: fixed;
    width: 70vw;
    height: 100vh;
    top: 2vh;
    left: 35vmin;
    transition-duration: 0.8s;
}

.profileDisplayerAvatar{
    position: relative;
    width: 48%;
    height: 80%; 
    float : left;
    top: 50%;
}

.profileDisplayerContent{
    position: relative;
    width: 46%;
    background-color: rgba(0, 0, 0, 0.41);
    padding: 2%;
    text-align: justify;
    top: 50%;
}


.profileDisplayerPictureAvatarContainer{
    position: fixed;
    width: 100%;
    height: 80%;
}

.profileDisplayerPictureAvatar{
    position: relative;
    width: 85%;
    height: 85%;
    transform: translate(-50% , -50%); 
    top: 50%;
    left: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.profileDisplayerName{
    top: 75%;
    text-align: center;
    font-size: calc(2px + 3vmin);
    position: fixed;
    width: 100%;
    height: 20%;
}

@media screen and (orientation:portrait) {
    
    .profileDisplayerContainer {
        position: fixed;
        top: 25vh;
        left: 3vmin;
        width: 94vw;
        height: 70vh;
    }
    
    .profileDisplayerAvatar {
        position: relative;
        width: 100%;
        height: 100%;
        top: 0;
    }
    
    .profileDisplayerPictureAvatarContainer {
        position: relative;
        width: 31%;
        height: 50%;
    }
    
    .profileDisplayerPictureAvatar {
        width: 100%;
        height: 100%;
    }
    
    .profileDisplayerName {
        top: calc(-10px - 1vmin);
        position: absolute;
        font-size: calc(2px + 2.6vmin);
        left: 32%;
        width: 66%;
        height: 20%;
    }
    
    .profileDisplayerContent {
        position: absolute;
       width: 59%;
        background-color: rgba(0, 0, 0, 0.41);
        padding: 2.5%;
        text-align: justify;
        top: 15%;
        left: 33%;
        overflow: auto;
        max-height: 80%;
        font-size: calc(1.5px + 2vmin);
    }
}

@media screen and (orientation:landscape) {
    
    .profileDisplayerAvatar {
        transform: translateY(-50%);
    }
    

    .profileDisplayerContent{
        float : right;
        font-size: 2vh;
        transform: translateY(-50%);
    }
}