:root {
  --main: #ee4e34;
  --links: #ee4e34;
  --background: #fcedda;
}

body {
  background-color: var(--background);
  font-family: "Space Mono", sans-serif;
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}

.section {
  margin-top: 60px;
}

.card {
  padding: 10px;
  margin-top: 10px;
}

#name {
  color: var(--main);
}

u,
.navbar-nav {
  background-color: var(--background);
  border: 1px solid var(--main);
  font-size: 1.2rem;
  font-weight: 200;
  text-decoration: none;
  z-index: 2;
}

a {
  text-decoration: none !important;
  color: var(--links);
  position: relative;
}

a:hover {
  color: var(--links);
}

a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 4px;
  background-color: var(--links);
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

i {
  opacity: 0.6;
}

i:hover {
  opacity: 1;
}

.fa-twitter:hover {
  color: #00b6f1;
}

.fa-github:hover {
  color: #040204;
}

.fa-linkedin:hover {
  color: #04669a;
}

.fa-stack-overflow:hover {
  color: #f48024;
}

.fa-medium:hover {
  color: #292929;
}

.fa-google:hover {
  color: #eb493b;
}

#content {
  position: absolute;
  top: 40%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 520px;
  padding: 32px;
  line-height: 1.6em;
}

.avatar {
  border-radius: 50%;
  width: 300px;
  margin: 2rem;
}

.icons {
  list-style-type: none;
  font-size: xx-large;
  padding: 0;
  display: flex;
  justify-content: space-between;
  width: 80%;
  max-width: 320px;
  margin: 1em auto;
}

.icons li {
  display: inline;
  width: 42px;
}

.icons a {
  color: black;
}

.icons a:hover::before {
  transform: scaleX(0);
}

.calendly-badge-widget .calendly-badge-content {
  background-color: var(--main);
  border-radius: 10px !important;
}

.calendly-badge-widget {
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.calendly-badge-widget:before {
  content: "";
  background: linear-gradient(45deg,
      #fdf542,
      #fbd808,
      #ff9005,
      #f9530b,
      #ff0000,
      #f9530b,
      #ff9005,
      #fbd808);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

.calendly-badge-widget:active {
  color: #000;
}

.calendly-badge-widget:active:after {
  background: transparent;
}

.calendly-badge-widget:hover:before {
  opacity: 1;
}

.calendly-badge-widget:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}
