/* ===========================================================
 * Copyright 2021 Diano Di Matteo.
 * diano-dimatteo.com
 * =========================================================== */

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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	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;
}

/********* fin reset *************/


/************* video header *************/

body {
	width: 100%;
	height: 100%;
  margin: 0;
  background: #000;
}

video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
	transform: translateX(-50%) translateY(-50%);
	background: url('//demosthenes.info/assets/images/polina.jpg') no-repeat;
	background-size: cover;
	transition: 1s opacity;
}

.dotted {
	display: block;
	position: fixed; /* fixed*/
	width: 100%;
	height: 100%;
	bottom: 0;
	background-image: url("../img/dot.png");
	background-repeat: repeat;
	z-index: -99; 
}

/************* lien ****************/

a:link{
  color: rgba(255, 255, 255, 1);
  text-decoration:none;
    }
a:hover {
    color: rgba(255, 255, 255, 0.3);
  text-decoration:none;
  }

.fade a:visited{
  color: rgba(255, 255, 255, 1);
  text-decoration:none;
    }
.fade a:active {
    color: rgba(255, 255, 255, 1);
  }
.fade {
  color:white;
  -o-transition:color .2s ease-out, background 1s ease-in;
  -ms-transition:color .2s ease-out, background 1s ease-in;
  -moz-transition:color .2s ease-out, background 1s ease-in;
  -webkit-transition:color .2s ease-out, background 1s ease-in;
  /* ...and now override with proper CSS property */
  transition:color .2s ease-out, background 1s ease-in;
}
.fade:hover {
  color: (255, 255, 255, 0.3);
}

/* lien2 */

.lien2 a:visited{
  color: rgba(255, 255, 255, 0.1);
  text-decoration:none;
    }
.lien2 a:active {
    color: rgba(255, 255, 255, 0.1);
  }
.lien2 {
  color: rgb(170, 170, 170);
  -o-transition:color .2s ease-out, background 1s ease-in;
  -ms-transition:color .2s ease-out, background 1s ease-in;
  -moz-transition:color .2s ease-out, background 1s ease-in;
  -webkit-transition:color .2s ease-out, background 1s ease-in;
  /* ...and now override with proper CSS property */
  transition:color .2s ease-out, background 1s ease-in;
}
.lien2:hover {
  color: rgba(255, 255, 255, 0.3);
}

/************* scroll bar ****************/

body::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background-color: rgba(0, 0, 0, 0);
}
 
body::-webkit-scrollbar-track {
    width: 0px;
    height: 0px;
    background-color: rgba(0, 0, 0, 0);
}
 
body::-webkit-scrollbar-thumb {
border-radius: 0px;
  background-color: rgba(0, 0, 0, 0);
}

#accueil{
	height: 0.1px;
}

/********** centrage **************/

html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/********** content **************/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');

html {
  font-family: 'Roboto', sans-serif;
}

#black-bg{
  position: fixed;
  width: 375px;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

#background-image{
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
  transform: translateX(-50%) translateY(-50%);
  background-image: url("../img/bg.jpg");
  background-size: cover;
  transition: 1s opacity;
}

.main-container{
  width: 375px;
}

.contact-container{
  position: relative;
  width: calc(100% - 40px);
  height: 264px;
  margin-left: 20px;
  top: 20px;
  margin-bottom: 40px;
}

.prfil-img{
  width: 100%;
  height: 115px;
  background-image: url("../img/profil_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#name{
  color: white;
  font-size: 38px;
  margin-top: 2px;
  margin-bottom: 0px;
}

#title{
  color: white;
  font-size: 24px;
  margin-top: -7px;
  margin-bottom: 0px;
}

#location{
  color: white;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 0px;
  font-weight: 300;
}

#email{
  color: white;
  font-size: 20px;
  margin-top: -2px;
  margin-bottom: 0px;
  font-weight: 300;
}

.social-card{
  position: relative;
  width: 100%;
  height: 66px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.social-icon{
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 35px;
  height: 35px;
  top: 50%;
  transform: translate(0, -50%);
  margin-left: 20px;
}

.social-card p{
  margin-bottom: 0px;
  position: absolute;
  left: 70px;
  font-size: 27px;
  color: white;
  top: 50%;
  transform: translate(0, -50%);
  font-weight: 300;
}

#artstation{
  background-image: url("../img/icon/artstation.svg");
}

#instagram{
  background-image: url("../img/icon/instagram.svg");
}

#linkedin{
  background-image: url("../img/icon/linkedin.svg");
}

#behance{
  background-image: url("../img/icon/behance.svg");
}

#cgsociety{
  background-image: url("../img/icon/cgsociety.svg");
}

#deviantart{
  background-image: url("../img/icon/deviantart.svg");
}

#youtube{
  background-image: url("../img/icon/youtube.svg");
}

#reddit{
  background-image: url("../img/icon/reddit.svg");
}

a .social-card:hover{
  background-color: rgba(255,255,255,0.4);
}

@media only screen and (min-width: 370px) and (max-width: 720px) {


#black-bg{
  width: 100%;
}

.main-container{
  position: relative;
  left: 50%;
  transform: translate(-50%,0);
}

}

@media only screen and (min-width: 0px) and (max-width: 370px) {


#black-bg{
  width: 100%;
}

.main-container{
  position: relative;
  left: 50%;
  width: 100%;
  transform: translate(-50%,0);
}

.contact-container{
  height: 225px;
}

.prfil-img{
  height: 90px;
}

#name{
  font-size: 31px;
}

#title{
  font-size: 20px;
}

.social-card{
  height: 55px;
}

.social-icon{
  width: 30px;
  height: 30px;
}

.social-card p{
  font-size: 22px;
}

}

@media only screen and (min-width: 0px) and (max-width: 310px) {

#name{
  font-size: 24px;
}

#location{
  font-size: 14px;
}

#email{
  font-size: 14px;
}

}

/* #Clearing */

/* Self Clearing Goodness */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }
.row:after,
.clearfix:after {
  clear: both; }
.row,
.clearfix {
  zoom: 1; }

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}