

/* Основные настройки*/
@font-face {
    font-family: 'ofont_ru_Raleway';
    src: url('../fonts/ofont_ru_Raleway.eot');
    src: url('../fonts/ofont_ru_Raleway.eot') format('embedded-opentype'),
         url('../fonts/ofont_ru_Raleway.woff2') format('woff2'),
         url('../fonts/ofont_ru_Raleway.woff') format('woff'),
         url('../fonts/ofont_ru_Raleway.ttf') format('truetype'),
         url('../fonts/ofont_ru_Raleway.svg#ofont_ru_Raleway') format('svg');
}

* {
    box-sizing: border-box;
    font-family: 'ofont_ru_Raleway';
    transition: transform 0.5s ;
}

.section {
    background-color: rgb(15, 16, 17);
}

.block {
    padding:4px;
}

.block:hover {
    transform: scale(0.95);
    transition: transform 0.5s ;
}

/*footer блоков*/
.footerBlockText {
    padding:1px;
    position: absolute;
    bottom: 48px;
    font-size: 19px;
    padding-left: 48px;
}

.footerBlockIcon {
    margin-top: 20px;
    padding:1px;
    position: absolute;
    bottom: 48px;
    right: 48px;
    font-size: 30px;
    padding-left: 48px;
    font-weight: 900;
}

/*footer mini блоков*/
.footerBlockTextMini {
    padding-top: 100px;
    font-size: 19px;
}

.footerBlockIconMini {
    font-size: 30px;
}


/* Кнопка*/
.language-button {
    margin-top: 20px;
    width: 56px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid white;
    background-color: transparent;
    padding: 0;
  }
  
  .flag-image {
    width: 20px;
    height: 20px;
  }
  
  .language-text {
    color: rgba(119, 119, 119, 1);
    font-size: 14px;
    font-weight: bold;
  }
  
 
/* Заголовок*/
.header {
    margin: 100px auto;
}

.header span {
    display: block;
    color: white;
    line-height: 1.4; 
    font-size: 48px;
}

@media (max-width: 500px){

    .header span {
        display: block;
        color: white;
        line-height: 1.4; 
        font-size: 40px;
        font-weight: 500;
    }

}

/* Польза проекту*/
.benefit {
    background-color: rgba(30, 32, 223, 1);
    border-radius: 80px;
    height: 480px;
}

.textAnimation {
    color: white;
    font-size: 64px;
    width:100%;
    padding-top: 170px;
    text-align: center;
    overflow: hidden;
}


.textAnimation p {
    text-align:center;
    color:#fff;
    padding-top: 35px;
    animation: text 14s infinite linear;
    padding-left: 100%;
    white-space: nowrap;
    
 }

 .textAnimation .En {
    text-align:center;
    color:#fff;
    padding-top: 35px;
    animation: textEn 14s infinite linear;
    padding-left: 100%;
    white-space: nowrap;
    
 }

 @keyframes text {
    0%{
      transform: translate(0, 0);
    }
    
    100%{
      transform: translate(-300%, 0);
    }
  }

  @keyframes textEn {
    0%{
      transform: translate(0, 0);
    }
    
    100%{
      transform: translate(-250%, 0);
    }
  }


@media (max-width: 500px){

    @keyframes text {
        0%{
          transform: translate(0, 0);
        }
        
        100%{
          transform: translate(-370%, 0);
        }
      }

      @keyframes textEn {
        0%{
          transform: translate(0, 0);
        }
        
        100%{
          transform: translate(-300%, 0);
        }
      }

}


/* Блоки функций*/
.funcBlock {
    padding: 0;
    margin: -1px;
}

/* Обо мне*/
.about {
    background-color: rgb(207, 207, 255, 1);
    height: 235px;
    border-radius: 80px;
}

/* О работе*/
.job {
    background-color: rgb(255, 255, 255, 1);
    height: 235px;
    border-radius: 80px;
}



/* Скиллы*/
.gray {
    background-color: rgb(38, 40, 43, 1);
    height: 238px;
    border-radius: 80px;
}

/* Контакты*/
.yellow {
    background-color: rgb(243, 240, 144);
    height: 235px;
    border-radius: 80px;
}

/* Обо мне блок*/
.blockAbout{
    background-color: rgb(38, 40, 43, 1);
    border-radius: 80px;
    padding: 48px;
    margin-top: 4px;
}

.textHeader{
    color: rgb(192, 192, 255, 1);
    font-size: 20px;
    margin-bottom: 48px;
}

.aboutImage {
    margin-bottom: 48px;
    
}

.aboutImage img{
    background-color:white;
    width: 100%;
    border-radius: 80px;
    
}

.aboutText {
    color: rgb(192, 192, 255, 1);
    font-size: 26px;
}

.blockJob{
    background-color: rgb(38, 40, 43, 1);
    border-radius: 80px;
    padding: 48px;
    margin-top: 8px;
}

.textHeaderJob{
    color: rgb(255, 194, 253, 1);
    font-size: 20px;
    margin-bottom: 48px;
}

.nameJob{
    margin-top: 40px;
    margin-bottom: 25px;
    color: rgb(255, 194, 253, 1);
    font-size: 16px;
    font-weight: 900;
}

.nameJob span{
    margin-right: 20px;
}


.blockN {
    background-color: rgb(38, 40, 43, 1);
    border-radius: 80px;
    padding: 48px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.descriptionJob{
    color: rgb(255, 194, 253, 1);
    font-size: 16px;
    margin-bottom: 0;
    margin-left: 33px;
}


.descriptionN{
    color: rgb(255, 194, 253, 1);
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.5;
    margin-left: 33px;
}


/*блок компаний*/

.blackCompany{
    background-color: rgb(38, 40, 43, 1);
    height: 360px;
    border-radius: 80px;
    padding-top: 48px;
}

.whiteCompany{
    background-color: rgb(255, 255, 255);
    height: 360px;
    border-radius: 80px;
    padding-top: 48px;
}

.logoCompanyImg {
    margin-top: 40px;
}

.logoCompanydsass {

    text-align: center;

}


/*header блоков*/

.headerBlockTextLeft {
    font-size: 10px;
    padding-left: 48px;
    font-size: 20px;
}

.headerBlockTextRight {
    font-size: 10px;
    right: 48px;
    position: absolute;
    font-size: 20px;
}

/*Контакты*/
.contacts {
    background-color: rgb(38, 40, 43, 1);
    border-radius: 80px;
    padding: 4px;
    margin: 0px;
}

.contactsHeader {
    color: rgba(254, 243, 144, 1);
    font-size: 20px;
}

.contactsText{
    color: rgba(254, 243, 144, 1);
    font-size: 64px;
    line-height: 1;
}

.miniMediaBlock{
    border-radius: 80px;
    border: 2px solid rgba(254, 243, 144, 1);
    height: 96px;
    width: 176px;
    margin-top: 120px;
    margin-right: 14px;
    display: inline-block;
    padding: 17px;
    text-align: center;
}

.miniMediaBlock span{
    color: rgba(254, 243, 144, 1);
    font-size: 40px;
}


.miniMediaBlockMobile{
    border-radius: 80px;
    border: 2px solid rgba(254, 243, 144, 1);
    height: 46px;
    width: 80px;
    margin-top: 120px;
    margin-right: 2px;
    margin-left: 2px;
    display: inline-block;
    padding: 4px;
}

.miniMediaBlockMobile span{
    color: rgba(254, 243, 144, 1);
    font-size: 26px;
}

.miniContactBlock{
    border-radius: 80px;
    border: 2px solid rgba(254, 243, 144, 1);
    padding: 30px 60px 30px 60px;
    height: 96px;
    margin-top: 10px;
    margin-right: 14px;
    display: inline-block;
}

.miniContactBlock span{
    color: rgba(254, 243, 144, 1);
    font-size: 20px;
}

.miniContactBlockMobile{
    border-radius: 80px;
    border: 2px solid rgba(254, 243, 144, 1);
    height: 46px;
    padding-top: 10px;
    margin-bottom: 4px;
    width: 248px;
}

.miniContactBlockMobile span{
    color: rgba(254, 243, 144, 1);
    font-size: 16px;
}

.miniMediaBlock:hover {
   background-color: rgba(254, 243, 144, 1);
    transform: scale(0.95);
    transition: transform 0.5s ;
}

.miniMediaBlock:hover span{
    color:   rgb(38, 40, 43, 1);
}

.miniMediaBlockMobile:hover {
    background-color: rgba(254, 243, 144, 1);
    transform: scale(0.95);
    transition: transform 0.5s ;
}

.miniMediaBlockMobile:hover span{
    color:  rgb(38, 40, 43, 1);
  }

.miniContactBlockMobile:hover {
    background-color: rgba(254, 243, 144, 1);
    transform: scale(0.95);
    transition: transform 0.5s ;
}

.miniContactBlock:hover {
    background-color: rgba(254, 243, 144, 1);
    transform: scale(0.95);
    transition: transform 0.5s ;
}

.miniContactBlock:hover span{
    color:  rgb(38, 40, 43, 1);
}

.miniContactBlockMobile:hover span{
    color:  rgb(38, 40, 43, 1);
}
