@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,200;0,300;0,400;0,600;1,300&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,400;0,500;0,900;1,400&display=swap');

:root {
    --orange: #d1773f;
    --green: #7cb681;
    --yelow: #f2f6d0;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

/* head */
.head {
    position: relative;
    display: none;
    margin: auto 0;
    padding: 30px 20px;
    background-color: var(--orange);
    border: 2px solid black;
}


/* table */
.table {
    display: block;
    position: relative;
    margin: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
}

.table .row {
    border-bottom: 2px solid black;

    height: calc(100vh/3);
    display: flex;
    flex-wrap: wrap;
}

.table .row:last-child {
    border-bottom: 0;
}

.table .col {
    /* padding: 2px 0; */
    border-right: 2px solid black;
 
    background-color: white;
}

.col-1 {
    flex: 17%;
    max-width: 17%;
}

.col-2, .col-3, .col-4 {
    flex: calc(23% - 4px);
    max-width: 23%;

}

.col-5 {
    flex: 13%;
    max-width: 13%;

    border-right: 0;
}

/* tittle */
.cell-title {
    background-color: var(--orange) !important;
}

.title {
    position: relative;
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 35px;
    color: black;
    text-decoration: none;
    font-weight: 900;

    width: fit-content;
    padding: 1px 8px 6px 1px;
    background-color: var(--green);
    border: 2px solid black;

    margin-left: 15px;
    margin-top: 30px;
}

.tag {
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;

    width: 200px;

    margin-top: 10px;
    margin-left: 18px;
    margin-right: 42px;

}

/* shuffle */
.shuffle {
    position: relative;
    background-color: var(--yelow) !important;
    
}

.shuffle span{
    position: absolute;
    display: block;

    width: 140px;
    height: 140px;
    line-height: 140px;
    text-align: center;
    background-color: black;
    border-radius: 50%;

    margin: 0 auto;
    top: 30%;

    position: relative;
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 20px;
    color: white;
    font-weight: 900;

    cursor: pointer;

    user-select: none;
}

/* info */

.info {
    background-color: #cccccc !important;

}

.info p {
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;

    width: 230px;
    font-weight: 500;

    margin-left: 18px;
    margin-top: 60px;
} 

.info a {
    color: black;
}

.info a:hover {
    text-decoration: none;
}

/* essay */

.essay {
    text-decoration: none;
    color: black;
}

.essay h3 {
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    
    margin-left: 20px;
    margin-top: 10%;
}

.essay p {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    /* width: 240px; */

    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;

}

@media only screen and (max-width: 1080px) {
    .col-1, .col-5 {
        display: none;
    }

    .col {
        flex: calc(33%);
        max-width: 33.33%;
    }
}

@media only screen and (max-width: 790px) {
    .head {
        display: block;
    }

    .table .row {
        /* flex-direction: column; */
        height: fit-content;
        border: 0;
    }
    
    .col-1, .col-5 {
        display: none;
    }

    .col {
        position: relative;
        display: block;
        flex: 100%;
        max-width: 100%;
        /* border-bottom: 2px solid black; */
        border-top: 0;
    }

    .cell-title {
        display: none;
    }

    .shuffle {
        position: relative;
        display: block;
    }

    .shuffle span {
        top: 0;
    }

    .essay h3 {
        margin-top: 10px;
    }
}

@media only screen and (min-width: 1800px) {
    .col-1 {
        flex: 22%;
        max-width: 22%;
    }
    
    .col-2, .col-3, .col-4 {
        flex: calc(17% - 4px);
        max-width: 17%;
    
    }
    
    .col-5 {
        flex: 27%;
        max-width: 27%;
    
        border-right: 0;
    }

}
