/* Corporate Theme ------------------------*/

@font-face {
    font-family: OCR A;
    src:url("../fonts/ocraext.ttf");
}

html {

    --dark-gray:#555555;  
    --button-hover: rgb(0, 216, 255);
    --nav-bkgd-color:#1B1464;
    --light-green:#54FF54;
    --button-color:#5555FF;
    --nav-hover-color:#00FFFF;
    --light-orange:#ffd87a;
    --project-head:#114dbe;
    --medium-green:#4e9b1d;
}



/* Universal styles -----------------------*/

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.hero {
    width: 25%;
    float: left;
    margin-right: 20px;
    text-wrap: normal;
}

body {
    margin: 0;
    font-family: 'Arial', serif;
    background-color: #fff;
}

.container {
    margin: auto;
    width: 85%;
}

.apps {
    max-width: 150px;
    margin-right: 3%;
}

.short-text {
    display: none;
}

/* Typography -----------------------------*/

.banner h1 {
	font-size: 500%;
	color: #ffff9f;
	padding-top: 20px;
	text-align: center;
	text-shadow: 4px 4px var(--dark-gray);
	clear: both;
}


/* Navigation -----------------------------*/

header {
    width: 100%;
    height: 120px;
    position: fixed;
    top: 0px;
    z-index: 1;
    background-color: var(--nav-bkgd-color);
    border-bottom: 8px solid var(--light-green);
}

.brand {
    float: left;
    background: url(../img/logo/logo-dark.svg) no-repeat left;
    padding: 60px 0;
    width: 130px;
    background-size: contain
}

menu {
    float: right;
}

.topnav {
    overflow: hidden;
}

.topnav .icon {
    display: none;
    font-size: 40px;
}

.topnav a {
    display: inline-block;
    color: #0099FF;
    text-align: center;
    text-decoration: none;
    font-family: ocr a;
    font-size: 35px;
    text-shadow: 2px 2px black;
    padding: 20px 17px;
}

.topnav a:hover{
    color: var(--nav-hover-color);
    transition: background-color 1s, transform 1s;
}


/* Content Areas --------------------------*/

.centercontent {
	text-align: center;
	font-size: 180%;
	padding: 30px 12%;
}

.aboutSection {
	text-align: left;
	font-size: 180%;
	padding: 30px 12%;
}

.projectSection {
	text-align: center;
	font-size: 180%;
	padding: 30px 12%;
}

.contactSection {
	text-align: center;
	font-size: 180%;
	padding: 30px 12%;
}

.projectDescription {
	text-align: left;
	font-size: 180%;
	padding: 30px 12% 80px;
}

.centercontent {
	background-color: var(--light-orange);
}

.centercontent>button {
	font-size: 150%;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	padding: 12px 24px;
	background: var(--button-color);
}

.centercontent>button a {
	color: #fff;
	text-decoration: none;
}

.centercontent>button:hover {
	background: var(--nav-hover-color);
	color: #fff;
	text-decoration: none;
}

p {
	color: var(--project-head);
	font-family: 'Century Gothic', sans-serif;
	width: 90%;
	margin: 20px auto;
	font-size: 110%;
	line-height: 150%;
}

#about>h1, #contact>h1, #projects>h1 {
	width: 100%;
	text-align: center;
	border-top: 10px solid var(--light-orange);
	margin-top: 120px;
	padding-top: 20px;
	color: var(--medium-green);
}

/* Portfolio -------------------------------*/

.projectSection {
	display: flex;
	flex-wrap: wrap;
}

.project-card {
	padding: 2%;
	flex-grow: 2;
	flex-basis: 20%;
	border: 4px solid var(--nav-hover-color);
	margin: 1.3%;
	background-color: white;
	transition: background-color 1s, transform 1s;
}

.project-card:hover {
	background-color: var(--light-orange)
}

.project-image img {
    max-width: 100%;
    max-height: 250px;
}

.project-info {
	margin-top: auto;
	text-align: center;
}

.project-info h1 {
	font-size: 80%;
    	margin: 10px;
	line-height: 110%;
	color: var(--project-head);
}

.project-info h2 {
    margin: 10px;
    line-height: 110%;
	color: var(--medium-green);
}

.project-info button {
	font-size: 110%;
	display: inline-block;
	font-family: ocr a;
	text-align: center;
	vertical-align: middle;
	padding: 5px 10px;
	background: var(--button-color);
	color: #fff;
   	cursor: pointer;
	text-decoration: none;
}

.project-info button:hover {
	background: var(--button-hover);
	color: #fff;
	text-decoration: none;
}

.backnextButtons {
   width: 100%;
   margin-top: 30px;
   margin-bottom: 30px;
   float: right;
}

.backButton {
    width: 25%;
    height: 60px;
    margin-right: 10%;
    font-family: ocr a;
    font-size: 180%;
    color: white;
    background-color: orange;
    cursor: pointer;
}

.backButton:hover {
   background-color: var(--light-orange);
}

.viewallButton {
    width: 25%;
    height: 60px;
    margin-right: 10%;
    font-family: ocr a;
    font-size: 180%;
    color: white;
    background-color: var(--button-color);
    cursor: pointer;
}

.viewallButton:hover {
   background-color: var(--button-hover);
}

.nextButton {
    width: 25%;
    height: 60px;
    font-family: ocr a;
    font-size: 180%;
    color: white;
    background-color: var(--medium-green);
    cursor: pointer;
}

.nextButton:hover {
   background-color: var(--light-green);

}


/* Contact Form ---------------------------*/

.contactSection {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-wrap: wrap;
}

.contactSection>form {
	width: 80%;
	margin: auto;
}

input[type=text], select, textarea {
	width: 90%;
	font-size: 20px;
	padding: 20px;
	border: 6px solid var(--light-green);
	margin: 12px 0;
}

textarea {
	scroll-behavior: auto;
}

button[type=submit] {
	font-size: 20px;
	background-color: var(--button-color);
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

button[type=reset] {
	font-size: 20px;
	background-color: var(--button-color);
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

button[type=submit]:hover {
	background-color: var(--button-hover);
}

button[type=reset]:hover {
	background-color: var(--button-hover);
}

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

@media screen and (max-width: 1500px) {
    .centercontent, .aboutSection, .projectSection, .contactSection {
	padding: 30px 4%;
    }
}

@media screen and (max-width: 1150px) {

    .project-card {
        flex: 1 30%;
    }

    .topnav a {
	font-size: 25px;
	padding: 32px 17px;
    }

    .apps {
	max-width: 130px;
	margin-right: 2%;
    }
    
}
@media screen and (max-width: 955px) {

    .centercontent, .aboutSection, .projectSection, .contactSection {
	padding: 30px 2%;
    }

    .contactSection>form {
	   width: 100%;
	   margin: auto;
    }

    .banner {
        float: left;
    }
    
    .projectDescription {
	padding: 0px 2% 80px;
    }

    header {
	height: 70px;
    }

    .brand {
	padding: 35px 0;
    }

    .topnav a{
        display: none;
        padding: 4px 10px;
    }

    .topnav a.icon {
        float: right;
        display: block;
        font-size: 30px;
    }

    .topnav.dropdown {
        background-color: var(--nav-bkgd-color);
        transition: .2s;
        padding-bottom: 20px;
    }
    
    .topnav.dropdown .icon {
        position: relative;
        right: 0;
        top: 0;
    }
    
    .topnav.dropdown a {
        float: none;
        display: block;
        text-align: right;
    }

    .backButton {;
	width: 20%;
	margin-right: 5%;
   }

    .viewallButton {
	width: 40%;
	margin-right: 5%;
    }

    .nextButton {;
	width: 20%;
	margin-right: 5%;
   }

    .apps {
	max-width: 100px;
	margin-right: 1%;
    }
}

@media only screen and (max-width: 768px) {
    .banner h1 {
	font-size: 300%;
	line-height: 110%;
    }

    .apps {
	max-width: 80px;
	margin-right: 1%;
    }

    @media (max-width: 1200px) {
	.short-text { display: inline-block; }
	.full-text { display: none; }
    }

    .project-card {
	flex: 1 50%;
    }

    .brand {
	width: 200px;
    }
}