@import url(https://fonts.googleapis.com/css?family=Oswald:300,400,700);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic);


html {
  font-family: kurale, serif;
}



.col{
  text-align: center;
}
/*nav oper from the left side*/
.overlay {
  height: 100%;
  width: 30%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
   padding-top:250px;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 100px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 40px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

/*end nav oper from the left side*/


.myheader{
  background-color: transparent;
  text-align: center;
  padding:20px;
}

.myheader:hover{
   background:#FAEBD7;
}

.albero{
  width: 10%;
}


/* Content*/
#parallax h1 {
  font-family:'Oswald', sans-serif; 
  font-size:24px; 
  font-weight:400; 
  text-transform: capitalize; 
  color:black; 
  padding:0; 
}

#parallax h2 {
  font-family:'Oswald', sans-serif; 
  margin-top: -45px; 
  font-size:70px; 
  letter-spacing:10px; 
  text-align:center;  
  font-weight:400; 
  text-transform:capitalize; 
  z-index:10; 
  opacity:.9;
}
  
#parallax p {
  font-family:'Source Sans Pro', sans-serif; 
  font-weight:400; 
  font-size:14px; 
  line-height:24px;
}

.first-character{ 
  font-weight:400; 
  float: left; 
  font-size: 50px; 
  line-height: 64px; 
  padding-top: 4px; 
  padding-right: 8px; 
  padding-left: 3px; 
}

.sc {color: red;
}

h3{
  font-size: 30px;
}

#parallax .block {
  background: white; 
  padding: 0; 
  margin:0 auto; 
  text-align:justify;
  width: 100%;;
  height: 500px;;
}

/* Content Section */

#parallax .parallax-one {
  padding-top: 200px; 
  padding-bottom: 200px; 
  overflow: hidden; 
  position: relative; 
  width: 100%; 
  background-attachment: fixed; 
  background-size: cover; 
  -moz-background-size: cover; 
  -webkit-background-size: cover; 
  background-position: top center;
}

#parallax .parallax-two{ 
  padding-top: 50px; 
  padding-bottom: 300px; 
  overflow: hidden; 
  position: relative; 
  width: 100%;
  height: 200px;
  background-size: cover; 
  -moz-background-size: cover; 
  -webkit-background-size: cover; 
  background-position: center center;
}

#parallax .parallax-three {
  padding-top: 200px; 
  padding-bottom: 200px; 
  overflow: hidden; 
  position: relative; 
  width: 100%; 
  background-attachment: fixed; 
  background-size: cover; 
  -moz-background-size: cover; 
  -webkit-background-size: cover; 
  background-repeat: no-repeat; 
  background-position: center center;
}


/*on image hover show text*/
.hvrbox,
.hvrbox * {
  box-sizing: border-box;
}

.hvrbox {
  position: relative;
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  height: auto;
  color:#303030;
}

.hvrbox img {
  max-width: 100%;
}

.hvrbox .hvrbox-layer_bottom {
  display: block;
}

.hvrbox .hvrbox-layer_top {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 15px;
  -moz-transition: all 0.4s ease-in-out 0s;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -ms-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.hvrbox:hover .hvrbox-layer_top,
.hvrbox.active .hvrbox-layer_top {
  opacity: 1;
}

.hvrbox .hvrbox-text {
  text-align: center;
  font-size: 22px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.hvrbox .hvrbox-text_mobile {
  font-size: 15px;
  border-top: 1px solid rgb(179, 179, 179); /* for old browsers */
  border-top: 1px solid rgba(179, 179, 179, 0.7);
  margin-top: 5px;
  padding-top: 2px;
  display: none;
}

.hvrbox.active .hvrbox-text_mobile {
  display: block;
}
/*end on hover text */



/*About*/

.profil{
  width:60%;
  padding: 15px;
  box-sizing: border-box;
  display: inline-block;
  overflow: hidden;
  cursor: pointer;
  border-radius: 5px;
}

.person img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  border-radius:50%;
  padding-bottom: 20px;
}

.mymail{
    font-size: 30px;
    margin-top:0px;
    margin-bottom:0px;
    font-weight: normal;
    color:grey;
  }

a {
  color: #0a0a0a;
  text-decoration: none;
  -webkit-transition: color 0.4s ease-in-out;
  transition: color 0.4s ease-in-out;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}


.bg-black {
  background-color: #0a0a0a;
}

.bg-white {
  background-color: #fff;
}

/* Footer*/

footer{
  font-size: 15px;
  text-align:center;
  margin-top: 20px;
  margin-bottom: 0px;
}


@media screen and (min-device-width: 280px) and (max-device-width: 400px) { 
 
  .mymail{
    font-size: 45px;
  }
  .albero{
    width: 25%;
  }

  .hvrbox .hvrbox-text {
  
  font-size: 25px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

}

@media screen and (min-device-width: 280px) and (max-device-width: 800px) { 

  .albero{
    width: 25%;
  }

}