@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;700;800&display=swap');

:root{
    /* light theme */
    --main-color: #41295a;
    --second-color: #fff;
    --accent-color: #FC5C7D;
    --background-gradient: url(/images/mode/light.jpg);
    --circles-gradient:linear-gradient(149.52deg, #FAEBFC 8.8%, #D27EE3 86.56%);

    /* dark theme */
    /* --main-color: #fff;
    --second-color: #3F5EFB;
    --accent-color: #FC5C7D;
    --background-gradient: url(/images/mode/dark.jpg);
    --circles-gradient:  linear-gradient(149.52deg, #A263F8 8.8%, #300F6A 86.56%); */
   
    /* font sizes */
    --navigation-size:4em;

    --section-h1-size:3.5em;
    --section-p-size:2em;
    --section-a-size:1.5em;

    --h1-size: 3em;
    --h3-size: 2.5em;
    --h3-small-size: 1.7em;
    --p-size: 1.4em;
    --p-small-size: 1em;
}



body {
    width: 100%;
    height: 100vh;
    margin: 0;
    color: var(--main-color);
    font-family: 'Poppins', sans-serif;
    background: #ddd6f3;
    background: var(--background-gradient);
    background-size: cover;
    background-position-y: bottom;
    overflow-y: hidden;
}

.nav-toggler {
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    top: 15%;
    right: 12%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    transition: all 0.3s ease;
}

.nav-toggler span {
    height: 2px;
    width: 24px;
    border-radius: 10px;
    background-color: var(--accent-color);
}

.nav-toggler span:first-child {
    left: 0;
    transform: translateY(-8px);
}

.nav-toggler span:last-child {
    right: 0;
    transform: translateY(8px);
}

.nav-toggler:hover {
    background-color: rgba(146, 145, 145, 0.1);
}

.nav {
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 0vh;
    width: 0%;
    opacity: 1;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.nav.active {
    height: 80vh;
    width: 80%;
    visibility: visible;
}

.nav.active .nav-inner {
    height: 100%;
    width: 100%;
}

.nav.active .nav-inner ul {
    visibility: visible;
}

.nav.active .nav-toggler {
    visibility: visible;
}

.nav.hide {
    transition: all 0.5s ease-in-out;
    height: 0vh;
    width: 0%;
    visibility: hidden;
}

.nav.hide .nav-inner ul {
    visibility: hidden;
}

.nav .nav-toggler.hide {
    visibility: hidden;
}

.nav .nav-inner.hide {
    transition: all 0.5s ease-in-out;
    height: 0%;
    width: 0%;
}

.nav .nav-toggler:not(.hide) span {
    transition: all 1s ease;
}

.nav .nav-toggler {
    visibility: hidden;
    top: 6%;
    right: 2.5%;
}

.nav .nav-inner {
    height: 0vh;
    width: 0%;
    background-color: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(30px);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.nav .nav-inner ul {
    list-style: none;
    padding: 0;
    visibility: hidden;
}

.nav .nav-inner ul li {
    text-align: center;
}

.nav .nav-inner ul li a {
    font-size: var(--navigation-size);
    text-transform: capitalize;
    color: var(--main-color);
    text-decoration: none;
    display: block;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 1s ease;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 0;
    visibility: hidden;
}

.nav .nav-inner ul li a.show {
    visibility: visible;
}

.nav .nav-inner ul li a:hover {
    color: var(--second-color);
}


.settings {
    width: 50px;
    height: 120px;
    position: absolute;
    top: 6%;
    right: 2.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    visibility: hidden;
}

.settings.show {
    visibility: visible;
}

.settings.show .mode-toggler img {
    visibility: visible;
}

.settings div {
    width: 50px;
    height: 50px;
}

.settings .hidden {
    visibility: hidden;
}

/* dark mode toggle begin */
.mode-toggler {
    text-decoration: none;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    margin: 0;
    cursor: pointer;
}

.mode-toggler img {
    height: 50px;
    width: 50px;
    transition: all 0.5s;
    transform-style: preserve-3d;
    transform: perspective(100px);
    visibility: hidden;
}

.mode-toggler .moon {
    position: absolute;
    transform:scale(0);
}


@keyframes offMode {
    0% {
        transform:scale(1.0);
        opacity: 1;
    }

    100% {

        transform:scale(0);
        opacity: 0;
    }
}

@keyframes onMode {
    0% {
        transform:scale(0);
    }

    100% {
        transform:scale(1.0);
    }
}

/* dark mode toggle end */



.txt-type>.txt {
    border-right: 0.2rem solid rgb(163, 163, 163);
}


.btn {
    font-size: var(--section-a-size);
    position: relative;
    display: inline-flex;
    background-color: var(--second-color);
    padding: 0.4em 1.5em;
    text-decoration: none;
    border-radius: 1em;
    color: var(--main-color);
    font-weight: 500;
    transition: color 0.5s;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: var(--main-color);
    transform: translateY(150%);
    border-radius: 50%;
    left: calc((var(--n) - 1) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;
}

.btn:hover {
    color: var(--second-color);
    cursor: pointer;
}

.btn:hover span {
    transform: translateY(0) scale(2);
}

.btn span:nth-child(1) {
    --n: 1;
}

.btn span:nth-child(2) {
    --n: 2;
}

.btn span:nth-child(3) {
    --n: 3;
}

.btn span:nth-child(4) {
    --n: 4;
}



.container {
    position: relative;
    display: flex;
    justify-self: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 100vh;
    width: 100%;
    z-index: 1;
}


.container .card {
    position: relative;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    width: 80%;
    height: 80vh;
    border-radius: 30px;
    z-index: 4;
    transition: opacity 0.3s ease;
    transform-style: preserve-3d;
    transform: perspective(100px);

}

.container .card::before {
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
}

.container .card .content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.container .card .content.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

.container .card .content.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



.container .card .content .text {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    margin-left: 5%;
    padding: 0;
}

.container .card .content .text h1 {
    font-size: var(--section-h1-size);
    margin: 0;
    transform-style: preserve-3d;
    transform: perspective(100px);
}

.container .card .content .text p {
    font-size: var(--section-p-size);
    transform-style: preserve-3d;
    transform: perspective(100px);
}

.container .card .content .text a {
    transform-style: preserve-3d;
    transform: perspective(100px);
}


.container .card .content .image {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.container .card .content .image img {
    width: 100%;
}

.s3 .container .card .content .image img {
    width: 80%;
}

/* for first section */
.s1 .container .card .content .image img:nth-child(1) {
    position: absolute;
    width: 65%;
    margin-top: 50%;
    margin-left: 20%;
}

.s1 .container .card .content .image img:nth-child(2) {
    position: absolute;
    width: 17%;
    margin-top: 44%;
    margin-left: 12%;
}

.s1 .container .card .content .image img:nth-child(3) {
    position: absolute;
    width: 16%;
    margin-top: 23%;
    margin-left: 20%;
}

.s1 .container .card .content .image img:nth-child(4) {
    position: absolute;
    width: 25%;
    margin-top: 16%;
    margin-left: 43%;
}

.s1 .container .card .content .image img:nth-child(5) {
    position: absolute;
    width: 16%;
    margin-top: 33%;
    margin-left: 69%;
}

.s1 .container .card .content .image img:nth-child(6) {
    position: absolute;
    width: 25%;
    margin-top: 47%;
    margin-left: 64%;
}

.s1 .container .card .content .image img:nth-child(7) {
    position: absolute;
    width: 2.5%;
    margin-top: 62%;
    margin-left: 29%;
}

.s1 .container .card .content .image img:nth-child(8) {
    position: absolute;
    width: 4%;
    margin-top: 40%;
    margin-left: 37%;
}

.s1 .container .card .content .image img:nth-child(9) {
    position: absolute;
    width: 3.5%;
    margin-top: 38%;
    margin-left: 57%;
}

.s1 .container .card .content .image img:nth-child(10) {
    position: absolute;
    width: 3%;
    margin-top: 71%;
    margin-left: 69%;
}

.developer .s1 .container .card .content .image img {
    width: 100%;
    margin: 0;
}

.developer .s6 .container .card .content .image img {
    width: 80%;
    margin: 0;
}

/* Social Media */
.socialMedia {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.socialMedia .row1 {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: row;
}

.socialMedia .row2 {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: row;
}

.hollow {
    position: relative;
    width: 100%;
    height: 100%;
    top: 0%;
    transition: 0.6s all ease;
    z-index: 1;
}

.filled {
    position: relative;
    width: 100%;
    height: 100%;
    top: -102%;
    opacity: 0%;
    background-size: cover;
    transition: 0.6s all ease;
    z-index: 0;
}

.hollow:hover {
    opacity: 0%;
    transform: translateY(-3%);
    transition: 0.6s all ease;
}

.hollow:hover+.filled {
    opacity: 100%;
    transform: translateY(-3%);
    transition: 0.6s all ease;
}

.socialMediaItem-1 {
    width: 50%;
    height: 100%;
    display: flex;
}

.socialMediaItem-2 {
    width: 50%;
    height: 100%;
}

.socialMediaItem-3 {
    width: 50%;
    height: 100%;
}

.socialMediaItem-4 {
    width: 50%;
    height: 100%;
}


/* Foreground and background circles */
.fgCircles {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

.fgCircles #first {
    width: 300px;
    height: 300px;
    content: '';
    position: absolute;
    background: var(--circles-gradient);
    clip-path: circle(50%);
    margin-top: -4%;
    margin-left: 50%;
}

.fgCircles #second {
    width: 500px;
    height: 500px;
    content: '';
    position: absolute;
    background: var(--circles-gradient);
    clip-path: circle(50%);
    margin-top: 20%;
    margin-left: -5%;

}

.fgCircles #third {
    width: 250px;
    height: 250px;
    content: '';
    position: absolute;
    background: var(--circles-gradient);
    clip-path: circle(50%);
    margin-top: 1%;
    margin-left: 20%;

}


.fgCircles #fourth {
    width: 250px;
    height: 250px;
    content: '';
    position: absolute;
    background: var(--circles-gradient);
    clip-path: circle(50%);
    margin-top: 20%;
    margin-left: 80%;
}

.fgCircles #fifth {
    width: 350px;
    height: 350px;
    content: '';
    position: absolute;
    background: var(--circles-gradient);
    clip-path: circle(50%);
    margin-top: 25%;
    margin-left: 45%;
}

.fgCircles-fg {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 5;
}

.fgCircles-fg #sixth {
    width: 150px;
    height: 150px;
    content: '';
    position: absolute;
    background: var(--circles-gradient);
    clip-path: circle(50%);
    top: 5%;
    left: 50%;

}

.bgCircles {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: -1;

}

.bgCircles #first {
    left: 0%;
    top: 0%;
    position: absolute;
}

.bgCircles #second {
    left: 0%;
    top: 50%;
    position: absolute;
}

.bgCircles #third {
    left: 50%;
    top: 0%;
    position: absolute;
}

.bgCircles #fourth {
    left: 60%;
    top: 0%;
    position: absolute;
}

.developer section:not(.s1) .container .card .content {
    flex-direction: column;
}

.developer .title {
    height: calc(10vh + 50px);
    width: 100%;
    display: flex;
    text-align: left;
    align-items: center;
}

.developer .title h1 {
    width: 100%;
    padding-left: 5%;
    margin: 0;
    font-size: var(--h1-size);
    font-weight: 600;
}
.developer .title h1 span{
    color: var(--accent-color);
}

.developer .info {
    width: 100%;
    height: calc(70vh - 50px);
    display: flex;
    flex-direction: row;
}

.developer .info .about-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.developer .info .about-image div {
    width: 60%;
    height: 0;
    padding-bottom: 60%;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    background-image: url(/images/asanya.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.developer .info .about-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.developer .info .about-text h3 {
    padding: 0;
    margin: 0;
    font-size: var(--h3-size);
}

.developer .info .about-text p {
    padding: 0;
    margin: 2% 0 4% 0;
    font-size: calc(var(--p-size) - 0.2em ) ;
    width: 90%;
}

.developer .s3 .container .card .content .info,
.developer .s5 .container .card .content .info {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.developer .card-small {
    width: 28%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.developer .card-small div {
    width: 70%;
    height: 0;
    padding-bottom: 70%;
    background-size: cover;
    transform: translateZ(20px);
}

.developer .card-small h3 {
    font-size: calc(var(--h3-size) - 0.2em) ;
    padding: 0;
    margin: 0;
    transform: translateZ(50px);
}

.developer .card-small p {
    font-size: var(--p-small-size);
    padding: 0;
    margin: 0;
    transform: translateZ(50px);
}

.developer .card-small .btn {
    transform: translateZ(20px);
}

.developer .card-small #creative {
    background-image: url(/images/qualities/creative.png);
}

.developer .card-small #purposeful {
    background-image: url(/images/qualities/purposeful.png);
}

.developer .card-small #sociable {
    background-image: url(/images/qualities/sociable.png);
}




.developer .s5 .card-small {
    justify-content: flex-start;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
.developer .card-small *{
    transition: all 0.5s ease;
}

.developer .s5 .card-small div:first-child {
    width: 40%;
    height: 0;
    padding-bottom: 27.8%;
    background-size: cover;
    margin: 2%;
    margin-top: 5%;
}
.developer .s5 .card-small div:last-child{
    width: 95%;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.developer .s5 .card-small h3 {
    font-size: var(--h3-small-size);
    margin: 0;
    transform: translateZ(50px);
}

.developer .s5 .card-small p {
    font-size: var(--p-small-size);
    margin: 2%;
    padding: 0 5% 0 5%;
    transform: translateZ(50px);
}

.developer .s5 .card-small .btn {
    font-size: var(--p-small-size);
    margin: 2%;
    transform: translateZ(20px);
}

.developer .s5 .card-small .btn span {
    margin: 0;
}

.developer .card-small #german {
    background-image: url(/images/languages/german.svg);
}

.developer .card-small #english {
    background-image: url(/images/languages/english.svg);
}

.developer .card-small #russian {
    background-image: url(/images/languages/russian.svg);
}


.developer .skill-list {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    padding-right: 3%;
}

.developer .skill-list .skill-item {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 3%;
}


.developer .skill-list .skill-item .skill-icon {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.developer .skill-list .skill-item .skill-icon div {
    width: 60%;
    height: 0;
    padding-bottom: 60%;
}

.developer .skill-list .skill-item .skill-icon div img {
    width: 100%;
    height: auto;
    align-self: center;
}

.developer .skill-list .skill-item .skill-detail {
    width: 80%;
    display: flex;
    flex-direction: column;
}

.developer .skill-list .skill-item .skill-detail .skill-meta {
    width: 100%;
    height: 70%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.developer .skill-list .skill-item .skill-detail .skill-meta .skill-name {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
}

.developer .skill-list .skill-item .skill-detail .skill-meta .skill-name h3 {
    font-size: var(--h3-small-size);
    margin: 0;
    padding: 0;
}

.developer .skill-list .skill-item .skill-detail .skill-meta .skill-name p {
    font-size: var(--p-size);
    margin: 0;
    padding: 0;
}

.developer .skill-list .skill-item .skill-detail .skill-meta .skill-ratio {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
}

.developer .skill-list .skill-item .skill-detail .skill-meta .skill-ratio h3 {
    font-size: var(--h3-small-size);
    margin: 0;
    padding: 0;
}

.developer .skill-list .skill-item .skill-detail .skill-meta .skill-ratio p {
    font-size: var(--p-size);
    margin: 0;
    padding: 0;
}

.developer .skill-list .skill-item .skill-detail .skill-bar {
    width: 100%;
    height: 30%;
    display: flex;
    justify-items: center;
    align-items: center;
}

.developer .skill-list .skill-item .skill-detail .skill-bar div {
    width: 100%;
    height: 50%;
    background-color: white;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.developer .skill-list .skill-item .skill-detail .skill-bar div .bar {
    width: var(--width);
    height: 100%;
    background: #FC5C7D;
    background: -webkit-linear-gradient(to left, #6A82FB, #FC5C7D);
    background: linear-gradient(to left, #6A82FB, #FC5C7D);
}

.developer .works {
    position: absolute;
    z-index: 10;
    width: 0px;
    height: 0px;
    top: 0%;
    right: 0%;
    border-radius: 30px;
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    overflow-x: scroll;
    border-radius: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.developer .works .nav-toggler {
    top: 6%;
    right: 2.5%;
    opacity: 0;
}

.developer .works .nav-toggler span:first-child {
    transform: rotate(45deg) translateY(100%);
}

.developer .works .nav-toggler span:nth-child(2) {
    opacity: 0;
}

.developer .works .nav-toggler span:last-child {
    transform: rotate(-45deg) translateY(-100%);
}

.developer .works .works-title {
    width: 100%;
    height: calc(10vh + 50px);
    display: flex;
    align-items: center;
    justify-self: center;
}

.developer .works .works-title h1 {
    width: 100%;
    margin: 0;
    font-size: var(--h1-size);
    font-weight: 600;
    visibility: hidden;
}

.developer .works .works-list {
    width: 100%;
    height: calc(70vh - 50px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.developer .works .works-list .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 70%;
}


.developer .works .works-list .works-item {
    width: 25%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 2% 0;
    visibility: hidden;
}

.developer .works .works-list .works-item div {
    margin-left: 10%;
}



.developer .works .works-list .works-item .works-name {
    height: 20%;
    display: flex;
    align-items: center;
}

.developer .works .works-list .works-item .works-name h3 {
    font-size: var(--section-a-size);
}

.developer .works .works-list .works-item .btn {
    font-size: var(--p-small-size);
}

.developer .works .works-list .works-item .works-thumbnail {
    width: 80%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer .works .works-list .works-item .works-thumbnail img {
    width: 90%;
    border-radius: 10px;
}

.developer .works-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0%;
    height: 0vh;
    z-index: 100;
    display: flex;
    justify-content: flex-start;
    transition: all 0.5s ease;
    border-radius: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.developer .works-popup .nav-toggler {
    visibility: hidden;
    top: -3%;
    right: -1.5%;
}

.developer .works-popup .nav-toggler span:first-child {
    transform: rotate(45deg) translateY(100%);
}

.developer .works-popup .nav-toggler span:nth-child(2) {
    opacity: 0;
}

.developer .works-popup .nav-toggler span:last-child {
    transform: rotate(-45deg) translateY(-100%);
}



.developer .works-popup .works-popup-content {
    width: 100%;
    height: 100%;
}

.developer .works-popup .works-popup-content .works-popup-info {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    overflow-x: scroll;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.developer .works-popup .works-popup-content .works-popup-info h1 {
    margin: 1% 5% 1% 5%;
    font-size: var(--section-p-size);
}

.developer .works-popup .works-popup-content .works-popup-info p {
    margin: 1% 5% 1% 5%;
    font-size: var(--p-small-size);
    display: inline;
    text-align: left;
}

.developer .works-popup .works-popup-content .works-popup-info b {
    margin: 0;
}


.developer .works-popup .works-popup-content .works-popup-info .slider {
    width: 90%;
    height: 70vh;
    margin: 5% 5% 1% 5%;
    border-radius: 10px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.developer .works-popup .slide-image {
    height: 50vh;
    width: 80vh;
}


/* -------------------------------------- */
.slider {
    position: relative;
    background: #000116;
    width: 800px;
    min-height: 500px;
    margin: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: circle(0% at 0 50%);
}

.slider .slide.active {
    clip-path: circle(150% at 0 50%);
    transition: 2s;
}

.slider .slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .slide .info {
    position: absolute;
    color: #222;
    background: rgba(255, 255, 255, 0.3);
    width: 75%;
    margin-top: 50px;
    margin-left: 50px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgb(1 1 1 / 5%);
}

.navigation {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider:hover .navigation {
    opacity: 1;
}

.prev-btn,
.next-btn {
    z-index: 999;
    font-size: var(--section-p-size);
    color: #222;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    cursor: pointer;
}

.prev-btn {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.next-btn {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.navigation-visibility {
    z-index: 999;
    display: flex;
    justify-content: center;
}

.navigation-visibility .slide-icon {
    z-index: 999;
    background: rgba(255, 255, 255, 0.5);
    width: 20px;
    height: 10px;
    transform: translateY(-50px);
    margin: 0 6px;
    border-radius: 2px;
    box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
}

.navigation-visibility .slide-icon.active {
    background: var(--main-color);
}

@media (max-width: 900px) {
    .slider {
        width: 100%;
    }

    .slider .slide .info {
        position: relative;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}


/* -------------------------------------- */
.loader-wrapper{
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(200px);
    backdrop-filter: blur(200px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s;
}

.loader {
    box-sizing: border-box;
    display: inline-block;
    width: 50px;
    height: 80px;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
    position: relative;
    background: linear-gradient( var(--main-color) 30px, transparent 0) no-repeat;
    background-size: 2px 40px;
    background-position: 50% 0px;
    animation: spinx 5s linear infinite;
  }
  .loader:before, .loader:after {
    content: "";
    width: 40px;
    left: 50%;
    height: 35px;
    position: absolute;
    top: 0;
    transform: translatex(-50%);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0 0 20px 20px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: 0 0px;
    animation: lqt 5s linear infinite;
  }
  .loader:after {
    top: auto;
    bottom: 0;
    border-radius: 20px 20px 0 0;
    animation: lqb 5s linear infinite;
  }
  @keyframes lqt {
    0%, 100% {
      background-image: linear-gradient(var(--main-color) 40px, transparent 0);
      background-position: 0% 0px;
    }
    50% {
      background-image: linear-gradient(var(--main-color) 40px, transparent 0);
      background-position: 0% 40px;
    }
    50.1% {
      background-image: linear-gradient(var(--main-color) 40px, transparent 0);
      background-position: 0% -40px;
    }
  }
  @keyframes lqb {
    0% {
      background-image: linear-gradient(var(--main-color) 40px, transparent 0);
      background-position: 0 40px;
    }
    100% {
      background-image: linear-gradient(var(--main-color) 40px, transparent 0);
      background-position: 0 -40px;
    }
  }
  @keyframes spinx {
    0%, 49% {
      transform: rotate(0deg);
      background-position: 50% 36px;
    }
    51%, 98% {
      transform: rotate(180deg);
      background-position: 50% 4px;
    }
    100% {
      transform: rotate(360deg);
      background-position: 50% 36px;
    }
  }
      



@media(max-width:991px){
    :root{
        --navigation-size:3.4em;

        --section-h1-size:2.975em;
        --section-p-size:1.7em;
        --section-a-size:1.275em;
    
        --h1-size: 2.55em;
        --h3-size: 2.125em;
        --h3-small-size: 1.2em;
        --p-size: 0.9em;
        --p-small-size: 0.85em;
    }
    .developer .skill-list .skill-item .skill-detail .skill-bar div{
        height: 30%;
    }
    .developer .info .about-text p {
        font-size: calc(var(--p-size) + 0.1em ) ;
    }
    .developer .works .works-list .works-item .works-name h3  {
        font-size: calc(var(--h3-small-size) - 0.2em ) ;
    }
}

@media(max-width:767px){
    :root{
        --navigation-size:3.2em;

        --section-h1-size:2.8em;
        --section-p-size:1.6em;
        --section-a-size:1.2em;
    
        --h1-size: 2.4em;
        --h3-size: 2em;
        --h3-small-size: 1.36em;
        --p-size: 1.12em;
        --p-small-size: 0.8em;
    }
    .container{
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        position: absolute;
    }

    .container .card .content{
        flex-direction:column-reverse;
        align-items: center;
    }
    .container .card .content .text{
        text-align: center;
        margin-left: 0;
        width: 80%;
        height: 50%;
    }
    .container .card .content .image{
        width: 80%;
        height: 50%;
    }
    .container .card .content .image img{
        scale: 0.6;
    }
    .nav .nav-toggler{
        top: 4.2%;
    }
    .nav-toggler{
        height: 40px;
        width: 40px;
        top: 8.5%;
    }
    .nav-toggler span{
        width: 19px;
        height: 1.6px;
    }

    .developer .title{
        height: calc(7vh + 40px);
    }

    .developer .info{
        flex-direction: column;
        align-items: center;
        height: calc(73vh - 40px);
    }
    .developer .info .about-image{
        height: 30%;
        width: 80%;
    }
    .developer .info .about-text{
        height: 70%;
        width: 90%;
        text-align: center;
        align-items:center;
    }
    .developer .info .about-text p {
        font-size: calc(var(--p-size) - 0.2em ) ;
    }
    .developer .info .about-text h3 {
        font-size: calc(var(--h3-size) - 0.2em ) ;
    }
    .developer .info .about-text a {
        font-size: calc(var(--p-size) - 0.2em ) ;
    }
    .developer .info .about-image div {
        width: 30%;
        padding-bottom: 30%;
    }
    .developer .card-small{
        width: 80%;
        height: 28%;
        flex-direction: row;
    }

    .developer .card-small div{
        width: 30%;
        height: 0;
        padding-bottom: 30%;
        margin-right: 5%;
    }

    .developer .skill-list {
        width: 60%;
        padding: 0;
        margin: 0;
    }
    .developer .skill-list:first-child{
        margin-top: 5%;
    }
    .developer .skill-list .skill-item .skill-detail .skill-bar div{
        height: 40%;
    }


    .developer .s5 .card-small p{
        font-size: 0.5em;
    }
    .developer .s5 .card-small h3{
        font-size: 1em;
    }
    .developer .s5 .card-small .btn{
        font-size: 0.2em;
    }

    .developer .s5 .card-small div:first-child {
        width: 35%;
        padding-bottom: 16.6%;
        margin-left: 5%;
    }
    .developer .s5 .card-small div:last-child{
        /* align-self: flex-start; */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0;
    }

    .developer .s6 .info{
        flex-direction: column-reverse;
    }
    .developer .works .works-list .row{
        flex-direction: column;
        height: 100%;
    }


    .developer .works .works-list .works-item {
        width: 80%;
        height: 25%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .developer .works .works-list .works-item .works-thumbnail {
        width: 60%;
        height: 100%;
    }
    .developer .works .works-list .works-item div {
        margin-left: 3%;
    }
    .developer .works .works-list .works-item .works-btn {
        position: absolute;
        width: 60%;
        height: 80%;
        opacity: 0;
    }
    .developer .works .works-list .works-item .works-btn a{
        width: 70%;
        height: 80%;
    }

    .fgCircles #first{
        visibility: hidden;
    }
    .fgCircles #third{
        margin-left: 50%;
    }
    .fgCircles #fourth{
        visibility: hidden;
    }
    .fgCircles #fifth{
        margin-top: 50%;
    }

}

@media(max-width:575px){
    :root{
        --navigation-size:2.8em;

        --section-h1-size:2.45em;
        --section-p-size:1.4em;
        --section-a-size:1.05em;
    
        --h1-size: 2.1em;
        --h3-size: 1.75em;
        --h3-small-size: 0.9em;
        --p-size: 0.7em;
        --p-small-size: 0.7em;


        --navigation-size:2em;

        --section-h1-size:1.75em;
        --section-p-size:1em;
        --section-a-size:0.75em;
    
        --h1-size: 1.5em;
        --h3-size: 1.25em;
        --h3-small-size: 0.85em;
        --p-size: 0.7em;
        --p-small-size: 0.5em;
    }
    .container .card .content .image img{
        scale: 0.8;
    }
    .developer .info .about-image{
        height: 40%;
    }
    .developer .info .about-text p {
        font-size: calc(var(--p-size) - 0.1em ) ;
    }
    .developer .info .about-text h3 {
        font-size: calc(var(--h3-size) - 0.2em ) ;
    }
    .developer .info .about-text a {
        font-size: calc(var(--p-size) - 0.1em ) ;
    }
    .developer .info .about-image div {
        width: 40%;
        padding-bottom: 40%;
    }
    .developer .skill-list {
        width: 80%;
        height: 50%;
        padding: 0;
        margin: 0;
        justify-items: space-evenly;
    }
    .developer .skill-list:first-child{
        margin-top: 5%;
    }
    .developer .skill-list .skill-item .skill-detail .skill-bar div{
        height: 50%;
    }
    .developer .s5 .card-small .btn{
        display: none;
    }
}