* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    text-shadow: 1px 1px 3px rgba(var(--color), 0.5);
}

*::selection{
    background-color: rgba(var(--color));
    color: rgba(var(--bg-color));
}

html, body {
    --color: 0, 0 ,0;
    --bg-color: 255, 255, 255;
    height: 100%;
    background-color: rgba(var(--bg-color));
    color: rgba(var(--color));
    font-size: 2vw;
    font-family: "Gabriela", serif;
    font-weight: 500;
    font-style: normal;

    transition: color 100ms;
    transition: background-color 300ms ease-in-out;
}

a {
  --link-color: rgba(var(--color));
  text-decoration: none;
  background: linear-gradient(45deg, var(--link-color), rgb(var(--bg-color))) no-repeat right bottom / 0 var(--bg-h);
  transition: background-size 350ms;
  color: var(--link-color);
  text-shadow: 1px 1px 3px var(--link-color);
  --bg-h: 100%;
  border-radius: 5px;
}
a:where(:hover, :focus-visible) {
  background-size: 100% var(--bg-h);
  background-position-x: left;
  color: rgb(var(--color));
}

.container {
    display: flex;
    height: 100vh; 
    padding-bottom: 10%;
}

.display-half {
    width: 40%; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 15%;
    overflow:hidden;
}

.info-half {
    width: 60%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    padding: 0% 20% 0% 5%;

}


@media (max-width: 768px) {
    .container {
        flex-direction: column-reverse; 
        font-size: 2.7vh;
    }
    .info-half {
        padding-right: 15%;
    }
    .display-half, .info-half {
        width: 100%; 
        height: 50%; 
    }
    
}

.ASCII-Art{
    width: fit-content; 
    height: fit-content; 
    font-family:  monospace; 
    white-space: pre; 
    font-size: 2em;
    font-style: normal;
    font-weight: bold;
    text-shadow: 0px 0px 10px rgba(var(--color), 0.5);
}

#dice{
    cursor: pointer; 
}

#mode-switch{
    color: rgb(var(--color));
    right: 10px;
    font-size: 2em;
    top: 10px;
    
    position: fixed;
    text-align: center;
    transition: scale 150ms ease-in-out;
    rotate: 45deg;
    cursor: pointer; 
}

#mode-switch:hover{
    scale:1.1;
}

#mode-switch:active{
    scale: 0.9;
}

#inverted {
    color: rgb(var(--bg-color));
    background-color: rgb(var(--color));
}

.bigger-text{
    font-size: 150%;
}



