.body{
    height: min-content;
    overflow-x: visible;
}
.content{
    padding: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-height: 63vh;
    overflow-x: hidden;
}
.content canvas{
    width: 50vw;
    display: block;
    border: 1px solid #ccc;
    border: none;
}
select{
    padding: 5px;
    font-size: 16px;
}
.content p{
    width: 100%;
    font-family: "Source Sans Pro",Arial,sans-serif;
    color: black;
}
.content p strong em{
    font-weight: bold; /* Matches the bold effect of <strong> */
    color: inherit; /* Use the same color as the parent or <strong> */
    font-style: normal; /* Removes the italicized style of <em> */
    
}
.paragraph-container p strong{
  color: black;
}
.content ol:first-child li {
    font-size: 1.4em;
    padding-bottom: 70px;
    font-weight: bold;
    font-family: 'Cinzel Decorative', serif;
}
.content div:first-child p {
    font-size: 1.4em;
    padding-bottom: 70px;
    font-weight: bold;
    font-family: 'Cinzel Decorative', serif;
    text-align: center;
}
.paragraph-container{
    font-weight: bold;
    width: 100%;
}
@media screen and (max-width: 768px) {
    .content canvas{
        width: 100vw;
    }
    .content{
        padding-left: 10px;
        padding-right: 10px;
    }
}


  .custom-dropdown {
    position: sticky;
    top: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    /* border-radius: 5px; */
    width: 100%; /* Adjust width as needed */
    background-color: #fff;
}

.custom-dropdown button {
    /* background-color: #eee; */
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}
.custom-dropdown button i {
    font-size: small;
}
.arrow i{
    font-size: x-large;
}

.custom-dropdown button:hover {
    /* background-color: #ddd; */
}

.custom-dropdown img {
    width: 50px;
    height: auto;
}

.dropdown-select {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    position: relative;
}

.selected-option {
    /* flex-grow: 1; */
    font-size: 16px;
}

.arrow {
    padding-left: 10px;
}

.options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    /* border: 1px solid #ccc; */
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
}

.option {
    padding: 10px;
    border-left: 2px solid transparent; /* Default border for all options */
    cursor: pointer;
}
.option:hover{
    /* background-color: #f1f1f1; */
}
.option.selected {
    color: orange !important; /* Text color for selected option */
    border-left: 2px solid orange; /* Left border for selected option */
  }

.option:last-child {
    border-bottom: none;
}

.select-box{
    display: flex;
    cursor: pointer;
    border-right: 1px solid #ccc;
}
#nextButton{
    margin-left: auto;
}
.select-box{
    transition: background-color 0.3s, color 0.3s; /* Add transition for background and color */
}

.select-box:hover {
    background-color: #eee; /* Change background to grey on hover */
}

.options .option{
    transition: background-color 0.3s, color 0.3s; 
}
.options .option:hover{
    background-color: #eee; 
}
@media screen and (max-width: 678px) {
    .select-box{
        flex-grow: 1;
    }
}

.scroll-progress-container {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    position: sticky;
    top: 0;
    /* margin-top: 20px; */
    overflow: hidden;
}

.scroll-progress-bar {
    height: 100%;
    background-color: #00b2b2;
    width: 0%;
    transition: width 0.1s ease;
}


.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    color: white;
    border: 2px solid #8b887d; /* Adding a border */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    /* Add box shadow for a 3D border effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    opacity: 0; /* Initially invisible */
    transform: translateY(20px); /* Start position slightly below */
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s;
    z-index: 1000;
}

.scroll-to-top-btn.show {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to its final position */
}

.scroll-to-top-btn:hover {
    /* Change the box-shadow on hover for a more interactive effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
}
.scroll-to-top-btn i {
    color: #8b887d; 
    font-size: medium;
}
.scroll-to-top-btn:hover i {
    color: black;
}

.theme-toggle-label {
    width: 100%;
    height: 50px;
    position: absolute;
    display: block;
    background: white;
    border-radius: 200px;
    box-shadow: inset 0px 5px 15px rgba(0, 0, 0, 0.4), inset 0px -5px 15px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.theme-toggle-label:after {
    content: "";
    width: 45px;
    height: 45px;
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    background: linear-gradient(180deg, white, white);
    border-radius: 180px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}
.theme-toggle-label img{
  z-index: 1000;
}
.theme-toggle-label img.sun {
    position: absolute;
    width: 30px;
    top: 10px;
    left: 10px;
    filter: brightness(1); /* Bright style for sun icon */
}

.theme-toggle-label img.moon {
    position: absolute;
    width: 30px;
    top: 10px;
    right: 10px;
    filter: grayscale(100%); /* Dark style for moon icon */
}

#darkmode-toggle {
    width: 0;
    height: 0;
    visibility: hidden;
}

input:checked + .theme-toggle-label {
    background: #242424;
}

input:checked + .theme-toggle-label:after {
    left: 100%;
    transform: translateX(-106%);
    background: #757575;
}

input:checked + .theme-toggle-label img.sun {
    filter: grayscale(100%); /* Darken sun icon */
}

input:checked + .theme-toggle-label img.moon {
    filter: brightness(1); /* Brighten moon icon */
}

.content {
	transition: background-color 0.5s ease;
}

.content.dark-mode {
	background-color: #242424;
}

.content.dark-mode ol,
.content.dark-mode p {
	color: #f7f7f7;
	transition: color 0.5s ease;
}
.content.dark-mode .paragraph-container p strong {
  color: white;
}

.custom-dropdown{
  transition: background-color 0.5s ease;
}

.custom-dropdown.dark-mode {
	background-color: #242424;
    transition: background-color 0.5s ease;
}

.custom-dropdown.dark-mode #prevButton,
.custom-dropdown.dark-mode #nextButton,
.custom-dropdown.dark-mode .selected-option,
.custom-dropdown.dark-mode .arrow i {
    transition: color 0.5s ease;
	color: white;
}
.custom-dropdown.dark-mode .select-box{
    border-right: 1px solid #333333;
    transition: border-right 0.5s ease;
}
.custom-dropdown.dark-mode .options{
    transition: background-color 0.5s ease;
    background-color: #242424;
}
.custom-dropdown.dark-mode .option{
    color: white;
    transition: color 0.5s ease;
}
.custom-dropdown.dark-mode .select-box:hover{
    transition: background-color 0.5s ease;
    background-color: #333333;
}
.custom-dropdown.dark-mode .options .option:hover{
    transition: background-color 0.5s ease;
    background-color: #333333;
}

/* Optional: style the dropdown-select itself if you want it to match */
.custom-dropdown.dark-mode .dropdown-select {
	color: white;
    transition: color 0.5s ease;
}

.bottom-perc3 p{
    color: black;
}


.next-episode{
    height: 60px; width: 40%; 
    /* background-color: #00b2b2; */
    justify-self: center;
    margin-bottom: 20px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-content: center;
    position: absolute;
    margin-top: -80px;
    z-index: 10;
    left: 49%;
    transform: translateX(-50%);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease; /* Add transition for transform and background-color */
}

.next-episode:hover {
     /* transform: translateX(-50%) translateY(-5px);  */
    /* background-color: #0bf0f0;  */
}
.next-episode:hover h1{
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

@media screen and (max-width: 678px) {
    .next-episode{
        width: 95%;
    }
}

.next-episode-context{
    color: black;
    font-size: medium;
    border-bottom-style: solid;
}

/* Modal Container */
#commentModal {
    position: fixed;
    top: 0;
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    background-color: white;
    width: 500px;
    /* max-width: 90%; */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    right: 0;
    height: 100%;
    animation: fadeIn 0.3s ease-in-out;
    overflow: overlay;
  }
  
  /* Modal Content */
  #modalContent {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  #bookTitle{
    text-align: center;
    font-size: larger;
    font-weight: bold;
    align-self: center;
    max-width: 90%;
  }
  
  /* Close Button */
  #closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 27px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }
  .time-ago {
    font-size: 12px;
  }
  
  /* Modal Title */
  #modalTitle {
    font-size: medium;
    margin-bottom: 10px;
    color: #444;
    background-color: #f6f6f6;
    padding: 20px;
    padding-top: 10px;
    line-height: 1.5;
    font-style: italic;
    min-height: fit-content;
    max-height: 50vh;
    font-weight: bold;
    /* overflow: scroll; */
  }
  #modalTitle strong{
    /* font-weight: 100; */
  }
  #modalTitle strong em{
    font-weight: bold;
  }
  
  
  /* Comment Display Section */
  .comment-display-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* max-height: 200px; */
    overflow-y: auto;
    margin: 10px 0;
    padding-top: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    order: 20;
    color: black;
    overflow: visible;
  }

  .comment-display-modal div{
    display: flex;
    /* flex-direction: column; */
    /* border-bottom: groove;
    border-bottom-right-radius: 40px; */
    /* gap: 10px; */
    font-family: monospace;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .other-div{
    display: flex;
    flex-direction: column;
    padding-left: 10px;
  }
  .other-div strong{
    padding-bottom: 10px;
  }
  .other-div p{
    margin: 0;
  }
  .other-div span{
    color: rgba(18, 18, 18, 0.64);
  }
  .user-icon{
    font-size: xxx-large;
  }
  .user-icon i{
    color: #3b19a9;
  }
  .comment-display-modal strong{
    /* color: crimson; */
    color: #3b19a9;
  }
  @media screen and (max-width: 768px) {
    #commentModal{
        width: 100%;
    }
}
  
  /* Username Input */
  #usernameInput {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 14px;
    padding: 20px;
  }
  #usernameInput:focus-visible{
    outline-color: #5c10ff;
  }
  .flickity-button:hover {
    background: none;
  }
  /* Comment Textarea */
  #commentTextarea {
    display: block;
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 50px;
    align-content: center;
    font-size: 14px;
    padding: 20px;
  }
  #commentTextarea:focus-visible{
    outline-color: #5c10ff;
  }
  
  /* Submit Button */
  #submitButton {
    background-color: #3b19a9;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-60%);
    margin-right: 11px;
}

#submitButton i {
    font-size: 18px;
}
  
  #submitButton:hover {
    background-color: #0056b3;
  }
  .paragraph-container{
    position: relative;
    display: flex;
  }
  .comment-input-container{
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
  }

  .paragraph-container button{
    /* top: 30%;
    position: absolute;
    right: 0; */
    align-self: center;
  }
  @media (max-width: 768px) {
    .paragraph-container button{
      align-self: self-end;
      transform: translateY(-15px);
    }
}

  .content div:first-child button{
    display: none;
  }

  .comment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    background: none;
    border: 0px solid #ccc;
    border-radius: 50%;
    font-size: 1.6em;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
    width: auto;
    height: auto;
  }
  @media (max-width: 768px) {
    .comment-button {
      /* font-size: 25px; */
    }
}
  
  .comment-button:hover i {
    color: #a3a3a3; /* Change color on hover */
    transition: color 0.3s; /* Add transition for smooth effect */
  }
  .comment-button i {
    color: #6f6f6f;
  }
  
  .comment-count {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.5em;
    font-weight: bold;
    color: #f8f6f6;
    pointer-events: none;
  }
  .comment-count i {
    color: white;
  }
  .encore-dark-theme{
    --dynamic-background-tinted: rgba(97, 0, 0, 255);
  }

  .yzk-html p{
    color:#832323;
    font-size: larger;
    font-family: "Lora",serif;
  }
  .replik-content-yzk{
    height: 50%;
    background-image: linear-gradient(to top, #000, transparent);
    flex-grow: 1;
  }
  .replik-content-yzk img{
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
  }
  .quotes{
    width: 100%;
    background-color: white;
  }
  .quotes p{
    margin-top: 15px;
    -webkit-text-stroke: thin;
    color: black;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.1rem,2vw,1.8rem);
    line-height: 1.2;
    font-style: italic;
    /* white-space: nowrap; */
    border: 0px solid black;
    text-overflow: ellipsis;
    display: flex;
    justify-content: center;
    gap: 14px;
  }
  @media (max-width: 768px) {
    .quotes p{
    }
    .quotes{
        height: 55px !important;
        align-content: center;
    }
    .quotes p .fa-quote-left{
        margin-left: 14px;
    }
    .quotes p .fa-quote-right{
        margin-right: 14px;
    }
}
.quotes{
  border-bottom-style: solid;
  border-bottom-color: white;
  height: 75px;
}
  .fa-solid {
    /* margin: 0 0.5rem;  */
  }
  .flickity-page-dots{
    display: none;
  }
  @media (min-width: 1024px) {
    .replik-slider-yzk {
        height: 70vh;
    }
}
@media (max-width: 768px) {
    .replik-content-yzk{
        padding: 0;
    }
    .replik-content-yzk img{
        object-fit: cover;
    }
    .replik-slider-yzk{
        height: 60vh;
    }
    .yzk-replik-cell-inside{
        padding-top: 0px;
    }
    .flickity-page-dots{
        bottom: -22px;
    }
}
@media (min-height: 640px) {
  .replik-content-yzk img{
    /* object-fit: contain; */
  }
}

#divforinput{
  padding-left: 10px;
  padding-right: 10px;
}
.carousel-cell-replik-yzk{
    justify-content: flex-end;
    background-image: linear-gradient(to top, #000, transparent);
    gap: 0vh;
}
.flickity-viewport{
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
}
html{
    overflow-x: hidden;
}
.carousel-cell-replik:not(:first-child) {
    visibility: hidden;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);  /* Semi-transparent black */
    z-index: 1000;  /* Ensure it appears above content but below modal */
    animation: fadeIn 0.3s ease-in-out;
  }
  @keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.kitap-oku {
  transition: background-color 0.5s ease;
}
.kitap-oku.dark-mode{

  background-color: #242424;
  
}

.playlist-class.dark-mode{
  background-color: #242424;
  transition: background-color 0.5s ease;
}
.playlist-class.dark-mode h1{
  color: white !important;
  transition: color 0.5s ease;
}
.quotes.dark-mode {
  background-color: #242424;
  transition: background-color 0.5s ease;
  border-bottom-color: #242424 !important;
}
.quotes.dark-mode p{
  color: white;
  transition: background-color 0.5s ease;
}
.container3 {
  transition: background-color 0.5s ease;
}
.container3.dark-mode{
  background-color: #242424;
  transition: background-color 0.5s ease;
}

.container3.dark-mode .header3 h1{
  color: white !important;
  transition: color 0.5s ease;
}
.container3.dark-mode .content3 .left-side3 p{
  color: white !important;
  transition: color 0.5s ease;
}

.comment-modal.dark-mode .modal-content{
  background-color: #242424;
  transition: background-color 0.5s ease;
}
.comment-modal.dark-mode .modal-content h3{
  color: white !important;
  transition: color 0.5s ease;
}
.comment-modal.dark-mode .modal-content #modalTitle{
  background-color: #353434;
  transition: background-color 0.5 ease;
}
.comment-modal.dark-mode .modal-content #closeButton{
  color: white !important;
}

.comment-modal.dark-mode .comment-display-modal{
  background: #353434;
}
.comment-modal.dark-mode .other-div strong{
color: #00b2b2;
}
.comment-modal.dark-mode .other-div p{
  color: white;
  }
.comment-modal.dark-mode .comment-display-modal .user-icon i{
  color: #00b2b2 !important;
}
.comment-modal.dark-mode #submitButton{
  background-color: #00b2b2;
}
.comment-modal.dark-mode #commentTextarea{
  background: unset;
  color: white;
}
.comment-modal.dark-mode #usernameInput{
  background: unset;
  color: white;
}
.comment-modal.dark-mode .other-div span{
  color: #9c9c9c;
  }

  .kitap-oku.dark-mode .next-episode h1 {
    color: white !important;
  }
  @media (max-width: 768px) {
    .özel-görsel img{
      object-position: 13%;
    }
}
.theme-toggle-label{
  display: none;
}