/*
 Theme Name:   macbay Starter Theme
 Theme URI:    https://generatepress.com
 Description:  macbay digital starter theme (A GeneratePress child theme)
 Author:       Sascha Liem
 Author URI:   https://macbay.net
 Template:     generatepress
 Version:      0.9.11
 Changes:      clean-up dashboard widgets & replace site-wrapper
*/

/* Prevent full-width background images from stretching to the edges of ultra-wide screens */
/* Limits the full BODY and adds a bg- colour to the outer HTML */
html {
	background-color: var(--contrast, #000000 );
}
body{	
	width: 100%;
	max-width: 1920px;
	min-height: 100vh;
	margin-inline: auto;
	background-color: var(--base-3, #010101);
	overflow-x: clip;
}

/* Optimize Header for responsive screens */
/* The header background remains within the maximum body width */
.site-header .inside-header {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 3vw, 2rem);
	box-sizing: border-box;
}

/* Remove the bottom margin from the last paragraph in a GB container */
/* Frontend */
.gb-container > p:last-child {
	margin-bottom: 0;
}
/* Same as above, for the block-editor */
.block-editor-block-list__layout .gb-container > p:nth-last-child(2) {
	margin-bottom: 0;
}

/* HELPER UTILITY CLASSES - WCAG */
/* Visually Hidden - better than display:none */
.visually-hidden:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
/* No Underline (required, but not recomended due to WCAG)
.no-ul, .no-ul a {
	text-decoration: none;
} */

/* CSS FRAMEWORK */
