/*
Theme Name: Standata
Author: Bonnie & Byte
Author URI: https://bonniebyte.com
Theme URI: https://bonniebyte.com
Tags: full-site-editing, block-patterns
Text Domain: standata
Requires at least: 6.1
Requires PHP: 7.4
Tested up to: 6.2
Version: 1.0.6


*/

/* Styles intended only for the front.*/

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('assets/fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-300 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 300;
	src: url('assets/fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
		 url('assets/fonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
/* roboto-300italic - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 300;
	src: url('assets/fonts/roboto-v30-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
		url('assets/fonts/roboto-v30-latin-300italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	src: url('assets/fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
		url('assets/fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 1.2em;
	line-height: 1.5;
}

.alignfull > * {
	padding-left: 1rem;
	padding-right: 1rem;
}

h1, h2 {
	line-height: 1.2;
}

h2 {
	font-size: 2.6em;
	font-weight: 700;
}

h1 {
	font-size: 2.8em;
}

body:not(.home) h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
	color: var(--wp--preset--color--primary);
}

main {
	margin-top: 90px !important;
}

body:not(.home) main {
	margin-top: 120px !important;
}

.site-header {
	box-shadow: 0 0 6px 0 #00000096;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
}

#primary-menu, #meta-menu {
	list-style: none;
	display: flex;
	gap: 2em;
	font-weight: 400;
	padding: 0;
}

#primary-menu a, #meta-menu a {
	text-decoration: none;
}

#meta-menu a {
	color: #fff;
}

.home main {
	padding-bottom: 0 !important;
}

.home footer {
	margin-top: 0;
}

.home-header h2 {
	text-transform: uppercase;
}

.home-header h2:first-child {
	margin-bottom: 2em;
}

.two-columns {
	columns: 2;
	gap: 2em;
}

section {
	padding-top: 3em;
	padding-bottom: 3em;
}

.c-accordion__item {
	border-bottom: 1px solid #999;
}

.c-accordion__item:first-child {
	border-top: 1px solid #999;
}

.c-accordion__title:after {
	color: var(--wp--preset--color--primary) !important;
	font-size: 2em;
}

.logos figure {
	border: 1px solid #999;
	transition: all .3s;
}

.logos figure:hover {
	background-color: var(--wp--preset--color--primary);
}

.logos figure img {
	mix-blend-mode:	multiply;
}

footer {
	font-size: 1rem;
}

.wp-block-site-logo {
	margin-left: 10px !important;
}

@media screen and (max-width: 910px) {

	.standata-header {
		flex-direction: column;
		align-items: center;
		gap: 1em !important;
	}

	.wp-block-site-logo {
		margin-left: 0px !important;
	}

	#primary-menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 1em;
		margin-bottom: 0;
		margin-top: 0;
	}

	.two-columns {
		columns: 1;
	}

	body {
		font-size: 1em;
	}

	h3 {
		font-size: 1.2em;
	}
}

@media screen and (max-width: 460px) {
	#primary-menu {
		line-height: 1;
	}

	body:not(.home) main {
		margin-top: 180px !important;
	}

}