@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    --background-color: #192A3C;
    --line-color: #50C6DB;
    --text-color: #FFFFFF;
    /* --color-green: #06D6A0;
    --color-yellow: #FFD166;
    --color-lightblue: #118AB2;
    --color-red: #EF476F;
    --color-darkblue: #0B3D91;
    --color-purple: #845EC2; */

    --color-green: #4CB79C;
    --color-yellow: #E1B84B;
    --color-lightblue: #4A8D98;
    --color-red: #D15D6E;
    --color-darkblue: #1F3B73;
    --color-purple: #7D4F94;


    --scale-base: 705;
    --scale-delta-small: 225;
    --scale-delta-big: 450;

    --scale-factor-small: calc(var(--scale-base) / var(--scale-delta-small));
    --scale-factor-big: calc(var(--scale-base) / var(--scale-delta-big));
}

html {
    background-color: var(--background-color);
    overflow-y: hidden;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    height: 90vh;
    scale: 0.75;
    justify-content: center;
    justify-items: start;

}

.grid-container div {
    border-radius: 20px;
    transition: all ease-in-out .2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-tag {
    padding: 0 30px 30px 30px;
    opacity: 0;
    font-size: larger;
}


.small {
    min-width: 300px;
    min-height: 225px;
    transition: all ease-in-out .2s;
    /* max-width: 300px; */
    overflow-x: hidden;
    overflow-y: hidden;

    &:hover {
        scale: 1.1;
    }

    &:hover .card-tag {
        opacity: 1;
    }
}

.big {
    min-width: 300px;
    min-height: 450px;
    transition: all ease-in-out .2s;

    /* max-width: 300px; */
    &:hover {
        scale: 1.1;
    }

    &:hover .card-tag {
        opacity: 1;
    }
}

.div1 {
    grid-area: 1 / 1 / 3 / 2;
    background-color: var(--color-green);
    z-index: 3;
}

.div2 {
    grid-area: 3 / 1 / 4 / 2;
    background-color: var(--color-yellow);
    z-index: 3;
}

.div3 {
    grid-area: 1 / 2 / 2 / 3;
    background-color: var(--color-lightblue);
    z-index: 2;
}

.div4 {
    grid-area: 2 / 2 / 4 / 3;
    background-color: var(--color-red);
    z-index: 2;
}

.div5 {
    grid-area: 1 / 3 / 3 / 4;
    background-color: var(--color-darkblue);
}

.div6 {
    grid-area: 3 / 3 / 4 / 4;
    background-color: var(--color-purple);
}

.div7 {
    grid-area: 1 / 4 / 2 / 5;
    background-color: red;
}

.div8 {
    grid-area: 2 / 4 / 4 / 5;
    background-color: #06D6A0;
}

.title {
    font-size: 45px;
    padding: 30px 0 0 30px;
    color: white;
    font-weight: bold;
}

.title i {
    color: white;
}

.rows {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100vw;
}

.rows div {
    display: flex;
    flex-direction: row;
    width: 80vw;
    height: 225px;
    min-height: 0px;
    max-width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media only screen and (max-width: 600px) {

    * {
        -webkit-tap-highlight-color: transparent;
    }

    .page-title {
        margin: 0;
        margin-top: 2%;
        text-align: center;
    }

    .grid-container {
        /* gap: 40px; */
        /* margin-top: 1%; */
        height: 100%;
        padding-bottom: 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}