html,
body {
    background: #1BA11A url(./img/tile.png) top left repeat;
    font-family: cursive;
    margin: 0;
    padding: 0;
}

#container {
    padding: 20px;
    text-align: center;
    margin: auto;
    max-width: 900px;
}

h1 {
    font-size: 40px;
    font-weight: normal;
    color: yellow;
    animation: marquee 1s linear infinite alternate;
    display: inline-block;
}

h2 {
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
    color: indigo;
    font-weight: normal;
    font-size: 24px;
}

#activities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.activity {
    cursor: pointer;
    margin: 20px;
    width: 100%;
    max-width: 600px;
}

.activity img.photo {
    border: 12px ridge fuchsia;
    width: calc(100% - 24px);
    height: auto;
}

.activity p {
    margin: 16px 0;
    font-size: 18px;
    color: blue;
}

.activity p span {
    background-color: fuchsia;
}

img.animated {
    image-rendering: pixelated;
    width: 45px;
}

footer {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
}

@keyframes marquee {
    0% {
        transform: translate(10%, 0);
    }

    100% {
        transform: translate(-10%, 0);
    }
}

@media (max-width: 600px) {

    h1 {
        font-size: 32px;
    }
}

@media (max-width: 400px) {

    h1 {
        font-size: 28px;
    }

    .activity p {
        font-size: 15px;
    }
}

@media (max-width: 300px) {

    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 16px;
    }
}