body {
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-weight: 300;
}

.mo-page-wrapper {
    height: 100%;
    width: 100%;
}

.mo-page-hero {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 1.5em;
    box-sizing: border-box;
    color: white;
    background: url('../img/porsche-1.jpg') center center no-repeat;
    background-size: cover;
    z-index: 1;
    overflow-y: auto;
}

.mo-page-hero:before {
    content: '';
    display: block;
    background: #141E30;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #243B55, #141E30);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #243B55, #141E30); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    opacity: 0.8;
    position: absolute;
}

.mo-page-hero > * {
    z-index: 3;
}

.mo-page-hero .mo-hero-content {
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.mo-hero-header > nav {
    display: flex;
    justify-content: space-between;
}

.mo-hero-header > nav > .mo-logo {
    text-decoration: none;
    display: flex;
    height: 100px;
}

.mo-hero-header > nav > .mo-logo > img {
    height: 100px;
    width: auto;
}

.mo-hero-header > nav > .mo-menu {
    text-align: right;
}

.mo-hero-header > nav > .mo-menu > a{
    text-decoration: none;
    color: #fff;
    letter-spacing: 0.1em;
    font-size: 0.8em;;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 10px;
}

.mo-hero-header > nav > .mo-menu > a:last-child {
    margin: 0;
}

.mo-button-primary {
    color: #fff;
    border: 3px solid #fff;
    border-radius: 3px;
    padding: 10px 40px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.9em;
    background: transparent;
    margin-top: 10px;
    text-align: center;
}

.mo-button-danger {
    color: red;
    border: 3px solid red;
    border-radius: 3px;
    padding: 10px 40px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.9em;
    background: transparent;
    margin-top: 10px;
    text-align: center;
}


.mo-hero-content > .mo-hero-title {
    text-align: center;
    font-family: 'Bebas Neue', Arial;
    letter-spacing: 0.1em;
    font-size: 3.2em;
}

.mo-hero-content > .mo-sub-title {
    font-family: 'Roboto', Arial;
    font-size: 1.3em;
    font-weight: 300;
}

.mo-hero-content > .mo-content {
    text-align: left;
	font-family: 'Roboto', Arial;
    font-size: 0.8em;
    font-weight: 300;
}

.mo-hero-content > .has-error {
    color: red;
    text-align: center;
}
.mo-hero-content > .mo-input-field {
	color: #fff;
    border: 3px solid #fff;
    border-radius: 3px;
    padding: 10px 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.9em;
}

.mo-hero-content > .mo-select-field {
	color: #fff;
    border: 3px solid #fff;
    border-radius: 3px;
    padding: 10px 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.9em;
}

.mo-hero-content > .mo-social-links {
    margin-top: 20px;
    display: inline-flex;
}

.mo-hero-content > .mo-social-links > .mo-social-link > img {
    height: 20px;
    width: auto;
    fill: #fff;
    filter: invert(1);
}

.mo-hero-content > .mo-social-links > .mo-social-link {
    margin-right: 15px;
}

.mo-hero-content > .mo-social-links > .mo-social-link:last-child{
    margin-right: 0;
}

.mo-form-row {
    padding: .5em;
}

.mo-form-row > input,
.mo-form-row > button {
    padding: .5em;
}
.mo-form-row > button {
    background: #fff;
    color: white;
    border: 3px solid #fff;
    border-radius: 3px;
}

.mo-help-block {
    color: white;
    margin-bottom: 5px;
    font-size: 0.9em;
}
.mo-copyright {
    font-size: 0.9em;
}

.mo-login-form {
    display: flex;
    flex-direction: column;
    width: 300px;
    background: rgba(0, 0, 0 ,0.3);
    padding: 20px;
    border-radius: 2px;
}

.mo-login-form input {
    width: 100%;
    padding: 5px;
}

.mo-login-form input.has-error {
    color: red;
    border-color: red;
}

.mo-user-form {
    display: flex;
    flex-direction: column;
    width: 400px;
    background: rgba(0, 0, 0 ,0.3);
    padding: 20px;
    border-radius: 2px;
}

.mo-user-form input {
    width: 100%;
    padding: 5px;
}

.mo-user-form select {
    width: 100%;
    padding: 7px;
    margin-bottom: 5px;
}

.mo-user-form input.has-error {
    color: red;
    border-color: red;
}

.mo-photo-form {
    display: flex;
    justify-content: center;
    background: white;
    transition: 0.5s;
    padding: 2%;
    border-radius: 2px;
    text-align: center;
    margin-top: 30px;
    color: white;
    height: 100%;
    max-width: auto;
    max-height: auto;
    height: auto;

}

.mo-photo-cards {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 auto;
    z-index: 2;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.mo-photo-cards img {
    margin: 10px;
    max-width: 25vw;
    transition: transform 0.2s;
    background: white;
    padding: 1%;
}

.mo-photo-cards img:hover {
    /* transform: scale(1.1, 1.1); */
    width: 100%;
    height: auto;
}

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    /*z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  }
  
  /* Position the content inside the overlay */
.overlay-content {
        position: relative;
        z-index: 1;
        padding: 3%;
        top: 10%;
        height: 100%;
        text-align: center;
        /* margin-top: 30px; */
  }
  
  /* The navigation links inside the overlay */
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
  }
  
  /* When you mouse over the navigation links, change their color */
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  /* Position the close button (top right corner) */
  .overlay .closebtn {
    position: absolute;
    top: 30px;
    right: 20px;
    font-size: 60px;
}

  .overlay img {
    /* display: flex; */
    justify-content: top;
    background: white;
    transition: 0.5s;
    padding: 2%;
    border-radius: 2px;
    text-align: center;
    /* margin-top: 30px; */
    color: white;
    /* height: 100%; */
    max-width: auto;
    max-height: auto;
    /* height: auto; */
}
  

@media screen and (max-width: 992px) {
    .mo-hero-content > .mo-hero-title {
        font-size: 2.5em;
    }
    .mo-hero-content > .mo-sub-title {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 480px) {
    .mo-hero-content > .mo-hero-title {
        font-size: 2em;
    }
    .mo-hero-content > .mo-sub-title {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 240px) {
    .mo-hero-content > .mo-hero-title {
        font-size: 1.7em;
    }
    .mo-hero-content > .mo-sub-title {
        font-size: 1em;
    }
}
