:root {
  /* Size */
  --title-size: 40px;
  --button-size: 50px;
  --button-font-size: 25px;
  --button-line-height: 25px;

  /*Color*/
  --button-color: #cccccc;
  --button-hover-color: #8794a1;

  /* Animation */
  --animation-duration: 300ms;
}

* {
  outline: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

canvas {
  position: absolute;
}

.canvas-full {
  width: 100%;
  height: 100%;
}

a {
  text-decoration: none;
  color: var(--color-white);
}

h1 {
  font-family: 'Abril Fatface', cursive;
}

button {
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;

  z-index: 1;

  transition: all var(--animation-duration) ease;
}

.title {
  position: absolute;
  left: 50%;
  font-style: italic;
  font-size: var(--title-size);
  transform: translateX(-50%);
}

.left-buttons {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 50%;
  transform: translate(-100%, -50%);
  transition: all var(--animation-duration) ease;
  z-index: 1;
}

.left-button-on {
  transform: translate(70%, -50%);
}

.git,
.linkedin {
  width: var(--button-size);
  height: var(--button-size);
  margin: 5px 0;
  border: 2px solid var(--button-color);
  border-radius: 50%;
  line-height: var(--button-line-height);
  font-size: var(--button-font-size);
  color: var(--button-color);
}

.git:hover,
.linkedin:hover {
  border: 2px solid var(--button-hover-color);
  color: var(--button-hover-color);
}

.close-cover {
  position: absolute;
  width: var(--button-size);
  height: var(--button-size);
  right: 0px;
  top: 50%;
  margin: 5px 0;
  border: 2px solid var(--button-color);
  border-radius: 50%;
  line-height: var(--button-line-height);
  font-size: var(--button-font-size);
  color: var(--button-color);
  transform: translate(100%, -50%);
  transition: all var(--animation-duration) ease;
  z-index: 1;
}

.close-cover:hover {
  border: 2px solid var(--button-hover-color);
  color: var(--button-hover-color);
}

.right-button-on {
  transform: translate(-70%, -50%);
}

.bottom-buttons {
  position: absolute;
  display: flex;
  left: 50%;
  bottom: 10px;
  color: #6d6d6d;
  transform: translateX(-50%);
  z-index: 1;
}

.main-git,
.main-linkedin,
.introduce {
  font-family: 'Abril Fatface', cursive;
  font-size: 18px;
  color: #6d6d6d;
  transition: color var(--animation-duration) ease;
}

.main-git:hover,
.main-linkedin:hover,
.introduce:hover {
  color: var(--button-hover-color);
}

.space {
  font-family: 'Abril Fatface', cursive;
  font-size: 20px;
  color: #6d6d6d;
  margin: 0 5px;
}

/* For below 768px screen width */
@media screen and (max-width: 768px) {
  :root {
    /* Size */
    --button-size: 40px;
    --button-font-size: 20px;
    --button-line-height: 20px;
  }

  .main-git,
  .main-linkedin,
  .introduce {
    font-size: 14px;
  }

  .space {
    font-size: 16px;
  }
}
