*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Trebuchet MS", sans-serif;
}

#header{
    display: flex;
    top: 0;
    width: 100%;
    height: 6%;
    background-color: #262626;
    position: fixed;
    user-select: none;
    align-items: center;
}

#grid-container{
    position: fixed;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 94%;
    bottom: 0;
}

.action-bar{
    padding-bottom: 2px;
    position: fixed;
    width: 460px;
    height: 54px;
    justify-content: center;
    background-color: #262626;
    display: flex;
    align-items: center;
    margin: auto;
    user-select: none;
    bottom: -54px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    z-index: 2;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .70);
}

.action-button{
    display: flex;
    align-items: center;
    background-color: #edf5e1;
    display: flex;
    width: 150px;
    height: 45px;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    letter-spacing: 2px;
    border-radius: 5px;
    color: #262626;
}

.action-button:hover{
    background-color: #ffffff;
}

table{
    background-color: #aec3c9;
    border-spacing: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    bottom: 0;
    padding-bottom: 100%;
}

td{
    border: 1px solid #F1F5DA;
    border-radius: 3px;
    width: 20px;
    height: 20px;
    border-radius: 25%;
}

td:hover{
    opacity: 60%;
}

td.live{
    background-color: #4139b3;
    border-radius: 25%;
}

td.mid{
    background-color: #655ec7;
}

td.small{
    background-color: #9893d8;
}

.hidden{
    visibility: hidden;
}

#information{
    float: right;
    background-color: #edf5e1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    font-size: 30px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: auto;
    margin-right: 2px;
    color: #262626;
}

#information:hover{
    background-color: #ffffff;
}

#header-text{
    font-size: 45px;
    color: #edf5e1;
    margin-right: auto;
    margin-left: 2px;
}

.color-button{
    position: fixed;
    right: 53px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 15%;
    border-top-right-radius: 15%;
    transition: 0.5s;
}

.color-button:hover{
    opacity: 60%;
}

#color-trigger{
    background: linear-gradient(45deg, #B3CFDA, #C1E7B8, #EBE5BB,  #F6BFC7, #EEA7CC, #C396CB);
    z-index: 6;
}

#color-purple{
    background: #4139b3;
    z-index: 5;
}

#color-red{
    background: #e03a53;
    z-index: 4;
}

#color-orange{
    background: #c0681f;
    z-index: 3;
}

#color-green{
    background: #389750;
    z-index: 2;
}

#color-blue{
    background: #3b63d3;
    z-index: 1;
}

#close-button{
    position: absolute;
    right: 15px;
    top: 1px;
    font-size: 45px;
    opacity: 0.3;
    transform: rotate(45deg);
    cursor: pointer;
}

#close-button:hover{
    opacity: 1;
}

#pop-up{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    padding: 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .30);
    background: white;
}

.top-bar{
    position: fixed;
    width: 100%;
    justify-content: flex-start;
    background-color: #262626;
    display: flex;
    align-items: center;
    margin: auto;
    user-select: none;
    top: 0;
    color: #edf5e1;
    font-size: 50px;
}

#right-slide{
    display: flex;
    position: fixed;
    right: 0;
    align-items: center;
    justify-content: center;
    background-color: #262626;
    width: 30px;
    height: 90px;
    border-top-left-radius: 40%;
    border-bottom-left-radius: 40%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .70);
}

#up-slide{
    display: flex;
    position: fixed;
    bottom: 0;
    align-items: center;
    justify-content: center;
    background-color: #262626;
    width: 90px;
    height: 30px;
    border-top-left-radius: 40%;
    border-top-right-radius: 40%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .70);
    z-index: 2;
}

#wrapper{
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 2;
    height: 100%;
    width: auto;
    right: 0;
    top: 0;
    transition: 0.5s;
}

#wrapper2{
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 460px;
    height: auto;
    bottom: 0;
    transition: 0.5s;
}

#wrapper:hover{
    transform: translate(-400px, 0);
    transition: 0.5s;
}

#wrapper2:hover{
    transform: translate(0, -54px);
    transition: 0.5s;
}

#presets::-webkit-scrollbar{
    width: 6px;
}

#presets::-webkit-scrollbar-track{
    background: #262626;
}

#presets::-webkit-scrollbar-thumb{
    background-color: #edf5e1;
    border-radius: 50px;
}

#presets{
    display: flex;
    position: fixed;
    right: -400px;
    width: 400px;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: #262626;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .70);
    overflow-y: scroll;
}

#preset-head{
    display: flex;
    position: absolute;
    color:#edf5e1;
    font-size: 40px;
    top: 20px;
    left: 25px;
    user-select: none;
    pointer-events: none;
}

.presetImg{
    max-width: 100%;
    max-height: 100%;
    border-radius: 15%;
}

.grid-container{
    position: absolute;
    display: grid;
    gap: 15px;
    grid-template: auto / auto auto;
    top: 87px;
    padding-bottom: 15px;
}

.grid-item{
    width: 170px;
    height: 170px;
    border-radius: 15%;
    background-color: #7e7e7e;
    border-color:#edf5e1;
    border-width: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-item:hover{
    opacity: 60%;
}

#triangle{
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-right:10px solid #edf5e1; 
    border-radius: 50%;
    transition: 0.5s;
}

#triangleUp{
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent; 
    border-bottom:10px solid #edf5e1; 
    border-radius: 50%;
    transition: 0.5s;
}

#wrapper2:hover #triangleUp{
    transform: rotate(180deg);
}

#wrapper:hover #triangle{
    transform: rotate(180deg);
}

#screen{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#link-box{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 28px;
    right: 106px;
    border: 3px solid #edf5e1;
    border-top-left-radius: 25%;
    border-bottom-left-radius: 25%;
    border-bottom-right-radius: 25%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .20);
}

#link-arrow{
    position: absolute;
    width: 3px;
    height: 25px;
    background: #edf5e1;
    transform: translateX(14px) translateY(-4px) rotate(45deg);
    transition: 0.5s;
}

#link-arrow::before{
    position: absolute;
    content: "";
    width: 5px;
    height: 7px;
    background: #262626;
    transform: translate(-9px, 2px) rotate(-45deg);
}

#link-arrow::after{
    position: absolute;
    content: "";
    width: 7px;
    height: 5px;
    background: #262626;
    transform: translate(4px, 4px) rotate(-45deg);
}

#link-box:hover{
    opacity: 60%;
    cursor: pointer;
}