header {
    margin: 151px auto 50px auto;
    max-width: 1200px;
    width: 90vw;
}

/* user */
.user-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.user-wrapper > div {
    flex: 1;
}

.user-wrapper .top {
    height: 75px;
    display: flex;
    align-items: center;
    gap: 12.5px;
    margin-bottom: 12.5px;
}

.user-wrapper .top .name {
    flex: 1;
}

.user-wrapper .top .edit {
    align-self: flex-start;
    font-weight: bold;
}

.user-wrapper img  {
    height: 100%;
    border-radius: 50%;
}
.user-wrapper h2,
.user-wrapper h3,
.user-wrapper p {
    margin: 0px;
}

.user-wrapper .top p,
.user-wrapper .right p {
    color: var(--tertiary-text);
}

.user-wrapper .stats {
    margin-top: 12.5px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 25px;
    gap: 12.5px;
}

.user-wrapper .stat {
    flex: calc(50% - 25px);
    display: flex;
    align-items: center;
    font-size: 18px;
    gap: 12.5px;
}

.user-wrapper .stat iconify-icon {
    width: 25px;
}

/* category-selector */
.category-selector {
    display: flex;
    gap: 25px;
}

.category-selector > button {
    flex: 1;
}

/* location */
.location {
    display: flex;
    flex-direction: column;
    gap: 18.75px;
    height: 200px;
}

.location .right {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.location .image {
    position: relative;
}

.location .image img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 12.5px;
}

.location .image .stats {
    position: absolute;
    background-color: rgb(0, 0, 0, 0.5);
    margin: 12.5px;
    bottom: 0px;
    width: calc(100% - 25px);
    box-sizing: border-box;
    padding: 6.25px 12.5px;
    border-radius: 6.25px;
    display: flex;
    color: var(--secondary-text)
} 
.location .image .stats > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.location h2, .location h3 {
    margin: 0px;
}

.location h3 {
    margin-top: 12.5px;
}

.location p {
    margin: 6.25px 0px;
}

.location p.status {
    margin-top: 6.25px;
    margin-bottom: 18.75px;
    color: vaR(--tertiary-text);
    display: flex;
    align-items: center;
}

.location .actions {
    margin-top: auto;
    display: flex;
    gap: 6.25px;
}
.location .actions button {
    flex: 1;
}

/* review */
.locations,
.reviews {
    margin-top: 25px;
    display: none;
    flex-direction: column;
    row-gap: 25px;
}

.review {
    display: flex;
    flex-direction: column;
    gap: 12.5px;
}

.review p {
    margin: 0px;
}

.review .user {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 12.5px;
}

.review .user img {
    height: 100%;
    border-radius: 100%;
}
.review .user h4 {
    margin: 0px 0px 6.25px 0px;
}

.review .details {
    font-size: 14px;
    color: var(--tertiary-text);
    display: flex;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .user-wrapper {
        gap: 50px;
    }
    
    .category-selector {
        gap: 50px;
    }

    .locations,
    .reviews {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 50px;
    }

    .locations > div,
    .reviews > div {
        width: calc(50% - 25px);
    }
}

@media screen and (min-width: 640px) {
    .user-wrapper {
        flex-direction: row;
    }

    .location {
        flex-direction: row;
        gap: 12.5px;
    }

    .location .image {
        width: 40%;
    }

    .location p.status {
        margin-bottom: 0px;
    }
}