@import url(https://fonts.googleapis.com/css?family=Anton&display=swap);

body {
  font-family: 'Raleway', sans-serif;
  font-weight: normal;
  color: #6f6f6f;
  font-size: 0.875rem;
  position: relative;
  height: 100vh
}

.main-page-wrapper {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #292929;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
  font-family: 'Bitter', serif;
  margin-bottom: 25px;
  color: #d73e4d;
  background: #FFFFFF;
  text-shadow: 2px 2px 0 #bcbcbc, 4px 4px 0 #9c9c9c;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.375rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  line-height: 26px;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  display: inline-block;
}

a:hover,
a:focus,
a:visited {
  text-decoration: none;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  outline: none;
  box-shadow: none;
  display: block;
  padding: 0;
}

input,
textarea {
  outline: none;
  box-shadow: none;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.clear-fix {
  clear: both;
}

.clear-fix:after {
  display: table;
  content: '';
  clear: both;
}

.tran3s,
.theme-main-menu .navbar-nav>li a,
.single-img .opacity,
span {
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.tran4s,
.single-img .opacity ul,
.opacity h6 a {
  -webkit-transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -ms-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.round-border {
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -o-border-radius: 50%;
  -ms-border-radius: 50%;
}

.theme-title {
  text-align: center;
  margin: 95px 0 0 0;
}

.theme-title h2 {
  position: relative;
}

.theme-title h2:before {
  content: '';
  width: 25px;
  height: 3px;
  position: absolute;
  bottom: -25px;
  left: 50%;
  margin-left: -12px;
}

.theme-title p {
  font-size: 1rem;
  width: 75%;
  margin: 60px auto 0 auto;
}

.p-color,
.theme-main-menu .navbar-nav>li>a:hover,
h5 a,
.icon,
h6 a.active {
  color: #d73e4d;
}

.theme-title h2:before,
.icon,
#skill-section span,
.owl-theme .owl-dots .owl-dot:hover span,
button:hover {
  background: #d73e4d;
}

.row {
  align-items: center;
  text-align: center;
  justify-content: center;
  margin: 0 auto;
  padding-top: 1.25rem;
}

.score {
  color: #d73e4d;
  margin-top: 10px;
}

.form-container {
  display: flex;
  align-items: center;
}

form {
  width: 50%;
  margin: 0 auto;
}

.coundown-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.countdown-wrapper.hide {
  transform: translate(-50%, -50%) scale(0);
  animation: hide .2s ease-out;
}

@keyframes hide {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    transform: translate(-50%, -50%) scale(0);
  }
}

#equation {
  padding: 0.938rem;
}

.time {
  color: #3498db;
  font-size: 3.6rem;
  width: 250px;
  height: 50px;
  margin: 0 auto;
  padding-top: 20px;
}

.time span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(120deg);
  transform-origin: bottom center;
}

.time span.in {
  transform: translate(-50%, -50%) rotate(0deg);
  animation: goIn .5s ease-in-out;
}

.time span.out {
  animation: goOut .5s ease-in-out;
}

@keyframes goIn {
  0% {
    transform: translate(-50%, -50%) rotate(120deg);
  }

  30% {
    transform: translate(-50%, -50%) rotate(-20deg);
  }

  60% {
    transform: translate(-50%, -50%) rotate(10deg);
  }

  90%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes goOut {

  0%,
  30% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  60% {
    transform: translate(-50%, -50%) rotate(20deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(-120deg);
  }
}

/*** ===== Theme Header ===== ***/
.theme-main-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding-top: 20px;
}

.theme-main-menu .navbar-nav>li>a {
  text-transform: uppercase;
  color: #36454;
  font-weight: 700;
  background: transparent;
  padding: 9px 15px;
}

.theme-main-menu .navbar-nav>li:last-child>a {
  padding-right: 0;
}

.theme-main-menu.navbar {
  border: none;
  margin: 0;
}

.theme-main-menu.navbar .nav>li ul.sub-menu {
  position: absolute;
  background: #1e1e1e;
  width: 150px;
  top: 120%;
  top: calc(100% + 60px);
  left: 0;
  opacity: 0;
  visibility: hidden;
  text-align: left;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-box-shadow: 0px 13px 25px -12px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 13px 25px -12px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 13px 25px -12px rgba(0, 0, 0, 0.15);
}

.theme-main-menu.navbar .nav>li ul li a {
  line-height: 40px;
  color: #fff;
  font-weight: 700;
  padding: 0 0 0 0.938rem;
  display: block;
}

.theme-main-menu.navbar .nav>li ul li:last-child a {
  border: none;
}

.theme-main-menu.navbar .nav>li:hover ul.sub-menu {
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.theme-main-menu .navbar-toggle {
  margin: 0;
  border-radius: 0;
  color: #fff;
  padding-right: 0.938rem;
}

.theme-main-menu .navbar-toggle .fa {
  font-size: 18px;
  vertical-align: middle;
  margin-left: 5px;
}

.theme-main-menu .navbar-nav {
  margin: 0;
}

.theme-main-header li.dropdown-holder .fa {
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  width: 2.813rem;
  color: #fff;
  font-size: 1.125rem;
  display: none;
  cursor: pointer;
  line-height: 44px;
}

#numberInput {
  width: 12rem;
}

button.ok {
  transform: scale(1.1);
  margin-top: -5px;
}

/* social media */
.sbuttons {
  bottom: 5%;
  position: fixed;
  margin: 1em;
  left: 0;
}

.sbutton {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  color: white;
  margin: 20px auto 0;
  box-shadow: 0px 5px 11px -2px rgba(0, 0, 0, 0.18), 0px 4px 12px -7px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  -webkit-transition: all .1s ease-out;
  transition: all .1s ease-out;
  position: relative;
}

.sbutton>i {
  font-size: 38px;
  line-height: 60px;
  transition: all .2s ease-in-out;
  transition-delay: 2s;
}

.sbutton:active,
.sbutton:focus,
.sbutton:hover {
  box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
}

.sbutton:not(:last-child) {
  width: 60px;
  height: 60px;
  margin: 20px auto 0;
  opacity: 0;
}

.sbutton:not(:last-child)>i {
  font-size: 25px;
  line-height: 60px;
  transition: all .3s ease-in-out;
}

.sbuttons:hover .sbutton:not(:last-child) {
  opacity: 1;
  width: 60px;
  height: 60px;
  margin: 15px auto 0;
}

.sbutton:nth-last-child(1) {
  -webkit-transition-delay: 25ms;
  transition-delay: 25ms;
}

.sbutton:not(:last-child):nth-last-child(2) {
  -webkit-transition-delay: 20ms;
  transition-delay: 20ms;
}

.sbutton:not(:last-child):nth-last-child(3) {
  -webkit-transition-delay: 40ms;
  transition-delay: 40ms;
}

.sbutton:not(:last-child):nth-last-child(4) {
  -webkit-transition-delay: 60ms;
  transition-delay: 60ms;
}

.sbutton:not(:last-child):nth-last-child(5) {
  -webkit-transition-delay: 80ms;
  transition-delay: 80ms;
}

.sbutton:not(:last-child):nth-last-child(6) {
  -webkit-transition-delay: 100ms;
  transition-delay: 100ms;
}

[tooltip]:before {
  font-family: 'Roboto';
  font-weight: 600;
  border-radius: 2px;
  background-color: #585858;
  color: #fff;
  content: attr(tooltip);
  font-size: 12px;
  visibility: hidden;
  opacity: 0;
  padding: 5px 7px;
  margin-left: 10px;
  position: absolute;
  left: 100%;
  bottom: 20%;
  white-space: nowrap;
}

[tooltip]:hover:before,
[tooltip]:hover:after {
  visibility: visible;
  opacity: 1;
}

.sbutton.mainsbutton {
  background: #d73e4d;
}

.sbutton.gmail {
  background: #c71610;
}

.sbutton.pinteres {
  background: #e60023;
}

.sbutton.twitt {
  background: #03A9F4;
}

.sbutton.fb {
  background: #3F51B5;
}

.sbutton.github {
  background: #333;
}
