@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;
}

body{
  margin: 0;
}
/*da mettere sempre nel css per il box*/
.boxcookie{ 
  padding:10px;
  border:1px silver solid;
  font-size: 18px;
  color:silver;
  background:rgba(0,0,0,0.49);
  font-family: open sans, serif;
 }

 .logo{
  font-size: 22px;
  color:grey;
  text-align: center;
}

/*nav oper from the left side*/
.overlay {
  padding-top: 100px;
  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.49);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: absolute;
  top: 25%;
  width: 30%;
}

.overlay a {
  padding: 5px;
  text-align: left;
  text-decoration: none;
  padding-left: 100px;
  font-size: 30px;
  color: silver;
  text-transform: uppercase;
  display: block;
  transition: 0.3s;
}

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

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

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

/*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: dancing script, serif;
  font-weight: normal;
  color:#B22222;
  padding-top:50px;
  padding-bottom:20px;
  font-size:40px; 
  text-transform: uppercase; 
  text-align: center;
  margin: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:uppercase; 
  z-index:10; 
  opacity:.9;
}


#parallax p {
  font-family:'Source Sans Pro', sans-serif; 
  font-weight:400; 
  font-size:15px; 
  line-height:20px;
}

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

.sc {color: #3b8595;
}

h3{
  font-size: 25px;
  font-weight: normal;
}

.h3box{
  font-size: 25px;
  font-weight: normal;
}
#parallax .block {
  background: whitesmoke; 
  padding: 60px;
  padding-bottom:10px; 
  width:500px; 
  margin:0 auto; 
  float: right;
  color: rgba(0, 0, 0, 0.8);
}


/* Content Section */

#parallax .parallax-one {
  padding-top: 150px; 
  padding-bottom: 350px; 
  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-literatur {
  padding-top: 200px; 
  padding-bottom: 100px;
  height: 500px;
  width: 500px;
  position: relative; 
  text-align: center;
}

#parallax .parallax-literatur::-webkit-scrollbar { 
    display: none; 
}

.hvrbox-layer_top::-webkit-scrollbar { 
    display: none; 
}
#parallax .parallax-two{ 
  text-align: center;
  padding-top: 50px; 
  padding-bottom: 300px; 
  overflow: hidden; 
  position: relative; 
  width: 100%;
 
  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;
  text-align: center;
}

.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: 600px;
  background: transparent;;
  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 */

.myliteratur{
 position: absolute;
 padding:0px;
}

.literatur{
  width: 60%;
  background: whitesmoke;
  margin-top:0px;
  padding-top:0px;
}

.h3literatur{
font-family: kurale, Helvetica, sans-serif;
text-transform: capitalize;
font-size: 35px;
padding:0px; 
margin-top: 0px;
margin-bottom: 200px;
}

#book1{
  width: 60%;
  border:2px silver solid;
  background: whitesmoke;
}

/*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;
}

/*page über*/
.@import url(https://fonts.googleapis.com/css?family=Varela+Round);

.div1{
  padding:15px 15px;
}

.slides {
    padding: 0;
    width: 900px;
    height: 420px;
    display: block;
    margin: 0 auto;
    margin-top:50px;
    position: relative;
    padding-top: 0px; 
    padding-bottom: 0px; 
    overflow: hidden; 
    position: relative; 
    background-size: cover; 
    -moz-background-size: cover; 
    -webkit-background-size: cover; 
    background-position: center center;
}

.slides * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    
}

.slides input { display: none; }

.slide-container { display: block; }

.slide {
    top: 0;
    opacity: 0;
    width: 900px;
    height: 420px;
    display: block;
    position: absolute;
    transform: scale(0);
    transition: all .7s ease-in-out;
}

.slide img {
    width: 100%;

}

#slide-about-me{
font-size: 20px;
}

.nav label {
    width: 100px;
    height: 100%;
    display: none;
    position: absolute;
    opacity: 0,5;
    z-index: 9;
    transition: opacity .2s;
    color: silver;
    font-size: 150pt;
    text-align: center center;
    line-height: 380px;
    vertical-align: middle;
    font-family: "Varela Round", sans-serif;
    background-color: rgba(255, 255, 255, .3);
    text-shadow: 0px 0px 15px rgb(119, 119, 119);
}

.slide:hover + .nav label { opacity: 0.5; }

.nav label:hover { opacity: 1; }

.nav .next { right: 0;}

input:checked + .slide-container  .slide {
    opacity: 1;

    transform: scale(1);

    transition: opacity 1s ease-in-out;
}

input:checked + .slide-container .nav label { display: block; }

.nav-dots {
  width: 100%;
  bottom: 9px;
  height: 11px;
  display: block;
  position: absolute;
  text-align: center;
  display: none;
}

.nav-dots .nav-dot {
  top: -5px;
  width: 11px;
  height: 11px;
  margin: 0 4px;
  position: relative;
  border-radius: 100%;
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.6);
}

.nav-dots .nav-dot:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.8);
}

input#img-1:checked ~ .nav-dots label#img-dot-1,
input#img-2:checked ~ .nav-dots label#img-dot-2,
input#img-3:checked ~ .nav-dots label#img-dot-3,
input#img-4:checked ~ .nav-dots label#img-dot-4,
input#img-5:checked ~ .nav-dots label#img-dot-5,
input#img-6:checked ~ .nav-dots label#img-dot-6 {
  background: rgba(0, 0, 0, 0.8);
}

/* Container holding the image and the text */

/*navbar*/
#navbar {
  background-color: #333;
  position: fixed;
  top: -50px;
  width: 100%;
  display: block;
  transition: top 0.3s;
}

#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  font-size: 17px;
}

#navbar a:hover {
  background-color: #ddd;
  color: #af8b07;
}

/*end navbar */

.container {
  position: relative;
  text-align: center;
  color: white;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

  /*and page über*/


@media screen and (min-device-width: 250px) and (max-device-width: 400px) { 
 
  .logo{
    font-size: 30px;
    color:grey;
    text-align: center;
  }

  .first-character{ 
    font-weight:400; 
    float: left; 
    font-size: 50px; 
    line-height: 64px; 
    padding-top: 4px; 
    padding-right: 8px; 
    padding-left: 3px; 
    font-size: 70px;
  }
  .mymail{
    font-size: 45px;
  }
  .albero{
    width: 25%;
  }

  td{
    font-size: 30px;
  }

  .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%);
}

.div1{
  padding:15px 15px;
}

#navbar{
  text-align: center;
}

#navbar a {
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: 1.8;
}

#slide-about-me{
font-size: 30px;
}

#parallax .block {
  width: 70%;
 float:none;
}

.h3box{
  font-size: 30px;
  padding:1px;
}

h3{
  font-size: 1.7em;
}

#parallax .parallax-literatur {
  height: 700px;
  width: 700px;
}

#parallax h1 {
  font-size:50px; 
}

#parallax p {
  font-weight:normal; 
  font-size:20px; 
}

 #book1{margin-top:100px;}

li{
  font-size: 30px;
}

}

@media screen and (min-device-width: 400px) and (max-device-width: 700px) { 
#parallax .block {
  width: 70%;
  float:none;
}

.logo{
  font-size: 30px;
  color:grey;
  text-align: center;
}

h3{
  font-size: 1.7em;
}

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

#parallax .parallax-literatur {
  height: 700px;
  width: 700px;
}
 #book1{margin-top:100px;
 }
 td{
  font-size: 30px;
}
}


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

  .logo{
    font-size: 30px;
    color:grey;
    text-align: center;
  }
  
  h3{
    font-size: 1.7em;
  }

  .first-character{ 
    font-weight:400; 
    float: left; 
    font-size: 50px; 
    line-height: 64px; 
    padding-top: 4px; 
    padding-right: 8px; 
    padding-left: 3px; 
    font-size: 70px;
  }
  .albero{
    width: 25%;
  }
  td{
    font-size: 30px;
  }
}