@import url('http://fonts.googleapis.com/css?family=Quicksand:300');

body {
        margin: 30px;
        font-family: quicksand;
        background: #ffffff;
        justify-content: center;
}

header {
    max-width: 1200px;
    
    margin: 40px auto 40px auto;
}

a {
    text-decoration: none;
    margin-bottom: 0;
    color: black;
}

ul, li {
    padding: 0;
    list-style-type:circle;
}

h1 {
    color: black;
    font-size: 56px;
    font-weight: lighter;
    margin: 10px;
}

h2 {
    font-size: 16px;
    font-weight: lighter;
}

p {
    color: #828b8a;
    text-align: justify;
    padding: 0;
    font-size: 16px;
    
}

footer {
    max-width: 1300px;
    margin: 20px auto;
    text-align: center;
}

form {
    text-align: right;
    max-width: 1300px;
    margin: 20px auto 0 auto;
    
}

input {
   
}

.title_box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 20px auto 40px auto;
    width: 500px;
    text-align: center;
}

.title_box h1 {
    grid-column: span 4;   
}

.title_box h2 {
    color: black;
    font-size: 16px;
    padding: 0;
    margin: 0 0 10px 0;
    font-weight: lighter;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    margin: 25px auto 0 auto;
    max-width: 1300px;
    grid-auto-flow: dense;
    gap: 25px;
    }

.gallery div {
    border-radius: 10px;
    position: relative;
}
.gallery img {
    width: 100%;
    display: block;
    border-radius: 10px;
    
    }

.gallery video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 5px 5px 5px #dce2e2;
    }    





.landscape { /* landscapes 3:2, portraits 1.374:1 this sizes
    and trims landscaped images to fit grid - applys to a div wrapper*/
    grid-column: span 2;
   
    overflow: hidden;
    
   
}

.blur_link {
    overflow: hidden;
    
}

.blur_link div {
    top:40%;
    position: absolute;
    height: auto;
    margin: auto;
    width: 100%;
    text-align: center;
    font-size: 46px;
    color: #ffffff;
    visibility: hidden;
}

.blur_link div > h1, .blur_link div > h2 {
    
    color: #ffffff;
    
}

.blur_link:hover img {
    filter: blur(10px);
    
}

.blur_link:hover  div {
    visibility: visible;
    
}



.info_box  h1  {
    margin: 10px 0 15px 0;
    font-size: 42px;
}

.info_box > h2  {
    border-bottom: 1px solid #828b8a;
    padding: 10px 0;
    color:  #828b8a;
    font-weight: lighter;
    font-size: 20px;
    margin: 0px 0;
    
}

.info_box { 
    padding: 20px x;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    

    
}

.info_wrapper {
    
    overflow-y: ; /* Enables scrolling when items exceed height */
    
}

#about {
    padding: px;
}

@media screen and (max-width:1310px) {
    .info_box {
        height: 460px;

}

@media screen and (max-width:980px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .landscape { /* returns landscape images to single column
    so they don't disapear*/
        grid-column: span 1;
    }
    .title_box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 20px auto;
    width: 100%;
    text-align: center;
    }
     .title_box a {
        font-size: 32px;
    }
    h1 {
    margin-bottom: 25px;
    }
    .info_box h2 {
   font-size:32px ;
    }
   
    .info_box h1 {
        font-size: 40px;
    }
    .info_box {
        height: auto;
    }

    .info_wrapper p {
        font-size: 28px;
    }

}

@media screen and (max-width: 510px ){
    
   
    
}