@font-face {
    font-family: 'montserrat' ;
    src: url(font/Montserrat/Montserrat-VariableFont_wght.ttf);
}

html{
      scroll-behavior: smooth;
}
body h1,h2,h3,p,a{
    font-family: 'montserrat';
}
.p1{
    font-size: 24px;
}
body {
    padding: 0;
    margin: 0;
    
}
.nav-div2 a{
    color: white;
    padding-right: 35px;
    font-size: larger;
 }
nav a{
    color: white;
}
header{

    color: white;
    width: 100%;
   
}
nav {
    background-color: rgba(0, 0, 0, 0.826);
    width: 100%;
    position:fixed;
    display: flex;
    padding: 5px 0;
     z-index: 10;
     align-items: center;

   
}
nav div{
    margin-left: 10%;
    }
.nav-div1{
     width: 20%;
}
nav a img{
    background-color: white;
    border-radius: 2px;
}

.greet{
    background-image: url(img/magic-fairytale-book-concept.jpg) ;
    background-size: cover;
    background-position: bottom;

   padding: 5% 10%;
   color: white;
}
.greet h1{
    font-size:50px;
    line-height: auto;
    padding-top: 50px;
   
}
.greet h2{
    padding-bottom: 40px;
}

.text{
    width: 50%;
}
.a-button{
    background-color: rgb(161, 24, 6);
    border: none;
    border-radius: 5px;
     box-shadow: 0 2px 2px #00000072;
    color: white;
    font-size: 18px;
    padding: 8px 20px;
    text-decoration: none;
}

#about{
    background-color: rgb(30, 30, 31);
    height: 50vh;
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    justify-content: center;
    align-items: center;
    color: white;
}
.text-about{
    text-align: center;
}
.line{
    margin: 25px;
    background-color: white;
    width: 50%;
    height: 2px;
}
#about text{
    
    width: 50%;
    
}
.text span{
    font-size: 25px;
}

#about h1{
     text-align: center;
    margin: 0;
    font-size: 40px;

}

.genre{
        overflow: hidden;
}
.genre i{
    opacity: 0.5;
}
.genre1{
    background-color: rgb(63, 15, 15);
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
        color: white;
}
.genre2{
    background-color: rgb(255, 229, 197);
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: black;
}

.genre3{
    background-color: rgb(30, 30, 31);
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: white;
}
.genre2 a{
    color: black;
}
.genre3 a{
    color: white;
}

.genre-img{
  
    padding: 40px 0;


         align-items: center;
         position: relative;
         gap: 50px;
         display: flex;
       
}
.genre-inv-img{

     width: 250px;
     height: 300px;
    
}
.genre img{
    box-shadow: 5px 5px 0 0 rgba(0, 0, 0, 0.482);
    width: 250px;
    height: 175px;
    z-index: 0;

   
}
.genre h1{
    margin-top: 75px;
   text-align: center;

   font-size: 40px;
}

#contact{


    display: flex;
    padding: 10% 5%;
    flex-direction: column;
    align-items: center;
    height: 300px;
    background-image: url(img/magic-fairytale-book-concept.jpg);
    background-position: top;
    background-size: 2000px;
  

}


.contact-form{
    color: white;
    background-image: url(img/magic-fairytale-book-concept.jpg);
    background-position:center;
    background-size: cover;
    width: 30%;
    height: 200px;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 5px black ;

   
}
.contact-form p{
    border: 2px;
}
.socials img{
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.469) ;
    border-radius: 5px;
    margin-top: 10px;
    background-color: white;
  
}


#footer{
  padding: 10px;
    background-color: black;
    display: flex;
  
}
#footer a{
color: white;
display: flex;
align-items: center;
justify-content: center;
margin: auto;
gap: 20px;
text-decoration: none;
}

#footer a span{
    font-size: 10px;
}



