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

* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}
:root {
    --bg-black-900: #0c1f2d;
    --bg-black-100: #2a384d;
    --bg-black-50: #7c7398;
    --text-black-900: #c1b6cd;
    --text-black-700: #e7d0e7;

    --bar-font: 1.1rem;
    --h3-font: 2.0rem;
    --h2-font: 1.0;
    --h4-font: 1.5rem;
    --icon-font: 2.0rem;
}
body {
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Rye', cursive;
}
ul {
    list-style: none;
}
::before,
::after {
    box-sizing: border-box;
}
.section {
    background: var(--bg-black-900);
    min-height: 100vh;
    display: block;
    padding: 0 30px;
    opacity: 1;
}
.hidden {
    display: none !important;
}
.main-content {
    padding-top: 50px;
}
.padd-15 {
    padding-left: 15px;
    padding-right: 15px;
}
.container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
}
.section .container {
    padding-top: 60px;
    padding-bottom: 70px;
}
.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-black-900);
    font-weight: 700;
    position: relative;
}
.section-title h2::before {
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
}
.section-title h2::after {
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}
.btn,
.btn-send{
    font-family: 'Rye', cursive;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    color: white;
    border-radius: 40px;
    display: inline-block;
    white-space: nowrap;
    border: none;
    background: var(--skin-color);
    transition: all 0.3s ease;
}
.btn:hover,
.btn-send:hover{
    transform: scale(1.05);
}

/*HEADER SECTION*/
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items:center;
    justify-content: space-around;
    background: var(--bg-black-100);
    padding: 0 30px;
    transition: all .50s ease;
    height: 50px;
}
.nav__link {
    display: flex;
}
.nav__link img {
    width: 10.0rem;
    height: inherit;
}
.nav{
    display: flex;
}
.nav a{
    font-size: var(--bar-font);
    font-weight: 600;
    margin: 0 70px;
    transition: all .50s ease;
}
a {
    color: var(--text-black-900);
}
.nav a:hover {
    color: var(--skin-color);
}
.active {
    color: var(--skin-color);
}
#menu-icon{
    font-size: 1.4rem;
    color: var(--text-black-900);
    z-index: 10001;
    cursor: pointer;
    display: none;
}

/*  HOME SECTION  */
.home {
    min-height: 100vh;
    display: flex;
    color: var(--text-black-900);
}
.home .home-info {
    flex: 0 0 60%;
    max-width: 60%;
}
h3.hello {
    font-size: var(--h3-font);
    margin: 15px 0;
}
h3.hello span {
    font-family: 'Rye', cursive;
    font-size: var(--h3-font);
    font-weight: 700;
    color: var(--skin-color);
}
h3.my-profession {
    font-size: var(--h3-font);
    margin: 15px 0;
}
.typing {
    color: var(--skin-color);
}
.home-info p {
    margin-bottom: 70px;
    font-size: var(--bar-font);
    color: var(--text-black-700);
}
.home .home-img {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
    position: relative;
}
.home .home-img img {
    margin: auto;
    height: 400px;
}
.ramka {
    display: flex;
    margin: 0 auto;
    background: #fff;
    border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
    box-shadow: 15px 15px 40px rgba(255, 255, 255, 0.2);
    animation: anim-ramka 15s infinite;
    overflow: hidden;
}
@keyframes anim-ramka {
    0% {
        border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
        box-shadow: 15px 15px 40px rgba(255, 255, 255, 0.2);
    }
    25% {
        border-radius: 58% 42% 75% 25%/76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67%/55% 27% 73% 45%;
        box-shadow: -10px -5px 40px rgba(255, 255, 255, 0.2);
    }
    75% {
        border-radius: 33% 67% 58% 42%/63% 68% 32% 37%;
    }
}

/*  ABOUT SECTION  */
.about .about-content {
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .about-text {
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .about-text h3 {
    font-size: var(--h3-font);
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-black-900);
}
.about .about-content .about-text h3 span {
    color: var(--skin-color);
}
.about .about-content .about-text p {
    font-size: var(--h2-font);
    line-height: 25px;
    color: var(--text-black-700);
}
.about .about-content .personal-info {
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
}
.about .about-content .personal-info .info-item {
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .personal-info .info-item p {
    font-weight: 600;
    padding: 10px 0;
    font-size: var(--h2-font);
    color: var(--text-black-900);
    border-bottom: 1px solid var(--bg-black-50);
}
.about .about-content .personal-info .info-item p span {
    font-weight: 400;
    color: var(--text-black-700);
    margin-left: 4px;
    display: inline-block;
}
.about .about-content .personal-info .buttons {
    margin-top: 10px;
}
.about .about-content .personal-info .buttons .btn {
    margin-right: 15px;
    margin-top: 10px;
}
.about .about-content .skills {
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
}
.about .about-content .skills .skill-item {
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .skills .skill-item h5 {
    line-height: 40px;
    font-weight: 600;
    font-size: var(--bar-font);
    color: var(--text-black-900);
    text-transform: capitalize;
}
.about .about-content .skills .skill-item .progress {
    background-color: var(--bg-black-50);
    height: 7px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}
.about .about-content .skills .skill-item {
    margin-bottom: 25px;
}
.about .about-content .skills .skill-item .progress-in {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background-color: var(--skin-color);
}
.about .about-content .skills .skill-item .skill-percent {
    position: absolute;
    right: 0;
    color: var(--text-black-900);
    top: -40px;
    font-weight: 400;
    line-height: 40px;
}
.about .about-content .experience {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 30px;
}
.about .about-content h3.title {
    font-size: var(--h3-font);
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--text-black-900);
}
.about .about-content .timeline-box {
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .timeline {
    background-color: var(--bg-black-100);
    padding: 30px 15px;
    border: 1px solid var(--bg-black-50);
    border-radius: 10px;
    width: 100%;
    position: relative;
}
.about .about-content .timeline .timeline-item {
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
}
.about .about-content .timeline .timeline-item:last-child {
    padding-bottom: 0;
}
.about .about-content .timeline .timeline-item::before {
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background-color: var(--skin-color);
}
.about .about-content .timeline .circle-dot {
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: var(--skin-color);
}
.about .about-content .timeline .timeline-date {
    font-weight: 400;
    font-size: var(--bar-font);
    margin-bottom: 12px;
    color: var(--text-black-700);
}
.about .about-content .timeline .timeline-date .fa {
    margin-right: 5px;
}
.about .about-content .timeline .timeline-title {
    font-weight: 700;
    font-size: var(--bar-font);
    margin-bottom: 15px;
    text-transform: capitalize;
    color: var(--text-black-900);
}
.about .about-content .timeline .timeline-text {
    line-height: 25px;
    font-size: var(--h2-font);
    text-align: justify;
    color: var(--text-black-700);
}
.about .about-content .timeline .timeline-date {
    font-weight: 400;
    font-size: var(--bar-font);
    margin-bottom: 12px;
    color: var(--text-black-700);
}

/* SERVICE SECTION */
.service .container {
    padding-bottom: 40px;
}
.service .service-item {
    margin-bottom: 30px;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}
.service .service-item .service-item-inner {
    background-color: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3S ease;
}
.service .service-item .service-item-inner:hover {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
.service .service-item .service-item-inner .icon {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 30px;
    text-align: center;
    transition: all 0.3S ease;
}
.service .service-item .service-item-inner .icon .fa {
    font-size: var(--icon-font);
    line-height: 60px;
    color: var(--skin-color);
    transition: all 0.3S ease;
}
.service .service-item .service-item-inner:hover .icon {
    background: var(--skin-color);
}
.service .service-item .service-item-inner:hover .icon .fa {
    font-size: var(--bar-font);
    color: #ffffff;
}
.service .service-item .service-item-inner h4 {
    font-size: var(--bar-font);
    margin-bottom: 15px;
    color: var(--text-black-900);
    font-weight: 700;
    text-transform: capitalize;
}
.service .service-item .service-item-inner p {
    font-size: var(--h2-font);
    color: var(--text-black-700);
    line-height: 25px;
}

/* PORTFOLIO SECTION */
.portfolio .container {
    padding-bottom: 40px;
}
.portfolio .portfolio-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
}
.portfolio .portfolio-item-inner {
    border: 6px solid var(--bg-black-100);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.portfolio .portfolio-item-inner .portfolio-img img {
    width: 100%;
    display: block;
}

/* CONTACT SECTION */
.item{
    width: 100%;
    height: 700px;
    max-width: 100%;
    border-radius: 30px;
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, .4);
    overflow: hidden;
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    z-index: 1000;
}
.photo{
    background: var(--text-black-700);
}
.submit-form{
    background: var(--bg-black-900);
}
.image{
    height: 100%;
    width: 100%;
}
.social-media{
    display: flex;
    justify-content: center;
    padding-top: 8px;
    list-style: none;
}
.social-media i{
    background: var(--bg-black-900);
    padding: 5px 10px;
    font-size: 3.0rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: var(--text-black-700);
}
.social-media i:hover{
    background: #fff;
    color: #d46267;
}
/*ANIMATION TEXT*/
.social-text{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.content{
    position: fixed;
    padding-right: 220px;
}
.content-1{
    position: fixed;
    padding-left: 200px;

}
.content h2,
.content-1 h2{
    color: var(--text-black-700);
    font-size: 3.0rem;
    position: absolute;
    transform: translate(-50%, -50%);
} 
.content h2:nth-child(1),
.content-1 h2:nth-child(1) {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-black-700);
}
.content h2:nth-child(2),
.content-1 h2:nth-child(2) {
    color: #d46267;
    animation: animate 4s ease-in-out infinite;
}
@keyframes animate {
    0%,
    100% {
    clip-path: polygon(
        0% 45%,
        16% 44%,
        33% 50%,
        54% 60%,
        70% 61%,
        84% 59%,
        100% 52%,
        100% 100%,
        0% 100%
    );
    }
    50% {
    clip-path: polygon(
        0% 60%,
        15% 65%,
        34% 66%,
        51% 62%,
        67% 50%,
        84% 45%,
        100% 46%,
        100% 100%,
        0% 100%
    );
    }
}
.icon-anim i{
    font-size: 3.0rem;
    color: var(--text-black-700);
}
.first-text{
    font-size: var(--h3-font);
    position: relative;
    top: 20px;
    left: 20px;
    padding-top: 10px;
    color: var(--text-black-700);
}
form{
    padding: 10px 40px;
    height: 70%;
    width: 100%;
    overflow: hidden;
}
.input-box{
    height: 40px;
    width: 100%;
    margin: 30px 0;
    position: relative;
}
.input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid var(--bg-black-50);
    border-radius: 30px;
    outline: none;
    padding-left: 10px;
    color: var(--text-black-700);
    font-size: 14px;
}
.input-box label{
    position: absolute;
    pointer-events: none;
    text-transform: uppercase;
    left: 10px;
    padding-left: 10px;
    padding-top: 7px;
    font-size: var(--bar-font);
    color: rgba(198, 197, 197, 0.859);
    transform: .3s;
}
.input-box .input:focus ~ label,
.input-box .input:valid ~ label{
    color: var(--text-black-700);
    transform: translateX(15px) translateY(-9px);
    font-size: 0.8rem;
    padding: 0 10px;
    background: var(--bg-black-900);
    border-left: 2px solid var(--bg-black-50);
    border-right: 2px solid var(--bg-black-50);
    letter-spacing: 0.2rem;
}
.input-box .input:focus,
.input-box .input:valid{
    border: 2px solid var(--text-black-700);
}
textarea.input{
    resize: none;
    min-height: 150px;
    overflow: auto;
    font-size: var(--bar-font);
    padding-top: 10px;
}
.btn-send{
    position: relative;
    top: 100px;
    cursor: pointer;
}



/*SCROLL*/
.scroll{
    position: fixed;
    bottom: 1rem;
    border-top: 2rem;
    right: 1rem;
}
.scroll i{
    font-size: 18px;
    color: var(--text-black-900);
    background: var(--skin-color);
    padding: 15px;
    border-radius: 3rem;
}
@media(max-width:1250px) {

    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home .home-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home .home-img {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home .home-img img {
        width: 300px;
        height: inherit;
    }
    .ramka{
        width: 350px;
        height: inherit;
    }
    header{
        padding: 22px 4%;
        transition: .2s;
    }
    .item{
        grid-template-columns: 1fr;
    }
    .photo{
        display: none;
    }
    .text{
        text-align: center;
    }
}

@media(max-width: 1050px) {
    :root{
        --bar-font: 0.9rem;
        --h3-font: 1.8rem;
        --h2-font: 0.8;
        --h4-font: 1.3rem;
        --icon-font: 1.8rem;
    }
    .nav a{
        margin: 0 50px;
        transition: all .50s ease;
    }
}
@media(max-width: 950px){
    .nav{
        position: absolute;
        top: -1000px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        text-align: left;
        background: var(--bg-black-100);
        transition: all .50s ease var(--skin-color);
    }
    .nav a{
        display: block;
        padding: 0.5rem;
        margin: 0.8rem;
        border-left: 2px solid var(--skin-color);
    }
    .nav.open{
        top: 100%;
    }
    #menu-icon{
        display: inline;
        margin-left: 30.0rem;
    }
}
@media(max-width:800px)
{
    .contact .contact-form .col-6,
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item,
    .about .about-content .experience,
    .about .about-content .education,
    .about .about-content .skills,
    .about .about-content .personal-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home .home-img img {
        width: 300px;
        height: inherit;
    }
    .ramka{
        width: 300px;
        height: inherit;
    }
    a{
        margin-right: 10.0rem;
    }
    #menu-icon{
        margin-left: 10.0rem;
    }
    :root{
        --bar-font: 0.6rem;
        --h3-font: 1.5rem;
        --h2-font: 0.8rem;
        --h4-font: 1.0rem;
        --icon-font: 1.4rem;
    }
    .scroll{
        position: fixed;
        bottom: 1rem;
        border-top: 2rem;
        right: -9.0rem;
    }
    .content h2,
    .content-1 h2{
    font-size: 2.0rem;
    }
    .icon-anim i{
        font-size: 2.0rem;
    }
    .content{
        position: fixed;
        padding-right: 144px;
    }
    .content-1{
        position: fixed;
        padding-left: 137px;
    }
    .social-media i:hover{
        background: none;
        color: var(--text-black-700);
    }
    .social-media li i{
        display: flex;
        font-size: 2.0rem;
        align-items: center;
        justify-content: center;
    }
    .submit-form{
        width: 100%;
        transition: .2s;
    }
    .input-box .input:focus ~ label,
    .input-box .input:valid ~ label{
    font-size: 7px;
    }
    textarea.input,
    .input{
        font-size: 0.75rem;
    }
    .btn-send{
        height: 2.0rem;
        width: 5.0rem;
        padding: 0;
        text-align: center;
    }
}

@media(max-width: 600px) {
    .home .home-img img {
        width: 230px;
        height: inherit;
    }
    .ramka{
        width: 230px;
        height: inherit;
    }
    a{
        margin-right: 5.0rem;
    }
    #menu-icon{
        margin-left: 5.0rem;
    }
    .scroll{
        position: fixed;
        bottom: 1rem;
        border-top: 2rem;
        right: -4.0rem;
    }
    .scroll i{
        font-size: 16px;
        color: var(--text-black-900);
        background: var(--skin-color);
        padding: 12px;
        border-radius: 3rem;
    }
    .service .service-item .service-item-inner .icon .fa {
        font-size: 2.0rem;
    }
    .content h2,
    .content-1 h2{
    font-size: 1.5rem;
    }
    .icon-anim i{
        font-size: 1.5rem;
    }
    .content{
        position: fixed;
        padding-right: 115px;
    }
    .content-1{
        position: fixed;
        padding-left: 105px;
    }
    form{
        width: 100%;
        padding: 20px;
    }
    .input-box{
        height: 30px;
        width: 100%;
        margin: 30px 0;
        position: relative;
    }
    .btn-send{
        font-size: 0.8rem;
    }

}