@keyframes slideIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

body {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
}

header {
    font-family: 'Raleway', sans-serif;
    background-color:#c6c6c6;
    opacity: 0.8;
    padding: 10px;
    box-shadow: 0 0 10px #232323;
    cursor: default;
    
    /* No Selecty! */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

section {
    padding: 10px;
}

button:before {
    opacity: 1.0
}

button {
    font-family: 'Open Sans', sans-serif;
    height: 50px;
    margin: 15px;
    font-size: 1.1em;
    border: none;
    box-shadow: 0 0 1px #6dc6bc;
    background-color: #ffffff;
    opacity: 0.6;
}

button:hover {
        box-shadow: 0 0 1px 1px #91e2d9;
    transition: box-shadow 0.3s ease-out;
}

label {
    font-size: 1.1em;
    padding: 8px;
        -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: white;
    background-color: rgba(0, 0, 0, 0.1);
}

textarea {
    font-family: 'Consolas';
    font-size: 1em;
    text-align: left;
}

footer {
    color: #cccccc;
}

::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.4);
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}

.background {
    position:fixed;
    width: 200%;
    height: 200%;
    z-index:-1;
    top: -10px;
    left: -10px;
    display:block;
    
    background-image: url(images/background.jpg);
    -webkit-filter: blur(5px);
    filter: blur(5px);
}

.transparentInput {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    text-align: center;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    box-shadow: 0 0 0px #6dc6bc;
    transition: box-shadow 0.3s ease-out;
    transition: background-color 1.0s ease-out;
}

.transparentInput:hover {
    box-shadow: 0 0 6px 3px #91e2d9;
    opacity: 1;
    background-color: rgba(20, 20, 20, 0.6);
    transition: background-color 1.0s ease-out;
    transition: box-shadow 0.3s ease-in;
}

.transparentInput:focus {
    box-shadow: 0 0 1px 3px #91e2d9;
    opacity: 1;
    background-color: rgba(20, 20, 20, 0.6);
    transition: background-color 1.0s ease-out;
    transition: box-shadow 0.3s ease-in;
}

.transparentButton {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    text-align: center;
    color: white;
    border: 4px solid rgba(50,50,50, 0.9);
    background-color: rgba(20, 20, 20, 0.8);
    box-shadow: 0 0 0px #6dc6bc;
    transition: box-shadow 0.3s ease-out;
    transition: background-color 1.0s ease-out;
}

.transparentButton:hover {
    box-shadow: 0 0 6px 3px #488369;
    opacity: 1;
    background-color: rgba(50, 50, 50, 0.9);
    transition: background-color 1.0s ease-out;
    transition: box-shadow 0.3s ease-in;
}

.transparentButton:focus {
    box-shadow: 0 0 1px 3px #488369;
    opacity: 1;
    background-color: rgba(50, 50, 50, 0.9);
    transition: background-color 1.0s ease-out;
    transition: box-shadow 0.3s ease-in;
}

.boardEven {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    background-color: rgb(194,107,14);
    transition: background-color 0.4s ease-out;
    animation: 0.5s ease-out 0s 1 slideIn;
}

.boardEven:hover {
    background-color: rgb(100,50,20);
    transition: background-color 0.4s ease-out;
}

.boardOdd {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    background-color: #f4d475;
    transition: background-color 0.4s ease-out;
    animation: 0.5s ease-out 0s 1 slideIn;
}

.boardOdd:hover {
    background-color: #d2a82c;
    transition: background-color 0.4s ease-out;
}


#content {
    width: 80%;
    min-width: 350px;
    margin: 0 auto;
    padding: 20px;
    animation: 1.0s ease-out 0s 1 slideIn;
}
#title {
    font-size: 2.5em;  
    font-weight: 700;
}
#description {
    padding: 20px;
}
#warning {
    color: #b20000;
    font-weight: 600;
}

#boardSize {
    height: 50px;
    margin: 15px;
}


#calcToggle {
    height: 20px;
    width: 20px;
}

#board {
    border: 0;
    margin: 0 auto ;
    border-collapse: collapse;
    
}

#output {
    font-family: monospace;
    font-size: 1.3em;
    resize: none;
    width: 100%;
    height: 100%;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.05);
}

#outputBox {
    width: 80%;
    height: 30%;
    padding: 10px;
    min-height: 200px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7);
}
