/* Nagelstudio Boxmeer */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,400i,700,700i|Playball');
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

body {
	margin:0;
	padding:0;
	height: 100%;
}

body, div, span, blockquote, pre,
a, abbr, acronym, address, cite, code,
del, dfn, em, ins, kbd, q, s, samp,
strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details,
footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark {
    font-family:  "Montserrat", Arial, Verdana, sans-serif;
    font-size: 1.0em;
    font-size: 16px;
}

body {
    line-height: 1.7;
    background: #fff;
	color: #000;
    overflow-x: hidden;
    overflow-y: auto;
    background-image: url('background.jpg');
    background-attachment: fixed;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
}

/* Body fade in */
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* End body fade in */

a {
    text-decoration: none;   
    outline: 0;
    color: #f99;
}
a:hover {
    color: #c66;
}

/* Title / logo CSS */
#title {
    width: 100%;
}

#title h1 {
    width: 100%;
    font-family: "Playball", cursive;
    font-size: 6em;
    text-align: center;
    /*text-shadow: 2px 2px 2px #aaa;*/
	color:  #f99;
    background-image: -webkit-linear-gradient(92deg,#ff9999,#cc6666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: hue 60s infinite linear;
}

.logo {
    float: top;
    width: 140px;
    height: 65px;
}

object.logo svg g path {
    fill: #c66;
}

/* Content CSS */
#content {
	opacity: 0.9;
    float: right;
    margin-bottom: 5%;
	margin-right: 2%;
	right: 5%;
	bottom: 5%;
	width: 400px;
	min-width: 322px;
	background: #fff;
	padding: 1em;
	border-radius: 3px;
	box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.30);
	max-width: 90%;
	box-sizing: border-box;
}

#content .intro h1,
#content .opentimes h1,
#content .prices h1 {
    font-size: 1.5em;
    line-height: 1;
	font-weight: 400;
	color:  #f99;
}

#content .intro,
#content .opentimes,
#content .footer {
	margin: 1em 0;
}

#content .intro p + p {
    margin: 1em 0;
}

/* Content Opening times CSS */
#content .opentimes table tr td {
    font-size: 100%;
    padding-left: 2px;
    padding-right: 2px;
}

#content .opentimes table tr td:first-child {
    text-align: right;
}

/* Content Footer CSS */
#content .footer .icon #icon-location {
	width: 7px;
	height: 15px;
}

#content .footer .icon {
	width: 15px;
	height: 15px;
	vertical-align: middle;
}

#content .footer .address table tr td:first-child,
#content .footer .social table tr td:first-child {
    padding: 0 0.5em;
}

#content .footer a:hover {
	color: #c66;
}

/* Prijslijst CSS */
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    overflow-y: auto;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 15px auto;
    border-radius: 5px;
    width: 45%;
    /* position: relative; */
    padding-top: 2em;
    transition: all 5s ease-in-out;
}

.popup .close-pricelist {
    position: absolute;
    top: 2%;
    right: 2%;
    transition: all 200ms;
    font-size: 2em;
    font-weight: bold;
    text-decoration: none;
    color: #900;
}

.popup .close-pricelist:hover {
    color: #f66;
}

/* Adjusted layout for smaller screens */
@media screen and (max-height: 768px) {
	body {
        padding: 1em 0;
    }
    #title h1 {
        font-size: 3em;
    }

    .logo {
        float: top;
        margin: 0px;
        width: 110px;
        height: 51px;
    }
    
    #content {
        margin-left: 65%;
    }

    .popup {
        width: 80%;
    }
}

/* Alternative layout for mobile devices */
@media screen and (orientation:portrait) {

    body {
        padding: 1em 0;
        background-position: center;
    }
    
    #title h1 {
        font-size: 2em;
    }

    .logo {
        float: top;
        margin: 0px;
        width: 50px;
        height: 23px;
    }
    
    #content {
        float: none;
	position: relative;
	bottom: auto;
	left: auto;
	right: auto;
	width: 75%;
        top: 20%;
	margin: 1em auto;
    }
	
    .popup {
        width: 100%;
    }

    .popup .close-pricelist {
        top: 1%;
    }
}
