@import url('https://fonts.googleapis.com/css?family=PT+Mono&display=swap');

/**
 * Resets
 */

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

::-moz-selection {
	background-color: #f2a53c;
	color: #fff;
}

::selection {
	background-color: #f2a53c;
	color: #fff;
}

:focus {
	outline: 0;
}

customhtml > * {
	position: relative;
    z-index: 10;
}

/**
 * Global
 */

body,
html {
	min-height: 100vh;
	margin: 0px;
	padding: 0px;
}

html {
	position: relative;
}

body {
	background: #fff;
	color: #fff;
}

a:active {
	opacity: 0.7;
}

/**
 * Backdrop
 */

#backdrop {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	max-width: 100%;
	z-index: 1;
}

/**
 * Container
 */

main {
	background: #fff;
	clear: both;
	overflow: hidden;
	position: absolute;
	max-width: 100%;
	width: 100%;
	z-index: 2;

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

main > div {
	-moz-flex: 1 0 auto;
	-webkit-flex: 1 0 auto;
	flex: 1 0 auto;
	width: 100%;
}


.subpage_overlay {
	display: block;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

body.homepage .subpage_overlay {
	display: none;
}
/**
 * Content
 */

i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
}

ul, ol {
	margin: 0;
	padding: 0 0 0 1em;
}

sup {
	top: -0.4em;
	vertical-align: baseline;
	position: relative;
}

sub {
	top: 0.3em;
	vertical-align: baseline;
	position: relative;
}

s {
	
}

.slideshow-nav { 
	margin-bottom: 0.5em; 
}

img {
	border: 0;
	padding: 0;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
    border-top: 2px solid #fff;
    border-bottom: hidden;
	display: block;
}
@media only screen and (max-width: 600px) {
hr {
    border-top: 1px solid #fff;
    border-bottom: hidden;
	display: block;
    }
}


/*
 * Projects
 */

.bodycopy {
	display: none;
}

.container {
	min-height: 100%;
}

.content img {
	float: none;
	margin-top: 1em;
	margin-bottom: 1em;
}

/*
 * Other
 */

 .clear:after {
	content: "";
	display: table;
	clear: both;
}

.loading[data-loading] {
	display: none;
	position: fixed;
	top: 8px; left: 8px;
	z-index: 100;
}

#backstage_icon {
	position: fixed;
}

/**
 * Editor styles
 */

[data-css-presets="true"] main {
	background-color: rgba(255, 255, 255, 1)/*!content_right*/;
	text-align: right /*!text_right*/;
	min-height: 100vh /*!content_stretch*/;
	-webkit-align-items: flex-end /*!vertical_bottom*/;
	align-items: flex-end /*!vertical_bottom*/;
	right: 0 /*!content_right*/;
}

[data-css-presets="true"] .content_padded {
	padding: 1rem/*!main_margin*/;
}

[data-css-presets="true"] .content_width {
	width: 80%/*!content_right*/;
}

[data-css-presets="true"] #backdrop {
	width: calc(100% - 80%)/*!right_fit*/;
	left: 0 /*!right_fit*/;
}

[data-predefined-style="true"] main {
	font-size: 1.8rem;
	font-weight: 400;
	color: rgb(191, 191, 191);
	font-family: "MVB Solitaire", Social/*!Persona*/;
	font-style: normal;
	line-height: 1;
}

[data-predefined-style="true"] main a {
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.25);
	color: rgb(182, 182, 182);
    padding-bottom: 0.07em;
    text-decoration: none;
}

[data-predefined-style="true"] main a:hover {

}

main a.image-link,
main a.icon-link,
main a.image-link:hover,
main a.icon-link:hover { 
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: PT Mono /*!Google*/;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 2rem;
	line-height: 1.1;
	color: rgb(0, 0, 0);
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h1 a {
	color: rgb(0, 0, 0);
}

[data-predefined-style="true"] h2 {
	font-family: PT Mono /*!Google*/;
	font-style: normal;
	font-weight: 500;
	padding: 0;
	margin: 0;
    display: inline;
	color: rgb(0, 0, 0);
	font-size: 1.5rem;
	line-height: 1;
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h2 a {
    border-bottom: 0.07rem solid rgba(255, 255, 255, 0.5);
	color: rgb(0, 0, 0);
    padding-bottom: 0.2rem;
}

[data-predefined-style="true"] small {
	font-family: PT Mono /*!Google*/;
	font-style: normal;
	font-weight: 200;
	padding: 0;
	margin: 0;
	font-size: 1rem;
	line-height: 0.5;
	color: rgb(0, 0, 0);
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] small a {
	color: rgb(0, 0, 0);
	border-bottom-width: 0.07em;
}

/**
 * Breakpoints
 */

[data-css-presets="true"].mobile #backdrop,
[data-css-presets="true"].mobile #backdrop,
.mobile #backdrop,
.mobile #backdrop {
	position: relative;
	height: 20vh;
	min-width: 100%;
	max-width: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: auto;
}

.mobile main,
[data-css-presets="true"].mobile main {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
}

.mobile main.content_width,
[data-css-presets="true"].mobile main.content_width {
	max-width: 100%;
	width: 100%;
}

[data-css-presets="true"] .subpage_overlay {
	background-color: transparent/*!subpage_overlay*/;
}

/**
 * hover
 */

.hover-title {
    display: block;
    pointer-events: visible;
}

.hover-image {
    visibility: hidden;
    position: absolute;
    z-index: 100;
    height: 0px;
    pointer-events: none;
    flex-direction: column;
    transition-delay: .2s;
}


.hover-title:hover + .hover-image {
    visibility: visible;
    display: block;
	height: 100px;
    width: 100px;
    pointer-events: fill;
}

.hover-image img {
    width: 400px;
    height: 400px;
}

/* sommario */

details summary::-webkit-details-marker {
  display: none;
}

details[open] {
  color: #6ec0f3;
}

details summary {
  cursor: cell;
  display: inline;
  list-style: none;
}

details summary:after {
  content: "✚";
  position: relative;
  color: #6ec0f3;
  font-size: 50;
  line-height: 0;
  margin-top: 0.75rem;
  right: 0;
  font-weight: 200;
  transform-origin: center;
  transition: 200ms linear;
}

details[open] summary:after {
  content: "✖︎";
  transform: rotate(45deg);
  color: #f6baec;
}

/* table style*/

table {
  border-spacing: 0;
  width: 100%;
}

th {
  cursor: s-resize;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 5px;
  border-bottom: 2px solid #000;  
}

/* span per hover*/
#onhover {
  display: none;
}
#surround:hover span[id="initial"] {
  display: none;
}
#surround:hover span[id="onhover"] {
  display: block;
}

/* foca */
.flier {
	pointer-events: none;
}
.flier > * {
/* Adjust animation duration to change the element’s speed */
    animation: fly 10s linear infinite;
    pointer-events: none !important;
    top: 0;
	left: 0;
	transform: translateX(-120%) translateY(-120%) rotateZ(0);
	position: fixed;
	animation-delay: 0s;
	z-index: 999999;
}

 /* Keyframe values control where the element will begin
    and end its trajectory across the screen. Each rule
    represents a path the element follows across the screen. */

@keyframes fly {

	98.001%, 0% {
                display: block;
		transform: translateX(-200%) translateY(100vh) rotateZ(0deg)
	}

	15% {
		transform: translateX(100vw) translateY(-100%) rotateZ(180deg)
	}

	15.001%, 18% {
		transform: translateX(100vw) translateY(-30%) rotateZ(0deg)
	}

	40% {
		transform: translateX(-200%) translateY(3vh) rotateZ(-180deg)
	}

	40.001%, 43% {
		transform: translateX(-200%) translateY(-100%) rotateZ(-180deg)
	}

	65% {
		transform: translateX(100vw) translateY(50vh) rotateZ(0deg)
	}

	65.001%, 68% {
		transform: translateX(20vw) translateY(-200%) rotateZ(180deg)
	}

	95% {
		transform: translateX(10vw) translateY(100vh) rotateZ(0deg)
	}
}

/* Accordion */

input {
    display: none;
}

label {
    display: block;   
	transition: ease .5s;
    cursor: pointer;
/*  padding: 8px 22px;
    margin: 0 0 1px 0;
    background: transparent;
    border-radius: 3px;
    color: #000;
    */

}

label:hover {
    color: #000;
}


input + label + .content {
    display: none;
}

.content img {
	max-width: 100%;
}

input:checked + label + .content {
    display: block;
}



