@font-face {
    font-family: 'Oswald-Boldx';
    src: url('./fonts/Oswald-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Cartograph';
    src: url('./fonts/cartograph-mono-cf-bold.otf') format('truetype');
}

span {
    transform: translate3d(0, 0, 0);

    font-family: "Oswald-Boldx";
    font-weight: 700;
    font-size: 26pt;
    
    letter-spacing: 0;
    padding: 0.25em 0 0.325em;
    display: block;
    margin: 0 auto;
    text-shadow: 0 0 80px rgba(255, 255, 255, .5);
    background: url("./assets/animated-text-fill.png") repeat-y;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aitf 80s linear infinite;
    backface-visibility: hidden;

}
  
@keyframes aitf {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

*{
    font-family: 'Cartograph';
    /* background-color: #1f1f1f; */
    color: #bfbfbf;
}

*::selection{
    background-color: #3a3a3a4f;
}

*:hover{
    cursor: default;
}

body {
    background-image: url("./assets/bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    animation: backgroundAnimation 10s infinite alternate ease-in-out;
}

@keyframes backgroundAnimation {
    0% {
        background-position: center top;
    }
    100% {
        background-position: center bottom;
    }
}

ul{
    list-style: none;
}

li::before {
    content: "#";
    color: #87F17E;
    display: inline-block;
    margin-left: -1em;
    width: 1em;
}
  
hr{
    border: 1px solid #444444;
    border-radius: 7px;
    padding-top: 2px;
    margin-top: 2px;
    margin-bottom: 0px;
}

p{
    color: #5db7e0;
}

h1{
    text-align: center;
}

h2{
    color: #eb4034;
    margin-bottom: 0px;
}

h3{
    color: #87F17E;
}

h4{
    color: #87F17E;
}

a {
    color: #5db7e0;
    transition: ease-in 0.3s;
}

.current-button {
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0s ease-in-out, transform 0.03s ease-in-out;
    box-shadow: 5px 5px 0cap rgba(179, 179, 179, 0.3);
    margin-top: 10px;
    transform: translate3d(0, 0, 0);
}
  
.current-button:hover {
    transform: translateY(2px) translateX(2px);
    box-shadow: none;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    margin-bottom: 0px;
    padding: 0;
}
  
.project-group {
    flex: 1 0 40%;
    margin: 0 1em 1em 0;
    padding: 1em;
    border: 1px solid #87F17E;
    border-radius: 5px;
    background: #3333337e;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.project-group:hover {
    box-shadow: 0 0 5px #87F17E, 0 0 7px #87F17E, 0 0 12px #87F17E, 0 0 15px #87F17E;
}
  
.project-group h3 {
    margin-bottom: 0.5em;
}

.project-group h4 {
    margin-bottom: 0.3em;
}
  
.project-group a {
    /* text-decoration: none; */
    color: #5db7e0;
}
  
.project-group a:hover {
    color: #4a96b9;
}

.warning-box {
    border: 1px solid #f7a439;
    border-radius: 5px;
    padding: 7px;
    display: inline-block;
    margin-top: 10px;
}

.warning-box h2 {
    color: #f7a439;
    margin-bottom: 2px;
    margin-top: 0px;
}

.notice-box {
    border: 1px solid #5db7e0;
    border-radius: 5px;
    padding: 7px;
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    /* position: absolute;
    top: 50%;
    left: 34%;
    transform: translateY(-50%); */
}

.notice-box h2 {
    color: #5db7e0;
    margin-bottom: 2px;
    margin-top: 0px;
}

.neofetch-box{
    display: flex;
    flex-direction: column;
    width: 600px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 7px;
    background-color: #33333356;
    transform: translate3d(0, 0, 0);
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor, 0 0 40px currentColor, 0 0 50px currentColor, 0 0 60px currentColor, 0 0 70px currentColor;
}

.green{
    color:#87F17E;
}

.blue{
    color:#5db7e0;
}

.red{
    color:#eb4034;
}

.tabcontent {
    animation: fade_in 1s;
}

@keyframes fade_in {
    from {opacity: 0;}
    to {opacity: 1;}
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 7px;
    background-color: #141414a1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.tab button {
    background-color: transparent;
    float: left;
    border: none;
    flex: 1;
    text-align: center;
    padding: 10px;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: ease-in 0.3s;
}

.tab button:hover {
    background-color: #383838;
    color: #5db7e0;
    transform: translate3d(0, 0, 0);
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor, 0 0 40px currentColor, 0 0 50px currentColor, 0 0 60px currentColor, 0 0 70px currentColor;
}

.tab button.active {
    background-color: #33333381;
    transform: translate3d(0, 0, 0);
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor, 0 0 40px currentColor, 0 0 50px currentColor, 0 0 60px currentColor, 0 0 70px currentColor;
}

#preloader{
    background: #141414;
    z-index: 100;
    height: 100vh;
    width: 100%;
    position: fixed;
}

#overlay{
    background: #141414;
    opacity: 0.8;
    z-index: 100;
    height: 100vh;
    width: 100%;
    position: fixed;
    display: none;
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.tools a{
    text-decoration: none;
    color: #5db7e0;
    transition: ease-in 0.3s;
}

/* .tools a:hover{
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor, 0 0 40px currentColor, 0 0 50px currentColor, 0 0 60px currentColor, 0 0 70px currentColor;
} */

a:hover{
    text-shadow: 0 0 5px currentColor, 0 0 7px currentColor, 0 0 12px currentColor, 0 0 15px currentColor;
    transform: translate3d(0, 0, 0);
    cursor: pointer;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 128px;
}

.button-grid button{
    width: 50px;
    height: 50px
}

#password-input{
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 20pt;
    background: none;
}

#password-input:hover{
    border: 1px solid #87F17E;
    border-radius: 2px;
}

#keypad, #enter-button, #backspace-button {
    padding: 10px;
    background-color: #87F17E;
    cursor: pointer;
    font-size: 20pt;
}

#enter-button {
    background-color: #5db7e0;
}

#backspace-button {
    background-color: #f36156;
}

#exit-button {
    background-color: #f36156;
}

.tab-icons {
    width: 20px;
    height: auto;
    margin-right: 5px;
    vertical-align: middle;
}

.tablinks {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.blog-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    padding: 0;
    object-fit: cover;
    border-radius: 7px;
}

#scroll-to-top {
    text-align: right;
}

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

#scroll-to-top{
    text-align: right;
}

code {
    background-color: #141414a1;
    padding: 2px 5px;
    border-radius: 5px;
}