/* 
Theme name: Adoff site template 
*/

/* 
Theme Name: Adoff-block
Version: 1.0
Author: Marlene Martins
Text Domain: adoff-block
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
	font-family: "Dominomono";
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}
body {
	display: flex;
	flex-direction: column;
	margin: 25px;
	font-size: 21px;
	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;
}

a {
	color: #000;
	text-decoration: none;
}

a:active {
	text-decoration: underline;
}

.main-content,
.wp-site-blocks,
.site-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 90vh;
}

.project-list-container {
	flex: 1;
}

/* Custom styles */

.atelier-title {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 5px 50px;
	margin-bottom: 30px;
}

.atelier-paragraph {
	margin-bottom: 30px;
	padding: 5px 50px;
}

/* Image animation 

@keyframes fadeIn {
  from {scale: 0.8; opacity: 0; }
  to {scale: 1; opacity: 1;}
}

img {
  animation: fadeIn linear;
  animation-timeline: view(50% 0);
} 
*/

/* mobile styles */

@media screen and (max-width: 600px) {
	body {
		font-size: 1rem;
		margin: 10px
	}

	sup {
		font-size: 0.6rem;
	}

	.project-item > label {
		font-size: 15px;
	}
	.footer-row {
		position: relative;
		padding: 0.2em 0;
		border: none; /* Remove default border */
	}
	.first-row::before,
	.footer-row::after {
		content: "";
		position: absolute;
		left: 50%;
		width: 101vw;
		height: 1px;
		background: #000;
		transform: translateX(-50%);
	}

	.footer-row::before {
		top: 0;
	}

	.footer-row::after {
		bottom: 0;
	}

	 .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: auto !important;
	}

	.atelier-paragraph {
		padding: 5px 5px;
	}

	.atelier-title {
		border: none;
		padding: 5px 5px;
  		position: relative;
		background: transparent;

	}

	.atelier-title::before,
	.atelier-title::after {
		content: "";
  		position: absolute;
  		left: 50%;
  		width: 101vw;
  		height: 1px;
  		background: #000;
  		transform: translateX(-50%);
  		z-index: 0;
	}
	
	.atelier-title::before {
		top: 0;
	}

	.atelier-title::after {
		bottom: 0;
	}
}
