@import url('font.css');

html {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    line-height: 1;
    background-image: url('images/background.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    box-sizing: border-box;
    padding: 15px 0;
}

.title {
    font-family: 'Bangers', sans-serif;
    font-weight: normal;
    font-size: 200px;
    color: #ffea00;
    -webkit-text-stroke: 5px black;
    text-shadow: -10px 10px 0 black;
    text-align: center;
    margin: 15px;
}

.dates {
    font-family: 'Bangers', sans-serif;
    font-weight: normal;
    font-size: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.date {
    background-color: white;
    border: solid 2px black;
    border-radius: 5px;
    text-align: center;
    width: 1.5em;
    padding: 5px;
    margin: 15px;
}

.date > div {
    margin: 0.1em 0;
    /* font fix */
    padding-right: 0.1em;
}

.date > .day {
    font-size: 1em;
}

.date > .month {
    font-size: 0.4em;
}

.date > .year {
    font-size: 0.6em;
}

.dash {
    /* font fix */
    padding-right: 0.1em;
}

.links {
    font-family: 'Bangers', sans-serif;
    font-weight: normal;
    font-size: 70px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

.link {
    -webkit-text-stroke: 2px black;
    text-shadow: -4px 4px 0 black;
    text-decoration: none;
    margin: 15px;
}

.link.red {
    color: #ff0015;
}

.link.red:hover {
    color: #cc0011;
}

.link.blue {
    color: #00bfff;
}

.link.blue:hover {
    color: #0099cc;
}

.link.yellow {
    color: #ffea00;
}

.link.yellow:hover {
    color: #ccbb00;
}

.text {
    font-family: 'Dinomouse', sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 1.25;
    background-color: white;
    border: solid 2px black;
    border-radius: 5px;
    text-align: justify;
    max-width: 1000px;
    padding: 15px 30px;
    margin: 15px;
}

@media (max-width: 600px) {
    .title {
        font-size: 150px;
    }

    .links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 400px) {
    .title {
        font-size: 100px;
        -webkit-text-stroke: 3px black;
        text-shadow: -6px 6px 0 black;
    }

    .date {
        font-size: 50px;
    }

    .link {
        font-size: 50px;
    }

    .text {
        font-size: 15px;
    }
}

@media (min-width: 1000px) {
    .links {
        position: relative;
        width: 900px;
        height: 200px;
    }

    .link.red {
        position: absolute;
        left: 0;
        bottom: 0;
    }

    .link.blue {
        position: absolute;
        right: 0;
        bottom: 0;
    }

    .link.yellow {
        position: absolute;
        left: 200px;
    }
}