/*
 * Globals
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
  cursor: none;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #fff;
  cursor: none;
  scroll-behavior: smooth;

}

body {
  display: -ms-flexbox;
  display: flex;
  color: #202e3c;
  font-family: 'Montserrat', sans-serif;
  background: url(../svg/contact-back.svg) bottom no-repeat cover;
}

.cover-container {
  max-width: 1080px;
}

.small-width {
  width: 720px;
  margin: auto;
}

.copyright {
  color: #b3bacc;
}

.type-header-small {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -1px;
  display: block;
  text-align: center;
  padding-top: 150px;
  color: #f95858;
}
.type-header-big {
  font-size: 54px;
  line-height: 54px;
  letter-spacing: -5px;
  display: block;
  font-weight: 700;
  text-align: center;
  color: #202e3c;
}

.background-bot {
  right: 0;
z-index: -10000;
}


/* width */
::-webkit-scrollbar {
  width: 5px;
  margin-right: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #f95858;
  transition: 0.3s;
  border-radius: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #e84040;
}

.start-arrow {
  margin-top: -100px;
}

.row-ab {
  margin-bottom:150px;
}

/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .75rem 25px;
  font-weight: 400;
  font-size: 12px;
  color: #202e3c;
  background-color: transparent;
  border-bottom: .25rem solid transparent;
  transition: 0.3s;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

.mb-auto, .my-auto {
    margin-bottom: 150px!important;
    margin-top: 100px!important;
}
.nav-masthead .nav-link:hover {
  color: #f95858;
  font-weight: 600;
}

.topnav-mobile {
  display: none;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}

.topnav1 {
overflow: hidden;
position: relative;
  width: 100%;
  min-height: 50px;
  display: none;
  top: -50px;
}

.topnav1 #myLinks {
display: none;
margin-top: 65px;
transition: display 1s;
}

.mobile-icon {
  color: #f95858;
}


.topnav1 .mobile-listing{
color: #202e3c;
text-decoration: none;
height: 53px;
display: block;
padding:15px;
}

.topnav1 a.icon {
display: block;
position: absolute;
padding: 15px;
right: 0;
top: 0;
color: #202e3c;
text-decoration: none;
height: 53px;
}

.topnav1 a:hover {
background-color: #ddd;
color: black;
}

.active1 {
background-color: #4CAF50;
color: white;
}


/*
 * about me
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}
.cover-heading {
  text-align: left;
  font-weight: 700;
  font-size: 88px;
  line-height: 78px;
  float: right;
  letter-spacing: -5px;
}

.about-me-pic {
  width: 250px;
  height: 250px;
  float: left;
}

.about-me {
  align-items: center;
  padding-bottom: 100px;
}

.about-me-hi {
  font-size:54px;
  color: #f95858;
  font-weight: 700;
}

.about-text {
  text-align: left;
}
.about-me-text {
  font-size: 14px;
  line-height: 30px;
  color: #aab0b5;
  font-weight: 200;
}

.point-1 {
  left: 19%;
}
.point-2 {
  padding-top: 27px;
}

.point-3 {
  right: 19%;
margin-top: 92px;
}
.point-4 {
  right: 47%;
margin-top: 90px;
}

.point-5 {
  right: 30%;
margin-top: 0px;
}
.point-6 {
  left: 25%;
  top: auto!important;
  margin-top: -37px;
}

.box1 {
  left: 31%;
  margin-top: -69px;
}

.box2 {
  left: 20%;
  margin-top: 12px;
}
.box3 {
  left: 25%;
  margin-top: 70px;
}

.box4 {
  right: 20%;
  margin-top: 180px;
}

.box5 {
  right: 35%;
  margin-top: 80px;
}

.tr1 {
  left: 15%;
  margin-top: 6px;
}

.tr2 {
  left: 20%;
  margin-top: 75px;
}

.tr3 {
  right: 15%;
  margin-top: 0px;
}

.tr4 {
  right: 20%;
  margin-top: 60px;
}

.backdrop {
  position: absolute;
}

/*
 * Services
 */

.services {
  text-align: center;
  margin-top: 50px;
}
.services-name {
  font-size: 20px;
  line-height: 24px;
  color: #202e3c;
  font-weight: 600;
  letter-spacing: -1px;
  padding: 20px 0;
}

.services-text {
  font-size: 14px;
  line-height: 28px;
  color: #9b9fa6;
}

.services-icon {
  height: 90px;

}

.services-boxes {
      padding: 35px 15px;
  transition: box-shadow 0.3s ease-in-out;
}

.services-boxes:hover {
      box-shadow: 0 10px 20px 6px rgb(32 46 60 / 10%);
}

/*
 * Skills
 */

 .skills-block {
     padding-bottom: 150px;
     background: #f0f3fc;
     width: 100vw;
     margin-left: calc(-50vw - 5px);
     position: relative;
     left: 50%;
     overflow: hidden;
     margin-top: 250px;
 }

.skills {
  margin-top:50px;
}

.skills-title {
  font-size: 18px;
  line-height: 32px;
  color: #202e3c;
  font-weight: 600;
  letter-spacing: -1px;
  padding-top:25px;
}

/*
 * Portfolio
 */

 .portfolio{
   margin-top: 50px;
 }

 .tabs-portfolio {
   margin: auto;
   color: #202e3c!important;
   padding-bottom: 20px;
}

 .portfolio .nav-link {
   color: #202e3c!important;
   font-size: 14px!important;
 }

 .nav-pills .nav-link {
     transition: border-bottom 0.5s;
     border-bottom: 2px solid transparent
 }

.nav-pills .nav-item {
  padding: 0 5px;
}

 .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color: #202e3c!important;
  background-color: rgb(255 255 255 / 0)!important;
  border-bottom: 2px solid #f95858;
  border-radius: 0px!important;
 }

 .nav-pills .nav-link:hover {
  color: #202e3c!important;
  background-color: rgb(255 255 255 / 0)!important;
  border-bottom: 2px solid #f95858;
  border-radius: 0px!important;
 }

.carousel-control-next, .carousel-control-prev {
  opacity: 1;
}

.carousel-indicators li {
    cursor:none!important;
}
.carousel-caption {
    bottom: 0px;
    width: 100%;
    right: 0;
    left: 0;
}
.carousel-indicators {
  margin-bottom: 15px;
}

.carousel-caption h5 {
    font-size:18px;
    color: #202e3c;
    font-weight: 600;
}

.carousel-caption p {
    font-size:14px;
    margin-bottom: 30px;
    color: #697077;
}

.dark-portfolio h5, .dark-portfolio p{
  color: #fff;
}

.carousel {
  box-shadow: 0 10px 20px 6px rgb(32 46 60 / 5%);
}

.carousel-indicators li {
      background-color: #f95858;
}

.portfolio-link {
  color: #f95858;
  transition: color 0.2s ease-in-out;
  font-weight:600;
}
.portfolio-link:hover {
  color: #bb3838;
}

/*
 * Contacts
 */

 .contacts-header{
   margin-top: 250px;
 }

 .contacts{
   margin-top:20px;
   text-align: left;
 }

 .contacts-small {
   font-size: 14px;
   font-weight: 600;
   color: #202e3c;
   margin-top: 30px;
 }

 .contacts-big {
   font-size: 36px;
   font-weight: 700;
   color: #202e3c;
 }

 .contacts-big a {
   font-size: 36px;
   font-weight: 700;
   color: #202e3c;
   padding-bottom: 5px;
   border-bottom: 2px solid transparent;
   transition: border-bottom 0.5s;
   transition: color 0.2s;
 }

 .contacts-big a:hover {
   text-decoration: none;
   border-bottom: 2px solid #f95858;
   color: #f95858;
 }

 .contacts-icons {
   width: 50px;
   float:right;
   margin-top: 45px;
 }

.contact-back {
  left:0;
  width:calc(100vw - 5px);
  z-index:-10000;
  margin-top: calc(-150px);
}

/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}

.footer {
  font-size: 10px;
  margin-top: 150px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}


/*
 * Movement
 */

@keyframes arrowupdown {
  from{
    transform: translateY(0px);
    moz-transform: translateY(0px); //Firefox
    ms-transform: translateY(0px); //Microsoft Browsers
  }
  to{
    transform: translateY(50px);
    moz-transform: translateY(50px); //Firefox
    ms-transform: translateY(50px); //Microsoft Browsers
  }
}
@-webkit-keyframes arrowupdown{
  from{-webkit-transform: translateY(0px);
      }
  to{-webkit-transform: translateY(50px);
      }
}
.arrowMove{
  animation-name: arrowupdown;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-direction: alternate;
  -webkit-animation-name: arrowupdown;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 2s;
  -webkit-animation-direction: alternate;
}

@keyframes movearound {
  from{
    transform: translate(0px,0px);
    moz-transform: translate(0px,0px);
    ms-transform: translate(0px,0px);
  }
  to{
    transform: translate(5px,5px);
    moz-transform: translate(5px,5px);
    ms-transform: translate(5px,5px);
  }
}
@-webkit-keyframes movearound{
  from{-webkit-transform: translate(0px, 0px);
      }
  to{-webkit-transform: translate(5px,5px);
      }
}
.boxMove{
  animation-name: movearound;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  animation-direction: alternate;
  -webkit-animation-name: movearound;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 3s;
  -webkit-animation-direction: alternate;
}

@keyframes movearound2 {
  from{
    transform: translate(0px,0px);
    moz-transform: translate(0px,0px);
    ms-transform: translate(0px,0px);
  }
  to{
    transform: translate(-5px,-5px);
    moz-transform: translate(-5px,-5px);
    ms-transform: translate(-5px,-5px);
  }
}
@-webkit-keyframes movearound2{
  from{-webkit-transform: translate(0px, 0px);
      }
  to{-webkit-transform: translate(-5px,-5px);
      }
}
.boxMove2{
  animation-name: movearound2;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-direction: alternate;
  -webkit-animation-name: movearound2;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 2s;
  -webkit-animation-direction: alternate;
}

/*
 * Bars
 */
 .progress{
     width: 150px;
     height: 150px;
     line-height: 150px;
     background: none;
     margin: 0 auto;
     box-shadow: none;
     position: relative;
 }
 .progress:after{
     content: "";
     width: 100%;
     height: 100%;
     border-radius: 50%;
     border: 5px solid #c6ccd6;
     position: absolute;
     top: 0;
     left: 0;
 }
 .progress > span{
     width: 50%;
     height: 100%;
     overflow: hidden;
     position: absolute;
     top: 0;
     z-index: 1;
 }
 .progress .progress-left{
     left: 0;
 }
 .progress .progress-bar{
     width: 100%;
     height: 100%;
     background: none;
     border-width: 5px;
     border-style: solid;

     position: absolute;
     top: 0;
 }
 .progress .progress-left .progress-bar{
     left: 100%;
     border-top-right-radius: 80px;
     border-bottom-right-radius: 80px;
     border-left: 0;
     -webkit-transform-origin: center left;
     transform-origin: center left;
 }
 .progress .progress-right{
     right: 0;
 }
 .progress .progress-right .progress-bar{
     left: -100%;
     border-top-left-radius: 80px;
     border-bottom-left-radius: 80px;
     border-right: 0;
     -webkit-transform-origin: center right;
     transform-origin: center right;
     animation: loading-1 1.8s linear forwards;
 }
 .progress .progress-value{
     width: 90%;
     height: 90%;
     border-radius: 50%;
     background: none;
     font-size: 24px;
     color: #000;
     line-height: 135px;
     text-align: center;
     position: absolute;
     font-weight: 700;
     top: 5%;
     left: 5%;
 }
 .progress.yellow .progress-bar{
     border-color: #f95858;
 }
#bar1{
     animation: loading-3 1s ease forwards 1.8s;
 }
 #bar2 {
   animation: loading-5 1s ease forwards 1.8s;
 }
 #bar3{
      animation: loading-2 1s ease forwards 1.8s;
  }
  #bar4 {
    animation: loading-4 1s ease forwards 1.8s;
  }

 @keyframes loading-1{
     0%{
         -webkit-transform: rotate(0deg);
         transform: rotate(0deg);
     }
     100%{
         -webkit-transform: rotate(180deg);
         transform: rotate(180deg);
     }
 }
 @keyframes loading-2{
     0%{
         -webkit-transform: rotate(0deg);
         transform: rotate(0deg);
     }
     100%{
         -webkit-transform: rotate(125deg);
         transform: rotate(125deg);
     }
 }
 @keyframes loading-3{
     0%{
         -webkit-transform: rotate(0deg);
         transform: rotate(0deg);
     }
     100%{
         -webkit-transform: rotate(150deg);
         transform: rotate(150deg);
     }
 }
 @keyframes loading-4{
     0%{
         -webkit-transform: rotate(0deg);
         transform: rotate(0deg);
     }
     100%{
         -webkit-transform: rotate(75deg);
         transform: rotate(75deg);
     }
 }
 @keyframes loading-5{
     0%{
         -webkit-transform: rotate(0deg);
         transform: rotate(0deg);
     }
     100%{
         -webkit-transform: rotate(10deg);
         transform: rotate(90deg);
     }
 }
 @media only screen and (max-width: 990px){
     .progress{ margin-bottom: 15px; }
 }

 /*
 Mobile
 */

 @media only screen and (max-width: 640px){
     .cover-heading{
       float: none;
       font-size: 74px;
line-height: 68px;
text-align: center;
padding-bottom: 15px;
     }

     .about-me-pic {
    float: none;
}
     .about-text{
       width:100vw;
     }
     .contacts-big{
       font-size: 20px;
     }

     .contacts-big a {
    font-size: 20px;
}
     .small-width{
       width: auto;
     }

     .about-me {
       padding-bottom: 30px;
     }
     .caro-arrow{
       overflow: hidden;
     }
     .mb-auto, .my-auto {
    margin-bottom: 50px!important;
    margin-top: 0px!important;
}
    .point-1 {
      left: -18%;
      top: 32%;
      display: none;
    }

    .point-5 {
    right: 10%;
    margin-top: -200px;
}

.point-2 {
    padding: 27px 0;
}

    .box3{
      display: none;
    }
    .box2 {
      margin-top: 150px;
    }
    .box1 {
      margin-top: 80px;
    }

    .tr1{
      margin-top: 290px;
    }

    .tr2{
      margin-top: 540px;
    }

    .tr3 {
      right: 10%;
    margin-top: 870px;
    }

    .tr4 {
      right: 8%;
    margin-top: 240px;
    }

    .box4 {
      margin-top: 350px;
    }

    .box5 {
      display: none;
    }

    .skills-block {
      margin-left: calc(-51vw + 2px);
    }
    .start-arrow {
      display: none;
    }
    .row-ab {
      margin-bottom: 50px;
    }
    .services-boxes {
      padding-bottom: 40px;
    }
    .contact-back {
      width: calc(100vw - 5px);
z-index: -10000;
margin-top: calc(190% + 5px);
    }
    .contacts-header {
      margin-top: 50px;
    }
    .contacts-icons {
      width: 35px;
      margin-top: 42px;
    }

.nav-masthead {
  display: none;
}
.topnav1 {
  display: block;
}
.masthead-brand {
    float: left;
}
.type-header-big {
  font-size: 48px;
  line-height: 48px;
}
.skills-title {
  padding-top: 0px;
}
.skills-bars {
  margin-bottom: 25px;
}
.background-bot {
    right: 0;
    width: 86%;
    margin-top: 300px;
    z-index: -10000;
}
 }
