/* icomoon font for icons */
@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.eot?-7levk7');
  src: url('fonts/icomoon.eot?#iefix-7levk7') format('embedded-opentype'),
    url('fonts/icomoon.woff?-7levk7') format('woff'),
    url('fonts/icomoon.ttf?-7levk7') format('truetype'),
    url('fonts/icomoon.svg?-7levk7#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}


/* Classes */
body {
  /* linear-gradient work incorrectly */
  /* background: linear-gradient(126.95deg, #D67575 -2.63%, rgba(18, 6, 6, 0.77) 90.69%); */
  background: #275054;
}

.empty {
  opacity: 0;
  height: 200px;
}

.title {
  position: absolute;
  font-family: "Secular One";
  width: 120%;
  top: -25px;
  left: -125px;

  font-size: 36pt;
  font-weight: normal;
}

.hidden_title {
  display: none;
}

.main_box {
  position: relative;
  min-width: 355px;
  max-width: 490px;
  margin: 0 auto;

  border-radius: 20px;
  background: #D9D9D9;
}

.name {
  position: relative;
  display: block;
  padding-top: 30px;
  padding-left: 20px;

  font-family: 'Saira', sans-serif;
  font-weight: normal;
  font-size: 32px;
}

.icons_box {
  width: 100%;
  padding-left: 24px;
}

.social_net {
  position: relative;
  padding-left: 20px;
}

.social_net a {
  font-family: "Kanit", sans-serif;
  font-size: 28pt;
}

.star {
  position: relative;
  top: -20px;
  left: -15px;
}

.attention {
  position: relative;
  padding-top: 5px;

  font-family: "Roboto Condensed", sans-serif;
  font-size: 8pt;
  font-weight: normal;
  padding-left: 20px;
  padding-bottom: 5px;
}

.hidden {
  opacity: 0;
  position: relative;
  top: -1000px;
}

.ellipse {
  position: absolute;
  top: 1vw;
  right: 1vw;

  width: 100px;
  height: 100px;
  border-radius: 100%;

  background: url(img/wnNMmI1WGdk.jpg) 50%/cover no-repeat;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}


/* Icons */
.sicon,
.sicon:visited,
.sicon:link {
  font-family: 'icomoon';
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  text-decoration: none;

  font-size: 28pt;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.sicon a,
.sicon a:hover {
  opacity: 1;
  border: 0;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s linear;

  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}


.sicon.email a:hover {
  color: white;
}

.sicon.steam a:hover {
  color: #686766;
}

.sicon.vk a:hover {
  color: #45668e;
}

.sicon.github a:hover {
  color: #333333;
}

.sicon.instagram a:hover {
  color: #d10a0a;
}

.sicon.telegram a:hover {
  color: #0088cc;
}


/* btn */
.button {
  font-family: 'icomoon';
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  text-decoration: none;

  font-size: 28pt;
  padding: 0 0 0 0;

  background: rgba(0, 0, 0, 0);
  color: #000000;
  border: none;
  outline: none;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.button:hover {
  opacity: 1;
  color: #5865F2;
  text-decoration: none;
  transition: color 0.2s linear;

  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.tooltip {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  top: 2px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 100px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 100%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 8pt;
  font-family: "Kanit", serif;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* adaptive */
@media screen and (max-width: 768px) {
  .title {
    width: 100%;
    text-align: center;
    top: -70px;
    left: 0;
  }

  .name {
    padding-top: 0;
  }
}

@media screen and (max-width: 540px) {

  .main_box {
    max-width: 300px;
    min-width: 100px;
  }

  .name {
    font-size: 24px;
    padding-top: 10px;
    text-align: center;
    padding-left: 0;
  }

  .title {
    opacity: 0;
  }

  .social_net,
  .social_net a {
    font-size: 24px;
    padding-left: 0;
    text-align: center;
  }

  .empty {
    height: 80px;
  }

  .ellipse {
    display: block;
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
  }

  .tooltip {
    padding-bottom: 10px;
  }

  .attention {
    font-size: 8pt;
  }

  .icons_box {
    position: relative;
    display: flex;
    padding-left: 0;
    justify-content: center;
    flex-wrap: wrap;
  }

  .star {
    left: -5px;
    top: -5px;
  }

  .tooltip {
    margin-right: 0;
  }

  .button,
  .sicon,
  .sicon a {
    position: relative;
    font-size: 20pt;
    text-align: center;
    margin-right: 4px;
    margin-left: 4px;
  }

  .hidden_title {
    display: block;
    font-family: "Secular One";
  
    font-size: 32pt;
    font-weight: normal;

    text-align: center;
  }
  .ellipse {
    position: relative;
    top: 10px;
    right: 0;
  }
}