html,
body
{
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
    overflow-x: hidden;
}

@supports (-ms-ime-align:auto) {
    html, body {
        overflow-y: hidden;
    }
}


/* =========== TEXT =========== */

h1 {
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 90px;
	font-style: normal;
	font-variant: normal;
	font-weight: bold;
	line-height: 26.4px;
    color: #fff;
    text-align: center;
}

h2 {
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 42px;
	font-style: normal;
	font-variant: normal;
	font-weight: lighter;
	line-height: 0px;
    color: #fff;
    text-align: center;
}

h3 {
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 34px;
	font-style: normal;
	font-variant: normal;
	font-weight: lighter;
	line-height: 38px;
    color: #0095ff;
}

p{
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
	font-style: normal;
	font-variant: normal;
	font-weight: lighter;
    color: #666; 
}

/* =========== PAGINA'S =========== */

.scroll
{
  position: fixed;
  top: 0;
  left: 0;
}

.content
{
  z-index: 1000;
    height: 100%;
  width: 6000px;
    background-color: #fff;
}

video { 
    position: relative;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    z-index: -1;
 background: url('//demosthenes.info/assets/images/polina.jpg') no-repeat;
    background: url(logoWhite.svg) no-repeat 30px 25px fixed; 
  background-size: cover;
  transition: 1s opacity;
}

.page{
    display: inline-block;
    height: 100%;
    float: left;
    display: table;
}

#page1{
    background: url(logoWhite.svg) no-repeat 50px 35px fixed; 
    background-size: 71px 80px;
    color: white;
}

#page2{
    background: url(logo.svg) no-repeat 50px 35px fixed; 
    background-color: #fff;
    background-size: 71px 80px;
    color: #0095ff;
}

#page3{
    background: url(logoWhite.svg) no-repeat 50px 35px fixed; 
    background-color: #0095ff;
    background-size: 71px 80px;
    color: white;
}

#page4{
    background: url(logo.svg) no-repeat 50px 35px fixed; 
    background-color: #fff;
    background-size: 71px 80px;
    color: #0095ff;
}

#page5{
    background: url(logoWhite.svg) no-repeat 50px 35px fixed; 
    background-color: #0095ff;
    background-size: 71px 80px;
    color: white;
}

#page6{
    background: url(logo.svg) no-repeat 50px 35px fixed; 
    background-color: #fff;
    background-size: 71px 80px;
    color: #0095ff;
}

#page7{
    background: url(logoWhite.svg) no-repeat 50px 35px fixed; 
    background-color: #0095ff;
    background-size: 71px 80px;
    color: white;
}

#page1titles{
    position: absolute;
    z-index: 2;
    top: 55%;
    margin-top: -130px;
    text-align: center;
}

.left_side{
    width: 55%;
    height: 100%;
    float: left;
    text-align: center;
}

.right_side{
    width: 45%;
    height: 100%;
    float: right;
}

div.center_content{
    width: 50%;
    margin-top: 27%;
    display: inline-block;
    text-align: left;
}

[class^="hvr-"] {
  padding: 1em;
  cursor: pointer;
  background: #e1e1e1;
  text-decoration: none;
  color: #666;
  /* Prevent highlight colour when element is tapped */
  -webkit-tap-highlight-color: rgba(0,0,0,0);

  /* Smooth fonts */
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#aboutIMG{
    margin-top: 20%;
    display: block;
    width: 65%;
    height: 62%;
    -webkit-mask: url(images_shape.svg) no-repeat 50% 50%;
    mask: url(images_shape.svg) no-repeat 50% 50%;
    -webkit-mask-size: contain;
    mask-size: contain;
    background: url(images/IMG_7483.JPG) 50% 0%;
    background-size: cover;
}

.top15{
    line-height: normal;
    font-weight: lighter;
    font-size: 60px;
}

.top10{
    margin-top: 10%;
    font-weight: lighter;
    font-size: 60px;
}

.white{
    color: #fff;
}

.gray{
    color: #666;
}

.blue{
    color: #0095ff;
}

/* =========== Skills =========== */

#skillsBlock{
    width: 58%;
    margin: auto;
    display: table-cell;
    vertical-align: middle;
}

.skillsBlock{
    width: 58%;
    height: 360px;
    margin: auto;
    text-align: center
}

.skill{
    width: 33.333%;
    height: 100%;
    display: inline-block;
    text-align: center;
    float: left;
}

.skill svg {
    width: 60%;
    margin-top: 20px;
    -webkit-transition: 0.5s; /* For Safari 3.1 to 6.0 */
    transition: 0.5s;
}

.skill svg path:nth-child(n+2){
    -webkit-transition: 0.5s; /* For Safari 3.1 to 6.0 */
    transition: 0.5s;
}

.skill:hover{
    cursor: pointer;
}

.skill:hover svg path:nth-child(n+2){
    fill: #666; 
}

.skill:hover svg{
    width: 70%;
    margin-top: 0px;
}

#page5 .skillsBlock{
    width: 38.66%;
}

#page5 #skillsBlock .skill{
    width: 50%;
}

#page7 #skillsBlock .skill{
    float: none;
}

/* =========== POPUPS =========== */

.overlay {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background: url(logoWhite.svg) no-repeat 50px 35px fixed; 
    background-size: 71px 80px;
    background-color: rgba(0,0,0,0.7);
    z-index: 8001;
    opacity: 0;
    display: none;
    overflow: auto;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.closePopup{
    position: fixed;
    top: 35px;
    right: 60px;
    width: 71px;
    height: 80px;
    background: url(whitecross.svg) no-repeat; 
    background-size: 71px 80px;
}

.closePopup{
    cursor: pointer;
}

.popup {
    display: table;
    width: 1060px;
    height: 100%;
    margin: auto;
    color: #333;
    background-color: #fff;
}

.popupimg{
    display: table-cell;
    vertical-align: middle;
}

.popupimg img{
    float: right;
}

.popupicon{
    display: table-cell;
    vertical-align: middle;
    width: 500px;
    padding: 50px 80px;
}

.popupicon h2{
    margin: 0;
    text-align: left;
    line-height: normal;
}

.popupicon svg {
    width: 140px;
    -webkit-transition: 0.5s; /* For Safari 3.1 to 6.0 */
    transition: 0.5s;
}

/* =========== NAVAGATIE =========== */

.goRight {
    position:fixed;
    right: 0;
    top: 50%;
    margin-right: -35px;
    margin-top: -50px;
    width: 80px;
    height: 100px;
    background-image: url(images/blackform.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 8000;
    opacity: 0.5;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    cursor: pointer;
} 

.goRight:hover{
    opacity: 0.8;
    margin-right: -10px;
}

.goRight img{
    height: 30px;
    margin-top: 30px;
    margin-left: 15px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.goRight:hover img{
    margin-left: 28px;
}

.goLeft {
    position:fixed;
    left: 0;
    top: 50%;
    margin-left: -35px;
    margin-top: -50px;
    width: 80px;
    height: 100px;
    background-image: url(images/blackform.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 8000;
    opacity: 0.5;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    cursor: pointer;
} 

.goLeft:hover{
    opacity: 0.8;
    margin-left: -10px;
}

.goLeft img{
    height: 30px;
    margin-top: 30px;
    margin-left: 45px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.goLeft:hover img{
    margin-left: 30px;
}

/* =========== BUTTONS =========== */

.btn1{
    padding: 15px 31.2px;
    margin-top: 4px;
}