@import url('https://fonts.googleapis.com/css?family=Muli');
body {
    font-family: 'Muli', sans-serif;
    font-size: 75%;
}

.head-photo {
    height: 170px;
    animation-duration: 2s;
    animation-name: action;
}

/* ~~ Animacja dla naglowka ~~ */

@keyframes action {
    from {
        opacity: 0.6;
    }
    to {
        opacity: 1;
    }
}

.hide {
    text-indent: -998em;
    height: 8px;
}

.head {
    width: 100%;
    height: 100%;
}

.main {
    min-height: 500px;
}

.main h2 {
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    border-bottom: 1px #999 solid;
    color: #00a9dd;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 10px;
}

.main h3 {
    color: #00a9dd;
    font-size: 1rem;
    text-align: center;
    font-weight: 800;
    margin-top: 0px;
}

.main p {
    font-size: 1rem;
    margin-left: 25px;
}

.footer {
    background-color: #F0F8FF;
}

.footer p {
    margin-top: 15px;
    text-align: right;
}

canvas {
    width: 80%;
    height: auto;
    border: 2px solid #379ED7;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    cursor: pointer;
    display: block;
}

#start, #reset {
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 30px;
    width: 110px;
    padding: 10px;
    cursor: pointer;
    background-color: #00a9dd;
    display: block;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
}

#przyciski {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: none;
}

#dol, #gora {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    width: 110px;
    padding: 10px;
    cursor: pointer;
    background-color: #00a9dd;
    display: inline-block;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
}

#dol:active, #gora:active {
    background-color: red;
}

/* Smartphon */

@media (min-width: 275px) {
    .head-photo {
        background: url('../images/logo_mini.png') center center no-repeat;
        background-size: 100%;
    }
    .main h2 {
        margin-top: -20px;
    }
    #przyciski {
        display: block;
    }
    canvas {
        width: 100%;
        height: auto;
        border: 2px solid #379ED7;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
        cursor: pointer;
        display: block;
    }
}

/* Tablet */

@media (min-width: 768px) {
    .head-photo {
        background: url('../images/logo_min.png') center center no-repeat;
        background-size: 100%;
    }
    .main h2 {
        margin-top: 20px;
    }
    #przyciski {
        display: none;
    }
}

/* Desktop i laptop */

@media (min-width: 992px) {
    .head-photo {
        background: url('../images/logo.png') center center no-repeat;
        background-size: 100%;
    }
    .main h2 {
        margin-top: 20px;
    }
    canvas {
        width: 80%;
        height: auto;
        border: 2px solid #379ED7;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
        cursor: pointer;
        display: block;
    }
    #przyciski {
        display: none;
    }
}