@charset "utf-8";
/* CSS VARIABLES */

:root {
    --pageBackground: #333;
    --secondaryColor: #929292;
    --logoTextColor: #fff;
    --buttonTextColor: #fff;
    --hoverColor: #333;
    --panelBackground: #d8d8d8;
    --standardFont: source-sans-pro, sans-serif;
    --normalText: #555555;
    --lightText: #808080;
    --transparent: rgba(0, 0, 0, 0)
}

/* Page wide styling */

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--pageBackground);
}

/* NAVBAR */

header {
    width: 68%;
}

#logo {
	background-color: #369;
	padding: 1%;
	font-family: var(--standardFont);
	margin: 2%;
	color: #FFF;
	box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
	font-size: 18px;
	font-weight: bold;
}

nav {
    float: right;
}

nav:last-child {
    margin-right: 2%;
}

.navButton {
    text-decoration: none;
    color: var(--buttonTextColor);
    padding: 5px 25px 5px 25px;
    border-radius: 10px;
    transition: background-color, 200ms;
}

.navButton:hover {
    background-color: var(--hoverColor);
}

/* MAIN CONTENT */

#content {
    margin: auto;
    overflow: hidden;
    padding-bottom: 2%;
    margin-bottom: -2%;
}

#largePanel {
    width: 63%;
    background-color: var(--panelBackground);
    float: left;
    margin-left: 2%;
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

#largePanel img {
    width: 100%;
}

#largePanelContent {
    margin: 2%;
}

#largePanelContent:last-child {
    padding-bottom: 2%;
}

/* SECONDARY CONTENT*/

#smallPanel {
    width: 2%;
    background-color: var(--panelBackground);
    margin-left: 98%;
    text-align: center;
    overflow: auto;
    display: block;
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
}

#smallPanel input {
    width: 80%;
    padding: 2%;
    margin-bottom: 3%;
}

#smallPanel div {
    margin-left: 8%;
    text-align: left;
}

#smallPanel a {
    text-decoration: none;
    padding: 2%;
    background-color: var(--transparent);
    border-radius: 15px;
    color: var(--normalText);
    display: block;
    width: 88%;
    transition: all, 200ms;
    text-indent: 2%;
}

#smallPanel a:hover {
    background-color: var(--hoverColor);
    color: var(--buttonTextColor);
    transform: scale(1.1);
}

#smallPanel a:last-child {
    margin-bottom: 5%;
}


/* FOOTER */

#footer {
    background-color: var(--panelBackground);
    margin-bottom: 2%;
    margin-left: 2%;
    width: 96%;
    text-align: center;
    margin-top: 5vh;
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

#footer p {
    padding: 1%;
}

#footer div {
    padding: 1%;
}

#footer div:first-child {
    float: left;
    width: 49%;
}

#footer div:last-child {
    overflow: hidden;
}

/* Text definitions */

.heading {
	font-family: sans-serif;
	font-weight: bold;
	color: #36C;
}

.subHeading {
    font-family: sans-serif;
    font-weight:lighter;
    color: var(--lightText);
    font-size: 1.1em;
}

.standardParagraph {
    font-family: sans-serif;
    color: black;
    font-size: 1em;
    text-align: justify;
    padding: 1%;
}

/* Resizing */

@media only screen and (max-width: 1000px) {
    .navButton {
        padding: 0px 25px 0px 25px;
    }
}

@media only screen and (max-width: 700px) {
    #logo {
        box-shadow: none;
        margin: 0;
    }

    #largePanel {
      width: 100%;
      box-shadow: none;
      margin-left: 0;
    }

    #footer {
        margin: 0;
        box-shadow: none;
        width: 100%;
    }

    #footer div:first-child {
        width: 100%;
    }

    #footer p {
        padding: 3%;
    }

    #smallPanel {
        width: 100%;
        margin: 0;
        box-shadow: none;
    }
    .standardParagraph {
        padding: 0%;
    }
}

@media only screen and (max-width: 350px) {
    header {
        display: flex;
    }
    nav {
        float: left;
    }
}
