
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  color:#f0f0f0;
  margin: 60px 0;
  background: url(img/background.png) center;
  background-size: cover;
}

a {
  color: #ff9000;
}

#video-background {
  z-index: -2;
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
  background-position: center;
  background-size: cover;
}
#video-filter {
  z-index: -1;
  display: block;
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
  background: rgba(0,0,0,.8);
}

/* menu */

#mobile-menu {
  z-index: 6000;
	position: fixed;
    right: -101%;
    top: 0;
	height: 100%;
	width: 100%;
    border-left: 1px solid #000;
    background: #f0f0f0;
	transition-property: right;
	transition-duration: 1s;
	transition-delay: 0;
}
#mobile-menu.active {
    right: 0;
	transition-property: right;
	transition-duration: 1s;
	transition-delay: 0;
}
#mobile-menu a.mobile-menu {
	display: block;
	font-size: 1.5em;
	line-height: 2em;
	text-decoration: none;
	color: #444;
}
#mobile-menu a.mobile-menu:hover {
	text-decoration: none;
	color: #444;
}
#mobile-menu a.mobile-menu.logo {
	position: absolute;
    left: 1em;
    top: 0.5em;
}
#mobile-menu div a {
	display: block;
    font-size: 1.5em;
}
#mobile-menu-close {
	position: absolute;
    right: 1em;
    top: 1em;
	text-decoration: none;
}
#mobile-menu-close:hover {
	text-decoration: none;
}
#mobile-menu-header {
	position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100px;
    box-shadow: 0 0 20px #000;
	border-bottom: 1px solid #000;
}
#mobile-menu-content {
	position: absolute;
    left: 0;
    top: 100px;
    bottom: 10px;
    width: 100%;
    padding: 30px;
    overflow-y: scroll;
}
#mobile-menu-content div a {
	margin-left: 1.5em;
	color: #ff2d00;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  overflow: hidden;
  max-width: 90%;
}
#mobile-menu-content div a:hover {
	text-decoration: none;
	color: #ff2d00;
}
#mobile-menu-footer {
	position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10px;
    box-shadow: 0 0 20px #000;
}

/**/

header {
	z-index: 200;
	position: fixed;
	top: 0;
	background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
	color: #f1f1f1;
	width: 100%;
}

nav {
	margin: auto;
	text-align: center;
	height: 60px;
	line-height: 60px;
}
nav div {
	position: relative;
    display: inline-block;
}
nav div ul {
	display: none;
	position: absolute;
    padding: 0;
    margin: 0;
    list-style: none;
	line-height: 30px;
	padding: 5px 120px 5px 15px;
    background: rgba(0, 0, 0, 0.8);
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 100%);
    box-shadow: 0 10px 10px #000;
    text-align: left;
	background-position: bottom right;
	background-repeat: no-repeat;
}
nav div:hover ul:before {
	content: ' ';
    display: block;
    width: calc(100% + 105px);
    width: calc(100% + 60px);
    height: 1px;
    background: #ff9000;
    position: relative;
    top: -15px;
}
nav div.atelier ul {
	background-image:url(/img/atelier.png), linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 100%);
}
nav div.techniques ul {
	background-image:url(/img/techniques.png), linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 100%);
}
nav div.projets ul {
	background-image:url(/img/projets.png), linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 100%);
}
nav div:hover ul {
	display: block;
}
nav div ul a {
  color: #fff;
  text-decoration :none;
  white-space: nowrap;
  max-width: 200px;
  text-overflow: ellipsis;
  display: inline-block;
  overflow: hidden;
}
nav div ul a:hover {
  color: #ffc800;
  text-decoration :none;
}
nav a.menu {
	color: #eee;
	text-decoration: none;
	margin: 0 15px;
}
nav div:hover a.menu,
nav a.menu:hover {
	text-decoration: none;
	color: #ff9000;
}

#nav {
	display: none;
    line-height: 60px;
	position:fixed;
	right:15px;
	top:0;
}
#nav path {
	fill: #eee;
}
#navlogo {
	text-decoration: none;
    font-family: 'Bebas Neue', fantasy, Helvetica, sans-serif;
    color: #ff2d00;
	line-height: 60px;
    position:fixed;
	left:15px;
	top:0;
    font-size: 30px;
}
#navcontact {
	text-decoration: none;
    font-family: 'Bebas Neue', fantasy, Helvetica, sans-serif;
    color: #ff2d00;
    line-height: 60px;
	position:fixed;
	right:15px;
	top:0;
    font-size: 30px;
}

footer {
	z-index: 100;
	position: fixed;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
	color: #eee;
	width: 100%;
	padding: 1.5em;
	text-align: center;
	font-size: .8em;
}

.bigphoto_container {
  z-index: 666999;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.8);
}
.bigphoto {
  max-width: 100%;
  max-width: calc(100% - 20px);
  max-height: 100%;
  max-height: calc(100% - 20px);
  position: absolute;
  left: 50%;
  left: calc(50% - 10px);
  top: 50%;
  top: calc(50% - 10px);
  transform: translate(-50%,-50%);
  border: 5px solid #fff;
  margin: 10px;
}

#bigphone {
	display: inline-block;
}
#bigphone:before {
	content: '-';
	font-weight: normal;
}
#smallphone {
	display: none;
}

.container {
	margin: 80px auto 100px;
}
.card {
	background: rgba(0,0,0,.7);
    padding: 15px;
}

.home {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 700px;
	max-width: 90%;
	/* max-height: 70%; */
	text-align: center;
	padding: 180px 0 60px;
}
.home h2 {
	font-size: 16px;
}
#homelogo {
	width: 100%;
}
#homecontact {
	text-decoration: none;
	color: #ff9000;
	font-size: 24px;
}

#home #navcontact,
#home #navlogo {
	display: none;
}

#contactlogo {
	position: absolute;
    right: 20px;
    top: 15px;
    width: 150px;
}

#otliam {
text-align:right;
}
#otliam a {
  color: #ff2d00;
  text-decoration: none;
}
#otliam a:hover {
  color: #ff2d00;
  text-decoration: none;
}
#contactphone {
  color: #fff;
  text-decoration: none;
}
#contactphone:hover {
  color: #fff;
  text-decoration: none;
}

ul#flash-words {
	position: absolute;
	left: 50%;
	top: 15%;
	transform: translateX(-50%);
	margin: 0;
    padding: 0;
    list-style: none;
	font-size:17px;
	white-space: nowrap;
	opacity: 1;
}
ul#flash-words li {
	font-size: 17px;
	opacity: 1;
}
ul#flash-words li.anim {
	font-size: 36px;
	opacity: 0;
	transition-property: font-size, opacity;
	transition-duration: 2s;
	transition-delay: 0;
}
ul#flash-words li a {
	color: #fff;
	text-decoration: none;
}


.social a {
	color: #fff;
}
.social a svg {
	margin: .5em 1em .5em 0;
}
.social a:first-child svg {
	margin: .5em 0 .5em 1em;
}
.social a svg:hover {
	width: 3.5em;
	height: 3.5em;
	margin: 0 0;
}

#contact h1 {
	font-size: 1.5em;
	color: #ff9000;
}
#contact input,
#contact textarea {
	background: #eee;
    color: #000;
}


.container .content {
  width: 100%;
  background: rgba(0,0,0,.8);
  border: 2px solid #888;
  color: #fff;
  padding: 10px 15px 0;
  border-radius: 15px;
}
.container h1 {
	color: #ff9000;
  font-size: 36px;
  font-family: 'Bebas Neue', fantasy, Helvetica, sans-serif;
}
.container h2 {
	font-size: 18px;
}
.nopage .container h2 {
  margin-bottom: 20px;
}

.container p {
  font-size: 13px;
  color: #ccc;
}
.container article p {
  font-size: 13px;
  color: #ccc;
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  max-height: 60px;
}

.fb-like {
  float: right;
  margin-right: -7px;
}

#admin-panel {
	z-index: 1000;
	position: fixed;
	top: 0;
	left: -101%;
	width: 900px;
  max-width: 100%;
	height: 100%;
	background: #f0f0f0;
	color: #000;
	transition-property: left;
	transition-duration: 1s;
	transition-delay: 0;
	font-size: 13px;
}
#admin-panel.active {
  left: 0;
	transition-property: left;
	transition-duration: 1s;
	transition-delay: 0;
}
#admin-panel:after {
	content:' ';
	position:absolute;
	width:10px;
	right:0;
	bottom:0;
	top:0;
	background:url(/img/warning.png) repeat;
	border:1px solid #000;
	box-shadow: 0 0 10px #000;
}
#admin-panel form {
	padding: 20px;
	overflow-y: auto;
	position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#admin-panel-close {
	position: absolute;
    right: 1em;
    top: 1em;
	text-decoration: none;
}
#admin-panel-close:hover {
	text-decoration: none;
}

article a {
  color: #fff;
  text-decoration: none;
}
article a:hover, article a:hover p {
  color: #ffc800;
  text-decoration: none;
}
article a h3 {
  color: #ffc800;
  font-size: 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  overflow: hidden;
  max-width: calc(90% - 110px);
  margin: 0;
}
article a:hover h3 {
  color: #ff2d00;
}

body.page article {
  /* display: table-cell; */
}
body.page article img {
  max-width: initial !important;
}

body.page article {
  display: table-cell;
  padding: 15px 15px 0 0;
  max-width:100%;
  position:relative;
}
body.page article img {
  width: auto;
  /* height: calc(); */
}
body.page article h3 {
  position: absolute;
  left: 10px;
  right: 25px;
  top: 10px;
  background: rgba(0,0,0,.7);
  padding: 5px 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page article p {
  position: absolute;
  left: 10px;
  right: 25px;
  bottom: 10px;
  font-size: 1.5vh;
  line-height: 1.5vh;
  background: rgba(0,0,0,.7);
  padding: 5px 10px;
  border-radius: 5px;  
  max-height: fit-content;
  margin: 0;
}

.slick-prev {
  left: -60px;
}
.slick-next {
  right: -60px;
}
.slick-prev, .slick-next {
  width: 50px;
  height: 50px;
}
.slick-prev:before, .slick-next:before {
  font-size: 50px;
}
.slick-slide {
  opacity: .7;
}
.slick-current, .slick-active {
  opacity: 1 !important;
}
.slick-list {
  border-radius : 20px;
  overflow : hidden;
}

/* smartphones, touchscreens */
@media (hover: none) and (pointer: coarse) {
    /* ... */
}
/* stylus-based screens */
@media (hover: none) and (pointer: fine) {
    /* ... */
}
/* Nintendo Wii controller, Microsoft Kinect */
@media (hover: hover) and (pointer: coarse) {
    /* ... */
}
/* mouse, touch pad */
@media (hover: hover) and (pointer: fine) {
    /* ... */
}
@media (orientation: portrait) {
  body.page article {
    display: block;
    padding: 15px 0 0 0;
    max-width:100%;
    position: relative;
  }
  body.page article img {
    width: 100%;
    height: auto;
  }
  body.page article h3 {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
  }
  body.page article p {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    /* font-size: 1vh; */
  }
}

@media (max-width: 768px) {
	#video-filter {
		background: rgba(0,0,0,.7);
	}
	#homelogo {
		margin-bottom:30px;
	}
	nav a { display: none; }
	#nav { display: block; }
	/* #navlogo img { display: block; } */
	#navcontact { display: none; }
	#home #navlogo { display: block; }
}

@media (max-width: 480px) {
	#contactlogo { display: none; }
  #otliam { text-align: left; }
	#bigphone {
		display: block;
	}
	#bigphone:before {
		content: '';
		font-weight: normal;
	}
	#admin-panel {
		width: 100%;
	}
}

@media (max-width: 360px) {
	#bigphone { display: none; }
	#smallphone { display: contents; }
}

@media (orientation: landscape) {
	.home {
		max-width:60%;
	}
}

@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }
}

@media (min-width: 3840px) {
  .container {
    max-width: 2160px;
  }
}
