@media screen and (max-width: 1020px) {
    .about-me__img{
        width: 300px;
    }
}

@media screen and (max-width: 867px) {
    .d-none{
        display: flex;
    }
    .header__scroll{
        color: rgb(78, 33, 253);;
        margin-top: 50px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 1;
  transition: opacity 0.5s ease;
    }

    .header__scroll.fade-out {
        opacity: 0;
      }

    .header__scroll-arrow{
        width: 30px;
        height: auto;
        animation: bounce 2s infinite ease-in-out;
    }

   .nav__button--cv{
    display: none;
   }

   .about-me__cv-link{
    text-decoration: none;
    margin: 15px;
   }

   .cv__button--cv{
    text-decoration: none;
    width: 10rem;
    height: 2.5rem;
    background-color: white;
    border: 2px solid var(--mainColor);
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--mainfont);
    font-weight: 600;
    font-size: 1rem;
    color: var(--mainColor);
   }

   .header{
    height: 100vh;
   }

   .header__buttons{
    display: none;
   }

   .nav{ 
    position: absolute;
    display: flex;
    flex-direction: row;
    width: 100%;
    grid-area: nav;
    padding-top: 25px;
    padding-right: 35px;
    padding-left: 35px;
}

   .nav__link-some{
    width: 32px;
    margin-left: 30px;
   }

   .nav__logo-img{
    width: 43px;
   }

   .header__name-text{
    padding-top: 150px;
    font-size: 1.7rem;
    width: 300px;
    text-align: center;
}

    .job{
    font-size: 2.5rem;
    line-height: 3rem;
    display: block;
    text-align: center;
    height: 300px;   
    animation: spin_words 15s infinite;
}
.header_job-wrapper{
    height: 190px;
    padding: 20px 15px ;
    box-shadow: 0 20px 25px rgba(black);
}

.about-me{
    flex-direction: column;
    justify-content: center;
}

.about-me__profile{
    padding-top: 40px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.about-me__img{
    margin-right: 0px;
    width: 300px;
    height: auto;
    
}


.about-me__title{
    padding-top: 20px;
    font-size: 2rem;
    text-align: center;
}

.about-me__text{
    text-align: center;
    width: 350px;
   
}

.about-me__text-edu{
    
    width: 350px;
}

.tools{
    width: 350px;
   
}

.footer{
    margin-top: 100px;
    padding-right: 0px;
    padding-left: 0px;
    width: 350px;
    height: 100%;
}

.footer-wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-text{
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.footer-some{
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-link, .footer-link__text{
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--mainColor);
}

.footer-link__text{
    padding: 5px;
}

}