
/* Navbar Stil Ayarları */
@import url(script.js);

.navbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: black;
  padding: 10px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  height: 80px;
  border-bottom: 1px solid #00FFFF; 



}

.menu.closed {
  max-height: 0;
  transition: max-height 0.3s ease-in-out;
}

.menu.open {
  max-height: 500px; /* maksimum menü yüksekliği */
  transition: max-height 0.3s ease-in-out;
}



.menu ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-family: 'Roboto Condensed', sans-serif;
  transition: all 0.3s ease-in-out;
}


.menu {
 margin-top: -37px;
 margin-right: 20px;
}

.menu ul li:hover {
  border-bottom: 2px solid #00FFFF;
} 
.navbar a{
  text-decoration: none;
  color: #fff;
}
.logo img{
  margin-left: 10px;
  margin-top: -32px; 
  font-weight: 500;
  font-size: 20px;
}
.list{
  list-style: none;
  display: flex;
  gap:20px;
  color: #fff;
  margin-right: 10px;
}

#toggler, .navbar label{
  color: #ffffff;
  background-image: url("menu-icon.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  display: none;
}

/* Menü Öğesi Arkaplan Rengi */
.active {
  content: "";
  border-bottom: 2px solid #00FFFF;
}



 body {
    /* background-image: url("background.png"); */
    background-color: black;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
}

.tema {
  background-color: white;
  margin: 100px;
  margin-top: 35px;
  margin-bottom: 30px;
  padding: 50px;
  padding-bottom: auto 15px;
  padding-top: 30px;
  border-radius: 15px;
  display: block; 
}

.tema h1 {
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 50px;
  color: #000;
} 

.tema p {
  text-align: left;
  font-size: 20px;
  color: #000;
  font-family: 'Roboto Condensed', sans-serif;
  
  font-size: 25px;

}
.footer {
  background-color: #000;
  height: 60px;
  width: 100%;
  margin: 0;
  padding: auto;
  position: relative;
  bottom: 0;
  left: 0;
  z-index: 999;
  border-top: #00FFFF 1px solid; 

} 

.footer p {
  color: white;
  text-align: center;
  padding-top: auto;

  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;  
}





@media screen and
(max-width: 600px) {
  .tema {
  margin: 45px;
  margin-top: 90px;
  padding: 30px;
  padding-top: 35px;
  border-radius: 10px;
  margin-bottom: auto; 
  }


  .menu ul li:hover {
    border-bottom: 2px solid #00FFFF;
  } 

  



  
  .tema h1 {
  font-size: 30px;
  }
  
  .tema p {
  font-size: 18px;
  }

  body {
      background-size: auto;
  }
  
  

  .footer {
    background-color: #000;

    width: 100%;
    display: absolute;
    margin-bottom: 0;  
    bottom: 0;
    left: 0;
    z-index: 999;
    margin-top: auto;
  } 
  
  .footer p {
    color: white;
    text-align: center;
    padding: auto;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;  
  }

  .navbar{
    padding: 10px;
    margin-left: 0;
    margin-top: -92px;
    height: 60px;
    position: fixed;
  }
  .logo img{
    margin-left: 5px;
    font-size: 10px;
    height: 100px;
    
  }


  .item a {
    color: white;
    text-align: center;
    
  }

  .list{
    gap: 10px;
    margin-right: 5px;
    color: white;
  }
  #toggler, .navbar label{
    display: none;
    margin-top: -21px;
  }
  .menu{
    margin-top: 5px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    margin: auto;
    position: relative;
    transition: all 0.3s ease-in-out;


   
  }

  
  .logo{
    margin-left: 0;
    height: -40px;
    margin-top: 13px;  
  }
  .list{
    flex-direction: column;
    align-items: center;
    padding: 10px;
    
  }
  .navbar label{
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    
  }
  #toggler:checked ~ .menu{
    max-height: 100vh;
    width: 100%;
    background-color: #000;
    border-radius: 10px;
    border-bottom: 2px solid #00FFFF;
    border-left: 2px solid #00FFFF; 
    border-right: 2px solid #00FFFF; 
    border-top: 2px solid #00FFFF;  
    border-color: #00FFFF;
    transition: all 0.3s ease-in-out;

    
  }

}
