* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif
}

ul {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  li {
    list-style: none;
    a {
      position: relative;
      display: block;
      text-transform: uppercase;
      margin: 20px 0;
      padding: 10px 20px;
      text-decoration: none;
      color: #262626;
      font-family: sans-serif;
      font-size: 18px;
      font-weight: 600;
      transition: .5s;
      z-index: 1;
      &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-top: 2px solid #262626;
        border-bottom: 2px solid #262626;
        transform: scaleY(2);
        opacity: 0;
        transition: .3s;
      }
      &:after {
        content: '';
        position: absolute;
        top: 2px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #262626;
        transform: scale(0);
        opacity: 0;
        transition: .3s;
        z-index: -1;
      }
      &:hover {
        color: #fff;
        &:before {
          transform: scaleY(1);
          opacity: 1;
        }
        &:after {
          transform: scaleY(1);
          opacity: 1;
        }
      }
    }
  }
}

/* ===== Layout ===== */
.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 40px;
}

.hero {
  max-width: 720px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 40px;
}

/* ===== Buttons ===== */
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 14px 28px;
  font-weight: 600;
  border: 2px solid #262626;
  transition: 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.btn.primary {
  background: #262626;
  color: #fff;
}

.btn.primary:hover {
  background: transparent;
  color: #262626;
}

.btn.secondary {
  background: transparent;
  color: #262626;
}

.btn.secondary:hover {
  background: #262626;
  color: #fff;
}

/* ===== Footer ===== */
footer {
  position: fixed;
  bottom: 20px;
  width: 100%;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}

/* ===== Skewed Social Menu ===== */

.social-links {
  position: relative;
  margin-top: 80px;
}

.social-links .skew-menu {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.social-links .skew-menu li {
  list-style: none;
  margin: 0 8px;
}

.social-links .skew-menu li a {
  position: relative;
  display: block;
  width: 210px;
  height: 80px;
  background: #fff;
  text-align: left;
  padding-left: 20px;
  text-decoration: none;
  transform: rotate(-30deg) skew(25deg);
  transition: 0.5s;
  box-shadow: -20px 20px 10px rgba(0, 0, 0, 0.5);
}

.social-links .skew-menu li a:before {
  content: '';
  position: absolute;
  top: 10px;
  left: -20px;
  width: 20px;
  height: 100%;
  background: #b1b1b1;
  transform: skewY(-45deg);
}

.social-links .skew-menu li a:after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -10px;
  width: 100%;
  height: 20px;
  background: #b1b1b1;
  transform: skewX(-45deg);
}

.social-links .skew-menu li a:hover {
  transform: rotate(-30deg) skew(25deg) translate(20px, -15px);
  box-shadow: -50px 50px 50px rgba(0, 0, 0, 0.5);
}

.social-links .skew-menu .fa {
  font-size: 40px;
  line-height: 80px;
  color: #262626;
  transition: 0.5s;
  padding-right: 14px;
}

.social-links .skew-menu span {
  position: absolute;
  top: 30px;
  color: #262626;
  letter-spacing: 4px;
  transition: 0.5s;
}

/* Hover colors */
.social-links .skew-menu li:hover .fa,
.social-links .skew-menu li:hover span {
  color: #fff;
}

.social-links .skew-menu li:nth-child(1):hover a {
  background: #d72ae7;
}
.social-links .skew-menu li:nth-child(2):hover a {
  background: #ed0800;
}
.social-links .skew-menu li:nth-child(3):hover a {
  background: #50607e;
}
.social-links .skew-menu li:nth-child(4):hover a {
  background: #e4405f;
}
