:root {
    --pagebg: #061125;
    --bannerimg: url(/media/banners/Act1Banner.png);
    --headerclr: #1E3C73;
}

@font-face {
    font-family: Comfortaa;
    src: url(/media/fonts/Comfortaa.ttf);
}

html,
body {
    margin: 0;
    height: 100vh;
}

.page {
    margin: auto;
    background-color: var(--pagebg);
    padding: 35px;
}

.contents h1 {
    text-decoration: underline;
    text-decoration-style: double;
    text-align: center;
    color: white;
    font-family: "Comfortaa";
    margin-top: 0;
    padding-top: 40px;
    font-size: 25px;
}

.acts a {
    text-decoration: none;
}

.acttitle {
    text-decoration: underline;
    font-size: 18px;
    line-height: 30px;
}

.actoverview {
    background-color: #061125;
    height: 100%;
    margin: auto
}

.act:nth-child(even) {
    direction: rtl;
}

.pagecount {
    font-size: 8px;
}

.headertxt {
    color: white;
    text-transform: uppercase;
    font-family: "Comfortaa";
    text-align: center;
    margin: auto;
    padding-top: 9px;
}

.headertxt a {
    text-decoration: none;
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0);
}

.headertxt a:hover {
    border-bottom: 2px solid rgba(255, 255, 255, 1);
    transition: border-bottom 200ms;
    cursor: pointer;
}

.contents {
    background-image: url("/media/backgrounds/Act0.png");
    background-size: cover;
}

.act {
    display: flex;
    max-width: 80%;
    margin: auto;
    margin-top: 30px;
    color: white;
    font-family: "Comfortaa";
    padding-bottom: 10px;
    padding-top: 10px;
    transition: 200ms ease-out;
}

.act p {
    margin: auto;
    text-align: center;
    font-size: 10px;
}

.act img {
    max-height: 100px;
}

.act:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    scale: 1.1;
}

#banner {
    background-image: var(--bannerimg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    height: 125px;
    width: 100%;
}

#titlecard {
    object-fit: contain;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

#header {
    background-color: var(--headerclr);
    height: 35px;
}

#footer {
    background-color: var(--headerclr);
    height: 35px;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .page {
        max-width: 85%;
        background-color: var(--pagebg);
        padding: 35px
    }
}

@media only screen and (max-width: 600px) and (orientation: landscape) {
    .page {
        max-width: 55%;
        background-color: var(--pagebg);
        padding: 35px
    }
}

@media only screen and (min-width:601px) {
    .page {
        max-width: 85%;
        background-color: var(--pagebg);
        padding: 35px
    }
}

@media only screen and (min-width: 601px) and (orientation: landscape) {
    .page {
        max-width: 55%;
        background-color: var(--pagebg);
        padding: 35px
    }
}

@media only screen and (min-width: 768px) {
    .page {
        max-width: 85%;
        background-color: var(--pagebg);
        padding: 35px
    }
}

@media only screen and (min-width: 768px) and (orientation: landscape) {
    .page {
        max-width: 55%;
        background-color: var(--pagebg);
        padding: 35px
    }
}

@media only screen and (min-width: 1100px) {
    #banner {
        height: 250px;
        background-size: cover;
    }
    .act img {
        max-height: 300px;
    }
    .actoverview {
        width: 65%;
        padding-bottom: 100px
    }
    .contents {
        height: auto;
    }
    .contents h1 {
        text-decoration: underline;
        text-decoration-style: double;
        text-align: center;
        color: white;
        font-family: "Comfortaa";
        margin-top: 0;
        padding-top: 40px;
        font-size: 40px;
    }
    .act p {
        margin: auto;
        text-align: center;
        font-size: 25px;
    }
    .acttitle {
        font-size: 35px;
        line-height: 2;
    }
    .pagecount {
        font-size: 16px;
    }
}