@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    display: grid;
    place-items: center;
    position: relative;
    height: 100vh;
    z-index: -3;
    overflow: hidden;
    background-color: #1ba1ad;
    font-family: 'Kumbh Sans', sans-serif;
}

.backgroundImageTop {
    position: absolute;
    z-index: -1;
    width: 90%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translate(-48%, -36%);
    size: auto;
}

.backgroundImageBottom {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    top: 42%;
    left: 50%;
    z-index: -1;
}

.profileCard {
    position: relative;
    background-color: #fff;
    width: 460px;
    height: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.backgroundCard {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
    position: static;
}

.imgAvatar {
    position: absolute;
    margin-top: 110px;
    width: 130px;
    border-radius: 50%;
    border: 10px solid #fff;
}

.nameAgeAndCity {
    margin-top: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.nameAgeAndCity .name {
    color: #222126;
    font-size: 24px;
    font-weight: 700;
}

.nameAgeAndCity .age {
    color: #222126c0;
    font-size: 22px;
}

.city {
    margin-top: 15px;
    font-size: 19px;
    color: #222126c0;
}

.info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 40px;
    padding: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.123);
}

.follow,
.likes,
.photos {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.follow .number,
.likes .number,
.photos .number {
    font-size: 20px;
    font-weight: 700;
    color: #222126f5;
}

.follow p,
.likes p,
.photos p {
    color: #222126c0;
    font-size: 16px;
    text-align: center;
}

@media (max-width: 460px) {
    .profileCard {
        width: 90%;
        height: 64%;
    }

    .imgAvatar {
        position: absolute;
        margin-top: 24%;
        width: 100px;
    }

    .nameAgeAndCity {
        margin-top: 60px;
        gap: 15px;
    }

    .nameAgeAndCity .name,
    .nameAgeAndCity .age {
        font-size: 20px;
    }

    .city {
        margin-top: 15px;
        font-size: 18px;
    }

    .follow .number,
    .likes .number,
    .photos .number {
        font-size: 18px;
    }

    .follow p,
    .likes p,
    .photos p {
        font-size: 15px;
    }
}