main {
    padding-top:  80px;
    width: 100%;
    overflow: auto;
}
html{
    width: 100vw;
    overflow: hidden;
}
body, .container{
    overflow: hidden;
}
main{
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

.mini-header{
    width: 100%;
}
.catalog_journal {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-items: flex-start;
    align-items: flex-end;
    gap: 16px;
   
}

.catalog_journal li {
    transform: translateX(-30%);
    opacity: 0;
    cursor: pointer;
    padding: 0;
    width: 100%;
    margin: 0;
    background: #ffa1a1;       
    display: flex;
    justify-content: space-between;
    align-items: center;

    animation-name: animateItems ;
    animation-fill-mode: forwards;
    animation-duration: 500ms;

}
.catalog_journal li:nth-child(1){
    animation-delay: 200ms;
}.catalog_journal li:nth-child(2){
    animation-delay: 400ms;
}
.catalog_journal li:nth-child(3){
    animation-delay: 600ms;
}.catalog_journal li:nth-child(4){
    animation-delay: 800ms;
}.catalog_journal li:nth-child(5){
    animation-delay: 1000ms;
}.catalog_journal li:nth-child(6){
    animation-delay: 1200ms;
}.catalog_journal li:nth-child(7){
    animation-delay: 1400ms;
}.catalog_journal li:nth-child(8){
    animation-delay: 1600ms;
}.catalog_journal li:nth-child(9){
    animation-delay: 1800ms;
}.catalog_journal li:nth-child(10){
    animation-delay: 2000ms;
}

@keyframes animateItems {
    0%{
        transform: translateX(-30%);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}
.catalog_journal li:hover, .catalog_journal li:active, .catalog_journal li:target{
   background: #177a73;
}
.catalog_journal li:after {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    content: "";
    background: url("/assets/icons/arrow-sm-right-svgrepo-com.svg");
    background-size: contain;
    width: 24px;
    height: 24px;

}

.catalog_portal{
    display: block;
    background: white;
    padding-top: 16px;
    padding-bottom: 32px;
    padding-inline: 16px;
    position: absolute;
    overflow: hidden;
    top: 60px;
    left: 100%;
    bottom: 112px;
    overflow-y: scroll;
    width: 100vw;
}
.open_portal{
    width: 100vw;
    display: block;
    left:  -16px;
}
.portal_close{
    display: flex;
    align-items: center;
    border-bottom: 1px solid black;
    width: min-content;
    cursor: pointer;
    margin-bottom: 1rem;
}
.portal_close:before{
    content: "";
    width: 32px;
    height: 32px;
    background: url("/assets/icons/arrow-sm-left-svgrepo-com.svg");
    background-size: cover;
}
.portal_content{
    font-size: 40px;
}
.portal_content ul{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.product_card{
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    border: 1px solid black;
    height: 90px;
    display: flex;
    gap: 8px;
}
.product_card-img{
    height: 100%;
    width: auto;
}
.product_card-info{
    padding-block: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.details{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
}