@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Philosopher&display=swap');

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-moz-keyframes pulse {
  0% {
    -moz-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -moz-transform: scale(1);
    transform: scale(1);
  }
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 160%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Philosopher', sans-serif;
}

a {
  color: #F96E34;
  transition: all 0.4s linear;
}

.btn-lg {
  color: #fff;
  background-color: #F96E34;
  transition: all 0.4s linear;
  box-shadow: 0 0 10px #F96E34;
}

.btn-lg:hover {
  color: #fff;
  background-color: #AD3302;
}

.pt .pt-only {
  display: inline-block !important;
}

.pt .pt-only-block {
  display: block !important;
}

.pt .en-only,
.pt .en-only-block {
  display: none !important;
}

.en .en-only {
  display: inline-block !important;
}

.en .en-only-block {
  display: block !important;
}

.en .pt-only,
.en .pt-only-block {
  display: none !important;
}


/* MENU */

.availability {
  position: fixed;

  width: 100%;

  text-align: center;
  background: #201f20;
  padding: 5px 0;

  z-index: 99;
}
.availability p {
  line-height: 1;
  margin: 0;
}
.availability p a {
  display: flex;
  justify-content: center;

  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Montserrat';
  font-size: 12px;

  color: #fff;
  padding: 6px 0px;
  z-index: 9;
}
.availability p a:before {
  font-size: 53px;
  line-height: 12px;
  color: #1bd400;

  margin-top: -5px;

  content: '\2022';
}
.availability p a:hover {
  text-decoration: none;
  opacity: 0.5;
}

.navbar-default {
  top: 33px;
  height: 50px;

  background: rgba(0,0,0,0.7);
  border-radius: 0;
  border: 0;

  box-shadow: none;
}

.navbar-default .centered {
  text-align: center;
}

.navbar-default .centered .navbar-nav {
  display: inline-block;
  float: none;
}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav>li>a {
  letter-spacing: 1px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;

  color: #fff;
  transition: all 0.4s linear;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus, 
.navbar-inverse .navbar-nav>.active>a:hover { 
  color: #fff;
  background: none;
  box-shadow: none;
}

.navbar-inverse .navbar-nav:not(.navbar-right)>li>a:after {
  position: absolute;
  left: 0;
  right: 0;

  display: block;
  width: 0;

  border-top: 3px solid #d15b5b;
  margin: 2px auto 0;

  content: '';
  transition: all 0.9s ease-in-out;
}
.navbar-inverse .navbar-nav>li>a:hover:after {
  width: calc(100% - 32px);
}

.navbar-right li {
  position: absolute;
  right: 0;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
  color: #fff;
}


/* SECTIONS */

#sections {
  position: absolute;
  width: 100%;
  height: 100%;
}

section {
  position: relative;

  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;

  background: #201f20;

  padding-top: 80px;
  padding-bottom: 80px;
}

section h2 {
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 35px;
}

#home {
  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background-color: black;
  opacity: 0.7;
  z-index: 1;
}

video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  height: 100%;

  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  object-position: right;
}

#home h1 {
  font-weight: bold;
}

#home h1,
#home h2 {
  position: relative;

  font-size: 53px;
  line-height: 130%;
  font-weight: 300;

  color: #c4c4c4;
  z-index: 9;

}

#home h2 {
  font-size: 43px;
  color: #d15b5b;
  margin-top: -15px;
}

#home h1 span,
#home h2 span {
  display: inline-block;
}

.arrow-bottom {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;

  text-align: center;

  z-index: 9;
}
.arrow-bottom a {
  position: relative;

  display: block;
  width: 32px;
  height: 22px;

  font-size: 0;
  margin: 0 auto;
  z-index: 99;
}
.arrow-bottom a:after {
  position: absolute;
  top: 0;

  display: block;
  width: 30px;
  height: 20px;

  font-size: 60px;
  color: #fff;

  background: transparent url('../../img/icons/next.png') no-repeat center;
  background-size: cover;

  content: '';
  z-index: 99;
  -webkit-transition-property: -webkit-transform;
  -webkit-transition-duration: 1s;
  -moz-transition-property: -moz-transform;
  -moz-transition-duration: 1s;
  -webkit-animation-name: pulse;
  -moz-animation-name: pulse;
  -webkit-animation-duration: 1.5s;
  -moz-animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
}

#about {
  color: #f0f0f0;
  padding-top: 85px;
  padding-bottom: 60px;
}

#about .img-thumbnail {
  background-color: #d15b5b;
  border: 1px solid #111;
}

#about .social-icons {
  display: flex;
  justify-content: space-between;
}

#about a.social-icon {
  display: flex;
  height: 30px;

  background-color: #eee;
  border-radius: 3px;
  border: 2px solid #d15b5b;

  padding: 3px;
  margin: 8px 1px;
}

#about #skills {
  width: calc(100% - 30px);
  background: #3a353a;

  padding: 30px;
  margin: 60px 15px;
  border: 6px solid #d15b5b;
}

#about #skills h2 {
  text-align: center;
  letter-spacing: 3px;
}

#about .knowledges {
  margin: 20px 0;
}


#about .knowledges p {
  height: 30px;

  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;

  color: #fff;
}

#about svg {
  max-height: 66px;
}

#about svg path.circle-bg {
  fill: none;
  stroke: rgba(0,0,0,0.1);
  stroke-width: 3.8;
}

#about svg path.skill__level-progress {
  stroke: #5bd196;
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  -webkit-animation: progress 1s ease-out forwards;
  animation: progress 1s ease-out forwards;
}

#about svg text {
  fill: #fff;
  font-size: 0.5em;
  text-anchor: middle;
}

#projects {
  background: #f5f5f5;
}

#projects h2 {
  text-align: center;
}

.more-projects,
.less-projects {
  text-align: center;
}

.more-projects a,
.less-projects a {
  display: inline-block;

  font-size: 13px;
  letter-spacing: 1px;

  color: #d15b5b;
  margin: 0 auto;
  transition: all 0.3s linear;
}

.more-projects a:hover,
.less-projects a:hover {
  letter-spacing: 2px;
  text-decoration: none;
  color: #000000;
}

.more-projects a span,
.less-projects a span {
  display: block;
  font-size: 60px;
  line-height: 41px;
}

#projects .project {
  margin-bottom: 3%;
}

#projects .col-inner {
  text-align: center;

  background: #fff;
  box-shadow: 0 0 17px #ccc;
  border-radius: 6px;

  padding: 10px;
  transition: linear 0.2s all;
}

.project a {
  position: relative;
  display: block;
  transition: all 0.9s linear;
}

.project a img {
  width: 100%;
  height: 190px;
}

.project a .overlay {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 75px;
  color: #fff;

  opacity: 0;
  transition: all 0.6s linear;
}

.project a:hover .overlay {
  opacity: 0.8;
}

#projects h4 {
  height: 36px;

  text-transform: uppercase;
  line-height: 130%;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;

  color: #d15b5b;
  margin-top: 25px;
}

#projects ul {
  height: 60px;
  font-size: 14px;
}

#contact {
  display: table;
  height: calc(100vh - 80px) !important;
  min-height: 0;
}

#contact>.container {
  display: table-cell;
  vertical-align: middle;
}

#contact a:hover {
  opacity: 0.5;
}

#contact .opened p {
  margin: 15px 0;
}

#contact .opened p a {
  color: #fff;
}

#contact .social-icons {
  margin-top: 40px;
}

#contact .social-icons svg {
  width: 45px;
  margin: 0 14px;
}

#contact p span {
  white-space: nowrap;
}

.colored {
  color: #fff;
  background-color: #d15b5b;
}

footer {
  font-size: 14px;
  padding: 50px 0 10px;
}

footer small a {
  color: #fff;
}

footer small a:hover {
  text-decoration: none;
  color: #AD3302;
}

@media screen and (max-width: 1200px) {
  .project a img {
    height: 150px;
  }
}
@media screen and (max-width: 991px) {
  .project a img {
    height: 110px;
  }
}
@media screen and (max-width: 767px) {
  .availability p a {
    font-size: 10px;
  }
  .navbar-default {
    top: 31px;
    height: 40px;
    min-height: 40px;
  }
  .navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav>li>a {
    font-size: 10px;
  }
  .navbar-default .centered .navbar-nav.navbar-right {
    float: right;
  }
  .navbar-nav {
    margin: 0 -15px;
  }
  .navbar-nav>li>a {
    font-size: 14px;
    padding: 10px 8px;
  }
  .nav>li {
    display: inline-block;
  }
  #about .img-thumbnail {
    max-width: 170px;
  }
  #about .social-icons {
    max-width: 170px;
    margin: 0 auto;
  }
  #about p {
    text-align: left;
  }
  #home h1,
  #home h2 {
    font-size: 30px;
  }
  .padding-top {
    text-align: center;
    padding-top: 160px;
  }
  #projects ul {
    height: auto;
  }
  p {
    font-size: 16px;
  }
  footer {
    padding-top: 20px;
  }
  small.pull-left,
  small.pull-right {
    display: block;
    float: none !important;
    text-align: center;
    margin-bottom: 5px;
  }
  .project a img {
    height: 145px;
  }
  #contact .social-icons svg {
    width: 40px;
    margin: 0 5px;
  }
}