.parts-container {
    max-width: 1440px;
    min-height: calc(100vh - 80px);
    height: fit-content;
    margin: 20px auto 20px auto;
    position: relative;
    background-color: white;
}


.part {
    position: absolute;
    top: 0;
    visibility: hidden;

    height: 0;
    overflow-y: hidden;
}

/* Мобильная версия */
@media (max-width: 576px) {
    .part {
        padding: 15px;
    }
}


/* Настольная версия */
@media (min-width: 576px) {
    .part {
        padding: 30px;
    }
}


/* Дом */
body:has(#pHome:target) #homePart,
body:has(#pOrder:target) #orderPart,
body:has(#pContacts:target) #contactsPart,
body:has(#pSupport:target) #supportPart,
body:has(#pAccount:target) #accountPart,
body:has(#pDetails:target) #detailsPart {
    visibility: visible;

    height: auto;
    overflow-y: unset;
    position: relative;
}







/* 
.partsContainer>div>div {
    background-color: white;
    overflow: hidden;
}

.partsContainer>div {
    visibility: hidden;
    height: 0;

    overflow: hidden;
}

.partsContainer>div:target {
    min-height: calc(100vh - 20px);
    visibility: visible;
    height: auto;
    overflow: visible;

}

.partsContainer>div:target>div {
    min-height: calc(100vh - 20px);
} */