/*
Theme Name: HappyCakes
Theme URI: 
Author: Bakkerij Voncken - Bart
Author URI: https://bakkerijvoncken.nl
Description: Custom theme for HappyCakes
Version: 1.0
Tested up to: 6.6
Requires at least: 3.5
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Custom

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/




/* =Reset
-------------------------------------------------------------- */

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%;
	vertical-align: baseline;
}
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;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
/*	outline: thin dotted;*/
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}

body.home h1.entry-title{
	visibility: hidden;
	display: none;
}

.hidden{
	visibility: hidden;
	display: none;
}


.wp-block-group{
/*	margin-bottom: 20px;*/
	margin-bottom: 6em;
}

/* Fonts
-------------------------------------------------------------- */

/*// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 300 to 800

.open-sans-<uniquifier> {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}*/

@font-face {
    font-family: 'Playlist';
    src: url('https://www.happy-cakes.nl/wp-content/themes/twentytwelve/fonts/Playlist-Script.eot');
    src: url('https://www.happy-cakes.nl/wp-content/themes/twentytwelve/fonts/Playlist-Script.eot?#iefix') format('embedded-opentype'),
        url('https://www.happy-cakes.nl/wp-content/themes/twentytwelve/fonts/Playlist-Script.woff2') format('woff2'),
        url('https://www.happy-cakes.nl/wp-content/themes/twentytwelve/fonts/Playlist-Script.woff') format('woff'),
        url('https://www.happy-cakes.nl/wp-content/themes/twentytwelve/fonts/Playlist-Script.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body{
	font-family: "Open Sans", sans-serif;
	line-height: 1.5;
}

h1{
	color: #de787e;
}

/* Header
-------------------------------------------------------------- */

.site-header{
	position: fixed;
	width: 100%;
	z-index: 1;
	background-color: #fff;
	padding: 10px;
}

hgroup{
	float: left;
}

.site-logo img{
	width:180px;
}

.main-navigation{
	float: right;
}


/* Algemene styling voor de menu */
.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Styling voor menu-items */
.nav-menu > li {
    position: relative; /* Zorgt ervoor dat de sub-menu absoluut gepositioneerd kan worden ten opzichte van dit item */
    display: inline-block; /* Zorgt ervoor dat de menu-items horizontaal naast elkaar staan */
}

/* Styling voor menu-links */
.nav-menu > li > a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
}

/* Hover-effect voor hoofdmenu-items */
.nav-menu > li:hover > a {
    background-color: #ddd;
}

/* Styling voor sub-menu (dropdown) */
.sub-menu {
    display: none; /* Verbergt het submenu standaard */
    position: absolute; /* Plaatst het submenu absoluut ten opzichte van het hoofdmenu-item */
    top: 100%; /* Zorgt ervoor dat het submenu direct onder het hoofdmenu-item verschijnt */
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    z-index: 1000; /* Zorgt ervoor dat het submenu boven andere elementen komt */
}

/* Styling voor sub-menu-items */
.sub-menu li {
    display: block; /* Zorgt ervoor dat de sub-menu-items verticaal gestapeld worden */
}

/* Styling voor sub-menu-links */
.sub-menu li > a {
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
}

/* Hover-effect voor sub-menu-items */
.sub-menu li:hover > a {
    background-color: #ddd;
}

/* Toon het submenu bij hover over het hoofdmenu-item */
.nav-menu > li:hover .sub-menu {
    display: block;
}



/* Main
-------------------------------------------------------------- */
.wrapper{
	max-width: 1280px;
	width:100%;
	margin: 0 auto;
}

.entry-content .wp-block-gallery{
	margin-bottom: 6em;
}

h1{
	font-family: 'Playlist';
	font-size:3.8em;
	font-weight: normal;
	margin-bottom: 0.5em;
}

.site-content{
	margin-top:104px;
}

.possibilities a{
	scale: 1;
	display: block;
	-webkit-transition: all .1s;
    -moz-transition: all .1s;
    transition: all .1s;
}


.possibilities a:hover{
	scale: 1.05;
}



/* Footer
-------------------------------------------------------------- */

.appointment:before{
	background-color: #e7a1c7;
	background-image: url(https://www.happy-cakes.nl/wp-content/themes/twentytwelve/images/heart_pattern.webp);
	background-blend-mode: soft-light;
	background-repeat: repeat;
	content: "";
	-webkit-transform: rotate(10deg);
    -moz-transform: rotate(10deg);
    position: absolute;
    width:200%;
    height: 200%;
    left:-50%;
    top:-50%;
    z-index: -1;
    opacity: 15%;
}

.appointment{
	position: relative;
	background-color: #e7a1c7;
	padding:40px;
	z-index: 0;
	overflow: hidden;
}

.appointment h1{
	color: #fff;
	text-align: center;
}






/* =Media queries
-------------------------------------------------------------- */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See https://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {
	
}

/* Minimum width of 960 pixels. */
@media screen and (min-width: 960px) {
	body {
		background-color: #fff;
	}
	
}


/* =Print
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		color: #000;
		font-size: 10pt;
	}
	footer a[rel=bookmark]:link:after,
	footer a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}
	a {
		text-decoration: none;
	}
	.entry-content img,
	.comment-content img,
	.author-avatar img,
	img.wp-post-image {
		border-radius: 0;
		box-shadow: none;
	}
	.site {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}
	.site-header {
		margin-bottom: 72px;
		margin-bottom: 5.142857143rem;
		text-align: left;
	}
	.site-header h1 {
		font-size: 21pt;
		line-height: 1;
		text-align: left;
	}
	.site-header h2 {
		color: #000;
		font-size: 10pt;
		text-align: left;
	}
	.site-header h1 a,
	.site-header h2 a {
		color: #000;
	}
	.author-avatar,
	#colophon,
	#respond,
	.commentlist .comment-edit-link,
	.commentlist .reply,
	.entry-header .comments-link,
	.entry-meta .edit-link a,
	.page-link,
	.site-content nav,
	.widget-area,
	img.header-image,
	.main-navigation {
		display: none;
	}
	.wrapper {
		border-top: none;
		box-shadow: none;
	}
	.site-content {
		margin: 0;
		width: auto;
	}

	.entry-header .entry-title,
	.entry-title {
		font-size: 21pt;
	}
	footer.entry-meta,
	footer.entry-meta a {
		color: #444;
		font-size: 10pt;
	}
	.author-description {
		float: none;
		width: auto;
	}

	/* Comments */
	.commentlist > li.comment {
		background: none;
		position: relative;
		width: auto;
	}
	.commentlist .avatar {
		height: 39px;
		left: 2.2em;
		top: 2.2em;
		width: 39px;
	}
	.comments-area article header cite,
	.comments-area article header time {
		margin-left: 50px;
		margin-left: 3.57142857rem;
	}
}
