@import url('https://fonts.googleapis.com/css2?family=Edu+QLD+Beginner&family=Montserrat:ital,wght@0,100;1,600&family=Poppins:wght@100;700&family=Ubuntu:ital,wght@0,300;0,400;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Work+Sans&display=swap');
/* #f44336 */

* {
    text-decoration: none;
    list-style-type: none;
}

#title {
    width: 100%;
    height: 100vh;
    background-image: url(/images/mainphoto.jpg);
    background-position: center;
    background-size:cover;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: hidden;
    
}

#noPic{
    width: 100%;
    padding: .3rem 0;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #00093c;
    position: sticky;
    top: 0;
    z-index: 1;
    
}

#bookImg{
    height: 35rem;
}
#bookImg1{
    height: 35rem;
}

#noPic .nav-item::after {
    content: "";
    width: 0;
    height: 1px;
    background-color: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

#noPic .nav-item:hover::after {
    width: 100%;
}
#noPic .navbar{
    background-color: #00093C;
    
}

#noPic .navbar-brand {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    opacity: 60%;
    padding: .5% 2%;
    margin-left: 48px;
}

#noPic .nav-item {
    padding-right: 16px;
}

#noPic .nav-link {
    color: #fff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight:bolder;
    
}

h1,
h2 {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: black;
    text-align: center;
    padding: 5% 0;
}

h3 {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight:bolder;
}

.btn {
    width: 100%;
}

.paragraf {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding-bottom: 20%;
}

.par {
   font-family: 'Poppins', sans-serif;
    text-align: center;



}


#navbarNav{
    margin-right: 60px;
}



.navbar-toggler {
    opacity: 90%;
}

#title q {
    font-size: 1rem;
    color: #fff;
    font-family: 'Edu QLD Beginner', cursive;
    position: absolute;
    top: 43%;
    left: 47%;
    text-align: center;
}

/* SECTION 2 */

#about {
    width: 100%;
    height: 100%;
    background-color: #F8F6F8;
}

#about p {
    font-family: 'Poppins', sans-serif;
    padding-bottom: 5%;
    font-size: 16px;
}


/*EVENTS*/

#events {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

#events img {
    width: 100%;
    object-fit: contain;
    padding-bottom: 5px;
}

#events p {
    width: 40%;
    text-align: center;
    padding-bottom: 5%;
    font-family: 'Poppins', sans-serif;
}

#events .container {
    position: relative;
}

#sunday {
    width: 100%;
    padding-bottom: 5%;
    background-color: #F8F6F8;
    overflow: hidden;
}

#sunday h1 {
    position: relative;
}

#sunday .container {
    width: 60%;
}

#sunday .card:hover {
    box-shadow: 0 0 5px rgb(93, 177, 93);
}

#book {
    width: 100%;
    height: 60vh;
    margin: auto;
    padding: auto;
    background-color: #030938;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 2.1rem;
    padding: 50px 50px;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
}

#book .book-img {
    width: 10%;
    border-radius: 90%;
}

#sale #kitap{
    height: 85vh;
}
#sale {
    position: relative;
    width: 100%;
    height: 90vh;
    background-color: #fff;
    
}

#sale .container {
    padding: 1%;
}

#sale .adv {
    width: 75%;
}

#sale button {
    transition: all .5s ease;
}

#sale button:hover {
    transform: scale(1.1);
}

#contact .map{
    display: flex;
    justify-content: space-evenly;
    position: relative;
}

.map1, .map2{
    border:1px solid #555;

}

#contact .container{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#contact form{
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 2vw 4vw;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
}
#contact h3{
    color: #555;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

#contact form input, #contact form textarea{
    border: 0;
    margin: 10px 0;
    padding: 20px;
    outline: none;
    background: #f5f5f5;
    font-size: 16px;
}

#contact form button{
    padding: 15px;
    background: #ff5361;
    color: #fff;
    font-size: 18px;
    border: 0;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    width: 150px;
    margin: 20px auto 0;
    font-family: 'Poppins', sans-serif;
}


#footer {
    width: 100%;
    position: relative;
    bottom: 0;
    background: linear-gradient(to right, #00093c, #2d0b00);
    color: #fff;
    padding: 100px 0 30px;
    border-top-left-radius: 125px;
    font-size: 13px;
    line-height: 20px;
}

#footer .row {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#footer .col {
    flex-basis: 25%;
    padding: 10px;
}

#footer .footerlogo {
    font-size: 2rem;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

#footer ul li {
    list-style: none;
    margin-bottom: 12px;
}

#footer ul li::after {
    content: "";
    width: 0;
    height: 1px;
    background-color: #f44336;
    margin: auto;
    display: block;
    transition: 0.5s;
}

#footer ul li:hover:after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #f44336;
    margin: auto;
    display: block;
}

#footer ul li a {
    text-decoration: none;
    color: #fff;
}
.copyright {
    text-align: center;
    font-size: 0.8em;
    color: #666;
    padding-top: 16px;
    padding-bottom: 0;
  }

  #empt{
    height: .5rem;
  }
  
  
  
  /* Ortak stil */
.quote-box {
  margin-top: 8rem; /* varsayılan: masaüstü için */
}

/* Mobil ekranlarda daha yukarıda göster */
@media (max-width: 768px) {
  .quote-box {
    margin-top: 4rem; /* navbar'dan biraz sonra */
  }
}

/* Çok küçük ekranlarda (örnek: 400px altı) */
@media (max-width: 480px) {
  .quote-box {
    margin-top: 3rem;
  }
}




/* MEDIAS */

@media(max-width: 700px) {
    #title q {
        font-size: 1rem;
        color: #fff;
        font-family: 'Edu QLD Beginner', cursive;
        position: absolute;
        top: 50%;
        left: 50%;
        text-align: center;
        font-weight: 800;
    }
    #title .nav-link {
        color: #fff;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
    }
    #noPic .nav-link {
        color: #fff;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
    }
    h1 {
        font-size: 0.8rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        color: black;
        text-align: center;
        padding: 5% 0;
    }
    #about p {
        font-family: 'Poppins', sans-serif;
        padding-bottom: 5%;
        font-size: 14px;
    }.page {
        opacity: 0;
        transition: opacity 0.5s;
      }
    
      .page.active {
        opacity: 1;
      }
    #book {
        width: 100%;
        height: 50vh;
        margin: auto;
        padding: auto;
        background-color: #030938;
        font-family: 'Poppins', sans-serif;
        font-weight: 900;
        font-size: 1.1rem;
        padding: 25px 25px;
        text-align: center;
        color: #fff;
        display: flex;
        align-items: center;
    }
    #book .book-img {
        width: 10%;
        border-radius: 100%;
    }

    #sale #kitap{
        height: 58vh;
    }
    #sale {
        position: relative;
        width: 100%;
        height: 100%;
        background-color: #F8F6F8;
        padding-bottom: 20px;
    }
    #contact .map{
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
        position: relative;
    }
   
    #footer .row {
        width: 85%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .copyright {
        text-align: center;
        font-size: 0.8em;
        color: #666;
      }
      
}

@media(max-width: 415px){
    .page {
        opacity: 0;
        transition: opacity 0.5s;
      }
    
      .page.active {
        opacity: 1;
      }
    #title q {
        font-size: .7rem;
        color: #fff;
        font-family: 'Edu QLD Beginner', cursive;
        position: absolute;
        top: 50%;
        left: 50%;
        text-align: center;
        font-weight: 400;
    }
    #title .nav-link {
        color: #fff;
        font-size: .7rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 200;
    }
    #sale #kitap{
        height: 58vh;
    }
    #noPic .nav-link {
        color: #fff;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
    }
    h1 {
        font-size: 0.5rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        color: black;
        text-align: center;
        padding: 5% 0;
    }
    #about p {
        font-family: 'Poppins', sans-serif;
        padding-bottom: 5%;
        font-size: 14px;
    }
    #events .paragraf {
        font-family: 'Poppins', sans-serif;
        text-align: center;
        padding-bottom: 5%;
        font-size: 1rem;
    }
    #sunday .card{
        margin-bottom: 1rem;
    }
    #book {
        width: 100%;
        
        margin: auto;
        padding: auto;
        background-color: #030938;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        font-size: 0.5rem;
        padding: 25px 25px;
        text-align: center;
        color: #fff;
        display: flex;
        align-items: center;
    }
    #book .book-img {
        width: 10%;
        border-radius: 100%;
    }
    #sale {
        position: relative;
        width: 100%;
        height: 100%;
        background-color: #F8F6F8;
        padding-bottom: 20px;
        align-items: center;
    }

    #sale img{
        position: relative;
        left: 45px;
    }
    #contact .map{
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
        position: relative;
    }
    .map h3{
        padding: 1rem 0;
    }
    #footer .row {
        width: 85%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .copyright {
        text-align: center;
        font-size: 0.8em;
        color: #666;
        background-color: #F8F6F8;
      }
      
}