@font-face {
  font-family: 'poppins';
  src: url(../fonts/pop.ttf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  font-family: "poppins", sans-serif;
}



body{
  background-color: var(--text-color);
}

:root {
  --main-color: #151719;
  --text-color: #fff3ef;
  --acik-yesil: #8da69f;
  --koyu-yesil: #3b5b58;
  --enkoyu-yesil: #0a1d1b;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 9rem;
  scroll-behavior: smooth;
}

#menu-btn{
  display: none;
}

.header {
  background-color: var(--enkoyu-yesil);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 7%;
  box-shadow: 0px 0px 17px -2px rgba(0, 0, 0, 0.75);
  position: sticky;
  top: 0;
  z-index: 1000;
  
}

.header .logo img {
  height: 8rem;
  padding: 0.5rem;
  padding-top: 1.5rem;
}





.header .navbar a {
  margin: 0 2.5rem;
  font-size: 1.6rem;
  color: #fdeedb;
  border-bottom: 0.1rem solid transparent;
}

.navbar{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.navbar ul{
  list-style: none;
  display: flex;
}
.navbar ul li{
  padding: 1rem 1rem;
  position: relative;
}
.navbar ul li a{
  color: var(--text-color);
  text-decoration: none;
  font-size: 2rem;
}

.underline-animation {
  display: inline-block;
  position: relative;
}

.underline-animation::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 0.2rem;
  bottom: 0;
  left: 0;
  background-color: var(--text-color);
  transition: transform 0.25s ease-out;
  margin-bottom: -0.5rem;
  opacity: 0.7;
}

.underline-animation:hover::after {
  transform: scaleX(1);
}

.hover-underline-animation.center::after {
  transform-origin: bottom center;
}
.hover-underline-animation.center:hover::after {
  transform-origin: bottom center;
}

.drop{
  display: none;
}

.navbar ul li:hover .drop{
  display: block;
  position: absolute;
  left: 0;
  top: 100;
  background-color: var(--enkoyu-yesil);
  
}



.wp{
 bottom: 0;
 position: fixed;
 z-index: 100;
 margin-left: 95vw ;
 margin-bottom: 1.5rem;
 color: #25D366;
 
}



.drop ul{
  display: block;
  
}

.drop ul li{
  width: 15rem;
  padding-top: 2rem;
  
}
.pageSection{
  width: 100%;
  height: 50vh;
  background-color: #f6e4dd;
  display: flex;
  align-items: center;
  justify-content: center;
 
}

.pageSection p{
  font-size: 2rem;
  margin-bottom: 7%;
  color: var(--koyu-yesil);
  opacity: 0.8;
 
}

.comment-section {
  display: flex;
  height: 50vh;
  width: 100%;
}

/* Form alanı */
.comment-form {
  width: 40%;
  padding: 20px;
  box-sizing: border-box;
}

/* Slider alanı */
.comment-slider {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Yorum kutuları */
.comment-item {
  display: none;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.comment-item.active {
  display: block;
}

/* Slider butonları */
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ddd;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}
.comment-section {
  display: flex;
  height: 50vh;
  width: 100%;
}

/* Form alanı */
.comment-form {
  width: 40%;
  padding: 20px;
  box-sizing: border-box;
}

/* Slider alanı */
.comment-slider {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Yorum kutuları */
.comment-item {
  display: none;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.comment-item.active {
  display: block;
}

/* Slider butonları */
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ddd;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}
/* Yorum formu */
.comment-form {
  width: 40%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comment-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-form label {
  font-weight: bold;
}

.comment-form input,
.comment-form textarea {
  padding: 10px;
  font-size: 14px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.comment-form button {
  background-color: #007BFF;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.comment-form button:hover {
  background-color: #0056b3;
}


footer {
  background-color: var(--main-color);
  width: 100%;
  height: 10rem;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5rem;
  padding-left: 10rem;
  padding-right: 10rem;
  
}

footer img {
  height: 7rem;
  padding-top: 1rem;
}

footer h3{
  font-size: 1.6rem;
  color: var(--text-color);
}

#menu-btn{
  display: none;
}


@media (max-width: 1024px){
  html{
    font-size: 55%;
  }
  .wp{
    margin-left: 92vw;
  }
  .header .navbar a{
    font-size: 1.3rem;
    margin: 0 1.5rem;
  }
}

@media (max-width: 800px){

 

 .header{
 justify-content: space-between;
 }

 footer{
  padding-left: 3rem;
  padding-right: 7rem;
 }
 footer h3{
  font-size: 1.2rem;
 }

 #menu-btn{
  display: inline-block;
  cursor: pointer;
  font-size: 3rem;
  background-color: transparent;
  color: var(--text-color);
 }
 .header .navbar{
  position: absolute;
  top: 95%;
  background-color: var(--enkoyu-yesil);
  height: calc(100vh - 10rem);
  width: 25rem;
  box-shadow: -5px 5px 15px 0px rgba(0, 0, 0, 0.5);
  display: none;
  
 }

 .header .navbar ul{
  color: var(--text-color);
  display:block;
  margin: 1.5rem;
  padding: 0.5rem;
  font-size: 4rem;
  padding-left: 1rem;
 
  
 }

.header .navbar.active{
  right: 0;
  display: block;
}

.navbar ul li:hover .drop{
  
  position: relative;
 
  
}

.wp{
  margin-left: 85vw;
}
.header .navbar ul li a{
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
}
.header .navbar ul li{
  margin: 0;
  padding: 0.2rem;
  
}

.comment-section {
  flex-direction: column;
  height: auto;
}

.comment-form {
  width: 100%;
}

.comment-display {
  width: 100%;
  margin-top: 20px;
}

.comments-wrapper {
  flex-direction: column;
}
}