@import url('https://fonts.googleapis.com/css?family=Lato');
@import url('https://fonts.googleapis.com/css2?family=Signika:wght@300&display=swap');

@import 'dist/jquery.fancybox.css';

body{
    margin: 0;
    background-color: #fff;
    height: 100%;
    font-family: 'Lato', sans-serif, sans;
}
img{
    max-width: 100%;
    border: 0;
}
a{
    text-decoration: none;
}
h1{
    font-family: 'Signika', sans-serif;
    font-weight: 300;
    padding: 0 3vw;
    margin: 3vw 0 0 0;
}
a[href^="mailto:"]
{
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.container{
    background-color: #fff;
    color: #444;
    line-height: 1.8;
    padding: 3vw;
}
#map{
	height: 600px;
	max-height: 80vh;
    margin: 3vw auto;
}
.container a{
    color: #333;
}
.plan{
    display: block;
    margin: auto;
}
.ftb-widget{
    margin: 3vw auto;
}



@media only screen and ( min-width: 640px ) {

    .pictures{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        justify-items: center;
        gap: 10px;
    }
    .pictures > div {
        height: 150px;
        width: 100%;
        max-height: 500px;
    }
    .pictures > div > a img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }
}


@media only screen and ( min-width: 1025px ) {

    body{
        margin: 0;
        background-image: url('images/little-hope-beach.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
    }
    h1{
        color: #fff;
        width: max(900px,70%);
        margin: 3vw auto; 
        text-align: right; 
    }
    .container{
        margin: 0 auto 3vw auto;
        width: max(900px,70%);
        background-color: rgba(255,255,255,0.85);
        backdrop-filter: blur(7px);
        border-radius: 10px;
        box-shadow: 0 0 1em rgba(0,0,0,0.4);
    }
    .grid{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5vw;
    }
    .pictures{
        display: grid;
        grid-template-columns: repeat(auto-fill,minmax(calc(70px + 5vw), 1fr));
        grid-auto-rows: minmax(min-content, max-content); 
        justify-items: center;
        gap: 15px;
    }
    .pictures > div {
        width: 100%;
        max-height: 500px;
    }
    .pictures img{
        border-radius: 10px;
        box-shadow: 0 0 1em rgba(0,0,0,0.4);
        display: block;

    }
}

