:root {
    --pagebg: #061125;
    --bannerimg: url(/media/banners/);
    --headerclr: #302E33;
    --bgimg: url(media/background/);
}

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

html,
body {
    margin: 0;
    height: 100%;
    font-family: "Comfortaa";
}

.page {
    margin: auto;
    background-color: var(--pagebg);
    padding: 35px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    margin-bottom: 150px
}

#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;
    width: 100%;
}

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

.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;
}

#pageContents img {
    object-fit: contain;
    max-width: 100%;
    margin: auto;
    border-radius: 30px;
}

#pageContents video {
    object-fit: contain;
    max-width: 100%;
    margin: auto;
}

#pageContents p {
    object-fit: contain;
    max-width: 100%;
    margin: auto;
    color: white;
    padding-bottom: 15px;
    font-size: 12px;
}

#pageContents h2 {
    color: white;
    text-decoration: underline;
    font-size: 16px
}

#pageContents div {
    font-family: sans-serif;
    font-size: 14px;
    max-width: 90%;
    margin: auto;
    text-align: center;
}

#pageContents {
    text-align: center;
}

.contents {
    background-image: var(--bgimg);
    background-size: cover;
}

.navLinks {
    border-top: 1px solid white;
    padding-top: 15px;
    border-bottom: 1px solid white;
    padding-bottom: 15px;
    display: flex;
    margin: auto;
    padding-left: 25%;
    padding-right: 25%;
    width: 50%;
    justify-content: space-between;
    height: 30px
}

.extraBar {
    text-align: center;
    padding: 30px;
    display: flex;
    margin: auto;
    font-size: 14px;
    justify-content: center;
    height: 20px;
    color: white;
}

.extraBar a {
    text-decoration: none;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0);
    margin-right: 10px;
    margin-left: 10px;
    font-family: sans-serif;
    font-weight: bold;
    color: white;
    transition: 1s;
    transition: border-bottom 200ms;
    cursor: pointer;
}

.extraBar a:hover {
    border-bottom: 2px solid rgba(255, 255, 255, 1);
    font-family: sans-serif;
    color: white;
}

#pageContents button {
    width: 80%;
    height: 75px;
    font-family: "Comfortaa";
    font-size: 24px;
    background-color: var(--headerclr);
    border-radius: 8px;
    border-color: transparent;
    color: white;
    cursor: pointer;
    transition: color background-color;
    transition-timing-function: ease-in;
    transition-duration: 500ms;
    margin-bottom: 20px;
}

#pageContents button:hover {
    transform: scale(1.2);
    background-color: white;
    color: var(--headerclr);
    cursor: pointer;
}

@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) {
    .page {
        width: 35%;
        background-color: var(--pagebg);
        padding: 35px;
    }
    #pageContents div {
        font-size: 16px;
    }
    .navLinks {
        width: 30%;
    }
    #banner {
        height: 250px;
        background-size: cover;
    }
    
    #pageContents button{
        width: 50%;
    height: 50px;
    font-family: "Comfortaa";
    font-size: 20px;
    }
    
    #pageContents p{
            font-size: 16px;
    }
    
    #pageContents h2{
            font-size: 24px
    }
    
    #pageContents img {
        object-fit: contain;
        max-width: 100%;
        margin: auto;
    }
    #pageContents video {
        object-fit: contain;
        max-width: 100%;
        margin: auto;
    }
}