/********** VARIABLES ************/
/********** GENERAL ************/
* {
  margin: 0px;
  padding: 0px;
}
body {
  font-family: 'Open sans', sans-serif;
  color: #474747;
  font-weight: 300;
  overflow-x: hidden;
}
a {
  font-size: inherit;
  text-decoration: none;
  color: inherit;
  transition: color 250ms ease-in-out;
}
a:hover {
  font-size: inherit;
  text-decoration: none;
  color: inherit;
}
p {
  font-size: 14px;
}
.clear {
  clear: both;
}
.btn {
  outline: none !important;
}
h1,
h2 {
  text-transform: uppercase;
}
.link-dark:hover {
  color: #093c60;
  text-decoration: underline;
}
/************** CONTENT *****************/
.particles > .particle {
  border-radius: 100%;
  background: transparent;
  position: absolute;
  z-index: 1;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.particles > .particle.smaller {
  width: 5px;
  height: 5px;
}
.particles > .particle.small {
  width: 10px;
  height: 10px;
}
.particles > .particle.normal {
  width: 15px;
  height: 15px;
}
.particles > .particle.big {
  width: 20px;
  height: 20px;
}
.particles > .particle.bigger {
  width: 25px;
  height: 25px;
}
.vs-welcome {
  user-select: none;
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 20px;
  background: #478fcd;
  color: #fff;
}
.vs-welcome .typed {
  margin-top: -7%;
  transition: all 700ms ease-in-out;
  min-height: 180px;
}
.vs-welcome .typed.lift-text {
  margin-top: calc(-7% - 80px);
}
.vs-welcome .typed .msg-1 {
  font-size: 90px;
  font-weight: bold;
}
@media (max-width: 992px) {
  .vs-welcome .typed .msg-1 {
    font-size: 50px;
  }
}
.vs-welcome .typed .msg-2 {
  font-size: 35px;
}
@media (max-width: 992px) {
  .vs-welcome .typed .msg-2 {
    font-size: 23px;
  }
}
.vs-welcome .scroll-down {
  background: url(../images/arrow-slide.png) no-repeat center bottom;
  background-size: 48px 48px;
  font-size: 16px;
  padding-bottom: 55px;
  width: 100px;
  margin-left: -50px;
  text-align: center;
  position: absolute;
  left: 50%;
  bottom: 65px;
  cursor: pointer;
  display: none;
  z-index: 2;
  -webkit-animation: scrollanim 2s infinite;
  -moz-animation: scrollanim 2s infinite;
  -o-animation: scrollanim 2s infinite;
  animation: scrollanim 2s infinite;
}
.bg-arrow-svg {
  fill: #478FCD;
}
.photobox {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.photobox__previewbox {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
.photobox__preview {
  display: block;
  max-width: 100%;
  height: auto;
}
.photobox__previewbox:before {
  content: "";
}
.photobox .photobox__previewbox:before {
  width: 0;
  height: 0;
  padding: 25%;
  background-color: rgba(71, 143, 205, 0.7);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transition: transform calc(0.8s / 2) ease;
  will-change: transform;
  transform: translate(-50%, -50%) scale(0);
}
.photobox:hover .photobox__previewbox:before {
  transform: translate(-50%, -50%) scale(4);
  transition-duration: 0.8s;
}
.photobox .photobox__label {
  width: 95%;
  text-align: center;
  opacity: 0;
  transition: opacity calc(0.8s / 4) cubic-bezier(0.71, 0.05, 0.29, 0.9), transform calc(0.8s / 4) cubic-bezier(0.71, 0.05, 0.29, 0.9);
  will-change: opacity, transform;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 200%);
  z-index: 3;
}
.photobox .photobox__label .vs-aboutme p {
  font-size: 16px;
}
.photobox:hover .photobox__label {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition-duration: calc(0.8s / 2);
  transition-delay: calc(0.8s / 4);
}
.photobox .photobox__preview {
  transition: transform calc(0.8s / 2) cubic-bezier(0.71, 0.05, 0.29, 0.9);
  will-change: transform;
  transform: scale(1) rotate(0);
}
.photobox:hover .photobox__preview {
  transform: scale(1.2) rotate(5deg);
}
.vs-about p {
  font-size: 18px;
  line-height: 1.7;
}
.vs-portfolio {
  background: #ccc;
}
.main {
  background-color: #fefefe;
}
.main h2 {
  position: relative;
  display: inline-block;
  margin: 100px 0 35px;
  font-weight: bold;
  font-size: 35px;
}
.main h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background-color: #dedddd;
}
.main .timeline li h3 {
  font-weight: 600;
  margin-bottom: 5px;
}
.main .timeline li h3 .link-web {
  color: #478fcd;
  font-weight: 300;
}
.main .timeline li h3 a.link-web:hover {
  font-weight: bold;
}
.main .timeline li p {
  font-size: 20px;
  margin: 0;
}
.main .timeline li p:last-of-type {
  margin-bottom: 20px;
}
.main .timeline li a:hover {
  color: #478fcd;
}
.main .timeline li:hover a {
  color: #478fcd;
}
.main .timeline li:hover a.link-web {
  font-weight: bold;
}
.main .timeline li:hover .timeline-content:before {
  background: #478fcd;
}
.main .skills-table {
  font-size: 20px;
}
.main .skills-table .table-date {
  font-weight: bold;
  text-transform: uppercase;
}
.main .skills-table h3 {
  margin: 20px 0 0;
}
.main .skills-table p {
  font-size: 18px;
}
.main .vs-reference {
  margin: 100px 0 20px;
}
.main .vs-reference .reference-profile {
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
}
.main .vs-reference .reference-profile img {
  max-width: 70px;
}
@media (max-width: 992px) {
  .main .vs-reference .reference-profile img {
    max-width: 50px;
  }
}
.main .vs-reference .reference-box {
  position: relative;
  display: inline-block;
  vertical-align: top;
  background: #ececec;
  border-radius: 10px;
  padding: 20px;
  width: 75%;
}
.main .vs-reference .reference-box:before {
  content: '';
  top: 0;
  left: -20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 30px 30px 0;
  border-color: transparent #ececec transparent transparent;
  position: absolute;
}
.main .vs-reference .reference-box p {
  font-size: 16px;
}
.main .vs-reference .reference-name {
  font-size: 16px;
  font-weight: bold;
  text-align: right;
  padding: 5px 0 0;
  max-width: calc(75% + 80px);
}
@media (max-width: 992px) {
  .main .vs-reference .reference-name {
    font-size: 14;
  }
}
footer {
  margin-top: 100px;
  padding: 80px 0;
  background: #1277bd;
  text-align: left;
}
footer .contact {
  padding: 15px 0;
}
footer .contact i {
  display: inline-block;
  vertical-align: middle;
  font-size: 35px;
  background: #fff;
  text-align: center;
  width: 50px;
  height: 50px;
  padding: 8px 0;
  border-radius: 50%;
  color: #1277bd;
  transition: all 250ms ease-in-out;
}
footer .contact i.fa-envelope {
  font-size: 28px;
  padding: 9px 0;
}
footer .contact a {
  display: inline-block;
  vertical-align: middle;
  font-size: 24px;
  padding: 0 0 0 10px;
  color: #fff;
}
footer .contact:hover i {
  background: #093c60;
  color: #fff;
}
footer .contact:hover a {
  color: #093c60;
}
.timeline {
  list-style: none;
}
.timeline > li {
  margin-bottom: 40px;
}
.skills-table {
  list-style: none;
}
.skills-table > li {
  margin-bottom: 30px;
}
@media (min-width: 767px) {
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
  .timeline-date {
    width: 120px;
    float: left;
    margin-top: 20px;
  }
  .timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #478fcd solid;
    padding-left: 40px;
  }
  .timeline-content:before {
    content: '';
    width: 15px;
    height: 15px;
    background: #fff;
    border: 3px solid #478fcd;
    position: absolute;
    left: 114px;
    top: 23px;
    border-radius: 100%;
    transition: all 350ms ease-in-out;
  }
  .skills-table > li {
    overflow: hidden;
    margin: 0;
    position: relative;
    margin: 15px 0;
  }
  .table-date {
    width: 120px;
    float: left;
    margin-top: 20px;
  }
  .table-content {
    width: 75%;
    float: left;
    padding-left: 40px;
  }
}
/* media queries */
@keyframes scrollanim {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
