@import "reset.css";
@import "main-menu.css";
@import "board.css";
@import url(https://fonts.googleapis.com/css?family=EB+Garamond|Cardo:400italic);

/*
Page colors
red: #C70032;
blue: #2391A4;
white: #ffffff;
*/

*, html, body
{
    padding: 0;
    margin: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    
}

#backBtn a
{
    position: fixed;
    z-index: 100;
    display: block;
    background-color: #000;
    text-decoration: none;
    color: #444;
    border: 1px solid #d2d2d2;
    border-radius: 4px;
    box-shadow: 0px 2px 0px #666;
    padding: 10px;
}

#backBtn a:visited { color: #FFF; }

main
{
    display: grid;
    max-width: 1920px;
    min-height: 3vh;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 210px auto 1fr;
}

/*--- Styling ---*/

a { text-decoration: none; color: white; }
.header-titles { font-family: 'Georgia', Arial; font-size: 1.2em; }
.blue-letters { color: #2391A4; }
.red-letters { color: #C70032; }
.space { margin-bottom: 2%; }
.text-center { text-align: center; }
.banner img { width: 100%; height: auto; }
p
{ 
    font-family: 'Times New Roman', Arial;
    font-size: 1.1em;
    font-weight: normal;
    text-align: justify;
}

/*--- End Styling ---*/

/*--- Header ---*/

header
{
    grid-area: header;
    display: grid;
    grid-column: 1/13;
}

#title
{
    grid-area: title;
    display: none;
    max-width: 740px;
    font-family: 'EB Garamond', Arial, Times New Roman;
    font-size: 2.8em;
    font-weight: lighter;
    font-style: italic;
    text-shadow: 0.05em 0.05em 0 rgba(255, 255, 255, .7);
}

#logo
{
    grid-area: logo;
    max-height: 190px;
    padding-top: 8px;
}

/*--- End Header ---*/

/*--- Center Tags ---*/

#center
{
    grid-area: main;
    display: grid;
}

#main-article
{
    grid-area: mainArticle;
    display: grid;
    box-sizing: border-box;
    padding: 8px 10px 10px 10px; 
    justify-items: center;
}

#leftside { display: none; grid-area: sideL; }
#rightside { display: none; grid-area: sideR; }


/*--- End Center Tags ---*/

/*--- Footer ---*/

footer
{
    grid-area: footer;
    background-color: #C70134;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    font-size: 1.1em;
    color: #FFF;
    box-sizing: border-box;
    padding: 10px;
}

footer ul li { list-style-type: none; padding-top: 2px; }

.division { display: none; grid-column: span 1; margin-bottom: 10px; }
#rights { grid-column: span 3; }

/*--- End Footer ---*/

/*--- Media Queries ---*/

@media only screen and (min-width: 720px)
{
    main
    {
        grid-template-areas: 
            "header header header header header"
            "nav nav nav nav nav"
            ". main main main ."
            "footer footer footer footer footer";
    }
    
    #logo { grid-column: 7/9; }
    #title { display: block; grid-column: 8/13; align-self: center; }
    #title span:after{content: "\A"; white-space: pre;}
    
    .nav { grid-row: 2; grid-column: 1/13; }
    
    #center
    {
        grid-column: 1/13;
        grid-template-columns: 1fr 1200px 1fr;
        grid-template-areas: "sideL mainArticle sideR";
    }
    
    #main-article
    {
        grid-template-columns: repeat(2, minmax(300px, 900px));
        grid-template-rows: repeat(3, auto);
    }
    
    #leftside, #rightside { display: block; }
    
    footer { grid-column: 1/13; }
    .division { display: block; }
}