/* The Header Styles */

.header {
    position: fixed;
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-color-green);
    box-shadow: 0px 5px 10px rgba(0,0,0, 0.5);
    z-index: 10;
}

/* Effects Text and Links */
.header a.logo {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 4px;
}
.header p {
    float: right;
    font-size: 25px;
    text-align: center;
    padding: 50px;
    line-height: 65px;
}

.header p:hover {
    font-size: 35px;
    transition: font-size 0.5s;
}

/* The Company Logo */
.header a.logo {
  font-size: 25px;
  font-weight: bold;
  margin: 1rem;
}

.header a.logo img {
    object-fit: cover;
    border-radius: 5px;
}

/* Banner */
.banner {
    width: 100%;
    height: 800px;
    object-fit: cover;
    opacity: 0.9;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
}

/* The Form Section */

.form-container div {
    padding: 10px;
    text-align: center;
    flex: 50%;
    padding-top: 50px;
}

/* About Me Elements */
.aboutme-container img {
    object-fit: cover;
    border-radius: 5px;
}

.aboutme-container div {
    margin: auto;
    width: 500px;
    height: 100px;
    background-color: var(--secondary-color-darkblue);
    color: white;
    border-radius: 5px;
}

.aboutme-container div p {
    text-align: center;
    margin: auto;
}

/* Form Elements*/

.form-header {
    width: 400px;
    height: 100px;
    background-color: var(--primary-color-green);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin: auto;
}

.form-header p{
    text-align: center;
}

.head-paragraph {
    margin-top: -38px;
}

.body-paragraph {
    font-size: xx-large;
}

.form-body {
    width: 400px;
    height: 500px;
    background-color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin: auto;
}

.form input {
    height: 30px;
    margin-top: 15px;
}

.submit-form-button {
    width: 250px !important;
    height: 50px !important;
    color: white;
    font-size: large;
    border: 2px solid black;
    border-radius: 5px;
    background-color: var(--secondary-color-orange);
}

/* Title Bar */

.title-bar {
    margin-top: 50px;
    padding: 75px;
    background-color: var(--secondary-color-darkblue);
}

.title-bar p {
    color: white;
    text-align: center;
    font-size: xxx-large;
}


/* Gallery Page */

.gallery-container {
    display: flex;
    flex-direction: column;
    height: 1500px;
    width: 100%;
}

.gallery-element {
    display: flex;
    flex-direction: row;
    margin: auto;
    width: 70%;
    height: 350px;
    border-radius: 10px;
    background-color: var(--secondary-color-darkblue);
}

.gallery-element img {
    width: 400px;
    height: 90%;
    object-fit: cover;
    border-radius: 5px;
}

.gallery-element div {
    display: flex;
    width: 500px;
    height: 90%;
    border-radius: 5px;
}

.gallery-element div p {
    margin: auto;
    text-align: center;
}

.gallery-set {
    margin: auto;
}

/* Footer */
.footer {
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-color-green);
    z-index: 10;
}

.footer img {
    float: left;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px; 
    line-height: 25px;
     border-radius: 5px;
     object-fit: cover;
}

.footer div {
    margin: auto;
}

/* Adjustments for Screen Resolutions */

@media screen and (max-width: 500px) {

/* Mobile Header */
  .header a {
    float: none;
    display: block;
    text-align: left;
  }

  .header p {
    float: none;
    text-align: left;
    padding: 5px;
  }

  .header a.logo img {
    object-fit: cover;
    width: 100px;
    height: 100px;
}
  
  .header-right {
    float: none;
  }

/* Mobile Banner */
.banner {
    display: none;
}

/* Mobile Form Layout */

.form-container {
    flex: 100%;
}

.aboutme-container img {
    margin: 0;
    object-fit: cover;
    width: 300px;
    height: 200px;
}

.aboutme-container p {
    object-fit: cover;
    width: 300px;
    height: 100px;
}

.form-header {
    width: 95%;
}

.form-body {
    width: 95%;
}

.form div {
    margin-top: -40px;
}

.form div input {
    margin: 5px;
    width: 100%;
}

/* Mobile Gallery Elements*/
.gallery-element {
    width: 90%;
    height: 200px;
}
.gallery-element img, .gallery-element div {
    width: 150px;
    height: 90%;
    font-size: x-small;
}

}