@import url("/stylesheets/fonts.css");
@import url("/stylesheets/colors.css");

/*============KEYFRAMES============*/
@keyframes shake {
    0% { transform: scale(1.05) translate(0, 0) rotate(0deg); }
    20% { transform: scale(1.05) translate(-1px, 1px) rotate(-1deg); }
    40% { transform: scale(1.05) translate(1px, -1px) rotate(1deg); }
    60% { transform: scale(1.05) translate(-1px, 1px) rotate(-1deg); }
    80% { transform: scale(1.05) translate(1px, -1px) rotate(1deg); }
    100% { transform: scale(1.05) translate(0, 0) rotate(0deg); }
}


*{
    /* outline: red 1px solid; */
    box-sizing: border-box;
}

/*====================ELEMENTS==============*/
html,body {
    width: 100vw;
    height: 100vh;
    /* overflow: hidden; */

    margin: 0;
    padding: 0;

    color: rgb(0, 0, 0);

    font-family: 'Courier New', Courier, monospace;

    box-sizing: border-box;
    display: flex;
}

body{
    padding: 10px;
    background-color:antiquewhite;
    background-image: url(/assets/images/swatch2.png);
    background-size: 20px;
}

#fibertexxt{
    position:fixed;
    inset: 0;
    z-index:-1;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;

    text-align:justify;
    word-break:break-all;

    /* font-family: 'Courier New', Courier, monospace; */
    margin: 0rem;
    font-size: 0.1rem;

    background:var(--webSafe);
    background-clip:text;
    -webkit-background-clip:text;
    color:transparent;

    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}


#layout{
    width: 100%;
    height: 100vh;

    gap: 20px;

    display: grid;

    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(4, 1fr);
    grid-template:
        "header one . ." 1fr
        ". . . two" 1fr
        "three . . ." 1fr
        ". . four footer" 1fr;


    place-items: center;
    grid-auto-flow: dense;
}

#layout > * {
    min-width: 0;
    min-height: 0;
}

header{
    grid-area: header;

    width: fit-content;
    height: fit-content;

    padding: 0.5rem;

    border-top: 0.5rem ridge;
    border-bottom: 0.5rem groove;
    border-left: 0.5rem groove;
    border-right: 0.5rem ridge;
    border-radius: 0.5rem;
    border-color:blueviolet;

    background-color:plum;
}

h1{
    font-family: 'Ruritania';
    padding-top: 12px;
    margin: 10px;
    font-size: 3em;
    text-align: center;
    color: rgb(70, 2, 70);
    /* background-color: rgb(148, 148, 38); */
}

.statement{    
    width: fit-content;
    height: fit-content;


    padding: 2rem;
    border-image: url('/assets/utena/utenafinished.gif') 13% 10% fill;
}

#one{
    grid-area: one;
    background-color: pink;
}

#two{
    grid-area: two;
    background-color: peachpuff;
}

#three{
    grid-area: three;
    background-color:palegoldenrod;
}

#four{
    grid-area: four;
    background-color:rgb(190, 226, 190);
}

footer{
    grid-area: footer;


    width: fit-content;
    height: fit-content;

    padding: 0.5rem;

    border-top: 0.5rem ridge;
    border-bottom: 0.5rem groove;
    border-left: 0.5rem groove;
    border-right: 0.5rem ridge;
    border-radius: 0.5rem;

    background-color:powderblue;
}

.icon{
    width: 100%;
    height: 100%;

    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;


    gap: 7px;
}

.icon a{
    flex: 1;
    width: 100%;
    min-height: 0;

    display: flex;
    justify-content: center;
    align-items: center;

}

.icon img{
    max-width: 100%;
    max-height: 100%;

    background-color: rgb(108, 108, 199);

    width: auto;
    height: auto;

    display: block;

}

.icon:hover img{
    animation: shake 0.4s ease-in-out infinite;
}

.label{
    border-radius: 60%;
    border: 1px darkgoldenrod;

    width: fit-content;
    padding: 10px;
    background-color:rgb(231, 171, 21);
    color: darkslategray;
}

.label::before{
    content: "\2022";
    color: darkslategray;
}

.label::after{
    content: "\2022";
    color: darkslategray;
}

.blurb{
    display: none;

    position: absolute;
    top: 100%;
    translate: 0 7px;
    z-index: 2;
    width: 100%;
    background-color: blanchedalmond;
    color:olive;
}

.icon:hover .blurb{
    display:block;
}

#chat{
    position: fixed;
    z-index: 1;
    top: 20%;
    right: 1%;

    width: fit-content;
    height: fit-content;
}


