:root {
    --purple-color: #8400ff;
    --divblock-color: rgba(17, 17, 17, 0.863);
    --old-purple: #5c00b3;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #ffffff;
    text-align: center;
    font-family: sans-serif;
    background-image: url(../files/space1.jpg);
    background-color: #000000;
    background-repeat: repeat;
    background-size: 50%;
    overflow-x: hidden;
}

#encz {
    position: absolute;
    top: 3vh;
    left: 1vw;
    z-index: 999999;
    cursor: pointer;
    line-height: 0;
    display: block;
}

#encz a {
    text-decoration: none;
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
    border-left: 0px solid #3c2f47;
    height: 100%;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #28004d;
}

::-webkit-scrollbar-thumb:hover {
    background: #3d2553;
}

#navbar {
    position: relative;
    top: 20px;
    display: block;
    transition: top 0.2s;
    z-index: 99;
}

#main-div {
    width: 100%;
    height: 100vh;
    position: relative;
}

#mover {
    position: relative;
    font-size: 150%;
    top: 27%;
}

.movers {
    padding-left: 2%;
    padding-right: 2%;
    text-decoration: none;
    color: #ffffff;
    letter-spacing: 1px;
}

#navbar:before {
    pointer-events: none;
    content: '';
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, #000000 0%, transparent 80%);
}

.movers:hover .item {
    color: var(--purple-color);
}

.item {
    display: table-cell;
    font-weight: 500;
}

#names {
    position: relative;
    top: 50%;
    position: absolute;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%, -50%);
    width: 50%;
}

.name {
    position: relative;
    font-size: 60px;
    padding: 10%;
    background: -webkit-linear-gradient(var(--purple-color), #000000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#nickname {
    display: none;
}

#myname {
    display: block;
}

#names:hover #nickname {
    display: block;
}

#names:hover #myname {
    display: none;
}

#more-button {
    transition: 0.2s;
    position: absolute;
    background-image: url(../files/angle-double-down.png);
    background-repeat: no-repeat;
    background-size: 40px;
    width: 40px;
    height: 40px;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%, -50%);
    top: 85vh;
    display: block;
}

#more-button:hover {
    background-size: 30px;
    background-position: center;
}

#about-me {
    width: 100%;
    height: 100vh;
    position: relative;
}

#padding-br {
    padding-top: 10vh;
}

#about-box1,
#about-box2 {
    background-color: var(--divblock-color);
    display: inline-block;
    position: relative;
    height: 60vh;
    width: 40vw;
    border-radius: 20px;
    box-shadow: 0px 10px 50px 0px #000000;
}

#about-box1 {
    margin-right: 2%;
}

#about-box2 {
    margin-left: 2%;
}

#about-inside1,
#about-inside2 {
    display: block;
    position: relative;
    height: 80%;
    width: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%, -50%);
    top: 50%;
    overflow: scroll;
}

#text-inside {
    font-size: 20px;
    text-align: left;
    height: 80%;
    width: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%, -50%);
    top: 50%;
    position: relative;
    overflow: hidden;
    line-break: loose;
}

#text-inside ul li {
    padding-top: 15px;
}

#text-inside ul li:first-child {
    padding-top: 0;
}

#skilltext {
    font-size: 250%;
}

#prog {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
}

.progt {
    margin-bottom: 20px;
}

.proce {
    margin-top: 1%;
    border-radius: 50px;
    border: 2px black solid;
    height: 20px;
    position: relative;
    background-color: var(--old-purple);
}

.proces {
    background-color: rgb(110, 0, 0);
    height: 100%;
    border-radius: 50px;
    overflow: hidden;
}

#my-work {
    width: 100%;
    height: 100vh;
    position: relative;
}

#works {
    height: 80%;
    width: 80%;
    left: 50%;
    position: relative;
    transform: translate(-50%, -50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%, -50%);
    top: 50%;
    overflow: hidden;
    text-decoration: none;
}

.wor-li {
    background-color: var(--divblock-color);
    display: inline-block;
    position: relative;
    height: 100%;
    width: 25vw;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    margin-left: 2%;
    margin-right: 2%;
}

.wor-li .text-above {
    font-size: 140%;
    text-decoration: none;
}

.wor-li hr {
    border: 1px black solid;
}

.wor-li img {
    height: 100%;
    width: 100%;
    position: relative;
    border-radius: 20px;
    filter: brightness(85%);
}

#contats {
    width: 100%;
    height: 70vh;
    position: relative;
}

#contat {
    height: 80%;
    width: 80%;
    left: 50%;
    position: relative;
    transform: translate(-50%, -50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%, -50%);
    top: 50%;
}

#contat-inside {
    background-color: var(--divblock-color);
    display: inline-block;
    position: relative;
    height: 25vh;
    width: 40vw;
    border-radius: 20px;
    box-shadow: 0px 10px 50px 0px #000000;
}

#contat-text {
    left: 50%;
    position: relative;
    transform: translate(-50%, -50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%, -50%);
    top: 50%;
}

#contat-text span {
    font-size: 200%;
}

#contat-text #discord {
    background: -webkit-linear-gradient( #7289DA, #7289DA);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

#contat-text #mydsname {
    font-size: 220%;
}

#contat-inside h1 {
    padding-top: 5%;
}

footer {
    background-color: var(--divblock-color);
    width: 100%;
    height: 30vh;
    position: relative;
}

footer .left-leg,
.right-leg {
    position: relative;
    display: inline-block;
    width: 45%;
    height: 80%;
    top: 20%;
    text-align: left;
    font-size: 120%;
    overflow: scroll;
}

.footer-inside {
    left: 100%;
    position: relative;
    transform: translate(-50%, -50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%, -50%);
    top: 50%;
    overflow: scroll;
}

.socialmedia a:any-link {
    text-decoration: none;
    padding-bottom: 1px;
    color: var(--purple-color)
}

.socialmedia a:hover {
    color: var(--old-purple);
}

.socialmedia {
    height: 50px;
    position: relative;
}

.socialmedia img {
    width: 30px;
}

@media only screen and (max-height: 768px) {
    #about-inside2 {
        overflow: scroll;
    }
    #text-inside {
        overflow: scroll;
    }
    #works {
        overflow: scroll;
    }
    .wor-li {
        height: 35%;
    }
}

@media only screen and (max-width: 768px) {
    #about-box1,
    #about-box2 {
        display: block;
        height: 30vh;
        width: 80vw;
        left: 11%;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 2%;
    }
    #names {
        top: 45%
    }
    .name {
        font-size: 32px;
    }
    #text-inside {
        font-size: 75%;
        overflow: scroll;
    }
    #skilltext {
        font-size: 100%;
    }
    .progt {
        font-size: 60%;
    }
    .proce {
        height: 15px;
    }
    #about-inside2 {
        overflow: scroll;
    }
    .wor-li {
        width: 70%;
        height: 35%;
    }
    .wor-li .text-above {
        font-size: 100%;
    }
    #works {
        overflow: scroll;
    }
    .wor-li img {
        height: 100%;
        width: 100%;
    }
    #contat-text span {
        font-size: 100%;
    }
    #contat-text #mydsname {
        font-size: 110%;
    }
     ::-webkit-scrollbar-thumb:hover {
        background: transparent;
    }
    #more-button {
        top: 70vh;
    }
    #encz {
        top: 15vh;
    }
    footer .left-leg,
    .right-leg {
        font-size: 100%;
        display: block;
        width: 100%;
    }
    footer {
        overflow: scroll;
    }
}