@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --fa-animation-duration: 1.5s;
}
.row {
  margin-right: 0;
  margin-left: 0;
}

header {
  height: 100vh;
  position: relative;
  margin: 0;
  padding: 0;
}
main {
  background: rgb(44, 36, 36) url("../images/stars.png") top center;
  height: 100%;
  position: relative;
}
.stars {
  overflow: hidden;
}
.stars,
.twin {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.stars {
  background: black url("../images/stars.png") top center;
  height: 100vh;
}
.twin {
  background: url("../images/dr.png") top center;

  height: 100%;
  animation: star 300s infinite linear;
}

.btn-dark {
  opacity: 0.7;
}

@keyframes star {
  0% {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}
.navbar {
  background: rgba(34, 30, 30, 0.927);
  position: fixed;
  width: 100%;
  z-index: 2;
}
.nav {
  justify-content: space-between;
  width: 100%;
  align-items: center;
}
.navbar__logo {
  font-size: 28px;
  font-family: "Ubuntu Sans", sans-serif;
  color: aliceblue;
  text-shadow: 1px 1px rgba(255, 235, 205, 0.555);
}
.navbar__list {
  display: flex;
  list-style: none;
  margin-top: 20px;
}
.navbar__link {
  color: blanchedalmond;
  font-size: 20px;
  margin-left: 25px;
  font-family: "Montserrat", sans-serif;
}

.navbar__logo:hover {
  cursor: pointer;
  text-decoration: none;
  color: blanchedalmond;
}
.navbar__link:hover {
  color: aqua;
  text-decoration: none;
  transition: 0.5s;
}

.fa {
  font-size: 22px;
  color: aliceblue;
  display: none;
}
.far {
  font-size: 22px;
  color: aliceblue;
  display: none;
}

@media (max-width: 768px) {
  .fa {
    display: block;
  }
  .navbar__list {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: rgba(34, 30, 30, 0.527);
  }
  .navbar__list li {
    margin-top: 20px;
    height: 100%;
    text-align: center;
    justify-content: center;
  }
  .navbar__link:hover {
    color: rgb(226, 240, 253);
  }
}

.head {
  width: 100%;
  padding-top: 150px;
  position: absolute;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header__right {
  width: 50%;
  height: 250px;
}

.header__title {
  text-shadow: 2px 2px 5px #9fccce;
  color: aliceblue;
  font-size: 48px;
  font-family: "Montserrat", sans-serif;
  display: none;
}
.header_code_img {
  width: 60px;
}
.header__text {
  color: bisque;
  width: 100%;
  font-size: 36px;
  font-family: "Montserrat", sans-serif;
}
.types {
  color: aquamarine;
  font-family: "Montserrat", sans-serif;
}
.header__left {
  width: 35%;
}
.header__img {
  width: 100%;
  border-radius: 10px;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .header__content {
    padding-top: 50px;
    flex-direction: column;
    height: 100%;
  }
  .header__right {
    width: 70%;
    margin-top: -60px;
    height: 90%;
  }
  .header__left {
    width: 70%;
    margin-top: 0;
  }
  .head__link {
    width: 70%;
    margin: 20px;
  }
}

@media (max-width: 576px) {
  .header__right {
    width: 100%;
    padding: 20px;
    height: 150px;
  }
  .header__img {
    width: 100%;
    height: 300px;
  }

  .header__text {
    font-size: 22px;
  }
  .header__left {
    width: 100%;
    padding: 20px;
    margin-bottom: 10px;
  }
  .head__link {
    text-align: center;
    width: 100%;
  }
}
@media (max-width: 405px) {
  .header__right {
    margin-top: -100px;
  }
}
.head__link {
  margin-top: 30px;
  width: 100%;
  z-index: 1;
}
.head__link a {
  text-decoration: none;
}
.head__icon {
  font-size: 26px;
  margin-right: 5px;
  color: blanchedalmond;
}

.about {
  width: 100%;
  padding-top: 30px;
}
.sec__title {
  color: #9fccce;
  font-size: 36px;
  text-align: center;
  font-family: "Ubuntu Sans", sans-serif;
  margin-top: 50px;
}
.sec__bottom::before {
  content: "";
  width: 40px;
  height: 2px;
  background: #15a9ff;
}
.sec__bottom {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}

.sec__bottom-line {
  height: 4px;
  width: 60px;
  background: #15a9ff;
  display: flex;
}
.sec__bottom::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #15a9ff;
}
.info {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}
.about__info {
  width: 40%;
  display: flex;
}
.info__text {
  color: rgb(255, 255, 255);
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
}
.about__name,
.about__surname,
.about__age,
.about__work,
.about__live,
.about__from,
.about__educ,
.about__course {
  color: aqua;
  font-family: "Montserrat", sans-serif;
}
.about__info i {
  color: white;
  margin-right: 20px;
  margin-top: -10px;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  --fa-animation-duration: 2s;
}
@media (max-width: 768px) {
  .info {
    flex-direction: column;
    align-items: center;
  }
  .about__info {
    width: 70%;
  }
}
@media (max-width: 576px) {
  .about__info {
    width: 100%;
  }
  .info__text {
    font-size: 16px;
  }
}

.skills {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}
.skill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-around;
}
.skill_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.skill__info {
  width: 90%;
  margin-top: 30px;
  display: flex;
  color: white;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
  padding: 5px;
  background-color: rgba(255, 200, 200, 0.06);
  border: 1px solid rgba(255, 200, 200, 0.26);
  box-shadow: 2px 5px rgba(255, 200, 200, 0.26);
}
.skill__name {
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.skill__name i {
  --fa-animation-duration: 1.5s;
  margin-left: -5px;
  margin-right: 10px;
}

.skill__title {
  margin-left: 10px;
  margin-bottom: 4px;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
}

.skill__percent {
  margin-right: 20px;
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skill__percent-perc {
  font-size: 12px;
  margin-left: 3px;
}
.percent {
  height: 4px;
  width: 80%;
  border-radius: 5px;
  border: 1px solid white;
}
.percnet__line {
  height: 100%;
  background: white;
}

@media (max-width: 576px) {
  .skill__info {
    width: 100%;
  }
  .skill__title {
    font-size: 16px;
    margin-left: 10px;
  }

  .skill__percent-title {
    font-size: 18px;
  }
  .skill__percent {
    margin-right: 10px;
  }
}

.work {
  display: flex;
  margin-top: 30px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 30px;
  height: 480px !important;
  overflow: auto;
  background: rgb(23, 22, 22) url("../images/stars.png") top center;
  border-radius: 30px;
}
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  cursor: pointer;
}

.work__items {
  border: 1px solid rgb(209, 167, 167);
  background: rgba(209, 167, 167, 0.171);
  box-shadow: 2px 3px rgb(209, 167, 167);
  width: 18%;
  border-radius: 10px;
  margin: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.work__items:hover .work__img {
  filter: blur(0);
  transform: scale(1);
}
.work__img {
  width: 100%;
  height: 220px;
  transition: transform 0.5s, filter 0.5s ease-in-out;
  filter: blur(1px);
  transform: scale(0.95);
  border-radius: 10px;
}
.work__info {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: flex-end;
  flex-grow: 1;
}
.work__title {
  font-size: 22px;
  color: #3997f8;
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 5px;
}
.work__text {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  padding-bottom: 15px;
  color: rgb(204, 175, 140);
}
.work__btn {
  border: 1px solid rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  display: block;
  text-align: center;
  font-size: 24px;
  color: blanchedalmond;
  transition-duration: 0.5s;
  font-family: "Montserrat", sans-serif;
  background: rgba(222, 184, 135, 0.327);
  box-shadow: 2px 2px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
}

.work__items:hover .work__btn {
  transform: scale(1);
  text-decoration: none;
  color: blanchedalmond;
}

.Marquee {
  width: 100vw;
  box-sizing: border-box;
  padding: 1em;
  color: #fff;
  font-weight: 200;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.Marquee-content {
  display: flex;
  animation: marquee 30s linear infinite running;
}
.Marquee-content:hover {
  animation-play-state: paused;
}
.Marquee-tag {
  width: 200px;
  margin: 0 0.5em;
  padding: 1em 0.5em;
  background: rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.Marquee-tag i {
  font-size: 40px;
  color: #eee;
}
.Marquee-tag svg {
  fill: #eee;
  height: 60px !important;
  width: 60px !important;
}

.Marquee-tag:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.03);
  cursor: pointer;
}
.Marquee-tag:hover > svg {
  fill: rgb(21, 21, 21);
}
.Marquee-tag:hover > i {
  color: rgb(21, 21, 21);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translate(-50%);
  }
}

@media (max-width: 992px) {
  .work__items {
    width: 30%;
  }
}
@media (max-width: 768px) {
  .work__items {
    width: 46%;
  }
}
@media (max-width: 576px) {
  .Marquee-content {
    animation: marquee 20s linear infinite running;
  }
  .Marquee-tag {
    width: 100px;
  }
  .Marquee-tag i {
    font-size: 30px;
  }
  .Marquee-tag svg {
    height: 30px !important;
    width: 30px !important;
  }
  .work__items {
    width: 100%;
  }
}

.contack {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}
.iteams {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 50px;
}
.iteam {
  border-radius: 5px;
  width: 20%;
  padding: 5px;
  background-color: rgba(255, 200, 200, 0.06);
  border: 1px solid rgba(255, 200, 200, 0.26);
  box-shadow: 2px 5px rgba(255, 200, 200, 0.26);
}
.contack__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
.contack__icon {
  font-size: 56px;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-right: 5px;
  margin-bottom: 15px;
}
.fa-phone-square-alt {
  color: green;
}
.fa-telegram {
  color: #3997f8;
}
.insta__icon {
  color: #e1006a;
}
.contact__title {
  font-size: 32px;
  font-family: "Montserrat", sans-serif;
  color: bisque;
}
.contack__tel:hover {
  text-decoration: none;
}
.tel__num,
.tel__num-act {
  color: rgb(235, 174, 99);
  margin-bottom: 0;
}
.contack__tel:hover .tel__num-act {
  display: block;
}
.contack__tel:hover .tel__num {
  display: none;
}
.tel__num-act {
  display: none;
}

@media (max-width: 992px) {
  .iteam {
    width: 40%;
    margin-bottom: 30px;
  }
}
@media (max-width: 576px) {
  .iteam {
    width: 180px;
    height: 180px;
    margin-bottom: 30px;
  }
  .contact__title {
    font-size: 22px;
  }
}
.footer {
  background: rgb(17, 17, 17) url("../images/stars.png") top center;
}
.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}
.footer__title {
  font-size: 36px;

  font-family: "Ubuntu Sans", sans-serif;
}
.footer__title code {
  color: aliceblue !important;
}
.footer__text {
  font-size: 18px;
  text-align: center;
  color: lightyellow;
  margin-bottom: 50px;
}
.fa-github,
.fa-battle-net,
.fa-facebook,
.fa-linkedin,
.fa-clock {
  margin-left: 5px;
  margin-right: 5px;
  font-size: 24px;
  color: #fff;
}
.linkedin:hover {
  text-decoration: none;
}
.facebook:hover {
  text-decoration: none;
}
.github:hover {
  text-decoration: none;
}
.battle:hover {
  text-decoration: none;
}
.clock:hover {
  text-decoration: none;
}

.made {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.fa-heart,
.fa-laptop-code {
  font-size: 12px;
  margin: 0;
  padding: 0;
  color: red;
}
.made__text {
  margin: 3px;
  color: red;
}

#top {
  display: none;
  position: fixed;
  right: 1%;
  bottom: 1%;
  cursor: pointer;
  z-index: 10;
}

#top img {
  padding: 5px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: rgba(113, 114, 116, 0.348);
}

.sectiona {
  position: absolute;
  top: 0;
  left: 30%;
  height: 100vh;
}
.star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
    0 0 0 8px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 1);
  animation: animate 3s linear infinite;
}
.star::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, #fff, transparent);
}
@keyframes animate {
  0% {
    transform: rotate(315deg) translateX(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: rotate(315deg) translateX(-1000px);
    opacity: 0;
  }
}
