*{
  margin: 0;
  padding: 0;
}
body{
  margin: 0;
  padding: 0;
  width: 100%;
  background-image: url(/../assets/img/background.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: #333;
}

.box{
  width: 500px;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  text-align: center;
  margin: auto;
  margin-top: 4%;
  height: 100%;
  font-family: 'Century Gothic',sans-serif;
  transform: translateX(3%);
}

.box-img{
  margin-left: 25px;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: inline;
  padding: 1px;
}

:root{
  --primary-color:white;
  --secondary-color:rgb(0, 255, 255);
}

.light-theme{
  --primary-color:rgb(0, 255, 255);
  --secondary-color:white;
}

.theme-button{
  display: inline-block;
  margin: auto;
  border-radius: 50%;
  width: 25px;
  height: 25px;
}

.theme-button #theme-icon{
  cursor: pointer;
  border-radius: 50%;
  display:flex;
  width: 25px;
  height: 25px;
}

.theme-button #theme-icon:hover{
  src: url(../assets/icons/moon.png);
  transition-duration: 1s;
}

.box h1{
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 40px;
  letter-spacing: 4px;
  font-weight: 100;
  color :var(--primary-color);
}

.box h5{
  padding-bottom: 15px;
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 100;
  color: var(--primary-color);
}

.box p{
  text-align: middle;
  color:var(--primary-color);
}

.p{
  padding-top: 15px;
}

a:link, a:visited, a:active{
  text-decoration: none;
  color:var(--primary-color);
}

a:hover{
  text-decoration: underline;
}

.wrapper{
  padding-top: 20px;
  display: inline-flex;
}

.wrapper .icon{
  margin: 0 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon span{
  display: block;
  height: 60px;
  width: 60px;
  background: white;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon span i{
  line-height: 60px;
  font-size: 25px;
  color:black;
}

.wrapper .icon .tooltip{
  position: absolute;
  top: 0;
  z-index: 1;
  background: white;
  color: white;
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 25px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.icon .tooltip:before{
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  background: white;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover span{
  color: white;
}

.wrapper .icon:hover span i{
  color: white;
}

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

.wrapper .facebook:hover span,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip:before{
  background: #3B5999;
}

.wrapper .twitter:hover span,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip:before{
  background: #46C1F6;
}

.wrapper .instagram:hover span,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip:before{
  background: #e1306c;
}

.wrapper .github:hover span,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip:before{
  background: #333;
}

.wrapper .youtube:hover span,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube:hover .tooltip:before{
  background: #DE463B;
}

.container{
  text-align: center;
  margin: auto;
  font-size: 120%;
  color :var(--primary-color);
}

@media screen and (max-width: 700px) {
  .box{
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    margin-top: 28%;
    padding-top: 26%;
    transform: translateX(0%);
    display: block;
  }
  .wrapper{
    width: auto;
    margin: auto;
    padding-top: 30px;
    display: inline-flex;
  }
  .wrapper .icon{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .wrapper .icon span{
    margin: auto;
    display: block;
    height: 40px;
    width: 40px;
    background: white;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .wrapper .icon span i{
    line-height: 40px;
    font-size: 20px;
    color:black;
  }
  .wrapper .icon .tooltip{
    position: absolute;
    top: 0;
    z-index: 1;
    background: white;
    color: white;
    padding: 10px 18px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 25px;
    opacity: 0;
  }
  .icon .tooltip:before{
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    background: white;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%) rotate(45deg);
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .container{
    text-align: center;
    margin: auto;
    width:auto;
    font-size: 150%;
    transform: translateX(15%);
  }
}
