@charset "UTF-8";
/* CSS Document */
@import "boilerplate_flex.css";
body{
    background-color:#000;
    color:#CCC;
    font-family: 'Roboto', sans-serif;
}
header{
    background-color:#3C3C3C;
}
h1{
    font-family: 'Waiting for the Sunrise', cursive;
    font-size:4em;
    font-weight: normal;
    line-height:3;
}
main, h1, nav{
    max-width:1200px;
    margin:0 auto;
    padding:0 1%;
}
nav ul{
    list-style-type: none;
    display:flex;
    justify-content:space-between;
    padding-bottom:1em;
}
nav li{
    font-size:2em;
    padding-right:10%;
}
nav li:last-child{
    margin-left:auto;
    padding-right:0;
}
p{
    font-size: 1.1em;
    line-height:1.5;
}
a{
    color:#CCC;
    text-decoration: none;
    font-family: 'Waiting for the Sunrise', cursive;
}
section{
    display:flex;
    padding:2em 0;
}
section div{
    flex:1;
}
img{
    border:solid 1px #CCC;
}
.photo1{
    width:80%;
    margin-top:2em;
}
.text1 div:first-child{
    padding-right:2%;
}
.gallery div:nth-child(2){
    padding:0 4%;
}
.gallery{
    align-items:flex-end;
}
h2{
    font-size: 1.2em;
}
.text2{
    font-size:14px;
    margin:0 0 2em;
}
.text2 img{
    width:33%;
    float:left;
    border:solid 1px #777;
    margin-right:1%;
}
.text2>div:last-child{
    margin-left:2%;
    align-self:center;
}
.video{
    position: relative;
    padding-bottom: 56.25%; 
    padding-top: 35px;
    height: 0;
    overflow: hidden;
    border:solid 1px #CCC;
}
.video iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer{
    background-color:#3C3C3C;
    display:flex;
    justify-content:space-evenly;
    padding:200px 0;
}
footer a{
    font-size: 2.2em;
}
@media screen and (max-width:800px){
    .photo1{
        width:100%;
    }
    .text2{
        flex-direction:column;
    }
    .text2>div:last-child{
        margin-left:0;
        align-self:stretch;
    }
}
@media screen and (max-width:650px){
    nav li{
        font-size:1.5em;
        padding-right:0;
    }
    nav li:last-child{
        margin-left:0;
    }
    .text1, .gallery, footer{
        flex-direction:column;
    }
    footer{
        text-align:center;
        padding:100px 0;
    }
    .gallery{
        align-items:center;
    }
    .gallery div:nth-child(2){
        padding:0;
    }
}
@media screen and (max-width:400px){
    h1{
        font-size:3em;
        text-align:center;
    }
    nav ul{
        flex-direction:column;
    }
    nav li{
        text-align:center;
        font-size:2em;
    }
    .text2 img{
        float:none;
        width:100%;
    }
}