
@font-face {
   font-family: 'interstate';
   src: url('../fonts/Interstate\ Regular.ttf') format('ttf');
   font-weight: 400;
   font-style: normal;
}

@font-face {
   font-family: 'typefesse';
   src: url('../fonts/webfontstypefesse/Typefesse_Claire-Obscure.woff2') format('woff2'), url('../fonts/cirruscumulus-webfont.woff') format('woff');
   font-weight: 200;
   font-style: normal;
}

/* Generals */

* {
  font-family: 'interstate', serif;
  font-weight: 400;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: all .3s;
  transition: all .3s;
}

html {
  font-size: 70%;
}

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

body {
  font-size: 22px;
  font-size: 2.2rem;
}

/*Font*/

em {
  font-style: italic;
  font-size: 1em;
  letter-spacing: 0.015em;
}

p {
  font-size: 0.8em;
  font-family: "interstate",  sans-serif;
}

p a {
  font-size: 1em;
  font-family: "interstate", sans-serif;
}

h1, h2 {
  margin: auto;
  display: inline-block;
  
  
}
/* h2 {
  margin-bottom: 20px;
} */

h1:hover, h2:hover {
  -webkit-transform: scale(1.1,1.1);
  transform: scale(1.1,1.1)
}

#main {
  -webkit-transition: all .3s;
  transition: all .3s;
}

#main  h1, h2 {
  font-size: 1em;
  letter-spacing: 0.04em;
  color: black;
   -webkit-transition: all .3s;
   transition: all .3s;
}


.container{
  padding: 20vh 0;
  height: 70%;
}

#footer {
  bottom: 0;
}
a {
  font-size: 1em;
  text-decoration: none;
  color: black;
  
}

.section-page h2 {
  display: inline;
  font-size: 1.2em;
  border-bottom: solid 2px #555;
}

.section-page h2+span {
  font-size: 0.9em;
  margin-left: 10px;
}

.section .toggle-bigger {
  font-size: 1.em;
  margin: -20px;
  padding: 20px;
}


.toggle-info {
      cursor: pointer;
  }

/*Menu*/

header {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  padding: 20px;
  overflow: auto;
  -webkit-animation: opacity 0.5s forwards;
  animation: opacity 0.5s forwards;
/*    background-color: #111;*/
  
  background: #171717;
  background: -webkit-gradient(linear, left top, left bottom, from(#171717),to(#15171a));
  background: linear-gradient(to bottom, #171717 0%,#15171a 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#171717', endColorstr='#15171a',GradientType=0 );
  
}

header p,
.section-page h4 {
  /* font-family: interstate ; */
  max-width: 1200px;
  font-size: 1.5rem;
}

header p,
header a,
header em,
header h3,
header h4,
img,
.links {
  /* padding-left: 10%; */
  /* max-width: 150px; */
  color: white;
}
.links{
  font-weight: bold;
  color: royalblue;
  margin-right: 1rem;
}
p a {
  font-weight: bold;
  /* text-decoration: underline; */
  margin: 0;
}
p a:hover{
  color: royalblue;
}
.short-bio{
  font-family: 'interstate', sans-serif;
  font-weight: bold;
  color: white;
  margin-top: 1rem;
}
.soumoji {
  max-width: 35%;
  margin: 0 auto;
  margin-bottom: 2em;
  display: block;
  border-radius: 1000px;
}

.toggle-info {
  float: right;   
}

.container-links {
  padding-bottom: 5em;
}


/*Others*/
.locked {
  overflow: hidden;
}

.display-none {
  display: none;
}

.pad {
  -webkit-animation: fadeinTop 0.25s forwards;
  animation: fadeinTop 0.25s forwards;
  -webkit-transition: all .3;
  transition: all .3;
  }

#fullscreen {
  position: absolute;
  width: 100%;
  height: 100%;
/*    height: 100vh;*/
  z-index: -20;
  background-image: url(../img/yellow.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


input {
  font-family: 'typefesse';
	border: none;
	background-color: transparent;
  font-size: 150px;
	width: 100vw;
	min-height: 150px;
}

/*Querries*/
@media (min-width: 360px) {
  .pad {
      padding: 30px;
  }
  input {
    padding: 0;
  }
}

@media (min-width: 480px) {
  .pad {
      padding: 30px 50px;
      
  }
  p {
      font-size: 1em;
  }
  /* input{
    height: 50%;
  } */
  .minor {
      font-size: 0.9em;
  }
  .spacer {
      height: 0px;
  }
  /* .rehab-cell {
      margin-left: -50px;
      margin-right: -50px;
  } */
}

@media (min-width: 745px) {
  .pad {
      padding: 30px 75px;
  }
  #fullscreen {
      background-image: url(../img-opt/02.jpg);
  }

}

@media (min-width: 1140px) {
  .pad {
      padding: 60px 100px;
  }
  #fullscreen {
      background-image: url(../img-opt/14.jpg);
  }
}

@media (min-width: 1440px) {
  
  html {
      font-size: 75%;
  }
  .pad {
      padding: 55px 120px;
  }
  #fullscreen {
      background-image: url(../img/CVsoumaya.pdf);
  }
}




