/* FONTS */

@font-face {
  src: url('../fonts/Less.otf');
  font-family: less;
}

@font-face {
  src: url('../fonts/Less-Light.otf');
  font-family: light-less;
}

@font-face {
  src: url('../fonts/Less-Bold.otf');
  font-family: bold-less;
}


/* GENERAL */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: less, arial;
}

a {
  text-decoration: none;
  outline: none;
}

.is-tabbing a:focus {
  outline: 1px dotted gray;
}

p {
  font-size: 16px;
  line-height: 24px;
}

h2 {
  margin: 50px 0;
  color: #171717;
  font-size: 32px;
  text-transform: uppercase;
  display: inline-block;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.container {
  box-sizing: border-box;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 80px;
  overflow: hidden;
}

.content {
  position: relative;
  width: 100%;
  padding: 70px 0;
  text-align: center;
  filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.7));
}

.content:not(#contact)::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.underline {
  position: relative;
}

.underline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 80%;
  height: 100%;
  border-bottom: 3px solid #fa0;
  z-index: -1;
}


/* FLEX STUFF */

.row {
  display: flex;
  flex-direction: row;
}

.col {
  display: flex;
  flex-direction: column;
}

.start {
  align-items: flex-start;
}

.center {
  align-items: center;
}

.end {
  align-items: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

.wrap {
  flex-wrap: wrap;
}


/* ANIMATIONS */

.from-left {
  opacity: 0;
  transform: translateX(-200px);
  transition: 1s;
}

.from-right {
  opacity: 0;
  transform: translateX(200px);
  transition: 1s;
}

.from-top {
  opacity: 0;
  transform: translateY(-50px);
  transition: 1s;
}

.slide-in {
  opacity: 1;
  transform: translate(0, 0);
}

.boing {
  animation: boing 0.5s;
}

@keyframes boing {
  25% {transform: scale3d(1.3, 0.7, 1)}
  50% {transform: scale3d(0.8, 1.2, 1)}
  75% {transform: scale3d(1.1, 0.9, 1)}
}


/* MEDIA QUERIES */

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: block;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 20px;
  }
  .logo span {
    display: none;
  }
  .sidebar {
    display: none;
  }
  .name {
    font-size: 10.3vw;
    margin-top: -30vw;
  }
  .stamp {
    width: 78.4vw;
    height: 28.5vw;
    margin-top: -15vw;
  }
  .slogan {
    font-size: 3.4vw;
    margin-top: 17.2vw;
  }
  .description {
    max-width: 350px;
  }
  .skill {
    flex-direction: column;
    height: auto;
    max-width: 350px;
  }
  .skill img {
    order: 1 !important;
  }
}

@media (max-height: 500px) {
  .name {
    margin-top: -100px;
  }
  .stamp img {
    filter: blur(1px) brightness(0.7) opacity(0.6);
  }
  .slogan {
    margin-top: 40px;
  }
  .arrow {
    margin-top: 110px;
  }
}
