:root {
    --hfbg: #a3b5de;
    --mainbackg: rgb(100, 100, 100);
    --backg1: linear-gradient(
        rgba(78, 83, 180, 0.3) 0%,
        rgba(104, 102, 236, 0.6) 100%
    );
    --textcolor1: rgb(255, 255, 255);
  }

* {
    font-family: Helvetica, sans-serif;
}

.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--hfbg);
    justify-content: space-around;
    height: 100%;
}

.vertboundary {
    /* background-color: var(--hfbg); */
    width: 100%;
    text-align: center;
    /* color: var(--textcolor1); */
    padding: 1%;
}

.main_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; 
    width: 100%;
    padding: 10px 10%;
    /* background-color: var(--hfbg); */
}

.interactive_container {
    display: flex;
    flex-direction: column;
    padding: 5%;
    background-color: #939597;
    aspect-ratio: 5 / 7;
    min-width: 70vw;
    max-width: 500px;
    align-items: center;
    justify-content: space-around;
    border-radius: 5%;
}

#grid_container {
    display: grid;
    min-width: 70vw;
    aspect-ratio: 1 /1;
    z-index: 100;
    padding: 1%;
}

@media screen and (min-width: 992px) {
    .interactive_container {
        min-width: 350px;
        min-height: 490px;
    }
    #grid_container {
        min-width: 300px;
        min-height: 300px;
    }
}

@media screen and (min-width: 768px) {
    .interactive_container {
        min-width: 350px;
        min-height: 490px;
    }
    #grid_container {
        min-width: 300px;
        min-height: 300px;
    }
}


#mode_interface {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
    border-radius: 5%;
    align-items: center;
}

#density_interface {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
    border-radius: 5%;
    align-items: center;
}

.btn {
    background-color: #d8cf94;
    font-size: 16px;
    height: 26px;
    color: #3882F6;
    border-radius: 12px;
    border: 1px solid;
    box-shadow: none;
    padding: 5px;
}

.btn:hover, .btn:active {
    background-color: #3e3e3e;
    border: 1px  solid #3e3e3e;
}

.grid_element {
    display: inline-block;
    min-height: 1px ;
    color: #f5df4d; 
}

#footer {
    height: 3vh;
    bottom: 0;
}

.githubicon {
    height: 1em;
    content: URL("./icons/GitHub-Mark-64px.png");
    object-fit: contain;
    border-radius: 15px;
    /* border: 1px solid --textcolor1; */
    /* color: white; */
    background-color: rgb(255, 255, 255, 0.8);
}

.githubicon:hover, .githubicon:active {
    box-shadow: inset 0px 0px 8px 
    rgb(105, 172, 234, 0.8), 
    0 0 15px rgb(35, 136, 230, 1);
}


/* properties for links*/
a {
    font-size: 18px;
    outline: none;
    /* removes underlining of links */
    /*inspired by "web-page-pilot"*/
    text-decoration: none;
  }
  
a.link-attributes:link { 
    color: #E5E7EB;
}

/*To change the selected link color:*/
a.link-attributes​:active {
    color: purple; 
}

/*To change the mouseover color:*/
a.link-attributes​:hover {
    color: green; 
}

/*To change the active color:*/
a.link-attributes​:active { 
    color: blue; 
}
  



