* {
    box-sizing: border-box;
}

body {
    margin: 0 0 0;
    display: flex;
    flex-direction: column;
}

/** BEGIN HEADER **/
header{
    margin: 0 0 0;
    padding: 0 0 10 0;
    background-image: url("../assets/373.jpg");
    background-size: cover;
    background-position: center;
}

/** BEGIN LOGO **/
.logo {
    text-align: center;
}

.logo img {
    width: 500px;
    height: auto;
    padding: 30 0 10 0;
    
}
/** END LOGO **/
/** END HEADER **/

/** BEGIN NAVBAR **/
nav {
    font-family: 'Raleway', sans-serif;
}

nav a{
    display: block; 
    color: #ffffff;
    text-align: center;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
}

nav ul {
    list-style-type: none;
    margin: 0 0 0;
    padding: 0;
    overflow: hidden;
    background-color: #606060;
}

nav li {
    display: inline;
    float: left;
}

nav li:last-child {
    border: none;
}

nav li a{
    width: 150px;
    font-size: 20px;;
}

nav li a:hover {
    background-color: #ff6f21;
}

nav li a.active {
    background-color: #21aaff;
}
/** END NAV **/

/** BEGIN CONTENT **/
.content {
    flex: 1 0 auto;
    height: 100%;
    text-align: center;
    margin-bottom: 100px;
}

#mainContent {
    margin: 0 10% 0 10%;
    font-family: 'Raleway', sans-serif;
    line-height: 1.6em;
    padding: 50 0 0 0;
}

.kidPic {
    width: 450px;
    height: auto;
    display: block;
    float: left;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-color: white;
    filter: drop-shadow(0 0 10px #21aaff);
    margin: 20px;
}

/*Eliminates padding, centers the thumbnail */

body, html {
padding: 0;
margin: 0;
text-align: center;
}

/* Styles the thumbnail */

a.lightbox img {
    width: 450px;
    height: 253px;
    display: block;
    float: left;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-color: white;
    filter: drop-shadow(0 0 10px #21aaff);
    margin: 20px;
}

/* Styles the lightbox, removes it from sight and adds the fade-in transition */

.lightbox-target {
    position:fixed;
    top: -100%;
    width: 100%;
    background: rgba(0,0,0,.7);
    width: 100%;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
    overflow: hidden;
    padding-top: 5%; 
}

.lightbox-target video {
    min-width: 400px;
    min-height: 225px;
    max-width: 1920px;
    max-height: 1080px;
    width: 75%;
    height: auto;
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox-target img {
margin: auto;
position: absolute;
top: 0;
left:0;
right:0;
bottom: 0;
max-height: 0%;
max-width: 0%;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
box-sizing: border-box;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Styles the close link, adds the slide down transition */

a.lightbox-close {
display: block;
width:50px;
height:50px;
box-sizing: border-box;
background: white;
color: black;
text-decoration: none;
position: absolute;
top: -80px;
right: 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:before {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:after {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */

.lightbox-target:target {
opacity: 1;
top: 0;
bottom: 0;
}

.lightbox-target:target img {
max-height: 100%;
max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
top: 0px;
}
/** END CONTENT **/

/** BEGIN FOOTER **/
footer {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    background-color: #606060;
    margin: 0 0 0;
    padding: 10px;
    flex-shrink: 0;
}

a {
    text-decoration: none;
    color: black;
    font-size: 12px;
}