@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', sans-serif;
    /* color: rgb(29, 29, 31); */
}
html {
    scroll-behavior: smooth;
}


pre {
    border-radius: 10px;
}

pre::-webkit-scrollbar {
    background-color: rgba(255, 255, 0, 0);
    height: 10px;
}

pre::-webkit-scrollbar-thumb {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    border: 2px solid #2d2d2d;
    margin: 3px;
    height: 6px;
    margin: 1px;
}

pre::-webkit-scrollbar-track {
    height: 7px;

}

body {
    /* border: 1px solid black; */
    position: relative;
    /* max-width: 1440px; */
    margin: 0 auto;
}

.login_form {
    width: calc(100% - 40px);
    max-width: 300px;
    margin: 20px;
    height: fit-content;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    position: fixed;
    top: 100px;
    display: none;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    border: 1px solid gainsboro;
    box-shadow: 0 0 5px 2px gainsboro;
    z-index: 11;
}

.login_form input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid gainsboro;
    margin-bottom: 10px;
    opacity: .5;
}

#close_form_btn {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

@supports ((-webkit-backdrop-filter: initial) or (backdrop-filter: initial)){
    header {
        width: calc(100% - 0px);
        /* max-width: 1440px; */
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1818181818);
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        z-index: 10;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        /* filter: blur(20px); */
        background-color: #fafafccc;
        backdrop-filter: saturate(1.8) blur(20px);
        -webkit-backdrop-filter: saturate(1.8) blur(20px);
    }  
}


header {
    width: calc(100% - 0px);
    /* max-width: 1440px; */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1818181818);
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 10;
    background-color: #fafafccc;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    /* filter: blur(20px); */
    backdrop-filter: saturate(1.8) blur(20px);
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
}

header .header_wrap {
    height: 54px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: black;
    /* z-index: 10000000; */
    /* background-color: #ffffff00; */
    /* filter: blur(0px); */
}

.name {
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #2d2d2d;
}

.name a {
    font-weight: 800;
    text-decoration: none;
    font-size: large;
    color: black;
}

.name svg {
    margin-right: 5px;
    display: none;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav a {
    font-size: large;
    margin-left: 10px;
    text-decoration: none;
    color: black;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 54px auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;

    position: static;
}

.center {
    width: 100%;
    height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
}


#articles {
    position: fixed;
    left: -100vw;
    width: 100vw;
    height: calc(100vh - 54px);
    /* background-color: #fafafccc; */
    overflow-y: scroll;
    padding: 10px;
    transition: all .4s ease;
    z-index: 3;
    /* border-left: 1px solid rgba(0, 0, 0, 0.1818181818);
    border-right: 1px solid rgba(0, 0, 0, 0.1818181818); */
    /* backdrop-filter: saturate(1.8) blur(20px); */
}

#contents {
    position: fixed;
    left: -100vw;
    width: 100vw;
    height: calc(100vh - 54px);
    /* background-color: #fafafccc; */
    overflow-y: scroll;
    padding: 10px;
    transition: all .4s ease;
    z-index: 3;
    /* backdrop-filter: saturate(1.8) blur(20px); */
    /* border-left: 1px solid rgba(0, 0, 0, 0.1818181818);
    border-right: 1px solid rgba(0, 0, 0, 0.1818181818); */
}

#toggleArticles {
    width: 20px;
    height: 15px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    position: fixed;
    right: 5px;
    top: 69px;
    cursor: pointer;
    z-index: 15;
}

#toggleContents {
    width: 20px;
    height: 15px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    position: fixed;
    right: 5px;
    top: 119px;
    cursor: pointer;
    z-index: 15;
}

.open {
    transition: all 1s linear;
}

.open .b1 {
    transform: rotateZ(45deg) translateX(4px) translateY(4px);
}

.open .b2 {
    display: none;
}

.open .b3 {
    transform: rotateZ(-45deg) translateX(4px) translateY(-5px);
}

.bar {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background-color: rgb(0, 0, 0);
}


#contents a ,#articles a{
    display: block;
    list-style: none;
    width: 100%;
    color: #2f2f2f;
    text-wrap: pretty;
    line-height: 1;
    text-decoration: none;
    font-size: 17px;
    transition: all .1s linear;
    border-radius: 5px;
    padding: 7px;
}



#articles a:hover, #contents a:hover {
   background-color: gainsboro;
   
}

::-webkit-scrollbar {
    width: 0;
}

@media screen and (min-width:1200px) {

    .name svg {
        display: inline;
    }

    #articles, #contents {
        position: sticky;
        left: 0px;
        top: 64px;
        width: 300px;
        height: calc(100vh - 74px);
        /* background-color: rgba(220, 182, 182, 0); */
        border: none;
        font-size: x-large;
        border-radius: 10px;
        padding: 10px;
    }

    aside li {
        font-size: xx-large;
        margin-bottom: 0;
        line-height: 1;
        font-weight: lighter;
    }

    aside a {
        font-size: xx-large;
        margin-bottom: 0;
        line-height: 1;
    }

    #toggleArticles, #toggleContents {
        display: none;
    }



}
 /* Küçük mobil cihazlar (320px - 480px) */
@media (max-width: 480px) {
    .font1 { font-size: 24px; }
    .font2 { font-size: 26px; }
    .font3 { font-size: 28px; }
    .font4 { font-size: 30px; }
    .font5 { font-size: 32px; }
    .font6 { font-size: 34px; }
    .font7 { font-size: 36px; }
  }
  
  /* Orta mobil cihazlar (481px - 767px) */
  @media (min-width: 481px) and (max-width: 767px) {
    .font1 { font-size: 26px; }
    .font2 { font-size: 28px; }
    .font3 { font-size: 30px; }
    .font4 { font-size: 32px; }
    .font5 { font-size: 34px; }
    .font6 { font-size: 36px; }
    .font7 { font-size: 38px; }
  }
  
  /* Tabletler (768px - 1024px) */
  @media (min-width: 768px) and (max-width: 1024px) {
    .font1 { font-size: 28px; }
    .font2 { font-size: 30px; }
    .font3 { font-size: 32px; }
    .font4 { font-size: 34px; }
    .font5 { font-size: 36px; }
    .font6 { font-size: 38px; }
    .font7 { font-size: 40px; }
  }
  
  /* Dizüstü bilgisayar ve küçük masaüstü cihazlar (1025px - 1280px) */
  @media (min-width: 1025px) and (max-width: 1280px) {
    .font1 { font-size: 32px; }
    .font2 { font-size: 34px; }
    .font3 { font-size: 36px; }
    .font4 { font-size: 38px; }
    .font5 { font-size: 40px; }
    .font6 { font-size: 42px; }
    .font7 { font-size: 44px; }
  }
  
  /* Büyük masaüstü cihazlar (1281px ve üzeri) */
  @media (min-width: 1281px) {
    .font1 { font-size: 36px; }
    .font2 { font-size: 40px; }
    .font3 { font-size: 44px; }
    .font4 { font-size: 48px; }
    .font5 { font-size: 52px; }
    .font6 { font-size: 56px; }
    .font7 { font-size: 60px; }
  }
  
