@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

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

:root {
  --main-bg: #0d1117;
  --secondary-bg: #1d2126;
  --white: #e6edf3;
  --highlighted: #1f6feb;
  --highlighted2: #00b4d8;
  --gray: #8b949e;
  --transparent-bg: rgba(29, 33, 38, 0.7);
  --glass: linear-gradient(
    to bottom right,
    var(--transparent-bg),
    var(--highlighted2),
    var(--transparent-bg)
  );
  --quicksand: 'Quicksand', sans-serif;
}

body {
  background: var(--main-bg);
  color: var(--white);
  font-family: var(--quicksand);
}

html,
body {
  scroll-behavior: smooth;
}

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

header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 25px;
  width: 100%;
  max-width: 750px;
  padding: 20px 20px;
  border-radius: 30px;
  border: 2px solid var(--highlighted);
  box-shadow: 0 0 50px -20px var(--white);
  z-index: 2;
  transition: all 0.7s;
}

header:hover {
  box-shadow: 0 0 50px -10px var(--white);
  transform: scale(1.05);
}

#hamburguer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-direction: column;
}

.hamburguer-line {
  width: 30px;
  height: 3px;
  background: var(--highlighted);
  border-radius: 5px;
  transition: background 0.3s;
}

#hamburguer-content {
  display: flex;
  flex-direction: column;
  opacity: 0;
  appearance: hidden;
  position: fixed;
  transform: translateY(15px);
  top: 125px;
  gap: 25px;
  background: var(--secondary-bg);
  padding: 20px 50px;
  border-radius: 30px;
  box-shadow: 0 0 20px -10px var(--white);
  z-index: 1;
  transition: all 0.5s;
}

#hamburguer-content.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#hamburguer-content.no-active {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  appearance: hidden;
  transform: translateY(15px);
}

#hamburguer:hover .hamburguer-line {
  background: var(--highlighted2);
}

.glass {
  background: var(--glass);
  background-size: 400% 400%;
  background-position: 0% 0%;
  backdrop-filter: blur(5px);
  transition: all 0.7s;
}

.glass:hover {
  background-position: 100% 100%;
}

.highlighted {
  background: linear-gradient(
    to left,
    var(--highlighted),
    var(--highlighted2),
    var(--highlighted)
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 1000;
}

main {
  margin-top: 100px;
}

section {
  min-height: calc(50vh - 83px);
  margin: 100px 0;
  text-align: center;
}

#hero {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  overflow: hidden;
  gap: 50px;
  padding: 50px;
  line-height: 1.5;
  margin-top: 200px;
}

#hero-left {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  width: 500px;
}

button {
  width: 100%;
  height: 30px;
  background: var(--secondary-bg);
  color: var(--white);
  font-weight: bold;
  border: none;
  border-radius: 20px;
  margin-top: 10px;
  filter: drop-shadow(0 5px 0 var(--highlighted));
  transition: all 0.3s;
}

button:hover {
  transform: translateY(1px);
  filter: drop-shadow(0 4px 0 var(--highlighted));
  cursor: pointer;
}

button:active {
  transform: translateY(4px);
  filter: drop-shadow(0 1px 0 var(--highlighted));
}

#hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-right i {
  font-size: 150px;
  color: var(--highlighted2);
  animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

#about-me {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px 100px;
}

#about-me .glass {
  text-align: left;
}

#about-me .glass {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 45px;
  border-radius: 20px;
  padding: 20px;
  max-width: 1100px;
}

#about-me .glass:hover {
  transform: scale(1.05);
}

#about-right {
  min-width: 400px;
  max-width: 700px;
}

img {
  width: 250px;
  border-radius: 100%;
  transition: all 0.3s;
}

h3,
h4,
h5,
h6 {
  text-align: center;
  margin-bottom: 40px;
}

#about-right p {
  margin-bottom: 20px;
}

#habilities {
  padding: 20px;
}

#habilities-main-block {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 50px;
}

#habilities-block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#hability-desc-block,
#habilities-block {
  width: 100%;
  max-width: 500px;
  height: 250px;
}

#hability-desc-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hability {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100px;
  height: 100px;
  border: 2px solid var(--highlighted2);
  border-radius: 20px;
  margin: 5px;
  padding: 10px;
  gap: 5px;
}

.hability i {
  font-size: 24px;
  display: block;
  margin: 0 auto;
}

i.fa-html5 {
  color: #e34f26;
}

i.fa-css3-alt {
  color: #1572b6;
}

i.fa-js {
  color: #f7df1e;
}

i.fa-git-alt {
  color: #F34F29;
}

i.fa-github {
  color: var(--white);
}

i.fa-vuejs {
  color: #42B883;
}

i.fa-globe {
  color: var(--highlighted);
}

.hability h4 {
  font-size: 14px;
  margin: 0;
  line-height: 1.2;
}

.hability:hover {
  transform: scale(1.1);
}

#projects-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.project {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  width: 300px;
  height: 500px;
  border-radius: 25px;
  padding: 20px;
  text-align: center;
}

.project * {
  width: 100%;
}

.project:hover {
  transform: translateY(-10px);
}

.project-img {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--secondary-bg);
  height: 150px;
  border-radius: 20px;
}

.project h4 {
  margin: 10px;
}

.project p:nth-child(3) {
  margin: 10px;
}

.project-status {
  margin: 5px;
  border-radius: 10px;
  padding: 5px;
}

.project-status.blank {
  border: 2px solid var(--white);
}

.project-status.working {
  background: var(--highlighted);
}

.project-status.done {
  background: #228b22;
}

.project-used {
  margin-top: 20px;
  border-top: 1px solid var(--white);
  padding: 5px;
}

.project-used i {
  font-size: 20px;
}


.project-btns {
  font-size: 15px;
}

#contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--secondary-bg);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.contacts:hover {
  border: 2px solid var(--highlighted);
}

.contacts a {
  color: var(--highlighted2);
  text-decoration: none;
  transition: all 0.3s;
}

.contacts a:hover h4 {
  color: var(--white);
  text-shadow: 0 0 5px var(--white);
}

.contacts h4 {
  margin-bottom: 0;
  transition: all 0.3s;
  text-decoration: none;
}


.contacts i {
  font-size: 35px;
}

#contact p:last-child {
  margin-top: 35px;
}

footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  background: var(--secondary-bg);
  padding: 50px;
  text-align: center;
  /* border-top: 1px solid var(--white); */
  box-shadow: 0 0px 20px -10px var(--white);
}

footer * {
  width: 300px;
  margin: 10px 0;
}

footer a {
  color: var(--highlighted);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

footer a:hover {
  color: var(--highlighted2);
  text-decoration: underline;
}

@media (max-width: 426px) {
  #hero {
    text-align: center;
  }
}

@media (min-width: 319px) and (max-width: 769px) {
  header {
    min-width: 275px;
    max-width: 650px;
  }

  #hero-right {
    display: none;
  }

  #about-me .glass {
    flex-direction: column;
    text-align: center;
  }

  #about-left img {
    width: 200px;
  }

  #about-right {
    max-width: 500px;
    min-width: 250px;
  }

  #habilities-main-block {
    flex-direction: column;
    gap: 0;
    margin-top: -50px;
  }

  #hability-desc-block,
  #habilities-block {
    width: 100%;
    min-width: 275px;
    max-width: 600px;
  }
}

@media (min-width: 1000px) {
  header {
    min-width: 900px;
  }
}
