@font-face {
    font-family: 'bookmaniaregular';
    src: url('fonts/bookmania_regular-webfont.woff2') format('woff2'),
         url('fonts/bookmania_regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'bookmaniasemibold_italic';
    src: url('fonts/bookmania_semibold_italic-webfont.woff2') format('woff2'),
         url('fonts/bookmania_semibold_italic-webfont.woff') format('woff');
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: 'bookmaniasemibold';
    src: url('fonts/bookmania_semibold-webfont.woff2') format('woff2'),
         url('fonts/bookmania_semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'bookmaniaitalic';
    src: url('fonts/bookmania_italic-webfont.woff2') format('woff2'),
         url('fonts/bookmania_italic-webfont.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

html {
    font-family: 'bookmania', 'Times New Roman', Times, serif;
}

body {
    background: -moz-linear-gradient(45deg, #8050BF 0%, #85CCFF 100%); /* ff3.6+ */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, #8050BF), color-stop(100%, #85CCFF)); /* safari4+,chrome */
    background: -webkit-linear-gradient(45deg, #8050BF 0%, #85CCFF 100%); /* safari5.1+,chrome10+ */
    background: -o-linear-gradient(45deg, #8050BF 0%, #85CCFF 100%); /* opera 11.10+ */
    background: -ms-linear-gradient(45deg, #8050BF 0%, #85CCFF 100%); /* ie10+ */
    background: linear-gradient(45deg, #8050BF 0%, #85CCFF 100%); /* w3c */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#85CCFF', endColorstr='#8050BF',GradientType=1 ); /* ie6-9 */
    color: #FFFFFF;
}

table {
    width: 100%;
    text-align: left;
    table-layout: fixed;
    margin: 4em 0;
    font-size: 24px;
    color: #2b2b2b;
}

th {
    font-size: 50px;
    line-height: 100%;
    font-weight: 600;
    color: #fff;
    padding-bottom: 1em;
}

h1 {
    font-family: 'bookmaniasemibold', 'Times New Roman', Times, serif;
    font-size: 100px;
    line-height: 93.5%;
    cursor: default;
    text-align: center;
    width: 800px;
    display: flex;
    margin: 200px auto 50px auto;
}

h2 {
    font-family: 'bookmaniasemibold_italic', 'Times New Roman', Times, serif;
    font-size: 36px;
    line-height: 100%;
    cursor: default;
    width: 250px;
    position: absolute;
    top: 11px;
    left: 30px;
}

a {
    text-decoration: none;
    color: #FFFFFF;
}

a:hover {
    text-decoration: none;
    color: #9ab1bd;
}

.input {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
}

.days {
    font-family: 'bookmaniaregular';
    display: inline-block;
    padding-left: 10px;
}

p {
    font-family: 'bookmaniaregular';
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    cursor: default;
}

.instructions {
    font-family: 'bookmaniaitalic';
    font-size: 18px;
    display: block;
    margin: 50px auto 0px auto;
}

.input-container {
    text-decoration: none;
    border: none;
    height: 50px;
    width: 100px;
    text-align: center;
    font-family: 'bookmaniaregular', 'Times New Roman', Times, serif;
    font-size: 24px;
    justify-content: center;
    background-color: #adadad;
    color: #FFFFFF;
    display: inline-block;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input::-webkit-inner-spin-button:focus {
    outline: 0;
}

.button-container {
    text-decoration: none;
    border: none;
    text-align: center;
    justify-content: center;
    font-family: 'bookmaniasemibold_italic', 'Times New Roman', Times, serif;
    font-size: 24px;
    padding: 10px;
    background-color: #FFFFFF;
    width: 180px;
    height: 60px;
    cursor: pointer;
    border-radius: 30px;
    display: block;
    margin: 20px auto 50px auto;
}

button:focus {
    outline:0;
}

h4 {
    font-family: 'bookmaniasemibold', 'Times New Roman', Times, serif;
    font-size: 50px;
    line-height: 100%;
    cursor: default;
}

.logo {
    color: #FFFFFF;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #7e7e7e;
}

h5 {
    font-family: 'bookmaniasemibold_italic', 'Times New Roman', Times, serif;
    font-size: 36px;
    line-height: 100%;
    cursor: default;
    width: 600px;
    text-align: center;
    display: flex;
    justify-self: right;
    margin: 100px auto 0px auto;
}

.input {
    display: flex;
    justify-content: center;
    align-items: center;
}

.days {
    display: inline-block;
    padding-left: 10px;
}

/* Generator */

.container {
    display: flex;
    flex-direction: row;
    flex: 1 1 1 1;
    align-items: stretch;
    margin: 0px 15px 15px 15px;
}

.list {
    font-family: 'bookmaniaregular';
    font-size: 24px;
    color: #2b2b2b;
    cursor: default;
}

.download-btn {
    background-color: #adadad;
    ;
    border: none;
    color: white;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 24px;
    font-family: 'bookmaniasemibold_italic', 'Times New Roman', Times, serif;
    border-radius: 30px;
    display: block;
    margin: 50px auto 50px auto;
    width: 180px;
    height: 60px;
    justify-content: center;
    text-align: center;
  }

  .download-btn:hover {
    background-color: #7e7e7e;
  }

@media screen and (max-width: 800px) {
    h1 {
        font-size: 36px;
        line-height: 120%;
        margin: 100px auto 0px auto;
        width: 90%;
    }

    .input-container {
        float: center
    }

    .button-container {
        float: center
    }

    h2 {
        font-size: 18px;
        width: 130px;
        margin: none;
    }

    h5 {
        margin: none;
        font-size: 18px;
        width: 200px
    }


    th {
        font-size: 24px;
        padding: 5px;
    }

    table {
        font-size: 14px;
    }

}