body {
    margin: 0px;
    padding: 0px;
    max-width: 100vw;
    background-color: white;
    font-family: "League Spartan", sans-serif;
}

.body {
    height: 400vh;
    background: url("./images/svg/bg.svg")no-repeat center center;
    background-size: cover;
}

#firstpage {
    height: 100vh;
    padding: 0px 100px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#firstpage nav {
    margin: 0px;
    padding: 0px;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: 1.s ease-in-out;
    z-index: 99999;
}

#firstpage #hidden_one {
    display: none;
}

.sticky {
    position: fixed;
    left: 0;
    right: 0;
}

#firstpage nav #navi {
    position: relative;
    height: 112px;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s ease-in-out;
}


@media screen and (max-width: 1023px) {
    #firstpage nav #navi {
        width: 80%;
    }
}

@media screen and (max-width: 767px) {
    #firstpage nav #navi {
        width: 100%;
    }
}

#firstpage nav #navi ul {
    display: flex;
    width: 100%;
    list-style: none;
    margin: 0px;
    padding: 1%;
    box-sizing: border-box;
}

#firstpage nav #navi ul a {
    position: relative;
    width: 20%;
    height: 112px;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    color: beige;
    font-size: 18px;
    font-weight: 500;
    margin: 0px 0px;
    text-decoration: none;
    cursor: pointer;
    z-index: 1;
    transition: 1.s ease-in-out;
}

#firstpage nav #navi ul a:hover {
    color: white;
    font-weight: 600;

}

#firstpage nav #navi ul .active {
    color: #F44336;
    font-weight: 600;
}

#firstpage nav #navi #hover {
    position: absolute;
    left: 4.5%;
    height: 112px;
    width: 20%;
    background: url("./images/svg/hover.svg") center no-repeat;
    background-size: contain;
    opacity: .2;
    transition: .5s ease-in-out;
}

#firstpage nav #navi #active {
    position: absolute;
    height: 112px;
    background: url("./images/svg/hover.svg") center no-repeat;
    background-size: contain;
    width: 20%;
    left: 3%;
    transition: .5s ease-in-out;
}

#hidden_one {
    display: none;
    width: 45%;
    padding: 20px;

}

#firstpage #firstpage_content #name_role #name {
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3.04px;
    -webkit-text-stroke: 1.5px white;
    margin-bottom: 16px;
}

#firstpage #firstpage_content #name_role #name span {
    letter-spacing: 7.60px;
    -webkit-text-stroke-color: #FBE8D3;
}

#firstpage #firstpage_content #name_role #role {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

#firstpage #firstpage_content #socials {
    display: flex;

}

.icons {
    width: 36px;
    height: 36px;
    margin-right: 18px;
}

#firstpage #scroll {
    display: flex;
    margin-bottom: 45px;
    align-items: center;
    animation: bounce 2s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
}

#firstpage #scroll img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

#firstpage #scroll span {
    color: #928A97;
    font-size: 12px;
    font-weight: 500;
    margin-right: 64px;
}

@keyframes bounce {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, -20px, 0);
    }
}


.page {
    height: 100vh;
    padding: 32px 100px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

.page_content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 56px;
}

.page_content #image_container {
    position: relative;
    width: 40%;
    height: 688px;
    overflow: hidden;
    padding: 5px;
}

.page_content #image_container #bgImage {
    position: absolute;
    top: 0px;
    width: 152px;
    height: 192px;
}

#secondpage #secondpage_content #image_container #bgImage {
    left: 0px;
}

.page_content #image_container #image {
    height: 650px;
    margin-top: 35px;
    overflow: hidden;
    filter: grayscale(3);
    position: relative;
    border-radius: 20px;
    transition: .4s filter ease-in-out;
}

.page_content #image_container #image:hover {
    filter: grayscale(0);
}

#secondpage #secondpage_content #image_container #image {
    margin-left: 50px;
    background: url("./images/jpg/profileImage.jpg") no-repeat center center;
    background-size: cover;
}

.page_content #text_content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.page_content #text_content h3 {
    color: #F44336;
    font-size: 32px;
    font-weight: 700;
    word-wrap: break-word;
    margin: 0px;
    padding: 0px;
    margin: 32px 0px;
}

.page_content #text_content p {
    width: 617px;
    color: #000C24;
    font-size: 24px;
    font-weight: 400;
    text-align: left;
    line-height: 40.80px;
    word-spacing: 5.28px;
    word-wrap: break-word;
    padding: 0px;
    margin: 0px;
}

#downloadCV {
    position: relative;
    width: 170px;
    height: 53px;
    background-color: #000c24;
    border-radius: 8px;
    border: 3px solid #000c24;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    margin: 30px 0px;
    color: bisque;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.20px;
}

.star {
    background: url("./images/svg/magic-star.svg");
    background-size: cover;
}

.star-1 {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.star-2 {
    position: absolute;
    top: 45%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-3 {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-4 {
    position: absolute;
    top: 20%;
    left: 40%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-5 {
    position: absolute;
    top: 25%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-6 {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 0.8s ease;
}

#downloadCV:hover {
    background-color: transparent;
    color: #000C24;
    box-shadow: 0 0 25px #fec1958c;
}

#downloadCV:hover .star-1 {
    position: absolute;
    top: -80%;
    left: -30%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
}

#downloadCV:hover .star-2 {
    position: absolute;
    top: -25%;
    left: 10%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
}

#downloadCV:hover .star-3 {
    position: absolute;
    top: 55%;
    left: 25%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
}

#downloadCV:hover .star-4 {
    position: absolute;
    top: 30%;
    left: 80%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
}

#downloadCV:hover .star-5 {
    position: absolute;
    top: 25%;
    left: 115%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
}

#downloadCV:hover .star-6 {
    position: absolute;
    top: 5%;
    left: 60%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
}

.fil0 {
    fill: #000C24;
}

#thirdpage #thirdpage_content #image_container #bgImage {
    right: 0px;
}

#thirdpage #thirdpage_content #image_container #image {

    margin-right: 50px;
    background: url("./images/png/skill.png") no-repeat center center;
    background-position: right;
    background-size: contain;
}

#thirdpage #thirdpage_content #text_content {
    margin-left: 50px;
}

#thirdpage #thirdpage_content #text_content #skill_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 48px;
    column-gap: 25px;
    row-gap: 25px;
}

#thirdpage #thirdpage_content #text_content #skill_container .skill {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

}

#thirdpage #thirdpage_content #text_content #skill_container .outer {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
        -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
}

#thirdpage #thirdpage_content #text_content #skill_container .inner {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
        inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7);
}

#thirdpage #thirdpage_content #text_content #skill_container .inner #number {
    width: 100%;
    height: 100%;
    display: flex;
    font-size: 1rem;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

#thirdpage #thirdpage_content #text_content #skill_container .skill .skillText {
    margin-top: 10px;
    color: #000C24;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 20px;
    word-spacing: 5.28px;
    word-wrap: break-word;
}

circle {
    fill: none;
    stroke: url(#GradientColor);
    stroke-width: 10px;
    width: 100px;
    height: 100px;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: anim 2s linear forwards;
}

svg {
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes anim {
    100% {
        stroke-dashoffset: var(--m);
        /* stroke: var(--m); */
    }
}

#fourthpage #fourthpage_content #image_container #bgImage {
    left: 0px;
}

#fourthpage #fourthpage_content #image_container button {
    width: 100px;
    height: 64px;
    background-color: #928A97;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s background-color ease-in-out, .5s display ease-in-out;
}

#fourthpage #fourthpage_content #image_container button:hover {
    cursor: pointer;
    background-color: rgba(146, 138, 151, .5);
}

#backButton {
    border-top-right-radius: 35px;
    border-bottom-right-radius: 35px;
}

#nextButton {
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
}

#fourthpage #fourthpage_content #image_container #image {
    margin-left: 50px;
    background: url("./images/png/skill.png") no-repeat right center;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#fourthpage #fourthpage_content #text_content {
    padding-right: 100px;
    box-sizing: border-box;
}


#fourthpage #fourthpage_content #text_content #work-name {
    color: #F44336;
    font-size: 24px;
    font-weight: 600;
    word-wrap: break-word;
    margin: 0px;
    padding: 0px;
    transition: .4s all ease-in-out forwards;
}

#fourthpage #fourthpage_content #text_content p {
    margin: 24px 0px;
}

#fourthpage #fourthpage_content #text_content #work-skills_container {
    display: flex;
    flex-wrap: wrap;
    margin: 24px 0px;
    column-gap: 15px;
    row-gap: 15px;
}

#fourthpage #fourthpage_content #text_content #work-skills_container .work-skills {
    height: 40px;
    background-color: #928A97;
    border-radius: 6px;
    padding: 8px 12px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 23.80px;
}

#fourthpage #fourthpage_content #text_content a {
    width: 36px;
    height: 36px;
    margin: 24px 0px;
}

#fourthpage #fourthpage_content #text_content #indicator_container {
    width: 100%;
    height: 5px;
    display: flex;
    column-gap: 5px
}

#fourthpage #fourthpage_content #text_content #work_index {
    margin: 0px;
    margin-top: 50px;
    margin-bottom: 5px;
    color: #000C24;
    font-size: 16px;
    font-weight: 600;
}

#fourthpage #fourthpage_content #text_content #indicator_container #active {
    background-color: #000C24;
    transition: .5s background-color ease-in-out;
}

#fourthpage #fourthpage_content #text_content #indicator_container .indicator {
    flex-grow: 1;
    height: 100%;
    background-color: #928A97;
    border-radius: 10px;
    transition: .5s background-color ease-in-out;

}

#fifthpage {
    background-color: #000C24;
    flex-direction: column;
    padding: 0px;
}

#fifthpage #contact {
    width: 100%;
}

#fifthpage #contact #contact_content {
    height: 486px;
    border-radius: 4px;
    margin: 72px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
}


#fifthpage #contact #contact_content #form_input {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

#fifthpage #contact #contact_content #form_input .form-control {
    position: relative;
    margin: 0px 0 40px;
    width: 500px;
}

#fifthpage #contact #contact_content #form_input .form-control input {
    background-color: transparent;
    border: 0;
    border-bottom: 2px #fff solid;
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    color: #fff;
}

#fifthpage #contact #contact_content #form_input .form-control input:focus,
#fifthpage #contact #contact_content #form_input .form-control input:valid {
    outline: 0;
    border-bottom-color: lightblue;
}

#fifthpage #contact #contact_content #form_input .form-control label {
    position: absolute;
    top: 15px;
    left: 0;
    pointer-events: none;
}

#fifthpage #contact #contact_content #form_input .form-control label span {
    display: inline-block;
    font-size: 18px;
    min-width: 5px;
    color: #fff;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#fifthpage #contact #contact_content #form_input .form-control input:focus+label span,
#fifthpage #contact #contact_content #form_input .form-control input:valid+label span {
    color: lightblue;
    transform: translateY(-30px);
}


#fifthpage #contact #contact_content #form_input button {
    padding: 0.1em 0.25em;
    width: 13em;
    height: 4.2em;
    background-color: #000C24;
    border: 0.08em solid #fff;
    border-radius: 0.3em;
    font-size: 12px;
    cursor: pointer;
    justify-self: start;
    align-self: start;
    margin-top: 30px;
}

#fifthpage #contact #contact_content #form_input button span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0.4em;
    width: 8.25em;
    height: 2.5em;
    background-color: #000C24;
    border-radius: 0.2em;
    font-size: 1.5em;
    color: #fff;
    border: 0.08em solid #fff;
    box-shadow: 0 0.4em 0.1em 0.019em #fff;
}

#fifthpage #contact #contact_content #form_input button span:hover {
    transition: all 0.5s;
    transform: translate(0, 0.4em);
    box-shadow: 0 0 0 0 #fff;
}

#fifthpage #contact #contact_content #form_input button span:not(hover) {
    transition: all 1s;
}

#fifthpage #contact #contact_content #text_content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    height: 100%;
    padding-right: 100px;
}

#fifthpage #contact #contact_content #text_content #loader {
    display: flex;
    flex-direction: column;
    align-items: end;
}

#fifthpage #contact #contact_content #text_content #loader .glitch {
    position: relative;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: beige;
    letter-spacing: 5px;
    z-index: 1;
    animation: shift 1s ease-in-out normal alternate;
    margin: 0px;
}

#fifthpage #contact #contact_content #text_content #loader .glitch:nth-child(1) {
    font-size: 100px;
}

#fifthpage #contact #contact_content #text_content #loader .glitch:before,
#fifthpage #contact #contact_content #text_content #loader .glitch:after {
    display: block;
    content: attr(data-glitch);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

#fifthpage #contact #contact_content #text_content #loader .glitch:before {
    animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: #928A97;
    z-index: -1;
}

#fifthpage #contact #contact_content #text_content #loader .glitch:after {
    animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
    color: lightblue;
    z-index: -2;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-3px, 3px);
    }

    40% {
        transform: translate(-3px, -3px);
    }

    60% {
        transform: translate(3px, 3px);
    }

    80% {
        transform: translate(3px, -3px);
    }

    to {
        transform: translate(0);
    }
}

@keyframes shift {

    0%,
    40%,
    44%,
    58%,
    61%,
    65%,
    69%,
    73%,
    100% {
        transform: skewX(0deg);
    }

    41% {
        transform: skewX(10deg);
    }

    42% {
        transform: skewX(-10deg);
    }

    59% {
        transform: skewX(40deg) skewY(10deg);
    }

    60% {
        transform: skewX(-40deg) skewY(-10deg);
    }

    63% {
        transform: skewX(10deg) skewY(-5deg);
    }

    70% {
        transform: skewX(-50deg) skewY(-20deg);
    }

    71% {
        transform: skewX(10deg) skewY(-10deg);
    }
}


#fifthpage footer {
    flex-grow: 1;
    width: 100%;
    background: url("./images/svg/footer_bg.svg") no-repeat center center;
    background-position: right;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    row-gap: 30px;
}

#fifthpage footer h2 {
    margin: 0px;
    font-size: 18px;
}

#fifthpage footer p {
    margin: 0px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

#fifthpage footer p img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin: 0px 5px;
}