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

html,
body {
  display: grid;
  height: 100%;
  width: 100%;
  place-items: center;
  background: linear-gradient(315deg, #4a4e69, #22223b);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -moz-background-size: cover;
  background-position: center center;
  position: relative;
}

::-webkit-scrollbar {
  display: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: monospace;
    background-size: 100%;  
}

/*loader*/
div#loading-wrapper{
  width: 100vw;
  height: 100vh;
  background-color: #212923;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

#loading{
  width: 100px;
  display: flex;
  justify-content: center;   
}

#loading > span{
  width: 15px;
  height: 15px;
  margin: 5px;
  background-color: #c9c9c9;
  padding: 5px;
  border-radius: 50%;
  animation: animazione 1.5s linear infinite;
}

#loading > span:nth-child(1){
  animation-delay: .2s;
}

#loading > span:nth-child(2){
  animation-delay: .4s;
}

#loading > span:nth-child(3){
  animation-delay: .6s;
}

@keyframes animazione{
  from {
      opacity: 0.5;
  }
  50%{
      opacity: 1;
      transform: scale(1.3)
  }
  to{
      opacity: 0.5;
  }
}

/*content*/
h1 {
  color: #f2e9e4; 
  font-size: 50px;
  text-align: center;
}

#slogan {
    text-align: center;
    padding: 0;
    font-size: 30px;
    color: #f2e9e4;
    max-width: 40em;
    display: inline-flex;
}

.type{
  color: #9a8c98;
  font-size: 40px;
  padding: 0;
}

.wrapper{
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper .icon {
  position: relative;
  background-color: #020413;
  border-radius: 50%;
  padding: 15px;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.726);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background-color: #161616;
  color: #f2e9e4;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background-color: #161616;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .twitch:hover,
.wrapper .twitch:hover .tooltip,
.wrapper .twitch:hover .tooltip::before {
  background-color: #643b99;
  color: #161616;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background-color: #46c1f6;
  color: #161616;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background-color: #e1306c;
  color: #161616;
}

.wrapper .github:hover,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip::before {
  background-color: #333333;
  color: #161616;
}

.wrapper .youtube:hover,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube:hover .tooltip::before {
  background-color: #de463b;
  color: #161616;
}

.wrapper .discord:hover,
.wrapper .discord:hover .tooltip,
.wrapper .discord:hover .tooltip::before {
  background-color: #5662F6;
  color: #161616;
}

@media screen and (max-width: 760px){
  h1{
    position: fixed;
    top: 5%;
    right: 0%;
    left: 0%;
    font-size: 25px;
  }
  
  #slogan{
    padding: 1em;
    font-size: 12px;
    max-width: 20em;
  }

  .type{
    font-size: 12px;
  }

  .wrapper .tooltip{
    font-size: 100px;
  }

  .wrapper .icon{
    font-size: 15px;
    padding: 10px;
  }
}

@media screen and (max-width: 950px){
  h1{
    position: fixed;
    top: 5%;
    left: 0%;
    right: 0%;
    font-size: 25px;
  }
  
  #slogan{
    padding: 1em;
    font-size: 12px;
    max-width: 20em;
    text-align: left;
  }

  .type{
    font-size: 12px;
    text-align: left;
  }

  .wrapper{
    position: fixed;
    right: 0%;
    left: 0%;
    bottom: 5%;
    font-size: 15px;
  }

  .wrapper .tooltip{
    font-size: 100px;
  }

  .wrapper .icon{
    font-size: 15px;
    padding: 10px;
  }
}