@charset "utf-8";
@import url(http://fonts.googleapis.com/css?family=Exo:400,900|Open+Sans:400,800);

@media only screen and (max-width : 600px){.hide-on-small-only,.hide-on-small-and-down{display:none !important;}}
@media only screen and (max-width : 992px){.hide-on-med-and-down{display:none !important;}}
@media only screen and (min-width : 601px){.hide-on-med-and-up{display:none !important;}}
@media only screen and (min-width: 600px) and (max-width: 992px){.hide-on-med-only{display:none !important;}}
@media only screen and (min-width : 993px){.hide-on-large-only{display:none !important;}}
@media only screen and (min-width : 993px){.show-on-large{display:initial !important;}}
@media only screen and (min-width: 600px) and (max-width: 992px){.show-on-medium{display:initial !important;}}
@media only screen and (max-width : 600px){.show-on-small{display:initial !important;}}
@media only screen and (min-width : 601px){.show-on-medium-and-up{display:initial !important;}}
@media only screen and (max-width : 992px){.show-on-medium-and-down{display:initial !important;}}
@media only screen and (max-width : 600px){.center-on-small-only{text-align:center;}}

* {
	font-family: 'Exo', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	font-family: 'Exo', sans-serif;
    line-height: 1.6;
    padding: 5px;
    background: #a4a4a4;
}

header {
    background: #505566;
    color: #ffffff;
    padding: 0px 0px 0px;
    text-align: center;
	width: 100%;
	position: sticky;
	top: 0;
	border: 0px solid gray;
	border-radius: 5px;
}


nav ul {
    list-style: none;
	padding: 30px;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
	padding: 0px;
	
}

nav a:hover {
  color: #00989e;
}

/* selected link */
nav a:active {
  color: blue;
}

nav a.current{
	background-color: #303240;
	border: 0px solid gray;
	border-radius: 5px;
	padding: 20px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
}

.solid {
    border-style: solid;
	border-width: 5px;
	border-color: gray;
	border-radius: 5px;
}

tr {
    border-style: solid;
	border-width: 5px;
	border-color: gray;
	border-radius: 5px;
}

th {
    border-style: solid;
	border-width: 5px;
	border-color: gray;
	border-radius: 5px;
}
td{
    border-style: solid;
	border-width: 5px;
	border-color: gray;
	border-radius: 5px;
}
section {
    margin: 10px 0;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.portfolio-gallery {
    display: flex;
    flex-wrap: wrap;
}

.project {
    flex: 1 1 calc(33% - 20px);
    margin: 10px;
    text-align: center;
}

.project img {
    max-width: 40%;
    border-radius: 5px;
}

button {
    margin-top: 5px;
    padding: 15px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
button:hover {
    background: #555;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    margin-top: 10px;
    padding: 10px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

form button:hover {
    background: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .project {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .project {
        flex: 1 1 100%;
    }
}

/* Style Modal */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  border-radius: 5px;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #505566;
  color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #505566;
  color: white;
}