/*
 Template Name: Morphica - Personal Portfolio
 Author: motobep
 Author URI: http://themeforest.net/user/motobep
 Description: Morphica - Personal Portfolio
 Version: 1.0 */
/* ------------------------------------------------------------------
 [Table of contents]
    - Preloader
    + General
        - Miscellaneous
        - Background color
        - Shade
        - Font
        - Icon
        - Pagination
        - Animate
        - Form control
        - Buttons
        - Nav
        - Comment wrap
    + Pages
        + Home
            - Photo
            - Testimonial
        + About
            - Personal info
            - Timeline
            - Skill
        + Portfolio
            - Work
        + Blog
            - Post card
        + Contact
            - Contact info
 ------------------------------------------------------------------- */
/** [Preloader] **/
.preloader-container {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e4e5ec;
  z-index: 200; }

.circle-loader {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 2px 2px 4px #d3d3d3, inset -2px -2px 4px #f7f7f7; }
  .circle-loader::after {
    content: '';
    border-radius: 50%;
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    left: 10px;
    top: 10px;
    box-shadow: 2px 2px 4px #d3d3d3, -2px -2px 4px #f7f7f7; }

.circle-loader__svg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0; }

.circle-loader__stroke {
  stroke-width: 3;
  stroke-linecap: round;
  fill: transparent;
  stroke-dashoffset: 314.159;
  stroke: #1688d4;
  transform-origin: 50% 50%;
  -webkit-animation: megaloader 5.5s ease-in-out infinite alternate;
          animation: megaloader 5.5s ease-in-out infinite alternate; }

@-webkit-keyframes preloader {
  0% {
    stroke-dasharray: 15, 15;
    stroke-dashoffset: 30;
    transform: rotate(-400deg); }
  50% {
    stroke-dasharray: 17, 107;
    stroke-dashoffset: 76; }
  100% {
    stroke-dasharray: 100, 20;
    stroke-dashoffset: 34;
    transform: rotate(250deg); } }

@keyframes preloader {
  0% {
    stroke-dasharray: 15, 15;
    stroke-dashoffset: 30;
    transform: rotate(-400deg); }
  50% {
    stroke-dasharray: 17, 107;
    stroke-dashoffset: 76; }
  100% {
    stroke-dasharray: 100, 20;
    stroke-dashoffset: 34;
    transform: rotate(250deg); } }

@-webkit-keyframes megaloader {
  0% {
    stroke-dasharray: 15, 15;
    stroke-dashoffset: 30;
    transform: rotate(-400deg); }
  23% {
    stroke-dasharray: 47, 22;
    stroke-dashoffset: 12; }
  36% {
    stroke-dasharray: 17, 107;
    stroke-dashoffset: 76; }
  68% {
    stroke-dasharray: 164, 69;
    stroke-dashoffset: 268; }
  80% {
    stroke-dasharray: 50, 124;
    stroke-dashoffset: 54; }
  100% {
    stroke-dasharray: 40, 40;
    stroke-dashoffset: 12;
    transform: rotate(0deg); } }

@keyframes megaloader {
  0% {
    stroke-dasharray: 15, 15;
    stroke-dashoffset: 30;
    transform: rotate(-400deg); }
  23% {
    stroke-dasharray: 47, 22;
    stroke-dashoffset: 12; }
  36% {
    stroke-dasharray: 17, 107;
    stroke-dashoffset: 76; }
  68% {
    stroke-dasharray: 164, 69;
    stroke-dashoffset: 268; }
  80% {
    stroke-dasharray: 50, 124;
    stroke-dashoffset: 54; }
  100% {
    stroke-dasharray: 40, 40;
    stroke-dashoffset: 12;
    transform: rotate(0deg); } }

/** [GENERAL] **/
/* ====================================================================== */
/** -- Miscellaneous -- **/
body {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;
  color: #454a4e;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  background-color: #e4e5ec; }

h1, h2, h3, h4, h5, h6 {
  color: #292b3a; }

::-moz-selection {
  color: #ffffff;
  background: #1688d4; }

::selection {
  color: #ffffff;
  background: #1688d4; }

button:active, button:focus {
  outline: none !important; }

.bg-squares-light {
  background: url(../images/bg.jpg) 0 0 repeat; }

.bg-squares-dark {
  background: url(../images/bg-dark.jpg) 0 0 repeat; }

.bg-squares-fixed::before {
  content: '';
  position: fixed;
  margin-top: -4%;
  width: 100vw;
  height: 100vh;
  background-size: 100vw auto;
  z-index: -10; }

.bg-squares-fixed_light {
  background: url(../images/bg-full.jpg) 0 0; }

.bg-squares-fixed_dark::before {
  background: url(../images/bg-full-dark.jpg) 0 0; }

.ml-custom {
  padding-left: 8rem; }

.content {
  margin: 4% auto;
  padding: 2rem 4rem;
  border: 1px solid #eaeaea;
  border-radius: 2.5rem;
  background-color: #e4e5ec; }

@media screen and (max-width: 991.98px) {
  .content {
    padding: 2rem 2rem; } }

.border {
  border: 1px solid #d3d3d3 !important; }

.border-top {
  border-top: 1px solid #d3d3d3 !important; }

.border-bottom {
  border-bottom: 1px solid #d3d3d3 !important; }

.border-left {
  border-left: 1px solid #d3d3d3 !important; }

.border-right {
  border-right: 1px solid #d3d3d3 !important; }

.border-neo {
  padding: 0.5rem;
  position: relative;
  border: 1px solid #d1d8e0;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: inset 4px 4px 8px #d3d3d3, inset -4px -4px 8px #f7f7f7;
  z-index: 1; }
  .border-neo::after {
    content: '';
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 4px 4px 8px #d3d3d3, -4px -4px 8px #f7f7f7;
    z-index: -1; }

.border-neo_circled, .border-neo_circled::after {
  border-radius: 50%; }

@media screen and (min-width: 991.98px) {
  .border-neo-lg {
    padding: 0.5rem;
    position: relative;
    border: 1px solid #d1d8e0;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: inset 4px 4px 8px #d3d3d3, inset -4px -4px 8px #f7f7f7;
    z-index: 1; }
    .border-neo-lg::after {
      content: '';
      width: calc(100% - 1rem);
      height: calc(100% - 1rem);
      position: absolute;
      top: 0.5rem;
      left: 0.5rem;
      border-radius: 2rem;
      overflow: hidden;
      box-shadow: 4px 4px 8px #d3d3d3, -4px -4px 8px #f7f7f7;
      z-index: -1; } }

@media screen and (min-width: 767.98px) {
  .border-neo-md {
    padding: 0.5rem;
    position: relative;
    border: 1px solid #d1d8e0;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: inset 4px 4px 8px #d3d3d3, inset -4px -4px 8px #f7f7f7;
    z-index: 1; }
    .border-neo-md::after {
      content: '';
      width: calc(100% - 1rem);
      height: calc(100% - 1rem);
      position: absolute;
      top: 0.5rem;
      left: 0.5rem;
      border-radius: 2rem;
      overflow: hidden;
      box-shadow: 4px 4px 8px #d3d3d3, -4px -4px 8px #f7f7f7;
      z-index: -1; } }

.circle {
  border-radius: 50%; }

.rounded-1 {
  border-radius: 1rem !important; }

.rounded-2 {
  border-radius: 2rem !important; }

.rounded {
  border-radius: 2rem !important; }

.unstyled-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0; }

.marker {
  position: relative; }
  .marker::after {
    content: '';
    width: 2.2rem;
    height: 2px;
    background-color: #1688d4;
    position: absolute;
    left: calc(50% - 1.1rem);
    bottom: 0; }

.color-main {
  color: #1688d4; }

.color-dark {
  color: #292b3a; }

.color-white {
  color: #ffffff; }

.color-gray {
  color: #3b3b3b; }

.color-light {
  color: #f1f1f1; }

.color-text {
  color: #454a4e; }

.link-main {
  color: #1688d4; }
  .link-main:hover {
    color: #1668d4; }

.title {
  color: #292b3a;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: left;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-left: 0.55rem;
  padding-top: 0.3rem;
  position: relative; }
  .title::before {
    display: block;
    position: absolute;
    content: '';
    width: 1rem;
    height: 1rem;
    border-left: 2px solid;
    border-top: 2px solid;
    border-color: #1688d4;
    border-radius: 4px 0 0 0;
    left: 0;
    top: 0; }

.title_grand {
  font-size: 2.5rem; }
  .title_grand::before {
    width: 1.2rem;
    height: 1.2rem; }

.page-not-found {
  text-align: center;
  margin: 17% auto; }

.page-not-found__title {
  font-size: 8rem;
  color: #e4e5ec;
  text-shadow: 7px 7px 5px #d3d3d3, -3px -3px 5px #f7f7f7; }

.avatar-img {
  width: 70px !important;
  height: 70px; }

@media screen and (max-width: 575.98px) {
  .title_grand {
    font-size: 2rem; } }

/** -- Background color -- **/
.bg-clr-main {
  background-color: #1688d4; }

.bg-clr-blue {
  background-color: #1688d4; }

.bg-clr-green {
  background-color: #16b831; }

.bg-clr-red {
  background-color: #e72b2e; }

.bg-clr-yellow {
  background-color: #e2bc15; }

.bg-clr-pink {
  background-color: #F54379; }

.bg-clr-orange {
  background-color: #db8f15; }

.bg-clr-green-dark {
  background-color: #2b8b3b; }

.bg-clr-purple {
  background-color: #B133E1; }

.bg-clr-light {
  background-color: #e4e5ec; }

.bg-clr-dark {
  background-color: #2c2d30; }

/** -- Shade -- **/
.shade {
  box-shadow: 4px 4px 8px #d3d3d3, -4px -4px 8px #f7f7f7; }

.shade-inner {
  box-shadow: inset 4px 4px 8px #d3d3d3, inset -4px -4px 8px #f7f7f7; }

.shade-sm {
  box-shadow: 2px 2px 4px #d3d3d3, -2px -2px 4px #f7f7f7; }

.shade-inner-sm {
  box-shadow: inset 2px 2px 4px #d3d3d3, inset -2px -2px 4px #f7f7f7; }

.shade-lg {
  box-shadow: 9px 9px 18px #d3d3d3, -9px -9px 18px #f7f7f7; }

.shade-lg-inner {
  box-shadow: inset 9px 9px 18px #d3d3d3, inset -9px -9px 18px #f7f7f7; }

.shade-text {
  color: #1688d4;
  font-size: 0.8rem;
  border-radius: 2rem;
  padding: 0.2rem 0.9rem;
  box-shadow: inset 2px 2px 3px #c7c7c7, inset -2px -2px 3px #ffffff; }

/** -- Font -- **/
.fs-xl {
  font-size: 3rem; }

.fs-lg {
  font-size: 2rem; }

.fs-md {
  font-size: 1.2rem; }

.fs-sm {
  font-size: .85rem; }

.fs-xs {
  font-size: .5rem; }

.i {
  font-size: 15px;
  line-height: 15px;
  height: 15px; }

.i_fs_xl {
  font-size: 5rem;
  line-height: 5rem;
  height: 5rem; }

.i_fs_lg {
  font-size: 2.5rem;
  line-height: 2.5rem;
  height: 2.5rem; }

.i_fs_md {
  font-size: 2rem;
  line-height: 2rem;
  height: 2rem; }

.i_fs_sm {
  font-size: 1.5rem;
  line-height: 1.5rem;
  height: 1.5rem; }

.i_fs_xs {
  font-size: 0.8rem;
  line-height: 0.8rem;
  height: 0.8rem; }

/** -- Icon -- **/
.icon {
  transition: all 0.2s ease;
  box-shadow: 2px 2px 4px #c7c7c7, -2px -2px 4px #eeeeee; }
  .icon:hover {
    box-shadow: 3px 3px 6px transparent, -3px -3px 6px transparent; }

.icon__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: all 0.2s ease;
  box-shadow: inset 3px 3px 6px transparent, inset -3px -3px 6px transparent; }
  .icon__inner:hover {
    box-shadow: inset 2px 2px 4px #c7c7c7, inset -2px -2px 4px #eeeeee; }

.icon_md {
  position: relative;
  width: 4rem;
  height: 4rem;
  padding: 0; }

/** -- Pagination -- **/
.pagination {
  text-align: center; }

.pagination__item {
  min-width: 2.5rem;
  min-height: 2.5rem;
  margin: 0 0.35rem;
  color: #292b3a;
  box-shadow: 3px 3px 6px #c7c7c7, -3px -3px 6px #ffffff;
  box-shadow: 2px 2px 5px #c7c7c7, -2px -2px 5px #ffffff; }
  .pagination__item:hover, .pagination__item:focus {
    color: #292b3a;
    box-shadow: inset 2px 2px 3px #c7c7c7, inset -2px -2px 5px #ffffff; }

.pagination__item.active {
  color: #1688d4;
  box-shadow: inset 2px 2px 3px #c7c7c7, inset -2px -2px 5px #ffffff; }

.pagination__link {
  display: inline-block;
  width: 100%;
  height: 100%;
  line-height: 2.5rem;
  color: inherit;
  text-decoration: none; }
  .pagination__link:hover {
    color: inherit;
    text-decoration: none; }

.pagination_circled .pagination__item {
  border-radius: 50%; }

.pagination_rounded .pagination__item {
  border-radius: 0.5rem; }

/** -- Animate -- **/
.animate-up:hover {
  transform: translate(0, -3px); }

.animate-right:hover {
  transform: translate(3px, 0); }

.animate-down:hover {
  transform: translate(0, 3px); }

.animate-left:hover {
  transform: translate(-3px, 0); }

.animate-rise {
  transition: 0.3s; }
  .animate-rise:hover {
    transform: translateY(-0.5rem); }

/** -- Form control -- **/
.form-control {
  color: #454a4e;
  padding: 1.25rem 1.2rem;
  font-size: 0.9rem;
  background-color: transparent;
  border-radius: 2rem;
  position: relative;
  border: none;
  outline: none;
  box-shadow: inset 2px 2px 3px #c7c7c7, inset -2px -2px 3px #ffffff; }
  .form-control:active, .form-control:focus {
    background-color: transparent;
    box-shadow: inset 2px 2px 3px #c7c7c7, inset -2px -2px 3px #ffffff; }

/** -- Buttnos -- **/
.btn {
  font-size: inherit;
  transition: all .2s ease;
  letter-spacing: .025em;
  padding: .5rem 1.2rem;
  border-color: #d1d8e0;
  border-radius: 2rem;
  box-shadow: 3px 3px 6px #c7c7c7, -3px -3px 6px #ffffff;
  position: relative;
  outline: none;
  transition: all ease 0.3s; }
  .btn::before {
    content: '';
    position: absolute;
    border-radius: 2rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all ease 0.3s;
    box-shadow: inset 2px 2px 4px transparent, inset -2px -2px 4px transparent; }
  .btn:focus {
    color: #292b3a;
    box-shadow: 3px 3px 6px #c7c7c7, -3px -3px 6px #ffffff; }
  .btn:hover {
    color: #212125;
    border-color: #d1d8e0;
    box-shadow: 3px 3px 6px transparent, -3px -3px 6px transparent; }
    .btn:hover::before {
      box-shadow: inset 2px 2px 4px #c7c7c7, inset -3px -3px 6px #ffffff; }

.btn_colored {
  color: #1688d4;
  background-color: #e4e5ec; }
  .btn_colored:hover, .btn_colored:focus, .btn_colored:active {
    color: #292b3a;
    background-color: #e4e5ec; }

.btn_group {
  color: #292b3a;
  padding: 0.4rem 1.2rem;
  border: none; }

.btn_group.active {
  color: #1688d4;
  box-shadow: inset 2px 2px 4px #c7c7c7, inset -3px -3px 6px #ffffff; }
  .btn_group.active:hover {
    color: #1688d4; }

.btn_circle {
  border-radius: 50%;
  box-shadow: 3px 3px 3px #d3d3d3, -2px -2px 5px #f7f7f7; }
  .btn_circle:hover::before {
    box-shadow: inset 3px 3px 3px #d3d3d3, inset -3px -3px 3px #f7f7f7; }

.btn_top {
  background-color: #e4e5ec;
  position: fixed;
  right: 7%;
  bottom: -3rem;
  width: 2.9rem;
  height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1688d4;
  z-index: 100;
  transition: all 0.3s; }
  .btn_top:hover, .btn_top:focus {
    color: #1688d4; }

.btn_top.active {
  bottom: 5.5rem; }

.btn_mode {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0.75rem;
  border-radius: 1rem;
  color: #292b3a;
  z-index: 100; }
  .btn_mode::before {
    border-radius: 1rem; }
  .btn_mode:hover {
    border-radius: 1rem; }

/** -- Nav -- **/
.nav__link {
  color: #666666;
  text-decoration: none;
  transition: ease 0.3s; }
  .nav__link:hover {
    color: #292b3a;
    text-decoration: none; }

.nav__link.active {
  color: #1688d4; }

.nav-sidebar {
  position: fixed;
  top: 30%;
  right: 2rem;
  z-index: 15; }

.nav-sidebar__item {
  display: flex;
  justify-content: flex-end;
  margin: 1.25rem 0; }

.nav-sidebar__link {
  display: inline-block;
  color: transparent;
  letter-spacing: .025em;
  text-decoration: none;
  text-align: right;
  line-height: 2rem;
  margin: 0;
  padding: .5rem 1rem;
  border-radius: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: #e4e5ec;
  box-shadow: 3px 3px 6px #c7c7c7, -3px -3px 6px #ffffff;
  position: relative;
  overflow: hidden;
  transition: 0.3s; }
  .nav-sidebar__link:hover {
    color: #1688d4;
    text-decoration: none;
    width: 100%;
    padding-right: 3rem; }

.nav-sidebar__link.active {
  box-shadow: none; }
  .nav-sidebar__link.active .nav-sidebar__icon {
    color: #1688d4;
    box-shadow: inset 2px 2px 4px #c7c7c7, inset -2px -2px 4px #ffffff; }
  .nav-sidebar__link.active:hover {
    box-shadow: 3px 3px 6px #c7c7c7, -3px -3px 6px #ffffff; }
    .nav-sidebar__link.active:hover .nav-sidebar__icon {
      box-shadow: none; }

.nav-sidebar__icon {
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 0.72rem;
  color: #292b3a;
  background-color: #e4e5ec;
  width: 3rem;
  height: 100%;
  line-height: 3rem;
  border-radius: 50%;
  transition: 0.3s; }

@media screen and (max-width: 1199.98px) {
  .nav-sidebar {
    right: 1rem; } }

@media screen and (max-width: 991.98px) {
  .nav-sidebar {
    right: 0.7rem; }
  .nav-sidebar__link {
    width: 2.7rem;
    height: 2.7rem;
    line-height: 1.8rem; }
  .nav-sidebar__icon {
    width: 2.7rem;
    line-height: 2.7rem;
    padding-right: 0.55rem; } }

.nav-mobile {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  transition: ease 0.3s;
  z-index: 15; }

.nav-mobile.hide {
  bottom: -80px; }

.nav-mobile__list {
  width: 100%;
  display: flex;
  justify-content: space-around;
  position: relative;
  padding: 0.5rem 0.7rem;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  box-shadow: 3px 3px 6px #d3d3d3, -3px -3px 6px #f7f7f7;
  background-color: #e4e5ec; }

.nav-mobile__link {
  color: #292b3a;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  text-align: center; }
  .nav-mobile__link:hover {
    color: #1688d4;
    text-decoration: none; }

.nav-mobile__link.active {
  color: #1688d4; }

.nav-mobile__icon {
  color: inherit;
  background-color: #e4e5ec;
  width: 2rem;
  height: 2rem;
  line-height: 2rem; }

@media screen and (min-width: 575.98px) {
  .nav-mobile__list {
    padding-left: 5rem;
    padding-right: 5rem; } }

/** -- Comment wrap -- **/
.comment-wrap {
  padding: 0 3.5rem;
  position: relative; }

.comment-wrap__line {
  content: '';
  position: absolute;
  top: 0;
  width: 0.6rem;
  height: 100%;
  border-radius: 2rem;
  box-shadow: inset 2px 2px 4px #d3d3d3, inset -2px -2px 4px #f7f7f7; }

.comment-wrap__line_left {
  left: 0.5rem; }

.comment-wrap__line_right {
  right: 0.5rem; }

@media screen and (max-width: 575.98px) {
  .comment-wrap {
    padding: 0; }
  .comment-wrap__line {
    display: none; } }

/** [PAGES] **/
/* ====================================================================== */
/** -- Home -- **/
/** Photo **/
.photo {
  width: 300px;
  height: 300px;
  position: relative;
  padding: 1.1rem;
  box-shadow: 4px 4px 4px #c7c7c7, -4px -4px 4px #eeeeee; }
  .photo::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: inset 4px 4px 4px #c7c7c7, inset -4px -4px 4px #eeeeee;
    border-radius: 50%; }

.photo__img {
  border: 0.5rem solid #e4e5ec;
  box-shadow: 3px 3px 5px #c7c7c7, -3px -3px 5px #eeeeee; }

@media screen and (max-width: 575.98px) {
  .photo {
    width: 250px;
    height: 250px; } }

/** Testimonial **/
.testimonial {
  box-shadow: 4px 4px 8px #d3d3d3, -4px -4px 8px #f7f7f7;
  border: 1px solid #eaeaea;
  border-radius: 2rem; }

/** -- About -- **/
/** Personal info **/
.info__photo {
  border-radius: 3rem;
  padding: 1.2rem;
  box-shadow: inset 0px 0px 7px #c7c7c7; }

.info__img {
  border-radius: 3rem; }

.characteristic__key {
  display: inline-block;
  width: 90px;
  font-weight: 500;
  color: #292b3a; }

.characteristic__key_sm {
  width: 70px; }

.characteristic__value {
  font-size: 0.9rem;
  overflow-wrap: break-word; }

/** Timeline **/
.timeline__divider {
  content: '';
  position: absolute;
  top: 4rem;
  left: calc(3rem - 2px);
  height: calc(100% - 4rem);
  width: 2px;
  background: #eeeeee; }

.timeline__icon {
  font-size: 1.9rem;
  color: #1688d4;
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: inset 4px 4px 8px #d3d3d3, inset -4px -4px 8px #f7f7f7;
  position: relative; }
  .timeline__icon::before {
    content: '';
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    position: absolute;
    box-shadow: 4px 4px 8px #d3d3d3, -4px -4px 8px #f7f7f7; }

.timeline__title {
  color: #292b3a;
  font-size: 1.4rem;
  font-weight: 600; }

.timeline-item {
  padding-left: 4rem;
  position: relative; }

.timeline-item__point {
  background-color: #eeeeee;
  border: 3px solid #1688d4;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  position: absolute;
  left: 1.5rem;
  top: 0.2rem; }

/** Skill **/
.skill {
  display: flex;
  justify-content: center;
  position: relative; }

.skill__number {
  font-size: 1.3rem;
  font-weight: 600;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: calc(50% - 1.1rem);
  z-index: 2; }

.skill__bar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  position: relative;
  box-shadow: 2px 2px 4px #d3d3d3, -2px -2px 4px #f7f7f7; }

.skill__bar_bordered::after {
  content: '';
  width: calc(100% + 1.2rem);
  height: calc(100% + 1.2rem);
  position: absolute;
  top: -0.6rem;
  left: -0.6rem;
  border-radius: 50%;
  box-shadow: inset 2px 2px 4px #d3d3d3, inset -2px -2px 4px #f7f7f7; }

.skill__svg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #e4e5ec; }

.skill__circle {
  stroke-width: 5;
  stroke-linecap: round;
  fill: transparent;
  r: 50px;
  cx: 65px;
  cy: 65px;
  stroke-dashoffset: 314.159; }

.skill__circle-front {
  stroke: #1688d4;
  transition: 0.35s stroke-dashoffset;
  transform: rotate(-90deg);
  transform-origin: 50% 50%; }

.skill__circle-back {
  stroke: #D0DDE7; }

@media screen and (max-width: 991.98px) {
  .skill__bar {
    width: 110px;
    height: 110px; }
  .skill__circle {
    r: 42px;
    cx: 55px;
    cy: 55px; } }

/** -- Portfolio -- **/
/** Work **/
.work {
  box-shadow: 3px 3px 6px rgba(57, 87, 156, 0.25), -3px -3px 6px #eeeeee;
  position: relative;
  cursor: pointer;
  overflow: hidden; }
  .work:hover .work__content {
    top: 0;
    opacity: 1; }

.work__content {
  color: #f7f7f7;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.7rem 1.5rem;
  width: 100%;
  height: calc(100% + 2rem);
  position: absolute;
  left: 0;
  top: -2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease-in-out;
  opacity: 0;
  z-index: 2; }
  .work__content:hover {
    color: #f7f7f7; }

/** -- Blog -- **/
/** Post card **/
.post-card {
  box-shadow: 0px 0px 12px #d3d3d3;
  overflow: hidden; }
  .post-card:hover .post-card__title-link {
    color: #1688d4;
    text-decoration: none; }
  .post-card:hover .post-card__img {
    transform: scale(1.15); }

.post-card__title-link {
  color: #292b3a;
  transition: all 0.2s ease; }

.post-card__img {
  width: 100%;
  transition: all 0.2s ease; }

/** -- Contact -- **/
/** Contact info **/
.contact-info {
  display: flex;
  padding: 0 1.5rem; }

.contact-info__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e4e5ec;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  box-shadow: inset 2px 2px 4px #c7c7c7, inset -2px -2px 4px #ffffff; }

@media screen and (max-width: 576.98px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
    text-align: center; } }

.color-switcher {
  background-color: #e4e5ec;
  border-radius: 0 1rem 1rem 0;
  position: fixed;
  left: -14.5rem;
  top: calc(32% + 4rem);
  transition: ease-in-out 0.4s;
  z-index: 100; }

.color-switcher.active {
  left: 0rem; }

.color-switcher__btn {
  background-color: #e4e5ec;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: fixed;
  width: 2.5rem;
  height: 2.5rem;
  left: 0;
  top: 32%;
  color: #292b3a;
  border-radius: 0 0.5rem 0.5rem 0;
  transition: ease-in-out 0.4s;
  z-index: -1; }

.color-switcher__sample {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  border: #e4e5ec solid 6px;
  box-shadow: 3px 3px 6px #d3d3d3, -3px -3px 6px #f7f7f7; }

.color-switcher__sample.active {
  border: #e4e5ec solid 8px;
  box-shadow: 4px 4px 8px #c7c7c7, -4px -4px 8px #ffffff; }

.rotate {
  -webkit-animation: 4s linear infinite rotate;
          animation: 4s linear infinite rotate; }

@-webkit-keyframes rotate {
  from {
    transform: rotate(0); }
  to {
    transform: rotate(360deg); } }

@keyframes rotate {
  from {
    transform: rotate(0); }
  to {
    transform: rotate(360deg); } }
