div.profile-container {
    width: 1080px;
    position: relative;
    margin: auto;
}

div.profile-container>div.profile-header {
    width: 1080px;
    height: 381px;
    background-color: var(--color-yellow);
    position: relative;
    background-image: url(../img/profile-banner.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 4px solid var(--color-yellow);
    corner-top-left-shape: bevel;
    border-top-left-radius: 85px;
    corner-bottom-right-shape: bevel;
    border-bottom-right-radius: 85px;
}


div.profile-container>div.profile-header>div.profile-picture {
    width: 260px;
    height: 340px;
    background-color: var(--color-red);
    position: absolute;
    left: 80px;
    top: 80px;
    border: 4px solid var(--color-red);
    corner-top-left-shape: bevel;
    border-top-left-radius: 85px;
    background-image: url(../img/profile-picture.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div.profile-container>div.profile-title {
    width: 660px;
    position: absolute;
    right: 80px;
    font-style: italic;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 10px 20px;
}

div.profile-container>div.profile-title>* {
    color: var(--color-red) !important;
}

@media screen and (max-width: 1080px) {
    div.profile-container {
        width: 90vw;
    }

    div.profile-container>div.profile-header {
        width: 90vw;
        height: 30vw;
        border: 4px solid var(--color-yellow);
        border-top-left-radius: 10vw;
        border-bottom-right-radius: 10vw;
    }


    div.profile-container>div.profile-header>div.profile-picture {
        width: 22vw;
        height: 25vw;
        left: 5vw;
        top: 8.5vw;
        border-top-left-radius: 8vw;
    }

    div.profile-container>div.profile-title {
        width: 60vw;
        right: 5vw;
    }

    div.profile-container>div.profile-title>* {
        margin: auto;
        font-size: 2.5vw;
    }
}

@media screen and ((max-width: 468px) or (orientation: portrait)) {
    div.profile-container>div.profile-header>div.profile-picture {
        width: 25vw;
        height: 28vw;
        left: 3vw;
        top: 20vw;
        border-top-left-radius: 8vw;
    }

    div.profile-container>div.profile-title {
        height: 20vw;
        position: relative;
        padding-left: 38%;
        padding-right: 5%;
        gap: 0;
        width: 100%;
    }

    div.profile-container>div.profile-title>* {
        padding: 0;
        font-size: 3.4vw;
    }
}