
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html::-webkit-scrollbar{
    width: 0px 
}

html{
    scroll-behavior: smooth;
}

body{
    width: 100%;
    height: auto;
    min-height: 100vh;
}
img, video{
    width: 100%;
}

html, body {
    overflow-x: hidden; 
  }

a, a:active, a:link, a::before, a::after{
    text-decoration: none;

}
ul{
    list-style: none;
}
p{
     color: #E48586; 
}


.topbar {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 120px;  /* üst, sağ, alt, sol */
    background: linear-gradient(to right, #091649, #68134f);
    font-family: 'Josefin Sans', sans-serif;
    color: white;
}

.topbar .left {
    display: flex;
    align-items: center;
    gap: 10px;           /* resim ve yazı arası boşluk */
}


.topbar .left img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.topbar .left h4 {
    font-size: 22px;
    font-weight: 900;
    /* font-style: italic; */
    margin: 0;                   /* margin sıfırla */
    padding: 0;
    line-height: 1;
}

.topbar .right{ 
    flex: 3; 
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}
.topbar a{
    color: white;
}

.topbar.right i{
    font-size: 1.3rem;
    color: white;
}

i:hover{
    opacity: 0.7;
}
.topbar .center{
    flex: 6;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px 0 120px;
    justify-content: space-evenly;

}
.topbar .center a {
    color: white; 
    text-decoration: none; 
}
.center a:hover{
    opacity: 0.7;
    
    }


 .hamburger {
    display: none;
    cursor: pointer;
    padding: 10px; 
    margin-left: auto; 
    margin-right: auto; 
}

.hamburger i {
    font-size: 1.5rem;
    display: flex;
    justify-content: center; 
    align-items: center; 
} 

/* Mobil menü stili */

.mobile-menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(to right, #091649, #68134f);
    position: absolute;
    top: 50px;
    width: 100%;
    left: 0;
    z-index: 1000;
    font-family: 'Josefin Sans', sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    
}

.mobile-menu a {
    color: white;
    padding: 10px;
    text-decoration: none;
}

.mobile-menu.show {
    display: flex;
}

/* Responsive  */
@media (max-width: 768px) {
    .topbar {
        height: 60px;
        padding: 0 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .topbar .left {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .topbar .center,
    .topbar .right {
        display: none;
    }

    .hamburger {
        display: block;
        margin: 0;
        padding: 0;
    }
}

/*SCROLL */

.topbar{
    opacity: 0;
    transition: all 0.5s;
    transform: translateY(-10px);

}

.topbar.active{
    opacity: 1;
    transform: translateY(0px);
}

.topbar .left i{
    transition: all 0.3s;
    transform: translateX(-20px);
    opacity: 0;
}

.topbar.active.left i{
    transition: all 0.3s;
    transform: translateX(0px);
    opacity: 1;
}

.topbar.active.left i:nth-child(2){
    transition-duration: 0.5s;
}

.topbar.active.left i:nth-child(3){
    transition-duration: 0.8s;
}

.topbar.active.left i:nth-child(4){
    transition-duration: 1.2s;
}

.topbar.center, .topbar.right{
    transform: translateX(-10px) translateY(-10px);
    transition: all 0.5s;
    opacity: 0;
}

.topbar.active.center, .topbar.active.right{
    transform: translateX(0px) translateY(0px);
    opacity: 1;
}  


.header {
    margin-top: 70px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.header img{
    width: 100%;
    height: 450px;
    object-fit: cover;   

}
/* Responsive  */
@media (max-width: 768px) {
    .header{
        margin-top: 0px;
    }
}

.header h1, header h3{
    position: absolute;
}

.header h1{
    top: -30px;
    font-family: "Sofia", cursive;
    font-size: 3.1rem;
    color: #770c5c;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
}
@media (max-width: 768px) {
    .header h1{
        top: 40px;
        font-size: 2.8rem;
    }
}

.header h3{
    top: 50px;
    font-family: 'Satisfy', cursive;
    font-size: 2.6rem;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.4), 0px 0px 6px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .header h3{
        top: 120px;
    }
}

/* scroll animasyon */
.header{
    transform: translateX(-30px);
    transition: all 0.5s;
    opacity: 0;
}
.header.active{
    transform: translateX(0px);
    opacity: 1;
}

.header h1, .header h3{
    position: absolute;
    transform: translateY(-20px);
    transition: all 0.8s;
    opacity: 0;
}


.header.active h1, .header.active h3{
    position: absolute;
    transform: translateY(0px);
    opacity: 1;
}

.header.active h3{
    transition-delay: 0.3s;
    position: absolute;
    transform: translateY(0px);
} 


/*  Home */
.home{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding: 0px 10px;
 }
 .home .wrapper{
    width: 100%;
    max-width: 1366px;
    display: flex;
    padding: 0 10px;
 }
.posts {
    flex: 9;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
 }
 
 .posts .post {
    width: calc(50% - 20px);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
 }

 .post a{
    color:#770c5c;
 }


  @media(max-width:1100px){
    .posts .post {
       width: 100%;
    }
    .posts .post:nth-child(2n) {
       transition: all 0.5s;
    }
 }

 
 .posts h1 {
    font-family: 'Pacifico', cursive;
 }
 
 .posts img {
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.5s;
 }

 .posts img:hover{
    transform: scale(1.1);
 }
 
 .posts p {
    padding: 5px;
    font-family: 'Josefin Sans', sans-serif;  
    font-size: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-height: 20px;
 }
 
 .posts .tarih {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0px 10px;
 }
 
 .posts .tarih span:nth-child(1) {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
 }
 .posts .tarih span:nth-child(2) {
    font-family: 'Ubuntu Mono', monospace;
    font-weight: 700;
 }
 
 .picture{
    overflow:hidden;
 }
 /* Scroll animasyon */

 .posts .post {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.5s;
    
 }
 .posts .post:nth-child(2n) {
    transition: all 0.8s;
 }
 .posts .post.active {
    transform: translateX(0px);
    opacity: 1;
 }
 
  
  .sidebar {
    flex: 3;
    padding: 0 20px;
 }

 @media (max-width: 768px) {
    .sidebar{
        display: none;
    }
 }
 
 .sidebar .alan {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden; 
 }

 
 .sidebar h3 {
    width: 100%;
    margin-bottom: 10px;
    font-family: 'Pacifico', cursive;
    display: flex;
    justify-content: center;
    position: relative;
 }
 
 .sidebar h3::after {
    content: '';
    width: 50%;
    height: 2px;
    background-color: black;
    position: absolute;
    bottom: 0;
 }
 
 .sidebar img {
    padding: 5px;
    border-radius: 15px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    
 }

 .sidebar img:hover{
    transform: scale(1.1);
 }
 

 .sidebar .kategori {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-top: 15px;
    padding-left: 15px;
 }
 
 .sidebar .kategori span {
    display: block;
    width: 100%;
    font-family: 'Josefin Sans', sans-serif;  
    font-size: 1.2rem;  
    border-radius: 3px;
    cursor: pointer;
 }
 

 
 /* Scroll animasyonnn */
 
 .sidebar .alan {
    opacity: 0;
    transition: all 0.5s;
 }
 .sidebar .alan.active {
    opacity: 1;
 } 

/*FOOTER */

.soz{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    color: white;
  }
  
  
  .soz2{
    font-family: 'Pacifico', cursive;   
    font-size: 1.2rem;
    color: white;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    text-decoration: underline;
    
  }
  
  .soz::before, .soz::after {
    content: '"';
    color: white;
  }
  
  .tema{
    background: linear-gradient(to right, #091649, #68134f);
  }

  .footer h5{
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    text-decoration: underline;
}
  

.footer{
    opacity: 0;
    transition: all 0.5s;
    transform: translateY(0px);
    transform: translateY(0px);
    font-family: 'Josefin Sans', sans-serif;
}

.footer.active{
    opacity: 1;
    transform: translateY(-10px);
} 


.soz{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    color: white;
  }
  
  
  .soz2{
    font-family: 'Pacifico', cursive;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    text-decoration: underline;
    
  }
  
  .soz::before, .soz::after {
    content: '"';
    color: white;
  }
  
  .tema{
    background: linear-gradient(to right,  #091649, #68134f);
  }
  
  .fonttema{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
  }

  .footer h5{
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    text-decoration: underline;
}
  
@media (max-width: 768px) {
  .footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-left: 10px;
  }

  .footer .col {
    flex: 1 1 50%;
    max-width: 50%;
    box-sizing: border-box;
    text-align: left;
    padding-left: 10px;
  }

  .footer .col:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
    margin-bottom: 20px;
  }

  .footer h5,
  .footer ul,
  .footer p {
    text-align: left !important;
  }
}


/* 
sil sonradan 
scripti dosyası var artık bir


*/
/* .posts .post,
.sidebar .alan,
.header,
.footer {
    opacity: 1 !important;
    transform: none !important;
} */
