.example {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media only screen and (min-width: 1281px) {

  * {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
  }

  header a {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    height: 16px;
  }

  /* Sol Logo */
  .logo {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-right: 30px;
    margin-top: 2px;
    min-height: 110px;
    width: 140px;
    background-color: #0d0d0e;
    align-items: center;
  }

  .logo img {
    height: 70px;
    align-items: center;
    margin: auto;
  }

  /* Üst Buton */
  .ustbar {
    height: 60px;
    margin-top: -110px;
    margin-left: 140px;
    min-height: 0;
    width: calc(auto - 140px);
    background-color: #0d0d0e;
    display: flex;
    justify-content: flex-end;
    /* sağa yasla */
    align-items: center;
    padding-right: 1rem;
    /* sağ boşluk */
    gap: 1rem;
    /* butonlar arası boşluk */
  }

  .welcome-text {
    color: #ffffff;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
  }

  .login-button,
  .logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    gap: 1rem;
    border: 2px solid #81f376;
    border-radius: 5px;
    color: #81f376;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    height: 44px;
    line-height: 1;
    box-sizing: border-box;
  }

  .login-button:hover,
  .logout-button:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }


  .ust-sepet {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #81f376;
  }

  .ust-sepet:hover {
    background-color: #81f376;
    color: #0d0d0e;
    height: 2.5rem;
    border-radius: 4px;
  }

  .ust-sepet img {
    height: 40px;
    margin-right: 5px;
  }

  .ust-sepet span {
    margin-right: 1rem;
  }

  /* Alt Link */
  .altbar {
    height: 50px;
    background-color: #0d0d0e;
    display: flex;
    align-items: center;
    /* DİKEY ORTALAMA */
    padding-left: 140px;
    box-sizing: border-box;
  }

  nav ul {
    display: flex;
    align-items: center;
    /* Linkleri ortala */
    gap: 2rem;
    margin-left: 4rem;
    padding: 0;
  }

  ul {
    list-style: none;
    background-color: #0d0d0e;
  }

  li {
    position: relative;
  }

  li a {
    display: flex;
    /* DİKKAT: Flex ile içerik ortalanır */
    align-items: center;
    justify-content: center;
    height: 50px;
    /* Aynı yükseklik */
    padding: 0 12px;
    color: #81f376;
    text-decoration: none;
    transition: background-color 0.3s;
  }

  li a:hover {
    background-color: #81f376;
    color: #0d0d0e;
    border-radius: 1px;
  }

  ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0d0d0e;
    width: 9rem;
    z-index: 1000;
    padding: 0;
    margin: 0;
  }

  ul li ul li {
    width: 100%;
  }

  ul li ul li a {
    display: block;
    padding: 12px 16px;
    text-align: left;
    /* SOLA YASLA */
    color: #81f376;
    text-decoration: none;
  }

  ul li ul li a:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  ul li:hover>ul {
    display: block;
  }

  .burger {
    display: none !important;
  }

  .menu-toggle {
    display: none !important;
  }
}

@media only screen and (max-width: 1280px) and (min-width: 1025px) {

  * {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
  }

  header a {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    height: 16px;
  }

  /* Sol Logo */
  .logo {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-right: 30px;
    margin-top: 2px;
    min-height: 110px;
    width: 140px;
    background-color: #0d0d0e;
    align-items: center;
  }

  .logo img {
    height: 70px;
    align-items: center;
    margin: auto;
  }

  /* Üst Buton */
  .ustbar {
    height: 60px;
    margin-top: -110px;
    margin-left: 140px;
    min-height: 0;
    width: calc(auto - 140px);
    background-color: #0d0d0e;
    display: flex;
    justify-content: flex-end;
    /* sağa yasla */
    align-items: center;
    padding-right: 1rem;
    /* sağ boşluk */
    gap: 1rem;
    /* butonlar arası boşluk */
  }

  .ust-button {
    display: flex;
    align-items: center;
    /* Dikey ortalama */
    justify-content: center;
    /* Yatay ortalama (isteğe bağlı) */
    padding: 16px 8px;
    gap: 1rem;
    border: 2px solid #81f376;
    border-radius: 5px;
    color: #81f376;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    height: 44px;
    /* sabit yükseklik eklemek daha düzgün hizalama sağlar */
    line-height: 1;
    /* yazı taşmasını engeller */
    box-sizing: border-box;
  }


  .ust-button:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  .ust-sepet {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #81f376;
  }

  .ust-sepet:hover {
    background-color: #81f376;
    color: #0d0d0e;
    height: 2.5rem;
    border-radius: 4px;
  }

  .ust-sepet img {
    height: 40px;
    margin-right: 5px;
  }

  .ust-sepet span {
    margin-right: 1rem;
  }

  /* Alt Link */
  .altbar {
    height: 50px;
    background-color: #0d0d0e;
    display: flex;
    align-items: center;
    /* DİKEY ORTALAMA */
    padding-left: 140px;
    box-sizing: border-box;
  }

  nav ul {
    display: flex;
    align-items: center;
    /* Linkleri ortala */
    gap: 1rem;
    margin-left: 1rem;
    padding: 0;
  }

  ul {
    list-style: none;
    background-color: #0d0d0e;
  }

  li {
    position: relative;
  }

  li a {
    display: flex;
    /* DİKKAT: Flex ile içerik ortalanır */
    align-items: center;
    justify-content: center;
    height: 50px;
    /* Aynı yükseklik */
    padding: 0 8px;
    color: #81f376;
    text-decoration: none;
    transition: background-color 0.3s;
  }

  li a:hover {
    background-color: #81f376;
    color: #0d0d0e;
    border-radius: 1px;
  }

  ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0d0d0e;
    width: 9rem;
    z-index: 1000;
    padding: 0;
    margin: 0;
  }

  ul li ul li {
    width: 100%;
  }

  ul li ul li a {
    display: block;
    padding: 12px 16px;
    text-align: left;
    /* SOLA YASLA */
    color: #81f376;
    text-decoration: none;
  }

  ul li ul li a:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  ul li:hover>ul {
    display: block;
  }

  .burger {
    display: none !important;
  }

  .menu-toggle {
    display: none !important;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 769px) {

  * {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
  }

  header a {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    height: 16px;
  }

  /* Sol Logo */
  .logo {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-right: 30px;
    margin-top: 2px;
    min-height: 100px;
    width: 140px;
    background-color: #0d0d0e;
    align-items: center;
  }

  .logo img {
    height: 70px;
    align-items: center;
    margin: auto;
  }

  /* Üst Buton */
  .ustbar {
    height: 60px;
    margin-top: -100px;
    margin-left: 140px;
    min-height: 0;
    width: calc(auto - 140px);
    background-color: #0d0d0e;
    display: flex;
    justify-content: flex-end;
    /* sağa yasla */
    align-items: center;
    padding-right: 0.5rem;
    /* sağ boşluk */
    gap: 0.5rem;
    /* butonlar arası boşluk */
  }

  .ust-button {
    display: flex;
    align-items: center;
    /* Dikey ortalama */
    justify-content: center;
    /* Yatay ortalama (isteğe bağlı) */
    padding: 16px 8px;
    gap: 1rem;
    border: 2px solid #81f376;
    border-radius: 5px;
    color: #81f376;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    height: 44px;
    /* sabit yükseklik eklemek daha düzgün hizalama sağlar */
    line-height: 1;
    /* yazı taşmasını engeller */
    box-sizing: border-box;
  }

  .ust-button:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  .ust-sepet {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #81f376;
  }

  .ust-sepet:hover {
    background-color: #81f376;
    color: #0d0d0e;
    height: 2.5rem;
    border-radius: 4px;
  }

  .ust-sepet img {
    height: 40px;
    margin-right: 5px;
  }

  .ust-sepet span {
    margin-right: 1rem;
  }

  /* Alt Link */

  .menu-toggle {
    display: none !important;
  }

  /* Menü varsayılan olarak gizli */
  .main-menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    background-color: #0d0d0e;
    width: 160px;
    z-index: 1000;
    padding: 0;
    margin: 0;
  }

  /* Burger tıklanınca menüyü göster */
  .menu-toggle:checked+label+.altbar .main-menu {
    display: block;
  }

  .altbar {
    height: 40px;
    width: auto;
    background-color: #0d0d0e;
    display: flex;
    align-items: center;
    padding-left: 140px;
    /* Logo genişliği kadar boşluk */
    box-sizing: border-box;
    ;
  }

  /* Burger ikon */
  .burger {
    font-size: 32px;
    color: #81f376;
    position: absolute;
    top: 60px;
    /* navbar yüksekliği 80px, ortalamak için */
    left: 190px;
    /* logo sol boşluk 10 + logo genişliği + 80px aralık gibi */
    cursor: pointer;
    user-select: none;
    z-index: 1001;
  }

  /* Menü kutusu - açılır menü */
  nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    background-color: #0d0d0e;
    width: 160px;
    z-index: 1000;
  }

  /* Menü görünür hale geldiğinde */
  .menu-toggle:checked~nav ul {
    display: block;
  }

  /* Menü içi bağlantılar */
  nav ul li {
    position: relative;
    /* Mutlaka gerekli */

  }

  /* Ana menü bağlantı stili */
  nav ul li>a {
    min-height: 48px;
    /* Her bağlantı en az 48px olacak */
    display: block;
    color: #81f376;
    padding: 12px 16px;
    /* Daha geniş boşluk */
    text-decoration: none;
    background-color: #0d0d0e;
    line-height: 1.5;
    /* Yazı sıkışmasın */
    white-space: nowrap;
    /* Satır taşmalarını engeller */
    font-size: 15px;
    /* Gözle daha okunabilir */
  }

  /* Hover efekti */
  nav ul li>a:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  /* Alt menü */
  nav ul li ul {
    display: none;
    position: absolute;
    top: 0;
    left: 160px;
    width: 160px;
    background-color: #0d0d0e;
  }

  /* Üzerine gelince alt menüyü göster */
  nav ul li:hover>ul {
    display: block;
  }

  /* Alt menü bağlantı stili */
  nav ul li ul li a {
    display: block;
    padding: 12px 16px;
    line-height: 1.5;
    font-size: 15px;
    white-space: nowrap;
  }

  /* Alt menü hover */
  nav ul li ul li a:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }
}

@media only screen and (max-width: 768px) and (min-width: 481px) {

  * {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
  }

  header a {
    font-family: Arial, Helvetica, sans-serif;

    height: 14px;
  }

  /* Sol Logo */
  .logo {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-right: 20px;
    margin-top: 2px;
    min-height: 100px;
    width: 140px;
    background-color: #0d0d0e;
    align-items: center;
  }

  .logo img {
    height: 60px;
    align-items: center;
    margin: auto;
  }

  /* Üst Buton */
  .ustbar {
    height: 60px;
    margin-top: -100px;
    margin-left: 140px;
    min-height: 0;
    width: calc(auto - 140px);
    background-color: #0d0d0e;
    display: flex;
    justify-content: flex-end;
    /* sağa yasla */
    align-items: center;
    padding-right: 0.5rem;
    /* sağ boşluk */
    gap: 0.5rem;
    /* butonlar arası boşluk */
  }

  .ust-button {
    display: flex;
    align-items: center;
    /* Dikey ortalama */
    justify-content: center;
    /* Yatay ortalama (isteğe bağlı) */
    padding: 16px 8px;
    gap: 1rem;
    border: 2px solid #81f376;
    border-radius: 5px;
    color: #81f376;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    height: 44px;
    /* sabit yükseklik eklemek daha düzgün hizalama sağlar */
    line-height: 1;
    /* yazı taşmasını engeller */
    box-sizing: border-box;
  }

  .ust-button:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  .ust-sepet {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #81f376;
  }

  .ust-sepet:hover {
    background-color: #81f376;
    color: #0d0d0e;
    height: 2.5rem;
    border-radius: 4px;
  }

  .ust-sepet img {
    height: 40px;
    margin-right: 5px;
  }

  .ust-sepet span {
    margin-right: 1rem;
  }

  /* Alt Link */

  .menu-toggle {
    display: none !important;
  }

  /* Menü varsayılan olarak gizli */
  .main-menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    background-color: #0d0d0e;
    width: 160px;
    z-index: 1000;
    padding: 0;
    margin: 0;
  }

  /* Burger tıklanınca menüyü göster */
  .menu-toggle:checked+label+.altbar .main-menu {
    display: block;
  }

  .altbar {
    height: 40px;
    width: auto;
    background-color: #0d0d0e;
    display: flex;
    align-items: center;
    padding-left: 140px;
    /* Logo genişliği kadar boşluk */
    box-sizing: border-box;
    ;
  }

  /* Burger ikon */
  .burger {
    font-size: 32px;
    color: #81f376;
    position: absolute;
    top: 60px;
    /* navbar yüksekliği 80px, ortalamak için */
    left: 150px;
    /* logo sol boşluk 10 + logo genişliği + 80px aralık gibi */
    cursor: pointer;
    user-select: none;
    z-index: 1001;
  }

  /* Menü kutusu - açılır menü */
  nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    background-color: #0d0d0e;
    width: 160px;
    z-index: 1000;
  }

  /* Menü görünür hale geldiğinde */
  .menu-toggle:checked~nav ul {
    display: block;
  }

  /* Menü içi bağlantılar */
  nav ul li {
    position: relative;
    /* Mutlaka gerekli */

  }

  /* Ana menü bağlantı stili */
  nav ul li>a {
    min-height: 48px;
    /* Her bağlantı en az 48px olacak */
    display: block;
    color: #81f376;
    padding: 12px 16px;
    /* Daha geniş boşluk */
    text-decoration: none;
    background-color: #0d0d0e;
    line-height: 1.5;
    /* Yazı sıkışmasın */
    white-space: nowrap;
    /* Satır taşmalarını engeller */
    font-size: 15px;
    /* Gözle daha okunabilir */
  }

  /* Hover efekti */
  nav ul li>a:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  /* Alt menü */
  nav ul li ul {
    display: none;
    position: absolute;
    top: 0;
    left: 160px;
    width: 160px;
    background-color: #0d0d0e;
  }

  /* Üzerine gelince alt menüyü göster */
  nav ul li:hover>ul {
    display: block;
  }

  /* Alt menü bağlantı stili */
  nav ul li ul li a {
    display: block;
    padding: 12px 16px;
    line-height: 1.5;
    font-size: 15px;
    white-space: nowrap;
  }

  /* Alt menü hover */
  nav ul li ul li a:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

}

@media only screen and (max-width: 480px) and (min-width: 320px) {

  * {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
  }

  header a {
    font-family: Arial, Helvetica, sans-serif;
    height: 14px;
  }

  /* Sol Logo */
  .logo {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-right: 20px;
    margin-top: 2px;
    min-height: 100px;
    width: 100px;
    background-color: #0d0d0e;
    align-items: center;
  }

  .logo img {
    height: 50px;
    align-items: center;
    margin: auto;
  }

  /* Üst Buton */
  .ustbar {
    height: 60px;
    margin-top: -100px;
    margin-left: 100px;
    min-height: 0;
    width: calc(auto - 100px);
    background-color: #0d0d0e;
    display: flex;
    justify-content: flex-end;
    /* sağa yasla */
    align-items: center;
    padding-right: 0.5rem;
    /* sağ boşluk */
    gap: 0.5rem;
    /* butonlar arası boşluk */
  }

  .ust-button {
    display: flex;
    align-items: center;
    /* Dikey ortalama */
    justify-content: center;
    /* Yatay ortalama (isteğe bağlı) */
    padding: 16px 4px;
    gap: 1rem;
    border: 2px solid #81f376;
    border-radius: 5px;
    color: #81f376;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    height: 44px;
    /* sabit yükseklik eklemek daha düzgün hizalama sağlar */
    line-height: 1;
    /* yazı taşmasını engeller */
    box-sizing: border-box;
  }

  .ust-button:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  .ust-sepet {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #81f376;
  }

  .ust-sepet:hover {
    background-color: #81f376;
    color: #0d0d0e;
    height: 2.5rem;
    border-radius: 4px;
  }

  .ust-sepet img {
    height: 40px;
    margin-right: 5px;
  }

  .ust-sepet span {
    margin-right: 1rem;
  }

  /* Alt Link */

  .menu-toggle {
    display: none !important;
  }

  /* Menü varsayılan olarak gizli */
  .main-menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    background-color: #0d0d0e;
    width: 160px;
    z-index: 1000;
    padding: 0;
    margin: 0;
  }

  /* Burger tıklanınca menüyü göster */
  .menu-toggle:checked+label+.altbar .main-menu {
    display: block;
  }

  .altbar {
    height: 40px;
    width: auto;
    background-color: #0d0d0e;
    display: flex;
    align-items: center;
    padding-left: 140px;
    /* Logo genişliği kadar boşluk */
    box-sizing: border-box;
    ;
  }

  /* Burger ikon */
  .burger {
    font-size: 32px;
    color: #81f376;
    position: absolute;
    top: 60px;
    /* navbar yüksekliği 80px, ortalamak için */
    left: 150px;
    /* logo sol boşluk 10 + logo genişliği + 80px aralık gibi */
    cursor: pointer;
    user-select: none;
    z-index: 1001;
  }

  /* Menü kutusu - açılır menü */
  nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    background-color: #0d0d0e;
    width: 160px;
    z-index: 1000;
  }

  /* Menü görünür hale geldiğinde */
  .menu-toggle:checked~nav ul {
    display: block;
  }

  /* Menü içi bağlantılar */
  nav ul li {
    position: relative;
    /* Mutlaka gerekli */

  }

  /* Ana menü bağlantı stili */
  nav ul li>a {
    min-height: 48px;
    /* Her bağlantı en az 48px olacak */
    display: block;
    color: #81f376;
    padding: 12px 16px;
    /* Daha geniş boşluk */
    text-decoration: none;
    background-color: #0d0d0e;
    line-height: 1.5;
    /* Yazı sıkışmasın */
    white-space: nowrap;
    /* Satır taşmalarını engeller */
    font-size: 15px;
    /* Gözle daha okunabilir */
  }

  /* Hover efekti */
  nav ul li>a:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  /* Alt menü */
  nav ul li ul {
    display: none;
    position: absolute;
    top: 0;
    left: 160px;
    width: 160px;
    background-color: #0d0d0e;
  }

  /* Üzerine gelince alt menüyü göster */
  nav ul li:hover>ul {
    display: block;
  }

  /* Alt menü bağlantı stili */
  nav ul li ul li a {
    display: block;
    padding: 12px 16px;
    line-height: 1.5;
    font-size: 15px;
    white-space: nowrap;
  }

  /* Alt menü hover */
  nav ul li ul li a:hover {
    background-color: #81f376;
    color: #0d0d0e;
  }

  .ust-sepet span {
    display: none;
  }
}