/*This css file holds all of the styling specifically for the home html page.*/
.grid-holder{
    height: 100vh;
    width: 100vw;
    display: grid;
    gap: 0.5rem;

    /*grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: 240;*/
    grid-template-areas:
        'col title pfp'
        'col articles col-end'
        'col articles col-end'
        'col renders col-end';
    
    grid-template-columns: clamp(100px, 6%, 375px) clamp(200px, 88%, 2200px) clamp(100px, 6%, 375px);
    /*grid-template-rows: clamp(5%, 80px, 10%) clamp(45%, 400px, 40%), clamp(45%, 400px, 40%), clamp(5%, 80px, 10%);*/
    grid-template-rows: 9.5vh 36vh 36vh 16vh;

    overflow:hidden;
}

.article-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex: 1;

    justify-content: center;

    scroll-behavior: smooth;
    flex-direction: column;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
}
/*this one only works with everything but firefox*/
.article-grid::-webkit-scrollbar{
    display:none;
}

.article{
    position: relative;

    height: clamp(200px, 80%, 900px);
    width: clamp(100px, 44%, 1100px);

    aspect-ratio: 1;
}

.article-title{
    color: rgb(246, 231, 224);
    text-decoration: none;
}

.renders-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex: 1;

    justify-content: center;

    scroll-behavior: smooth;
    flex-direction: column;

    overflow-x: auto;
    overflow-y: auto;

    scrollbar-width: none;

    transition: transform 500ms cubic-bezier(.13, .53, .38, .97), opacity 400ms;
}
/*this one only works with everything but firefox*/
.renders-grid::-webkit-scrollbar{
    display:none;
}

.renders-grid:hover{
    transform: scaleY(2) translateY(-50%);
}

.renders-grid:hover .art{
    transform: scale(0.9);
    opacity: 0.3;
}

.renders-grid:hover .art:hover{
    opacity: 1;

    aspect-ratio: 2 1;
}

.art{
    position: relative;

    height: clamp(200px, 80%, 900px);
    width: clamp(100px, 44%, 1100px);

    aspect-ratio: 1 2;
    
    border-radius: 6px;

    transition: transform 500ms cubic-bezier(.13, .53, .38, .97), opacity 400ms;
}
/*
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: scale(0.3);
        filter: hue-rotate(180deg);
    }
    to{
        opacity: 1;
        transform: scale(1);
        filter: hue-rotate(0deg);
    }
}

@media screen and (min-width: 600px){
    .tall-card{
        grid-row: span 2 / auto;
    }
    
    .wide-card{
        grid-column: span 2 / auto;
    }
}
*/
.card{
    /*animation: cardEntrance 700ms ease-out;
    animation-fill-mode: backwards;*/

    color: rgb(246, 231, 224);
    font-size: 3rem;
    font-family: "Space Mono", monospace;
}

.color-column{
    background-color: black;
    grid-area: col;
}
.color-column-end{
    background-color: black;
    grid-area: col-end;
}

.side-bar{
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 4px;
    overflow: hidden;
}

#page-title{
    background-color: rgb(117, 59, 117);
    color: rgb(246, 231, 224);
    font-size: 3rem;
    font-family: "Space Mono", monospace;

    display: flex;

    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.arrow-btn{
    display: flex;
    justify-content: center;
    align-content: center;

    position: absolute;

    width: clamp(0.6rem, 2rem, 4rem);
    height: clamp(1rem, 3rem, 6rem);

    font-size: clamp(1rem, 3rem, 6rem);
    cursor:pointer;

    background-color: rgba(100, 100, 100, 0.5);
    border-radius: 4px;
}