:root {
    /* DARK THEME */
    --mainColor: #30d12d;
    --bgColor: #141e30;
    /* BLUE THEME */
    /* --mainColorB: #e8ff18; */
    /* --bgColorB: #00205a; */
    /* LIGHT THEME */
    /* --mainColorL: #141e30;
    --bgColorL: #ffffff; */
}

.themes{
    display: flex;
    padding-top: 5px;
}

.theme_button{
    border: 2px solid;
    border-radius: 5px;
    color: var(--mainColor);
}


body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bgColor);
    margin: 0;
    font-family: monospace;
    font-weight: lighter;
    color: var(--mainColor);
}

.f {
    position: fixed;
    bottom: 5px;
    right: 15px;
    font-family: 'Arial';
    font-size: 0.7rem;
    color: var(--mainColor);
    text-align: center;
}

.f a {
    font-size: 0.8rem;
    color: var(--mainColor);
}

#wrapper {
    width: 518px;
    height: 165px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--bgColor);
    color: var(--mainColor);
}

#wrapper span,
#wrapper p {
    margin: 0;
    font-size: 1.2em;
    line-height: 0.8em;
}

#wrapper span {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    text-align: center;
    color: var(--mainColor);
}

#wrapper span:after {
    content: '';
    background-color: var(--mainColor);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

#wrapper span:hover:after {
    opacity: 1;
}

#wrapper span.purple {
    color: var(--mainColor);
}

#wrapper span.purple:hover:after {
    background-color: var(--mainColor);
}

.light-theme .myNavbar {
    background-color: var(--bgColor);
    color: var(--mainColor);
    font-size: 18px;
}

.light-theme .myNavbar-nav {
    font-size: 35px;
    display: flex;
    list-style-type: none;
    padding: 0;
    justify-content: space-between;
    width: 100%;
}

.light-theme .myNav-item {
    flex-grow: 1;
    margin-right: 10px;
}

.light-theme .myNav-link {
    color: var(--mainColor);
    text-decoration: none;
}

.light-theme .myNav-link:hover {
    text-decoration: underline;
}

#navbar {
    text-align: center;
    padding-top: 15px;
}

.toggleD {
    display: none;
}

.activeD {
    display: block;
}

#output {
    font-family: monospace;
    font-weight: lighter;
    color: var(--mainColor);
    font-size: 17px;
}

.copy {
    display: flex;
    justify-content: center;
    padding-top: 600px;
    font-size: 12px;
}

#headline {
    font-size: 30px;
}

#text {
    font-size: 25px;
    /* color: var(--mainColor); */
}
/* .about_text{
    color: var(--mainColor);
} */

.toggleD .skills {
    padding-top: 90px;
    padding-left: 8%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.skillBar {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

.percent {
    font-size: 20px;
}

.skillBarEl {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bar {
    width: 200px;
    height: 20px;
    border: solid 2px var(--mainColor);
    margin: 15px 1px;
    overflow: hidden;
    background: var(--bgColor);
}

.fill {
    max-width: 100%;
    height: 100%;
}

.one .fill {
    width: 0%;
    background: var(--mainColor);
    animation: barOne 0.7s linear;
    -webkit-animation: barOne 0.7s linear;
}

#aboutDiv {
    width: 80%;
    padding-top: 30px;
    padding-left: 150px;
}

button {
    font-family: monospace;
    border: 2px solid var(--mainColor);
    background: transparent;
    width: 250px;
    font-size: 1.2em;
    padding: 10px 0;
    border-radius: 5px;
    display: block;
    cursor: pointer;
    margin: 1em auto;
}

article {
    width: 80%;
    margin: auto;
    font-size: 2em;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}

.works {
    text-decoration: none;
    color: var(--mainColor);
}

.h1 {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}

.h1:hover .span {
    animation: dubstep 1.2858s infinite ease;
}

.h1:hover .span+.span {
    animation: dubstep 1.318s infinite ease;
}

.h1:hover .span+.span+.span {
    animation: dubstep 1.3958s infinite ease;
}

.h1:hover .span+.span+.span+.span {
    animation: dubstep 1.4358s infinite ease;
}

.h1:hover .span+.span+.span+.span+.span {
    animation: dubstep 1.5358s infinite ease;
}

.h1:hover .span+.span+.span+.span+.span+.span {
    animation: dubstep 1.6358s infinite ease;
}

.icons {
    display: flex;
    justify-content: center;
    padding-top: 12%;
    gap: 170px;
}

i {
    font-size: 80px;
}

#icon-3d {
    padding: 30px;
    -webkit-animation: icon3d 200ms 10;
    animation: icon3d 200ms 10;
    color: var(--mainColor);
}

#icon-3d:hover {
    -webkit-animation: icon3d 200ms infinite;
    animation: icon3d 200ms infinite;
}

@media (max-width: 768px) {
    #wrapper {
        left: -63px;
        transform: scale3d(0.8, 2, 1);
    }
}

@media (max-width: 768px) {
    .light-theme .myNavbar-nav {
        padding-top: 20px;
        font-size: 17px;
        flex-direction: column;
        gap: 12px;
        align-items: baseline;
    }
}

@media (max-width: 768px) {
    .output {
        position: absolute;
        right: 77px;
        padding-top: 69px;
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {}

@media (max-width: 768px) {
    #about {
        scale: 0.9;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0;
        flex-direction: column;
        display: flex;
        align-items: baseline;
    }

    .themes {
        scale: 0.7;
        position: absolute;
        top: -28px;
        left: 146px;
        flex-direction: column;
    }

    .copy {
        scale: 0.8;
        position: absolute;
        bottom: -20px;
    }

    #aboutDiv {
        width: 100%;
        padding-left: 0;
    }

    #headline {
        font-size: 19px;
    }

    #text {
        font-size: 15px;
    }

    .toggleD .skills {
        grid-template-columns: repeat(1, 1fr);
    }

    #works {
        scale: 0.9;
        position: absolute;
        bottom: 20px;
    }

    #skillsContainer {
        position: absolute;
        top: 100px;
        scale: 0.7;
    }

    #contact {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

@-moz-keyframes icon3d {
    0% {
        text-shadow: 5px 4px #f44336, -5px -6px #2196f3, 5px 4px #2bed2b;
    }

    25% {
        text-shadow: -5px -6px #f44336, 5px 4px #2196f3, -5px -6px #2bed2b;
    }

    50% {
        text-shadow: 5px -4px #f44336, -8px 4px #2196f3, -5px 0 #2bed2b;
    }

    75% {
        text-shadow: -8px -4px #f44336, -5px -4px #2196f3, -8px -4px #2bed2b;
    }

    100% {
        text-shadow: -5px 0 #f44336, 5px -4px #2196f3, -5px -6px #2bed2b;
    }
}

@-webkit-keyframes icon3d {
    0% {
        text-shadow: 5px 4px #f44336, -5px -6px #2196f3, 5px 4px #2bed2b;
    }

    25% {
        text-shadow: -5px -6px #f44336, 5px 4px #2196f3, -5px -6px #2bed2b;
    }

    50% {
        text-shadow: 5px -4px #f44336, -8px 4px #2196f3, -5px 0 #2bed2b;
    }

    75% {
        text-shadow: -8px -4px #f44336, -5px -4px #2196f3, -8px -4px #2bed2b;
    }

    100% {
        text-shadow: -5px 0 #f44336, 5px -4px #2196f3, -5px -6px #2bed2b;
    }
}

@-o-keyframes icon3d {
    0% {
        text-shadow: 5px 4px #f44336, -5px -6px #2196f3, 5px 4px #2bed2b;
    }

    25% {
        text-shadow: -5px -6px #f44336, 5px 4px #2196f3, -5px -6px #2bed2b;
    }

    50% {
        text-shadow: 5px -4px #f44336, -8px 4px #2196f3, -5px 0 #2bed2b;
    }

    75% {
        text-shadow: -8px -4px #f44336, -5px -4px #2196f3, -8px -4px #2bed2b;
    }

    100% {
        text-shadow: -5px 0 #f44336, 5px -4px #2196f3, -5px -6px #2bed2b;
    }
}

@keyframes icon3d {
    0% {
        text-shadow: 5px 4px #f44336, -5px -6px #2196f3, 5px 4px #2bed2b;
    }

    25% {
        text-shadow: -5px -6px #f44336, 5px 4px #2196f3, -5px -6px #2bed2b;
    }

    50% {
        text-shadow: 5px -4px #f44336, -8px 4px #2196f3, -5px 0 #2bed2b;
    }

    75% {
        text-shadow: -8px -4px #f44336, -5px -4px #2196f3, -8px -4px #2bed2b;
    }

    100% {
        text-shadow: -5px 0 #f44336, 5px -4px #2196f3, -5px -6px #2bed2b;
    }
}

@-moz-keyframes dubstep {
    0% {
        text-shadow: 0 0 0 var(--mainColor);
    }

    40% {
        text-shadow: 3px 0 0 #fc080c;
    }

    43% {
        text-shadow: 3px 0 0 #fc080c, 15px 0 0 #010187, -7px 0 0 #0ec208;
        color: var(--mainColor);
    }

    44% {
        text-shadow: 3px 0 0 #fc080c, 15px 2px 0 #010187, -7px -1.5px 0 #0ec208;
        color: rgba(0, 0, 0, 0.2);
    }

    45% {
        text-shadow: 3px 0 0 #fc080c, 15px 0 0 #010187, -7px 0 0 #0ec208;
        color: var(--mainColor);
    }

    100% {
        text-shadow: 0 0 0 var(--mainColor);
    }
}

@-webkit-keyframes dubstep {
    0% {
        text-shadow: 0 0 0 var(--mainColor);
    }

    40% {
        text-shadow: 3px 0 0 #fc080c;
    }

    43% {
        text-shadow: 3px 0 0 #fc080c, 15px 0 0 #010187, -7px 0 0 #0ec208;
        color: var(--mainColor);
    }

    44% {
        text-shadow: 3px 0 0 #fc080c, 15px 2px 0 #010187, -7px -1.5px 0 #0ec208;
        color: rgba(0, 0, 0, 0.2);
    }

    45% {
        text-shadow: 3px 0 0 #fc080c, 15px 0 0 #010187, -7px 0 0 #0ec208;
        color: var(--mainColor);
    }

    100% {
        text-shadow: 0 0 0 var(--mainColor);
    }
}

@-o-keyframes dubstep {
    0% {
        text-shadow: 0 0 0 var(--mainColor);
    }

    40% {
        text-shadow: 3px 0 0 #fc080c;
    }

    43% {
        text-shadow: 3px 0 0 #fc080c, 15px 0 0 #010187, -7px 0 0 #0ec208;
        color: var(--mainColor);
    }

    44% {
        text-shadow: 3px 0 0 #fc080c, 15px 2px 0 #010187, -7px -1.5px 0 #0ec208;
        color: rgba(0, 0, 0, 0.2);
    }

    45% {
        text-shadow: 3px 0 0 #fc080c, 15px 0 0 #010187, -7px 0 0 #0ec208;
        color: var(--mainColor);
    }

    100% {
        text-shadow: 0 0 0 var(--mainColor);
    }
}

@keyframes dubstep {
    0% {
        text-shadow: 0 0 0 var(--mainColor);
    }

    40% {
        text-shadow: 3px 0 0 #fc080c;
    }

    43% {
        text-shadow: 3px 0 0 #fc080c, 15px 0 0 #010187, -7px 0 0 #0ec208;
        color: var(--mainColor);
    }

    44% {
        text-shadow: 3px 0 0 #fc080c, 15px 2px 0 #010187, -7px -1.5px 0 #0ec208;
        color: rgba(0, 0, 0, 0.2);
    }

    45% {
        text-shadow: 3px 0 0 #fc080c, 15px 0 0 #010187, -7px 0 0 #0ec208;
        color: var(--mainColor);
    }

    100% {
        text-shadow: 0 0 0 var(--mainColor);
    }
}

@-moz-keyframes barOne {
    0% {
        width: 0%;
    }
}

@-webkit-keyframes barOne {
    0% {
        width: 0%;
    }
}

@-o-keyframes barOne {
    0% {
        width: 0%;
    }
}

@keyframes barOne {
    0% {
        width: 0%;
    }
}

@-moz-keyframes barOne {
    0% {
        width: 0%;
    }
}

@-webkit-keyframes barOne {
    0% {
        width: 0%;
    }
}

@-o-keyframes barOne {
    0% {
        width: 0%;
    }
}

@keyframes barOne {
    0% {
        width: 0%;
    }
}