body,
html {
    margin: 0;
    padding: 0;
    border: 0;
}
a {
    outline: 0;
}
div#background {
    position: absolute;
    height: 1600px;
    width: 100%;
    top: 0;
    left: 0;
    background: url(../img/background/chalkboard.jpg) top center no-repeat;
}
h1 {
    background-image: url(../img/title/gallerytitle.png);
    height: 140px;
    width: 800px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto 1em;
    text-align: center;
    opacity: 0.75;
}
/*iv#gallery {
    position: absolute;
    margin-left: 50%;
    margin-top: 100px;
    width: 800px;
    left: -400px;
}
*/

.timelinetext {
    font-size: 1.5em;
    padding: 0 0.3em;
    font-weight: medium;
    font-family: handwriting;
    color: #fff;
    opacity: 0.5;
}
div#timelinediv {
    position: absolute;
    margin-left: 50%;
    margin-top: 100px;
    width: 800px;
    left: -400px;
}

.yearholder {
    float: left;
    width: 111px;
    height: 40px;
    padding: 30px;
    background-size: cover;
}
.y2025,
.y2024,
.y2023,
.y2022,
.y2021,
.y2020 {
    position: relative;
    top: 0;
    right: 0;
    opacity: 0.7;
    display: block;
    width: 111px;
    height: 40px;
    text-decoration: none;
}

.y2025:hover,
.y2024:hover,
.y2023:hover,
.y2022:hover,
.y2021:hover,
.y2020:hover {
    opacity: 1;
}


.y2025 {
    background: url(../img/year/2025.png) no-repeat;
}
.y2024 {
    background: url(../img/year/2024.png) no-repeat;
}
.y2023 {
    background: url(../img/year/2023.png) no-repeat;
}
.y2022 {
    background: url(../img/year/2022.png) no-repeat;
}
.y2021 {
    background: url(../img/year/2021.png) no-repeat;
}
.y2020 {
    background: url(../img/year/2020.png) no-repeat;
}


@media screen and (max-width: 799px) {
    h1 {
        background-image: url(../img/title/gallerytitle-small.png);
        height: 102px;
        width: 300px;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
        margin: 3em auto 1em;
        text-align: center;
    }
    div#timelinediv {
        position: absolute;
        margin-left: 50%;
        margin-top: 100px;
        width: 100%;
        left: 0;
        margin: 0;
    }

    div#gallery {
        position: absolute;
        width: 100%;
        left: 0;
        margin: 0;
    }
    .yearholder {
        float: none;
        width: 100%;
        padding: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    .y2025,
    .y2024,
    .y2023,
    .y2022,
    .y2021,
    .y2020 {
        position: relative;
        top: 0;
        right: 0;
        display: block;
        text-decoration: none;
        opacity: 0.7;
        height: 85px;
        width: 100%;
    }
    .y2025:hover,
    .y2024:hover,
    .y2023:hover,
    .y2022:hover,
    .y2021:hover,
    .y2020:hover {
        background-position: center;
        opacity: 1;
    }

    .y2025 {
        background: url(../img/year/2025.png) center no-repeat;
    }
    .y2024 {
        background: url(../img/year/2024.png) center no-repeat;
    }
    .y2023 {
        background: url(../img/year/2023.png) center no-repeat;
    }
    .y2022 {
        background: url(../img/year/2022.png) center no-repeat;
    }
    .y2021 {
        background: url(../img/year/2021.png) center no-repeat;
    }
    .y2020 {
        background: url(../img/year/2020.png) center no-repeat;
    }
}
*/
