body {
    width: auto;
    min-width: 300px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

h1,h2 {
    font-family: Verdana, Tahoma, sans-serif;
    font-weight: 600;
    background: #00835C;
    color: white;
    text-align: center;
    padding: .5rem;
}

h1 {
    font-size: 2.5rem;
}

span, code, button {
    font-family:'Courier New', Courier, monospace;
    margin: .5rem;
}

canvas {
    width: auto;
    margin-top: 1rem;
    box-shadow: 2px 2px 10px black;
    background: #aaaaaa;
    border-radius: 10px;
}

.functions {
    color: #00835C;
    font-size: 1.3rem;
}

button {
    background: #00835C;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 15px;
}

input {
    color: gray;
}

#main-container {
    text-align: center;
    background: #c5c4c4;
    font-weight: 600;
    position: relative;
    margin-top: 0;
}

.text {
    text-align: center;
    background: #aaaaaa;
    padding: 1rem;
    font-size: large;
}

.return-home-button {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: auto;
    top: auto;
    background-color: #2F3131;
    color: black;
    padding: 10px 15px;
    border-radius: 5px;
	text-decoration: none;
    font-family: 'Nunito', 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: .75rem;
    box-shadow: 1px 1px 5px black;
    opacity: 0.7;
    z-index: 1000;
}

.return-home-button:hover {
    background-color: #7A7D7D;
    opacity: 1.0;
}

@media only screen and (min-width: 600px) {
    h1,h2,h3,h4,h5 {
        border-radius: 10px;
    }
    
    #main-container {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .text {
        border-radius: 10px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        color: #ffffffbf;
        background: #252525;
    }

    canvas {
        background: #505050;
    }

    #main-container {
        background: #404040;
    }

    .text {
        background: #505050;
    }

    .return-home-button {
        background-color: #fff;
        color: #2F3131;
    }

    .return-home-button:hover {
        background-color: #fff;
        color: #2F3131;
    }
}