body {
    background-color: #000000;
    margin: 0;
    padding: 0;
    font-family: 'Consolas', monospace;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 150px);
    overflow: hidden;
}

#coverheader {
    position: absolute;
    background-color: #000000;
    right: 10px;
    width: 100%;
    height: 25px;
}

header {
    position: fixed;
    z-index: 999;
    background-color: #1C1C1C;
    color: #FFFFFF;
    border-radius: 100px;
    top: 20px;
    left: 20px;
    right: 30px;
    padding: 5px 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.5s ease-in-out;
}

header:hover {
    transform: scale(1.003);
}

.header-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 30px;
    margin-right: 20px;
}

.title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    position: relative;
    white-space: nowrap;
}

.title.animate {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 10px solid #FFFFFF;
    animation: typewriter 1s steps(10) 1 forwards, cursorBlink 4s steps(10) 1 1s forwards;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 10ch; }
}

@keyframes cursorBlink {
    0%, 20%, 40%, 60%, 100% {border-color: transparent}
    10%, 30%, 50% {border-color: #FFFFFF;}
}

/* ------------------------------------------------ */

.site-title-minecraft {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 10px solid #FFFFFF;
    animation: typewriter-minecraft 1s steps(8) 1 forwards, cursorBlink-minecraft 4s steps(8) 1 1s forwards;
}

@keyframes typewriter-minecraft {
    from { width: 0; }
    to { width: 10ch; }
}

@keyframes cursorBlink-minecraft {
    0%, 20%, 40%, 60%, 100% {border-color: transparent}
    10%, 30%, 50% {border-color: #FFFFFF;}
}

.site-title-devops {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 10px solid #FFFFFF;
    animation: typewriter-devops 1s steps(7) 1 forwards, cursorBlink-devops 4s steps(7) 1 1s forwards;
}

@keyframes typewriter-devops {
    from { width: 0; }
    to { width: 7ch; }
}

@keyframes cursorBlink-devops {
    0%, 20%, 40%, 60%, 100% {border-color: transparent}
    10%, 30%, 50% {border-color: #FFFFFF;}
}

.site-title-cybersecurity {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 10px solid #FFFFFF;
    animation: typewriter-cybersecurity 1s steps(14) 1 forwards, cursorBlink-cybersecurity 4s steps(14) 1 1s forwards;
}

@keyframes typewriter-cybersecurity {
    from { width: 0; }
    to { width: 14ch; }
}

@keyframes cursorBlink-cybersecurity {
    0%, 20%, 40%, 60%, 100% {border-color: transparent}
    10%, 30%, 50% {border-color: #FFFFFF;}
}

.site-title-linuxandunix {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 10px solid #FFFFFF;
    animation: typewriter-linuxandunix 1s steps(11) 1 forwards, cursorBlink-linuxandunix 4s steps(11) 1 1s forwards;
}

@keyframes typewriter-linuxandunix {
    from { width: 0; }
    to { width: 11ch; }
}

@keyframes cursorBlink-linuxandunix {
    0%, 20%, 40%, 60%, 100% {border-color: transparent}
    10%, 30%, 50% {border-color: #FFFFFF;}
}

.site-title-docker {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 10px solid #FFFFFF;
    animation: typewriter-docker 1s steps(6) 1 forwards, cursorBlink-docker 4s steps(6) 1 1s forwards;
}

@keyframes typewriter-docker {
    from { width: 0; }
    to { width: 7ch; }
}

@keyframes cursorBlink-docker {
    0%, 20%, 40%, 60%, 100% {border-color: transparent}
    10%, 30%, 50% {border-color: #FFFFFF;}
}

.site-title-other {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 10px solid #FFFFFF;
    animation: typewriter-other 1s steps(6) 1 forwards, cursorBlink-other 4s steps(6) 1 1s forwards;
}

@keyframes typewriter-other {
    from { width: 0; }
    to { width: 6ch; }
}

@keyframes cursorBlink-other {
    0%, 20%, 40%, 60%, 100% {border-color: transparent}
    10%, 30%, 50% {border-color: #FFFFFF;}
}

.site-title-chmod-calculator {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 10px solid #FFFFFF;
    animation: typewriter-chmod-calculator 1s steps(17) 1 forwards, cursorBlink-chmod-calculator 4s steps(17) 1 1s forwards;
}

@keyframes typewriter-chmod-calculator {
    from { width: 0; }
    to { width: 17ch; }
}

@keyframes cursorBlink-chmod-calculator {
    0%, 20%, 40%, 60%, 100% {border-color: transparent}
    10%, 30%, 50% {border-color: #FFFFFF;}
}
/* ------------------------------------------------ */

nav {
    padding: 10px;
    width: 70%;
    display: flex;
    justify-content: flex-end;
}

.navigation-menu {
    list-style: none;
    padding: 0;
    display: flex;
}

.nav-item {
    margin-left: 20px;
}

.nav-item a {
    color: #FFFFFF;
    text-decoration: none;
}

.nav-item a:hover {
    color: #0017E0;
    transition: color 0.3s ease;
}

.main-content {
    top: 20px;
    padding-top: 100px;
}

.sidebar {
    position: absolute;
    top: 100px;
    left: 20px;
    width: calc(100% - 90px);         
    bottom: 20px;
    background-color: #1C1C1C;
    border-radius: 35px;
    padding: 20px;
    color: #FFFFFF;
    transition: transform 0.5s ease-in-out;
}

.content-container {
    margin-left: calc(250px + 40px);  
    margin-right: 40px;               
    max-width: calc(100% - 250px - 80px);
    padding: 0 20px;
    margin-bottom: 40px;
}

.sidebar-menu a, .sidebar-menu h2 {
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-menu a:hover {
    color: #0017E0;
    transition: color 0.3s ease;
}

.main-content {
    flex-grow: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

p {
    line-height: 1.5;
}

.main-content::-webkit-scrollbar {
    width: 10px;
}

.main-content::-webkit-scrollbar-thumb {
    background-color: #FFFFFF;
    border-radius: 5px;
}

.main-content::-webkit-scrollbar-track {
    background-color: #1C1C1C;
}

#main-content::-webkit-scrollbar-button {
    display: none;
}

footer{
    display: none;
}

.blog-content-container {
    margin-left: 40px;
    margin-right: 40px;
    max-width: none;
}

.blog-content-container a{
    text-decoration: none;
    color: white;
}

/* styles.css for login*/
.login-section {
    width: 200px;
    padding: 20px;
    border-radius: 5px;
    margin-left: calc(10% + 80px);
}
  
.login-section h2 {
    margin-bottom: 20px;
}
  
.form-group {
    margin-bottom: 15px;
}
  
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
  
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 15px;
}
  
button {
    background-color: #0017E0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

/* chmod calculator */

.link-chmod {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.container {
    display: flex;
}
.subtheme {
    flex: 1;
}

.col {
    width: 110px;
}

.form-control {
    height: 30px; /* Adjust the height as needed */
    font-size: 20px; /* Adjust the font size as needed */
    font-family: monospace;
}

.arme {
    margin-left: -35%;
}

button:hover {
    background-color: #4353e2;
}

/* phone stuff */

@media (max-width: 768px) {
    .content-container {
        margin-left: 20px;
        margin-right: 20px;
        max-width: none;
    }
    #cover {
        height: 30px;
    }
    nav {
        display: none;
    }

    footer {
        position: fixed;
        z-index: 999;
        background-color: #1C1C1C;
        color: #FFFFFF;
        border-radius: 100px;
        bottom: 20px;
        left: 20px;
        right: 30px;
        padding: 5px 10px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: transform 0.5s ease-in-out;
    }

    #coverfooter {
        background-color: #000000;
        right: 10px;
        bottom: 0px;
        width: 100%;
        height: 20px;
    }

    .nav-item a {
        color: #FFFFFF;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .link-style {
        color: #FFFFFF;
        text-decoration: none;
        transition: color 0.3s ease;
      }

    .navigation-menu {
        margin: 0 auto;
    }    
    .navigation-menu li:first-child {
        margin-left: 0 !important;
    }

    .login-section {
        margin-left: 20px !important;
    }

    .tsglfl {
        margin-top: 50px;
        margin-left: 40px;
        max-width: none;
    }

    .tsglfl a {
        text-decoration: none;
        color: white;
        margin-left: 10px;
    }

    .tsglfl a:hover {
        text-decoration: none;
        color: #0017E0;
        transition: color 0.3s ease;
    }

  }
