/*--------------------------- FONTS ---------------------------*/
@font-face {
  font-family: 'NowAlt-Regular';
  src: url('fonts/NowAlt-Regular.woff2') format('woff2'),
       url('fonts/NowAlt-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NowAlt-Medium';
  src: url('fonts/NowAlt-Medium.woff2') format('woff2'),
       url('fonts/NowAlt-Medium.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Avara-Bold';
  src: url('fonts/Avara-Bold.woff2') format('woff2'),
       url('fonts/Avara-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'Avara-BoldItalic';
    src: url('fonts/Avara-BoldItalic.woff2') format('woff2'),
         url('fonts/Avara-BoldItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

/*--------------------------- MAIN ---------------------------*/
html, body, nav{
  margin: 0;
  font-family: 'NowAlt-Regular', sans-serif;
  font-weight: normal;
  font-style: normal; 
  hyphens: auto;
}

article{
  margin-top: 10vh;
  width: 64%;
  margin-left: auto;
  margin-right: auto;
}

footer{
  margin-top: 7vh;
  margin-left: auto;
	margin-right: auto;
  margin-bottom: 20vh;
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
}

/*--------------------------- TXT ---------------------------*/
.intro{
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.actu{
  margin-top: 7vh;
  font-size: 1rem;
  line-height: 1.5rem;
}

#graphicdesignismypassion:hover{
  font-family: 'Comic Sans MS', fantasy;
  background: #FF0000;
  background: linear-gradient(to right, #FF0000 0%, #FFEA00 33%, #00C8FF 65%, #B700FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.links{
  display:flex;
  justify-content:space-around;
  width:50%;
  margin-left: auto;
  margin-right: auto;
}

.italic{
  font-family: 'Avara-BoldItalic', serif;
	font-style: italic;
}

a{
  color: inherit;
}

strong{
  font-weight: inherit;
}

.bold{
  font-family: 'NowAlt-Medium', sans-serif;
  font-weight: bold;
}

.aldm{
  font-family: 'Avara-Bold', serif;
	font-style: normal;
}

/*--------------------------- IMG ---------------------------*/
aside{
  width:18%;
  position: fixed;
}

.text {
  font-size: 0.95rem;
  letter-spacing: 1.4px;
}

#rotatingText {
  display: block;
  margin:auto;
  animation-name: rotate-circle;
  animation-duration: 15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes rotate-circle {
  to {
    transform: rotate(-1turn);
  }
}

/*--------------------------- NAV ---------------------------*/
nav{
  position:fixed;
	bottom:0px;
	z-index:3;
  width:100%;
}

#nav_table{
	position:absolute;
	bottom:0px;
	height:90px;
	width:100%;
}

#nav_background_items, #nav_front_items{
	pointer-events: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='your_transparent.png', sizingMethod='scale');
	background: none !important;
	position:absolute;
	bottom:0px;
	width:100%;
	display:flex;
  justify-content:space-between;
  align-items:flex-end;
}
#nav_background_items{
	z-index:3;
}
#nav_cacti{
	height:90px;
	margin:0px 0px 80px 5px;
}
#nav_mug{
	height:80px;
	margin:0px 0px 20px 0px;
}
#nav_lamp{
	height:170px;
	margin:0px -25px 65px 0px;
}
#nav_front_items{
	z-index:4;
}
#nav_computer{
	pointer-events: auto;
	height:90px;
	margin:0px 0px 0px -10px;
}
#nav_book{
	height:90px;
	margin:0px 0px 5px 0px;
}
#nav_frame{
	pointer-events: auto;
	height:90px;
	margin:0px 40px 20px 0px;
}

/*--------------------------- RESPONSIVE ---------------------------*/
@media screen and (orientation:portrait), (max-width: 1000px){
  nav{
    visibility: hidden;
  }

  aside{
    position:relative;
    width:100%;
  }

  article{
    margin-top: 5vh;
    width:90%;
  }

  .links{
    flex-direction: column;
    text-align: center;
  }
  
  footer{
    margin-bottom: 5vh;
    width:90%;
  }
}