@import url("https://fonts.googleapis.com/css?family=Poppins");
@import url("https://fonts.googleapis.com/css?family=Ubuntu");
@import url("https://fonts.googleapis.com/css?family=Questrial");

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    background: var(--bg-color);
    color: var(--text-color);
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
    align-items: center;
    font-family: "Poppins", sans-serif;
}

:root {
    --height: 50vh;
    --background-image: linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.3),
            rgb(10, 10, 10, 1)
    ),
    url("https://images.unsplash.com/photo-1553748024-d1b27fb3f960?w=1500&q=80");
}

.dark_theme {
    --arrow-bg: #7a7a7a;
    --link-color: #b8b6ff;
    --bg-color: rgb(10, 10, 10);
    --projects-bg: #141414;
    --text-color: #fff;
    --background-background: linear-gradient(
            0deg,
            rgba(10, 10, 10, 1),
            rgba(10, 10, 10, 0.6)
    ),
    url("https://images.unsplash.com/photo-1553748024-d1b27fb3f960?w=1500&q=80") center center fixed;
}

.white_theme {
    --link-color: #6136fd;
    --arrow-bg: #313131;
    --projects-bg: #f6f6f6;
    --bg-color: #fff;
    --text-color: rgb(10, 10, 10);
    --background-background: #fff;

    /*--background-image: linear-gradient(*/
    /*        90deg,*/
    /*        rgba(10, 10, 10, 0.3),*/
    /*        rgb(10, 10, 10, 1)*/
    /*),*/
    /*url("https://images.unsplash.com/photo-1455794525170-baf7abae3f2b?w=1500&q=80");*/
}

#loading {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: var(--bg-color);
    z-index: 999;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#spinner {
    animation: rotate 0.5s infinite linear;
    width: 50px;
    height: 50px;
    border: 2px solid var(--bg-color);
    border-bottom: 2px solid var(--text-color);
    border-radius: 50%;
    margin: 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
#theme {
    font-size: 22px;
    font-family: "Questrial", sans-serif;
    width: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#theme:hover {
    cursor: pointer;
    transform: translateX(5px);
}


#profile {
    width: 24vw;
    padding: 4vh 3vw;
    height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: var(--background-image) center center;
    background-size: cover !important;
    background-repeat: no-repeat;
    position: fixed;
    color: #fff !important;
}

#display {
    width: 64vw;
    height: 100vh;
    display: inline-block;
    padding: 4vh 3vw 4vh 33vw;
    align-items: center;
}

.fullpage_section {
    height: 100vh;
    vertical-align: middle;
    padding-top: 10%;
    margin-right: 10%;
}

#about_text a {
    color: var(--link-color);
    text-decoration: none
}

#about_text a:hover {
    text-decoration: none;
    cursor: pointer;
}

#display h1 {
    font-size: 50px;
    color: var(--text-color);
    font-weight: bold;
    font-family: 'Questrial', sans-serif;
}

.emoji {
    width: 18px;
    height: 18px;
}

#background {
    width: 100vw;
    height: 55vh;
    background-size: cover !important;
    background-repeat: no-repeat;
    position: absolute;
    z-index: -1;
    margin-top: -10vh;
}

#header {
    width: 63vw;
    text-align: right;
    padding: 3vh 0;
    position: absolute;
}

#header a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 4vw;
    font-weight: bold;
}

#profile_img {
    width: 180px;
    height: 180px;
    min-width: 180px;
    min-height: 180px;
    max-width: 180px;
    max-height: 180px;
    border-radius: 7px;
    background: url(https://avatars.githubusercontent.com/u/51322026?v=4) center;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

#profile div {
    font-weight: bold;
    margin: 1.5vh 0;
}

#username {
    font-size: 18px;
    font-weight: bold;
}

#username span {
    font-size: 24px;
    display: block;
}

#userbio {
    font-size: 26px;
    font-family: "Questrial", sans-serif;
    width: 100%;
}

#about_links {
    font-size: 18px;
    font-family: "Questrial", sans-serif;
}

#about_links span {
    display: block;
}

#about_links a,
#username a {
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
}

#about_links a:hover,
#username a:hover {
    text-decoration: underline;
}

#about_links span {
    margin: 1vh 0;
    display: block;
}

#about_links span i {
    font-size: 16px;
}

.typing-text::after {
    content: "|";
    animation: blink ease 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.about_section span {
    display:block;
}


.projects {
    columns: 2;
}

.projects section {
    width: 85%;
    padding: 2.5vh 5%;
    display: inline-block;
    border-radius: 5px;
    color: var(--text-color);
    border: 1px solid rgb(0, 0, 0, 0.08);
    box-shadow: 0 0 0 #000;
    transition: 0.4s ease-in-out;
    margin: 2vh 0;
    transform: scale(1);
    background: var(--projects-bg);
}

.projects section:hover {
    cursor: pointer;
    border: 1px solid rgb(0, 0, 0, 0);
    box-shadow: 0 15px 35px rgb(0, 0, 0, 0.06);
    transform: scale(1.03);
}

.section_title {
    font-size: 24px;
    font-weight: bold;
    margin: 1vh 0;
    padding: 0 1px;
    word-wrap: break-word;
}

.about_links_section {
    font-size: 18px;
    font-family: "Questrial", sans-serif;
    margin: 2vh 0;
    font-weight: bold;
    word-wrap: break-word;
}

.bottom_section {
    margin: 1vh 0;
    font-size: 14px;
    word-wrap: break-word;
}

.bottom_section span {
    display:inline-block;
    margin-right: 20px;
    font-weight: bold;
}

.bottom_section span i {
    font-size: 15px;
}

.socials {
    color: #fff;
    text-decoration: none;
    margin: 3vh 0 !important;
}

.socials span {
    display: inline-block !important;
    margin-right: 2vw !important;
    font-weight: normal !important;
}

.socials span a {
    font-weight: normal !important;
}

.go_back {
    position: absolute;
    color: var(--text-color);
    font-size: 26px;
    margin-left: 5vw;
    margin-top: 4vh;
}

::selection {
    color: var(--bg-color);
    background: var(--text-color);
}

.container {
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin: 5% auto auto;
    width: 100%;
    height: 100vh;
}

.arrow {
    position: absolute;
    width: 2.1rem;
    height: 0.48rem;
    opacity: 0;
    transform: scale(0.3);
    animation: move-arrow 3s ease-out infinite;
}

.arrow:first-child {
    animation: move-arrow 3s ease-out 1s infinite;
}

.arrow:nth-child(2) {
    animation: move-arrow 3s ease-out 2s infinite;
}

.arrow:before,
.arrow:after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--arrow-bg);
    /*background: #2c3e50;*/
}
.arrow:before {
    left: 0;
    transform: skewY(30deg);
}
.arrow:after {
    right: 0;
    width: 50%;
    transform: skewY(-30deg);
}

@keyframes move-arrow {
    25% {
        opacity: 1;
    }
    33.3% {
        opacity: 1;
        transform: translateY(2.28rem);
    }
    66.6% {
        opacity: 1;
        transform: translateY(3.12rem);
    }
    100% {
        opacity: 0;
        transform: translateY(4.8rem) scale(0.5);
    }
}


@media (max-width: 800px) {
    body {
        overflow-y: scroll;
    }

    .container {
        visibility: collapse;
        content-visibility: hidden;
        height: 0;
        margin: 0;
    }

    #profile {
        width: 90vw;
        padding: 4vh 5vw;
        max-height: 90vh;
        text-align: center;
        position: relative;
    }

    #display {
        width: 90vw;
        height: auto;
        display: inline-block;
        padding: 4vh 5vw;
        align-items: center;
    }

    .fullpage_section {
        height: auto;
        vertical-align: middle;
        padding-top: 10%;
        margin-right: 0;
    }

    #profile_img {
        margin: 0 auto !important;
    }

    #work {
        margin: 0;
    }

    h1 {
        text-align: center;
    }

    .projects {
        margin-left: 0;
        columns: 1;
    }

    .projects a {
        width: 100%;
    }

    .projects section {
        width: 88%;
    }

    .go_back {
        position: relative;
        color: var(--text-color);
        font-size: 26px;
        margin-left: 5vw;
        top: 5vh;
    }

    ::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

    ::-webkit-scrollbar-track {
        background: var(--bg-color);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--text-color);
    }

}

@media (max-width: 800px) {
    :root {
        --background-image: linear-gradient(
                0deg,
                rgba(10, 10, 10, 1),
                rgba(10, 10, 10, 0)
        ),
        url("https://images.unsplash.com/photo-1553748024-d1b27fb3f960?w=1500&q=80") !important;
    }
}
