@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url("colors.css");
@import url("normalize.css");

html, body, table {
    border-collapse: collapse;
}
body {
    background-color: var(--bg-grey);
    font-family: 'Open Sans', sans-serif;
}

a:link {
    color: dodgerBlue;
    background-color: transparent;
    text-decoration: none;
}
a:visited {
    color: darkViolet;
    background-color: transparent;
    text-decoration: none;
}
a:hover {
    color: red;
    background-color: transparent;
    text-decoration: underline;
}
a:active {
    color: deepSkyBlue;
    background-color: transparent;
    text-decoration: underline;
}

.main {
    margin-bottom: -2em;
    height: 100%;
    min-height: 100%;
}

.main:after {
    content: "";
    display: block;
}

footer, .main:after {
    height: 2em;
}

footer {
    margin-top: 3em;
    width: 100%;
    color: var(--menu-fg);
    background: var(--menu-bg);
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.dl-button {
    text-align: center;
    padding: 0.6em 0;
    width: 8em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    background: dodgerBlue;
    border: 0.07em solid dodgerBlue;
    color: white;
    overflow: hidden;
    transition: all 0.3s;
}

.dl-button:hover, .dl-button:active {
    text-decoration: none;
    color: dodgerBlue;
    border-color: dodgerBlue;
    background: white;
}

.dl-button span {
    display: inline-block;
    position: relative;
    padding-right: 0;
    transition: padding-right 0.3s;
}

.dl-button span:after {
    content: ' ';  
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    width: 0.35em;
    height: 0.35em;
    margin-top: -0.35em;
    background: transparent;
    border: 0.07em solid white;
    border-top: none;
    border-right: none;

    transition: opacity 0.3s, top 0.3s, right 0.3s;
    transform: rotate(-45deg);
}

.dl-button:hover span, .dl-button:active span {
    padding-right: 1em;
}

.dl-button:hover span:after, .dl-button:active span:after {
    transition: opacity 0.3s, top 0.3s, right 0.3s;
    opacity: 1;
    border-color: dodgerBlue;
    right: 0;
    top: 50%;
}

.main .center {
    width: 80%;
    max-width: 80%;
    margin-top: 2em;
    margin-right: auto;
    margin-left: auto;
}

