/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@font-face {
    font-family: "Orbitron";
    src: url("./font/Orbitron-VariableFont_wght.ttf");
}
  
:root {
    --primaryColor: #f5f5f5;
    --secondaryColor: #bcbdce;
    --tertiaryColor: #cbacf9;
    --tertiaryColor2: #00eeff;
    --primaryBgColor: #000319;
    --secondaryBgColor: #111928cf;
    --primaryBgColorTransparency: #00031990;
    --primaryBorderColor: #ffffff20;
    --brandWidth: 1179px;
    --brandHeight: 787px;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Orbitron", sans-serif;
    color: var(--primaryColor);
    list-style: none;
    text-decoration: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    width: 100%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    background-color: var(--primaryBgColor);
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#copyright {
    position: fixed;
    bottom: .1em;
    right: 10px;
    color: #ffffff40;
    font-family: 'Courier New', Courier, monospace;
    font-size: .6em;
    font-weight: 700;
}

#brand {
    position: fixed;
    z-index: -1;
    width: var(--brandWidth);
    height: var(--brandHeight);
    top: calc((100vh - var(--brandHeight)) / 2);
    left: calc((100vw - var(--brandWidth)) / 2);
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%;
    height: 80px;
    z-index: 9999;
}

#header__btn {
    width: 70px;
    height: 70px;
    background-color: var(--primaryBgColorTransparency);
    border: 1px solid var(--primaryBgColor);
    border-radius: .6em;
    border: none;
    margin: 10px 10px 0 0;
    cursor: pointer;
}

#welcome {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1em;
    width: 85%;
    height: 100vh;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

#welcome__git, #welcome__mail {
    width: 36px;
    height: 36px;
    background-color: var(--secondaryBgColor);
    border: 1px solid var(--primaryBorderColor);
    border-radius: .4em;
    padding: 2px;
}

#welcome__git {
    position: relative;
}

#welcome__git:hover#welcome__git::before,
#welcome__git:hover#welcome__git::after {
    opacity: 1;
}
#welcome__git:hover#welcome__git::before,
#welcome__git:hover#welcome__git::after {
    animation: github 1s 1 ease-in;
}
#welcome__git::before,
#welcome__git::after {
    position: absolute;
    content: "";
    width: 6%;
    height: 6%;
    background-color: var(--secondaryBgColor);
    border: 1px solid var(--primaryColor);
    border-radius: 50%;
    opacity: 0;
}
#welcome__git::before {
    top: 40%;
    left: 36%;
}
#welcome__git::after {
    top: 40%;
    right: 36%;
}

#welcome__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

#header__btn,
.welcome__btn {
    -webkit-transition: -webkit-transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: -webkit-transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -o-transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55), -webkit-transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#header__btn:hover, 
.welcome__btn:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.welcome__btn {
    border: none;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#skills, #projects {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1em;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

#projects, #skills {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    overflow: hidden;
    width: 85%;
    padding: 0 0 10vh 0;
}

#projects__title, #skills__title {
    overflow: hidden;
}

#projects__title,
#skills__title,
.info__title,
#welcome__title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

#projects__title,
#skills__title,
.info__title,
#welcome__title {
    font-size: 17px;
    color: var(--primaryColor);
}

#projects__title span,
#skills__title span,
#welcome__title span {
    width: 12px;
    height: 14px;
    background-color: var(--secondaryBgColor);
    margin: 0 8px 0 0;
    border-radius: .14em;
    border: 1px solid var(--primaryBorderColor);
}

#projects__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1em;
    overflow: hidden;
}

#projects__wrapper {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin: 5em 0 0 0;
}

#skills__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin: 3em 0 3em 0;
}

#skills__wrapper div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    width: 60%;
}

.skills__icon {
    width: 90px;
    height: 90px;
    border-radius: .8em;
    background-color: var(--secondaryBgColor);
    border: 1px solid var(--primaryBorderColor);
    padding: 5px;
}

.item, .item-reverse {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.item__info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 35%;
    min-width: 250px;
    height: 100%;
    padding: 10px 0 0 0;
    gap: 20px;
}

.img { width: 100%; }

.item__img {
    position: relative;
    width: 60%;
    min-width: 250px;
    max-width: 1300px;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.info__text,
#welcome__text {
    color: var(--secondaryColor);
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

#welcome__text, .info__text { max-width: 500px; }

.info__link {
    color: var(--tertiaryColor);
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
}

.info__code {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    color: var(--tertiaryColor);
}

.info__code p {
    font-size: 14px;
    font-weight: 300;
    color: var(--tertiaryColor);
} 
.info__code svg {
    width: 16px;
    fill: var(--tertiaryColor);
}
.info__tags {
    width: calc(100% - 10px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    font-size: 12px;
    font-weight: 400;
    color: var(--secondaryColor);
    border-radius: .4em;
    background-color: #06071d;
    background-color: var(--secondaryBgColor);
    border: 1px solid var(--primaryBorderColor);
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 6px 12px 6px 12px;
}

.info__title {
    font-size: 14px;
    color: var(--primaryColor);
}

#brand__light {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: -o-radial-gradient(center, circle, var(--tertiaryColor2), transparent 70%);
    background: radial-gradient(circle at center, var(--tertiaryColor2), transparent 70%);
    position: absolute;
    -webkit-animation: moveX 3.05s linear 0s infinite alternate, moveY 3.4s linear 0s infinite alternate;
    animation: moveX 3.05s linear 0s infinite alternate, moveY 3.4s linear 0s infinite alternate;
}
  
@-webkit-keyframes moveX {
    from { left: 0px; } to { left: 550px; }
}
@keyframes moveX {
    from { left: 0px; } to { left: 550px; }
}
@-webkit-keyframes moveY {
    from { top: 0px; } to { top: 350px; }
}
@keyframes moveY {
    from { top: 0px; } to { top: 350px; }
}

@keyframes github {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(.3); }
    100% { transform: scaleY(1); }
}

@media screen and (max-width: 779px) {
    .item-reverse {
        -ms-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
    }
    .item__img, .item__info { width: 100%; }
    .item__info { padding: 0; }
    #skills__wrapper div { width: 100%; }
}

