/*
    Auther: Abdelrhman Said
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

/** {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*/
*:focus,
*:active {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

/*html,
body {
  display: grid;
  height: 100%;
  width: 100%;
  font-family: "Poppins", sans-serif;
  place-items: center;
  background: linear-gradient(315deg, #ffffff, #d7e1ec);
}*/

.icon_wrapper {
  display: inline-flex;
}

.icon_wrapper .icon {
  position: relative;
  background-color: #f7f7f7;
  border-radius: 50%;
  padding: 15px;
  margin-top:50px;
  margin-right:15px;
  width: 58px;
  height: 50px;
  font-size: 18px;
  /*display: flex; */
  text-align: center;
  /*justify-content: center;
  align-items: center;*/
  flex-direction: column;
  cursor: pointer;
  color:#a1a1a1;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.icon,.icon_detail{
	display:table;
}

.icon_wrapper .tooltip {
  position: absolute;
  top: 0;
  color: #ffffff;
  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);
  font-weight:500;
}

.tooltip{
	display:table-cell;
	width:150px;
	text-align:center;
	left:-45px;
}

.icon_wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon_wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.icon_wrapper .icon:hover span,
.icon_wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.icon_wrapper .icon_detail:hover
{
  background-color: #62a023;
  color: #ffffff;
  display:table;
}

.tooltip,.tooltip::before {
  background-color: #666;
  color: #666;
}



/*.icon_wrapper .twitter:hover,
.icon_wrapper .twitter:hover .tooltip,
.icon_wrapper .twitter:hover .tooltip::before {
  background-color: #62a023;
  color: #ffffff;
}

.icon_wrapper .instagram:hover,
.icon_wrapper .instagram:hover .tooltip,
.icon_wrapper .instagram:hover .tooltip::before {
  background-color: #62a023;
  color: #ffffff;
}

.icon_wrapper .github:hover,
.icon_wrapper .github:hover .tooltip,
.icon_wrapper .github:hover .tooltip::before {
  background-color: #62a023;
  color: #ffffff;
}

.icon_wrapper .youtube:hover,
.icon_wrapper .youtube:hover .tooltip,
.icon_wrapper .youtube:hover .tooltip::before {
  background-color: #62a023;
  color: #ffffff;
}*/

/* Subscribe Me */

.subscribe {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -5%);
  text-decoration: none;
  font-size: 14px;
  background-color: #e62017;
  color: #ffffff;
  border-radius: 50px;
  padding: 5px 15px;
  transition: all 0.2s ease-in-out;
}

.subscribe:hover {
  border-radius: 5px;
}