/********** Template CSS **********/
body{
    background-color: /*#132F3D*/#283e58  !important;
    font-family: "Century Gothic", monospace;
}
h1 {
    font-size:2.1rem;
}
/*Анимированный фон START*/

#webcoderskull{
    position: fixed;
    left: 0;
    top: 50%;
    padding: 0 20px;
    width: 100%;
    text-align: center;
}

canvas{
    height:100vh;
    background-color:#16a085;
}
#webcoderskull h1{
  letter-spacing: 5px;
  font-size: 5rem;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  font-weight: bold;
}

.white {
  height: 110vh;
}
.white:before {
  z-index: 1000;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: none;
}
.white:after {
  z-index: 1000;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20vh;
  background-color: none;
}

.squares {
  height: 100%;
  display: -webkit-box;
  display: flex;
  justify-content: space-around;
  overflow: hidden;
}

.square {
  -webkit-animation: squares 15.5s linear infinite;
          animation: squares 15.5s linear infinite;
  align-self: flex-end;
  border-radius: 5em;
  width: 1em;
  height: 1em;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  background: #5ca2dd;
}
.square:nth-child(2) {
  border-radius: 5em;
  height: 1em;
  width: 1em;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
  -webkit-animation-duration: 17s;
          animation-duration: 17s;
  -webkit-filter: blur(5px);
}
.square:nth-child(3) {
  border-radius: 5em;
  height: 1.5em;
  width: 1.5em;
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
  -webkit-animation-duration: 8s;
          animation-duration: 8s;
  -webkit-filter: blur();
}
.square:nth-child(4) {
  border-radius: 5em;
  height: 1em;
  width: 1em;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
  -webkit-filter: blur(3px);
  -webkit-animation-duration: 13s;
          animation-duration: 13s;
}
.square:nth-child(5) {
  border-radius: 5em;
  height: 0.5em;
  width: 0.5em;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
  -webkit-filter: blur(2px);
  -webkit-animation-duration: 11s;
          animation-duration: 11s;
}
.square:nth-child(6) {
  border-radius: 5em;
  height: 0.35em;
  width: 0.35em;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-filter: blur(1px);
  -webkit-animation-duration: 9s;
          animation-duration: 9s;
}
.square:nth-child(7) {
  border-radius: 5em;
  height: 0.75em;
  width: 0.75em;
  -webkit-filter: blur(2.5px);
  -webkit-animation-duration: 12s;
          animation-duration: 12s;
}
.square:nth-child(8) {
  border-radius: 5em;
  height: 0.25em;
  width: 0.25em;
  -webkit-animation-delay: 5s;
          animation-delay: 5s;
  -webkit-filter: blur(6px);
  -webkit-animation-duration: 18s;
          animation-duration: 18s;
}
.square:nth-child(9) {
  border-radius: 5em;
  height: 1em;
  width: 1em;
  -webkit-filter: blur(0.5px);
  -webkit-animation-duration: 9s;
          animation-duration: 9s;
}
.square:nth-child(9) {
  border-radius: 5em;
  height: 1.2em;
  width: 1.2em;
  -webkit-animation-delay: 6s;
          animation-delay: 6s;
  -webkit-filter: blur(0.5px);
  -webkit-animation-duration: 12s;
          animation-duration: 12s;
}

@-webkit-keyframes squares {
  from {
    -webkit-transform: translateY(100%) rotate(-50deg);
            transform: translateY(100%) rotate(-50deg);
  }
  to {
    -webkit-transform: translateY(calc(-100vh + -100%)) rotate(20deg);
            transform: translateY(calc(-100vh + -100%)) rotate(20deg);
  }
}

@keyframes squares {
  from {
    -webkit-transform: translateY(100%) rotate(-50deg);
            transform: translateY(100%) rotate(-50deg);
  }
  to {
    -webkit-transform: translateY(calc(-100vh + -100%)) rotate(20deg);
            transform: translateY(calc(-100vh + -100%)) rotate(20deg);
  }
}
/*Анимированный фон END*/
button{
    background-color:#132F3D !important;
}
.px-3{
    color:#ffb939 !important;
}
.designed {
    width: 150px;
    margin-top: 10rem;
}
@media (max-width: 1366px){
  #dna{
    width: 130% !important;
    height: 180px;
  }
  .w-100-1{
      width: 80% !important;
  }
}
@media (max-width: 1024px){
  #dna{
    display:none;
  }
  .w-100-1{
    width: 30% !important;
    border-radius: 5% !important;
  }
  .mb-4{
      display:grid;
  }
}

@media (min-width: 575px){
    .contact-btn{
        display:none;
    }
}
@media (max-width: 575px){
  body{
      font-size: 1rem;
  }
  .w-100-1{
      border-radius: 50% !important;
      width: 60% !important;
      margin-top: 5% !important;
      margin: 0 auto;
  }
  .img-fluid{
    width: 60% !important;
    border-radius: 10px !important;
    display: flex;
  }
  .img-fluid .w-100{
    border-radius: 10px !important;
  }
  .row{
      margin-left:0;
      margin-right:0;
      padding-left:0;
      padding-right:0;
  }
  .text-center{
      border-radius: 0 0 10px 10px;
  }
  .col-lg-8{
      border-radius: 10px !important;
  }
  .d-flex{
      display:grid !important;
  }
  .border-end{
      margin-bottom: 10px;
      width: 250px;
  }
  .portfolio-container{
      margin:0;
  }
  .portfolio-item{
      padding-left:0;
      padding-right:0;
  }
  #dna {
    display: none;
  }
    h5{
        line-height: 1 !important;
        font-size: 16px !important;
    }
}

}
.medal{
    width: 25%;
}
.col-lg-8 {
  background-color: rgba(106, 106, 106, 0.7) !important;
  color: #fff;
  /*background-image: repeating-linear-gradient( to bottom, transparent 7px, rgba(0, 0, 0, 0.3) 9px, rgba(0, 0, 0, 0.3) 13px, transparent 13px );*/
  z-index: 1;
  margin-top: 7%;
  margin-bottom: 5%;
  border-radius: 0 15px 15px 0;
  backdrop-filter: blur(5px);
}

:root {
  --primary: #00B87B;
  --secondary: #4ab4ff;
  --light: #F2F2F2;
  --dark: #2C3E50;
}
.w-100{
    width: 90%;
    margin: 0 auto;
    border-radius: 0 0 15px 15px;
}
.w-100-1{
    width: 90%;
    margin: 0 auto;
    border-radius: 0 0 15px 15px;
}
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .sticky-lg-top.vh-100 {
    height: 100% !important;
    padding:0;
  }
}

.fw-semi-bold {
  font-weight: 600;
}

.fw-medium {
  font-weight: 500;
}

.btn-square {
  width: 40px;
  height: 40px;
}

.btn-sm-square {
  width: 30px;
  height: 30px;
}

.btn-lg-square {
  width: 50px;
  height: 50px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.btn-primary {
  color: #FFFFFF;
}

.typed-cursor {
  font-size: 25px;
  color: var(--light);
}

.back-to-top {
  position: fixed;
  display: none;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 1;
  font-size: 30px;
  right: 30px;
  bottom: 30px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  color: var(--primary);
}

.back-to-top i:hover {
  color: var(--dark);
}

.back-to-top {
  -webkit-animation: action 1s infinite alternate;
  animation: action 1s infinite alternate;
}

@-webkit-keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

@keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

.title {
  position: relative;
  color: #FFE5C6;
}

.title::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  bottom: -4px;
  left: 0;
  border: 2px solid var(--light);
  border-radius: 10px;
}

.title::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 2px;
  bottom: 0;
  left: 15px;
  border-radius: 2px;
  background: var(--light);
}

.progress {
  height: 20px;
  border-radius: 10px;
}

.progress .progress-bar {
  width: 0px;
  transition: 2s;
}

.service-item {
  padding: 30px;
  text-align: center;
  background: rgba(6, 157, 249, 0.6);
  border-radius: 10px;
  height: 350px;
}

.service-item i {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--primary);
  transition: .5s;
}

.service-item:hover i {
  background: var(--primary);
  color: var(--light);
}

.portfolio-item .portfolio-btn {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  font-size: 90px;
  background: rgb(94 94 94 / 60%);;
  opacity: 0;
  transition: .5s;
  border-radius: 10px;
  border: 2px solid #F3DABD;
}

.portfolio-item:hover .portfolio-btn {
  opacity: 1;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  top: 30px;
  left: 30px;
  backdrop-filter: blur(5px);
}

.portfolio-item i {
  opacity: 0;
  transition: .3s;
  transition-delay: .3s;
}

.portfolio-item:hover i {
  opacity: 1;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--light);
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
}

.mb-2 {
    border-radius: 10px;
}

.btn-secondary {
    background-color:rgba(6, 157, 249, 0.6);
}

.btn-secondary.active {
    background-color:rgba(78,52,129,0.6);
}

.btn-secondary:hover {
    background-color:rgba(78,52,129,0.6);
}

/*Текст описания с анимацией*/
h5 {
  position: relative;
  line-height: 1;
  font-size: 1rem;
}

/* Mask */
.fo-mask {
  display: inline-block;
  overflow: hidden;
  clear: both;
}

.fo-mask span {
  color: transparent;
  -webkit-animation: show 0s forwards 0.4s;
  animation: show 0s forwards 0.4s;
}

.fo-mask:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #283e58  ;
  -webkit-transform: translate3d(110%, 0, 0);
  transform: translate3d(110%, 0, 0);
  -webkit-animation: left-to-right 1s cubic-bezier(.17,.67,.83,.67);
  animation: left-to-right 1s cubic-bezier(.17,.67,.83,.67);
}

/* Show animation */
@-webkit-keyframes show {
  0% {
    color: transparent;
  }
  100% {
    color: #9d5353;
  }
}
@keyframes show {
  0% {
    color: transparent;
  }
  100% {
    color: #9d5353;
  }
}

/* Left-to-right animation */
@-webkit-keyframes left-to-right {
  0% {
    -webkit-transform: translate3d(-100%, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(110%, 0, 0);
  }
}
@keyframes left-to-right {
  0% {
    transform: translate3d(-100%, 0, 0);
  }
  100% {
    transform: translate3d(110%, 0, 0);
  }
}

/* Delay */
.delay-200.fo-mask span {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.delay-200.fo-mask:after {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
/* ------------- */