:root{
    --primary-btn-color: #F5F5DC;
    --primary-fnt: Montserrat;
    text-decoration: none;
}

html,
body {
    margin: 0;
    padding: 0;

}

/* main grid page */

.parent {
    display: grid;
    width: 98vw;
    height: 98vh;
    margin: 1vi;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 10px;
}

.div1 {
    position: fixed;
    grid-column: span 5 / span 5;
    grid-row: span 2 / span 2;
    width: 98%;
}

.div2 {
    grid-column: span 8 / span 8;
    grid-column-start: 2;
    grid-row: span 7 / span 7;
    grid-row-start: 2;
}

.alt-footer{
    position: fixed;
    grid-column: span 5 / span 5;
    grid-row: span 2 / span 2;
    grid-row-start: 10;
    width: 98%;
}

.point-window{
    grid-column: span 8 / span 8;
    grid-column-start: 4;
    grid-row: span 7 / span 7;
    grid-row-start: 8;
}

.canvas-field {
    grid-column: span 10 / span 10;
    grid-column-start: 0;
    grid-row: span 7 / span 7;
    grid-row-start: 2;
    grid-row-end: 10;
    background-color: cornsilk;
}

.div3 {
  box-sizing: border-box;
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: min(10rem, 90vw);
  height: auto;
}


/* sub menu header */

* {
    box-sizing: border-box;
}

.flex-container {
    display: flex;
    flex-direction: row;
    padding: 5px;
}

.flex-item {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 10px;
    margin-left: 5px;
    margin-right: 5px;
}
.nodeco{
    text-decoration: none;
}
.button_style{
    background-color: var(--primary-btn-color);
    border-radius: 10px 20px 10px 20px;
    border-style: solid;
    border-width: 1px;
    border-color: #ddcd93;
    
    font-size: 30px;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    

     -webkit-box-shadow:0px 0px 2px 0px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.9);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.9);

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.button_style:hover{
    animation: buttonAnimationOnHover 300ms ease forwards;
    cursor: pointer;
}
.button_style:not(:hover){
    animation: buttonAnimationOffHover 500ms ease forwards;
}

@keyframes buttonAnimationOnHover {
  from {

    -webkit-box-shadow:0px 0px 2px 0px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.9);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.9);
  }
  to {
    transform: rotate(1deg);
    -webkit-box-shadow:0px 0px 26px 0px var(--primary-btn-color);
    -moz-box-shadow: 0px 0px 26px 0px var(--primary-btn-color);
    box-shadow: 0px 0px 26px 0px var(--primary-btn-color);
    }
}

@keyframes buttonAnimationOffHover {
  from {
  transform: rotate(1deg);
    -webkit-box-shadow:0px 0px 26px 0px rgba(208,255,0,0.9);
    -moz-box-shadow: 0px 0px 26px 0px rgba(208,255,0,0.9);
    box-shadow: 0px 0px 26px 0px rgba(208,255,0,0.9);
  }
  to {
    transform: rotate(0deg);
    -webkit-box-shadow:0px 0px 2px 0px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.9);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.9);
    }
}

#wide-container{
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
}

.header-style{
    border-radius: 20px;
    background-color: #e35336;;
     -webkit-box-shadow:0px 0px 8px 0px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.9);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.9);
}


@keyframes colorIn {
    from {
        background-color: red;
    }

    to {
        background-color: yellow;
    }
}

@keyframes colorOut {
    from {
        background-color: yellow;
    }

    to {
        background-color: red;
    }
}


#button_text {
    position: relative;
    text-align: center;
    color: rgb(255, 0, 34);
    font-family: 'Courier New', Courier, monospace;

}

.animation_ {
    visibility: visible;
    background-color: #0062ff;
}

.animation_:hover {
    from {
        background-color: red;
    }

    to {
        background-color: yellow;
    }
}

.animation_:hover {
    from {
        background-color: red;
    }

    to {
        background-color: yellow;
    }
}

.central-text {
    display: inline-block;
    display: block;
    font-family: 'Courier New', Courier, monospace;
    font-size: medium;
    justify-self: stretch;
    text-align: center;
    width: fit-content;
    padding: 5px;
    border-style: solid;
    border-width: 1px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5vh;
    margin-bottom: 20vh;
}

#footer-text {
    position: relative;
    top: 30%;
    display: flex;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: medium;
    text-align: center;
    height: 50%;
    animation: upDown 2s ease-in-out infinite;
}

.footer-color-gradient{
    background: #24000000;
    background: linear-gradient(180deg, rgba(255, 3, 3, 0) 0%, rgb(0, 0, 0) 100%);
}

#footer_color {
    text-align: center;
    background: rgba(255, 0, 0, 0.23);
    border-radius: 16px 0px 16px 0px;
    box-shadow: 0 4px 30px rgba(255, 97, 97, 0.1);
    backdrop-filter: blur(2.7px);
    -webkit-backdrop-filter: blur(2.7px);
    border: 1px solid rgba(197, 2, 2, 0.767);
    box-sizing: border-box;
    height: 100%;
}

.footer-style{
    border-radius: 5px;
    border-color: #F5F5DC;
    border-style: solid;
    border-radius: 20px 20px 20px 20px;
    background-color:var(--primary-btn-color);
}

@keyframes upDown {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(2deg);
    }

    50% {
        transform: rotate(-2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px 20px 00px 0px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 60px 30px rgba(255, 255, 255, 3);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}

.image-styling{
    display: block;
    height: 50%;
    width: 50%;
    margin: auto;
    transform: translateY(50%);
    
}

@media (max-width: 600px) {
    .flex-container {
        flex-direction: row;
    }
    .flex-item {
        width: 100%;
        height: 38px;
        font-size: 10px;
        line-height: 5vh;
        margin: 1px;
        margin-left: 1vw;
        margin-right: 1vw;
    }
    .central-text {
        font-size: 10px;
        margin-bottom: 10vh;
        text-align: center;
        padding: 20px;
        border-width: 1px;
        margin-top: 1px;
    }
    .div1 {
        position: fixed;
        box-sizing: border-box;
        margin-top: 1%;
        grid-column: span 5 / span 5;
        grid-row: span 2 / span 2;
        width: 94%;
        margin-left: 1%;
    }
    .div2{
        grid-column: span 10 / span 8;
        grid-column-start: 2;
        grid-row: span 7 / span 7;
        grid-row-start: 2;
    }
    .div3 {
        bottom: 1rem;
        
    }
    #footer-text {
        position: relative;
        top: 30%;
        display: flex;
        /* justify-content: center;
        font-family: 'Courier New', Courier, monospace;
        font-size: medium;
        text-align: center; */
        height: 50%;
        animation: upDown 2s ease-in-out infinite;
    }

    
    
}

