@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:ital@0;1&display=swap');

/* header section */
header{
    background-color: black;
    background-image: url("../images/pexels-aleksandar-pasaric-1694000-tint.png");
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;

    text-align: center;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

/* TODO: add CSS-media queries to improve behavior on small screens */
.jumbotron {
    /*width: 40rem;*/
    margin: 0 auto;
}

header h1 {
    font-size: 5rem;
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.75);
}

header h3 {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.75);
}

@media only screen and (max-width:50rem){
    header h1 {
        font-size: 3rem;
    }

    header h3 {
        font-size: 2rem;
    }

}


@media only screen and (max-height:25rem){
    header {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    header h3 {
        display: none;
    }
}


nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    
    z-index: 1;

    text-align: center;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;

    background-color: #050D11;
    width: 100%;
}

li {
    padding: 1rem;

    width: 10rem;
    background-color: rgba(55, 55, 55, 1);
    border: 1px solid black;
    border-radius: 0rem 3rem;
}

li > a {
    text-decoration: none;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
    color: white;
    display: inline-block;
    width: 100%;
    height: 100%;
}

li > a:hover {
    color: rgba(05, 13, 17, 0.75);
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width:50rem){
    li {
        padding: 0rem;
        width: 7rem;
        height: 3rem;
        border-radius: 0rem 1.5rem;
    }

    li > a {
        position: relative;
        top: 50%; 
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);

        width: auto;
        height: auto;
    }
}

/* main sections in page-specific css files */
main {
    min-height: 30rem;
    font-family: 'Alegreya Sans SC', sans-serif;
}

/* footer section */

footer {
    background-color: rgba(55, 55, 55, 1);
    color: white;

    text-align: center;
    font-family: 'Alegreya Sans SC', sans-serif;
    line-height: 2.0;

    padding-top: 2rem;
    padding-bottom: 2rem;
}

header, main, footer {
    min-width: 25rem;
}

/* misc section */

i, cite {
    font-style: italic;
}