:root {
    --background: #111111;
    --border: #15ff00;
    --text: #cccccc;
    --darkborder: rgba(34, 34, 34, 0.5);
}

* {
    margin: 0px;
    padding: 0px;
    outline: 0px;
    font-size: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.visit-site {
    color: var(--border);
    background-color: var(--darkborder);
    padding: .5%;
    text-wrap: nowrap;
    border-radius: 10px;
    border: 2px solid #00000000;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.visit-site a {
    text-decoration: none;
    color: var(--border);
}

.visit-site-image {
    position: relative;
    height: 2%;
    filter: invert(59%) sepia(27%) saturate(5421%) hue-rotate(73deg) brightness(119%) contrast(128%);
}

.visit-site:hover {
    background-color: #222222;
    border: 2px solid var(--border);
}

a:visited {
    color: var(--border);
}

@keyframes flashtext {
    0% {
        color: var(--text);
    }

    50% {
        color: #ffffff;
    }

    100% {
        color: var(--text);
    }
}

@keyframes pulsingshadow {
    0% {
        box-shadow: 0px 0px 0px 0px var(--border);
    }

    50% {
        box-shadow: 0px 0px 10px 0px var(--border);
    }

    100% {
        box-shadow: 0px 0px 0px 0px var(--border);
    }
}

@keyframes pulsingopacity {
    0% {
        opacity: 0%;
    }

    50% {
        opacity: 100%;
    }

    100% {
        opacity: 0%;
    }
}

::-webkit-scrollbar {
    background-color: #00000000;
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 5px;
}

body {
    position: relative;
    background-color: var(--background);
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
}

.terminal-main {
    position: relative;
    height: 97%;
    width: 97%;
    border-radius: 20px;
    top: 1.5%;
    left: 1.5%;
    border: 2px solid var(--border);
    box-shadow: 0px 0px 10px 0px var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    position: relative;
    top: 0%;
    width: 100%;
    height: 4%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1%;
    /* border: 2px solid red; */
}

.terminal-body-header {
    font-size: 70px;
    color: var(--border);
}

.terminal-header-name {
    position: relative;
    padding-left: 1%;
    padding-right: 1%;
    color: var(--text);
    animation: flashtext 2s linear infinite;
    transition: all .2s ease-in-out;
    text-wrap: nowrap;
    border-right: 2px solid var(--border);
    cursor: default;
}

.terminal-header-link {
    position: relative;
    height: 100%;
    width: min-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 1%;
    padding-right: 1%;
    margin-left: 1%;
    cursor: pointer;
    border-radius: 10px;
    background-color: var(--darkborder);
    border: 2px solid #00000000;
    transition: all .2s ease-in-out;
    text-decoration: none;
}

.terminal-header-link:hover {
    background-color: #222222;
    border: 2px solid var(--border);
}

.terminal-header-link-image {
    position: relative;
    height: 20px;
    filter: invert(59%) sepia(27%) saturate(5421%) hue-rotate(73deg) brightness(119%) contrast(128%);
    /* border: 2px solid blue; */
}

.terminal-header-link-text {
    position: relative;
    color: var(--text);
    padding-left: 5px;
    padding-right: 5px;
}

.terminal-body {
    position: relative;
    height: 90%;
    width: 97%;
    padding: 1%;
    /* padding-bottom: 10%; */
    font-size: 20px;
    color: var(--text);
    overflow-x: hidden;
    overflow-y: auto;
    cursor: default;
    /* border: 2px solid blue; */
}

.terminal-commandLine {
    position: relative;
    height: 5%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-top: 2px solid var(--border);
    color: var(--border);
    font-size: 20px;
    /* border: 2px solid blue; */
}

.terminal-commandLine-button {
    position: relative;
    height: 80%;
    width: min-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 1%;
    padding-right: 1%;
    margin-left: 1%;
    cursor: pointer;
    font-size: inherit;
    border-radius: 10px;
    background-color: var(--darkborder);
    border: 2px solid #00000000;
    transition: all .2s ease-in-out;
    text-decoration: none;
    color: var(--text);
    text-wrap: nowrap;
}

.terminal-commandLine-button-selected {
    position: relative;
    height: 80%;
    width: min-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 1%;
    padding-right: 1%;
    margin-left: 1%;
    cursor: pointer;
    border-radius: 10px;
    font-size: inherit;
    background-color: var(--darkborder);
    border: 2px solid var(--border);
    box-shadow: 0px 0px 5px 0px var(--border);
    transition: all .2s ease-in-out;
    text-decoration: none;
    color: var(--text);
    text-wrap: nowrap;
}

.terminal-commandLine-button:hover {
    border: 2px solid var(--border);
    box-shadow: 0px 0px 5px 0px var(--border);
}

#terminal-body-aboutme {
    display: none;
}

#terminal-body-projects {
    display: none;
}

#terminal-body-skills {
    display: none;
}

.skills-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    /* border: 2px solid red; */
}

.skills-data {
    position: relative;
    padding: 5px;
    border-radius: 10px;
    height: 150px;
    max-width: 90%;
    border: 2px solid var(--border);
    box-shadow: 0px 0px 5px 0px var(--border);
    overflow: hidden;
}

.skills-data-image {
    position: relative;
    height: 80%;
    max-width: 100%;
}

.skills-data-text {
    position: relative;
    text-align: center;
    width: 100%;
    height: max-content;
    /* border: 2px solid red; */
}

/* .skills-data-image {
    position: relative;
    height: 20px;
    width: 15%;
} */

.filtered {
    filter: invert(59%) sepia(27%) saturate(5421%) hue-rotate(73deg) brightness(119%) contrast(128%);
}

.terminal-commandLine-line {
    position: relative;
    height: 70%;
    width: 3px;
    margin-left: 1%;
    background-color: var(--border);
    box-shadow: 0px 0px 5px 0px var(--border);
    animation: pulsingopacity 1.5s linear infinite;
}

.error {
    position: absolute;
    height: 100vh;
    width: 100vw;
    display: none;
    justify-content: center;
    align-items: center;
}

.error-message {
    position: relative;
    font-size: 20px;
    color: var(--text);
}

@media screen and (max-width: 810px) {

    .terminal-commandLine,
    * {
        font-size: 15px;
    }
}

@media screen and (max-width: 610px) {
    .terminal-header {
        position: relative;
        flex-direction: column;
        height: min-content;
        gap: 10px;
        /* border: 2px solid red; */
    }

    .terminal-header-name {
        border: none;
    }

}

@media screen and (max-width: 520px) {
    .terminal-body {
        font-size: 15px;
    }
}

@media screen and (max-width: 390px) {

    .terminal-commandLine,
    .terminal-body {
        font-size: 13px;
    }
}

@media screen and (max-width: 340px) {
    .terminal-main {
        display: none;
    }

    .error {
        display: flex;
    }
}