/*!
 * avgrund 0.1
 * https://lab.hakim.se/avgrund
 * MIT licensed
 *
 * Created by Hakim El Hattab, https://hakim.se
 */

body {
	display: flex;
}

.avgrund-active body {
	/*transform: scale( 0.9 );*/
}

.avgrund-cover {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	visibility: hidden;
	opacity: 0;
	background: rgba( 0, 0, 0, 0.5 );
}
	.avgrund-active .avgrund-cover {
		visibility: visible;
		opacity: 1;
	}

.avgrund-contents {
	position: relative;
	padding: 20px;
	max-width: 400px;
	margin: auto;
}
	.avgrund-active .avgrund-contents {
		-webkit-filter: blur(2px);
		   -moz-filter: blur(2px);
		    -ms-filter: blur(2px);
		        filter: blur(2px);
	}
	.no-blur.avgrund-active .avgrund-contents {
		-webkit-filter: none;
		   -moz-filter: none;
		    -ms-filter: none;
		        filter: none;
	}
.bouton{
	cursor: pointer;
	margin-bottom:5px
}
.avgrund-popup {
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	height:fit-content;
	max-height: 100vh;
	margin: 0 auto;
	visibility: hidden;
	overflow: hidden;
	opacity: 0;
	z-index: 2;
	padding: 30px;
	background: rgba( 0, 0, 0, 0.95 );
	box-shadow: 0px 0px 60px rgba( 0, 0, 0, 0.3 );
	border-radius: 3px;
	box-sizing: border-box;
	z-index: 9999;
	transform: scale( 1 );
}
	.avgrund-active .avgrund-popup-animate {
		visibility: visible;
		opacity: 1;
/*
		transform: scale( 1.1111 );
*/
	}
	.avgrund-popup.stack {
		transform: scale( 1.5 );
	}
	.avgrund-active .avgrund-popup.stack {
		transform: scale( 1.1111 );
	}
.avgrund-popup .popup-content{
	width: 100%;
	left:0;
	top: 0;
	height:100vh;
	max-height: 100vh;
	margin: 0 auto;
	z-index: 2;
	padding: 3vw;
	overflow-y:scroll;
}
button.avgrund-btnClose{
	position: fixed;
    z-index: 3;
    right: 30px;
    top: 10px;
    border-radius: 150px;
}

.avgrund-ready body,
.avgrund-ready .avgrund-contents,
.avgrund-ready .avgrund-popup,
.avgrund-ready .avgrund-cover {
	transform-origin: 50% 50%;
	transition: 0.3s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
}
.avgrund-ready .avgrund-popup.no-transition {
	transition: none;
}



