/* -------------------------------------- basics */
body {
    background: url(/graphics/backgrounds/AL-bg1.gif);
    background-size: 56px;
}

/* -------------------------------------- lace */
.lace-outline-1 {
    border-image-source: url(/graphics/borders/SP-2.png);
    border-image-slice: 9;
    border-image-width: 10px;
    border-image-repeat: round;
    border-style: solid;
    background: white;
}

.lace-outline-2 {
    border-image-source: url(/graphics/borders/SP-1.png);
    border-image-slice: 5;
    border-image-width: 5px;
    border-image-repeat: round;
    border-style: solid;
    background: white;
}

.lace-top {
    display: flex;
    min-width: -webkit-fill-available;
    border-radius: 5px;
    height: 14px;
    align-items: center;
    gap: 7px;
    justify-content: space-between;
    align-content: center;
    background: url(/graphics/dividers/FL-lace1.gif);
    background-position: center;
    background-position-y: 14px;
    filter: var(--outline1);
}

.lace-bottom {
    display: flex;
    min-width: -webkit-fill-available;
    border-radius: 5px;
    height: 14px;
    align-items: center;
    gap: 7px;
    justify-content: space-between;
    align-content: center;
    background: url(/graphics/dividers/FL-lace1.gif);
    background-position: center;
    background-position-y: 35px;
    filter: var(--outline1);
}

/* -------------------------------------- main */
.main-container {
    display: flex;
    min-width: 1000px;
    min-height: 900px;
    border: 1px dashed;
    border-radius: 7px;
    margin: 1px;
    background: #ffefef;
    flex-direction: column;
    gap: 5px;
}

.main-grid {
    display: grid;
    margin: 0px 8px;
    gap: 8px;
    grid-template-areas: 
        "main1 main2 main3"
        "main1 main8 main3"
        "main4 main8 main5"
        "main4 main7 main5"
        "main6 main6 main6";
}

.main-grid > div {
    border: 1px solid;
    border-radius: 4px;
    padding: 5px;
    background: var(--white);
}

/* -------------------------------------- main1 + main3 */
.main1, .main3 {
    width: 220px;
    height: 230px;
}
/* -------------------------------------- main1 */
.main1 {
    display: flex;
    grid-area: main1;
    flex-direction: column;
    justify-content: space-between;
}

.main1-calendar {
    width: -webkit-fill-available;
    height: 186px;
    border: 0;
}

.main1-clock {
    border-image-source: url(/graphics/borders/SP-1.png);
    border-image-slice: 5;
    border-image-width: 5px;
    border-image-repeat: round;
    border-style: solid;
    border-radius: 5px;
    height: 30px;
    background: #e3efef;
}

#MyClockDisplay {
    display: flex;
    height: 100%;
    width: -webkit-fill-available;
    align-items: center;
    justify-content: center;
    border: 1px dashed;
    border-color: var(--black);
    border-radius: 2px;
    letter-spacing: 2.4px;
    font-weight: bold;
    color: white;
    text-shadow: var(
    --shad1);
    text-indent: 1px;
}
/* -------------------------------------- main2 */
.main2 {
    display: flex;
    grid-area: main2;
    width: 630px;
    height: 205px;
    flex-direction: column;
    gap: 5px;
}

/* -------------------------------------- banner */
.main2-banner {
    display: flex;
    border: 1px solid;
    border-radius: 4px;
    min-height: -webkit-fill-available;
    background: url(/graphics/backgrounds/FL-bg6.gif);
    background-size: 16px;
    flex-direction: row;
    justify-content: space-between;
}

.main2-header {
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.main2-h1 {
    display: flex;
    gap: 10px;
    font-size: 28px;
    color: #f5ffdf;
    justify-content: center;
    filter: var(--outline2);
}

.main2-h1::before, .main2-h1::after {
    content: url(/graphics/icons/FL-daisy2.gif);
}

/* -------------------------------------- counters */
.counters {
    display: flex;
    gap: 5px;
    width: 189px;
    padding: 10px;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    filter: saturate(0.7) hue-rotate(344deg);
}

/* -------------------------------------- main3 */
.main3 {
    grid-area: main3;
}

.main3-catflex {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
}

.main3-catbuttons {
    display: flex;
    gap: 5px;
}

.main3-catbutton {
    width: -webkit-fill-available;
    padding: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 10px;
    cursor: pointer;
}

#main3-catbox {
    border: 1px solid;
    border-radius: 3px;
    height: -webkit-fill-available;
    background: #e3efef;
}

.main3-text {
    text-align: center;
    margin-top: 84px;
}

#noodle-button {
    background: linear-gradient(to bottom,  rgba(250,246,246,1) 0%,rgba(245,218,215,1) 50%,rgba(242,203,198,1) 51%,rgba(252,236,234,1) 100%);
    border: 1px solid;
    border-radius: 5px;
    box-shadow: 2px 2px 2px inset white, -1px -1px 1px inset #c89e9eb8;
}

#noodle-button:hover {
    box-shadow: -2px -2px 2px inset white, 1px 1px 1px inset #c89e9eb8;
}

#echo-button {
    background: linear-gradient(to bottom, rgba(246, 247, 241, 1) 0%, rgba(228, 236, 198, 1) 50%, rgb(213 223 173) 51%, rgba(244, 248, 228, 1) 100%);
    border: 1px solid;
    border-radius: 5px;
    box-shadow: 2px 2px 2px inset white, -1px -1px 1px inset #8ead71b8;
}

#echo-button:hover {
    box-shadow: -2px -2px 2px inset white, 1px 1px 1px inset #8ead71b8;
}

/* -------------------------------------- main4 + main5 */
.main4, .main5 {
    height: 598px;
}
/* -------------------------------------- main4 */
.main4 {
    grid-area: main4;
}
/* -------------------------------------- main5 */
.main5 {
    grid-area: main5;
}
/* -------------------------------------- main6 */
.main6 {
    grid-area: main6;
    height: 70px;
}
/* -------------------------------------- main7 */
.main7 {
    grid-area: main7;
    height: 573px;
}
/* -------------------------------------- main7 */
.main8 {
    grid-area: main8;
    height: 42px;
}

/* -------------------------------------- main8 buttons */
.main8-buttons {
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.main8-button {
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    border-image-source: url(/graphics/borders/SP-1.png);
    border-image-slice: 5;
    border-image-width: 5px;
    border-image-repeat: round;
    border-style: solid;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #f5dbd7;
}

.main8-text {
    display: flex;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    border: 1px dashed;
    border-radius: 2px;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-shadow: none;
    letter-spacing: 2px;
    transition: 0.4s;
    transition-behavior: ease-in-out;
}

.main8-button:hover {
    position: relative;
    top: 1.5px;
    .main8-text {
        letter-spacing: 4px;
    }
}