@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;
}

.main p {
    font-size: 1rem;
    margin-left: 25px;
}

.footer {
    background-color: #F0F8FF;
}

.footer p {
    margin-top: 15px;
    text-align: right;
}

.plansza {
    margin-left: auto;
    margin-right: auto;
    width: 306px;
    background: #f0f0f0;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 100px);
    grid-gap: 3px;
    display: grid;
    border: 1px solid #ddd;
    cursor: pointer;
}

.pole {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #0284F2;
}

.pole:hover {
    background: #F0F8FF;
}

form {
    text-align: center;
}

input[type=submit] {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 150px;
    background-color: #0383F1;
    border: 2px solid #0383F1;
    border-radius: 4px;
    color: #F0F8FF;
    padding: 10px;
}

/* Smartphon */

@media (min-width: 275px) {
    .head-photo {
        background: url('../images/logo_mini.png') center center no-repeat;
        background-size: 100%;
    }
    .main h2, h3 {
        margin-top: -20px;
    }
}

/* 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;
    }
    .main h3 {
        margin-top: 0px;
    }
}

/* 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;
    }
    .main h3 {
        margin-top: 0px;
    }
}