/* ===== GLOBAL CONTAINER ===== */
.global-container{
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: 
        auto   /*header*/
        1fr;   /*body*/
}
/* ===== BODY (CENTRAL CONTAINER) ===== */
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: calc(100vh - 10rem);
    overflow: hidden;
    padding-top: 0;
    max-width: 185rem;
    /* border: 5px solid white; */
}
.main{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    height: 100%;
    padding: var(--space-l) var(--space-ultra-xxl);
    gap: var(--space-l);
    /* border: 5px solid red; */
}
.hero{
    z-index: 1;
    position: relative;
    /* height: 100%; */
    height: calc(100% - 10rem);
    /* border: 2px solid blue; */
}
.row{
    position: absolute;
    display: flex;
    width: 35rem;
    height: 7.5rem;
    background-color: white;
    border-radius: var(--space-m);
    overflow: hidden;
}
.row--top{
    z-index: -1;
    right: -1rem;
    top: 15%;
    box-shadow: 0 3px 2px var(--secondary-500);
}
.row--bottom{
    z-index: 2;
    left: -1rem;
    bottom: 15%;
    box-shadow: 0 3px 2px var(--primary-500);
}
/* .row__post, .row__user{z-index: 1;} */
.row__user{
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-ultra-s);
    width: 20%;
    height: 100%;
}
.user__img{
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    overflow: hidden;
}
.user__img--top{border: 2px solid var(--secondary-500);}
.user__img--bottom{border: 2px solid var(--primary-500);}
.user__medals{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    height: 2rem;
    width: 100%;
}
.medal{
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
}
.medal--top{ background-color: var(--secondary-500);}
.medal--bottom{ background-color: var(--primary-500);}
.row__post{
    display: flex;
    flex-flow: column;
    gap: var(--space-s);
    width: 80%;
    height: 100%;
    padding: var(--space-m);
}
.row__post--top{background-color: var(--secondary-50);}
.row__post--bottom{background-color: var(--primary-50);}
.post__date{font-weight: bold;}
.post__content{text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
.landing-info{
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    height: calc(100% - 10rem);
    /* border: 2px solid blue; */
}
.landing-info__content{
    display: flex;
    flex-flow: column;
    gap: var(--space-l);
    padding: var(--space-l);
}
.landing-buttons{
    display: flex;
    justify-content: flex-start;
    gap: var(--space-l);
}

/* ===== EXTRA (1400px) ===== */
@media screen and (max-width: 1400px) {
    .main{
        padding: var(--space-l) var(--space-ultra-l);
    }
}

/* ===== EXTRA (1200px) ===== */
@media screen and (max-width: 1200px) {
    .main{
        padding: var(--space-l) var(--space-xxxl);
    }
}

/* ===== EXTRA (1100px) ===== */
@media screen and (max-width: 1100px) {
    .main{
        padding: var(--space-l) var(--space-l);
    }
}

/* ===== TABLET (810px) ===== */
@media screen and (max-width: 810px) {
    .container{
        overflow-y: scroll;
    }
    .main{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr .5fr;
        padding:0;
    }
    .hero{
        height: auto;
    }
    .landing-info{
        grid-row: 1 / 2;
        justify-content: center;
        align-items: center;
        height: 50vh;
    }
    .landing-info__content{
        justify-content: center;
        align-items: center;
    }
    .title--landing{
        text-align: center;
    }
}

/* ===== PHONE (480px) ===== */
@media screen and (max-width: 480px) {
    
}