@import url("./reset.css");
@import url("./animations.css");

/*
  1. Global Codes
  2. Navbar
  3. Welcome
  4. About
  5. Skills
  6. Works
  7. Learn Map
  8. Contact
  9. Footer
*/

/* [================| 1. Global |================] */

@font-face {
  font-family: estedad-bold;
  src: url("../assets/fonts/Estedad-Black.woff2");
}

@font-face {
  font-family: estedad-reg;
  src: url("../assets/fonts/Estedad-Regular.woff2");
}

@font-face {
  font-family: negareh;
  src: url("../assets/fonts/DigiNegare-Bold.woff2");
}

@font-face {
  font-family: console;
  src: url("../assets/fonts/Lucida\ Console.woff2");
}

:root {
  --font-estedad-bold: estedad-bold;
  --font-estedad-reg: estedad-reg;
  --font-negareh: negareh;
  --font-console: console;
}

:root {
  --color-first: #2aa198;
  --color-second: #1f7e73;
  --color-third: #7fd6c2;
  --map-highlight: var(--color-first);
}

.light-mode {
  --color-heading: #111111;
  --color-default: #5e6a75;
  --color-lines: #c3c7cb;
  --color-background: #f6f7f8;
  --color-background2: #e8e8e8;
}

.dark-mode {
  --color-heading: #eaeaea;
  --color-default: #9ea5ab;
  --color-lines: #4a525a;
  --color-background: #0f1113;
  --color-background2: #1a1d21;
}

body {
  background-color: var(--color-background);
  overflow-x: hidden;
  color: var(--color-default);
  font-family: var(--font-estedad-reg);
  user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-estedad-bold);
  color: var(--color-heading);
}

.container {
  width: 1200px;
  margin: 0 auto;
}

img,
a {
  -webkit-user-drag: none;
}

/* [================| 2. Navbar |================] */

/* [================| 3. Welcome |================] */

.welcome--body {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(0deg, #1a1d21, #0f1113);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: fixed;
}

.squares {
  width: 100%;
  height: calc(100% - 20px);
  display: flex;
  justify-content: space-around;
  overflow: hidden;
  position: absolute;
  filter: blur(10px);
}

.square {
  animation: squares 9.5s linear infinite;
  align-self: flex-end;
  width: 1em;
  height: 1em;
  transform: translateY(100%);
  background: #eaeaea;
  &:nth-child(2) {
    height: 1.5em;
    width: 3em;
    animation-delay: 1s;
    animation-duration: 17s;
    -webkit-filter: blur(5px);
  }
  &:nth-child(3) {
    height: 2em;
    width: 1em;
    animation-delay: 1.5s;
    animation-duration: 8s;
    -webkit-filter: blur();
  }
  &:nth-child(4) {
    height: 1em;
    width: 1.5em;
    animation-delay: 0.5s;
    -webkit-filter: blur(3px);
    animation-duration: 13s;
  }
  &:nth-child(5) {
    height: 1.25em;
    width: 2em;
    animation-delay: 4s;
    -webkit-filter: blur(2px);
    animation-duration: 11s;
  }
  &:nth-child(6) {
    height: 2.5em;
    width: 2em;
    animation-delay: 2s;
    -webkit-filter: blur(1px);
    animation-duration: 9s;
  }
  &:nth-child(7) {
    height: 5em;
    width: 2em;
    -webkit-filter: blur(2.5px);
    animation-duration: 12s;
  }
  &:nth-child(8) {
    height: 1em;
    width: 3em;
    animation-delay: 5s;
    -webkit-filter: blur(6px);
    animation-duration: 18s;
  }
  &:nth-child(9) {
    height: 1.5em;
    width: 2em;
    -webkit-filter: blur(0.5px);
    animation-duration: 9s;
  }
  &:nth-child(9) {
    height: 3em;
    width: 2.4em;
    animation-delay: 6s;
    -webkit-filter: blur(0.5px);
    animation-duration: 12s;
  }
}

.welcome--body .welcome--title {
  width: fit-content;
  direction: ltr;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.welcome--body .welcome--title span {
  font-family: var(--font-estedad-bold);
  font-size: 5rem;
  color: #eaeaea;
  margin: 0 5px;
}

.welcome--body .welcome--title span.char {
  opacity: 0;
  display: inline-block;
  transform: translateY(8px);
  animation: type-in 0.18s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.welcome--body .welcome--title span:nth-child(1),
.welcome--body .welcome--title span:nth-child(5),
.welcome--body .welcome--title span:nth-child(13),
.welcome--body .welcome--title span:nth-child(14),
.welcome--body .welcome--title span:nth-child(15),
.welcome--body .welcome--title span:nth-child(16),
.welcome--body .welcome--title span:nth-child(17),
.welcome--body .welcome--title span:nth-child(18),
.welcome--body .welcome--title span:nth-child(19) {
  color: var(--color-first);
}

.welcome--body .welcome--texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.welcome--body .welcome--texts p {
  font-family: negareh;
  font-size: 3rem;
  color: var(--color-second);
}

.welcome--body .welcome--texts p.rotating {
  display: inline-block;
  position: relative;
}
.welcome--body .welcome--texts p.rotating::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 1.05em;
  background: var(--color-second);
  margin-left: 6px;
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}

/* [================| 4. About |================] */

.about--body {
  background-color: var(--color-background);
  position: relative;
  z-index: 1000;
  top: 100vh;
  padding: 100px 0;
}

.about--body .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.about--body .about--right {
  width: 33%;
}

.about--body .about--right img {
  width: 80%;
  border-radius: 100% 50% 50% 100% / 75% 69% 69% 75%;
  box-shadow: 2px 10px var(--color-lines);
}

.about--body .about--left {
  width: 67%;
}

.about--body .about--left h2 {
  font-size: 3.5rem;
  font-family: var(--font-negareh);
  margin-bottom: 20px;
}

.about--body .about--left h1 {
  font-size: 1.3rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.about--body .about--left p {
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
  margin-bottom: 20px;
}

.about--body .about--left .socials--box {
  width: 200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.about--body .about--left .socials--box a {
  width: 40px;
  height: 40px;
  border-radius: 100% 50% 50% 100% / 75% 69% 69% 75%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

body.light-mode .about--body .about--left .socials--box a {
  background-color: #111111;
}

body.dark-mode .about--body .about--left .socials--box a {
  background-color: #eaeaea;
}

.about--body .about--left .socials--box a:hover {
  background-color: var(--color-first) !important;
  transition: all 0.2s ease;
}

.about--body .about--left .socials--box a img {
  width: 70%;
}

.about--body .about--left .socials--box a:nth-child(1) img {
  width: 55%;
}

body.dark-mode .about--body .about--left .socials--box a img:first-child {
  display: none;
}

body.light-mode .about--body .about--left .socials--box a img:last-child {
  display: none;
}

/* [================| 5. Skills |================] */

.skills--body {
  position: relative;
  top: 100vh;
  background-color: var(--color-background2);
  z-index: 1000;
  padding: 50px 0;
}

body.light-mode .skills--body {
  background-color: var(--color-background2);
  background-image: radial-gradient(
    rgba(0, 77, 68, 0.12) 1.4px,
    transparent 1.4px
  );
  background-size: 22px 22px;
}

body.dark-mode .skills--body {
  background-color: var(--color-background2);
  background-image: radial-gradient(
    rgba(0, 255, 230, 0.07) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
}

.skills--body .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills--body h2 {
  font-size: 3.5rem;
  font-family: var(--font-negareh);
  margin-bottom: 80px;
  position: relative;
}

.skills--body h2::before {
  content: "⌟";
  position: absolute;
  top: 50%;
  left: 98%;
}

.skills--body h2::after {
  content: "⌜";
  position: absolute;
  bottom: 5%;
  right: 98%;
}

.skills--body ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  direction: ltr;
}

.skills--body ul li {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.skills--body ul li .group--title--container {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
}

.skills--body ul li .group--title--container .group--title {
  background-color: var(--color-background2);
  width: fit-content;
  font-size: 1.5rem;
  padding-right: 15px;
}

.skills--body ul li .group--title--container .line {
  width: 100%;
  height: 1px;
  background-color: var(--color-lines);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  border-radius: 1px;
}

.skills--body ul li .group--body {
  width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
}

.skills--body ul li .group--body .skill--row {
  width: 48%;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.skills--body ul li .group--body .skill--row .title {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 15px;
}

.skills--body ul li .group--body .skill--row .title h4 {
  background-color: var(--color-background2);
  font-family: var(--font-console);
  font-weight: bold;
  font-size: 16px;
  z-index: 100;
}

.skills--body ul li .group--body .skill--row .fill--box {
  width: 100%;
  height: 7px;
  background-color: var(--color-background);
  border-radius: 10px;
  position: relative;
  border: 1px solid var(--color-lines);
}

.skills--body ul li .group--body .skill--row .fill--box .fill {
  width: 0;
  transition: width 1.5s ease-in-out;
  height: 100%;
  background-color: var(--color-second);
  position: absolute;
  border-radius: 10px;
}

.skills--body ul li .group--body .skill--row .fill--box.filled .fill {
  width: var(--target-width);
}

.skills--body ul li .group--body .skill--row .fill--box .fill span {
  color: var(--color-heading);
  position: absolute;
  top: -30px;
  right: -20px;
  font-size: 15px;
  font-weight: bold;
  z-index: 50;
}

/* [================| 6. Works |================] */

.works--body {
  position: relative;
  top: 100vh;
  background-color: var(--color-background);
  z-index: 1000;
  padding: 50px 0;
}

.works--body .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.works--body h2 {
  font-size: 3.5rem;
  font-family: var(--font-negareh);
  margin-bottom: 80px;
  position: relative;
}

.works--body h2::before {
  content: "⌟";
  position: absolute;
  top: 50%;
  left: 98%;
}

.works--body h2::after {
  content: "⌜";
  position: absolute;
  bottom: 5%;
  right: 98%;
}

.works--body ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.works--body ul .box {
  width: 30%;
  height: 250px;
  background-color: var(--color-first);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--color-lines);
  margin-bottom: 20px;
}

.works--body ul .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.works--body ul .box:hover img {
  filter: brightness(10%);
  transition: all 0.3s ease;
}

.works--body ul .box h3 {
  width: 100%;
  position: absolute;
  font-family: var(--font-negareh);
  font-size: 3.5rem;
  left: 50%;
  bottom: -30%;
  transform: translate(-50%, 0);
  transition: all 0.3s ease;
  text-align: center;
  color: #eaeaea;
}

.works--body ul .box:hover h3 {
  transform: translate(-50%, -300%);
  transition: all 0.3s ease-in-out;
}

/* [================| 7. Learn Map |================] */

.learn--map--body {
  height: 1800px;
  position: relative;
  top: 100vh;
  background-color: var(--color-background2);
}

.learn--map--container {
  width: 100%;
  height: 93%;
  padding: 50px 0;
  background-image:
    linear-gradient(rgba(120, 120, 120, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 120, 120, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;

  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
}

.learn--map--body .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.learn--map--body h2 {
  font-size: 3.5rem;
  font-family: var(--font-negareh);
  margin-bottom: 80px;
  position: relative;
}

.learn--map--body h2::before {
  content: "⌟";
  position: absolute;
  top: 50%;
  left: 98%;
}

.learn--map--body h2::after {
  content: "⌜";
  position: absolute;
  bottom: 5%;
  right: 98%;
}

.learn--map--body .map {
  width: 100%;
  height: 100%;
  position: relative;
}

.learn--map--body .map .box {
  height: 60px;
  padding: 0 25px;
  background-color: var(--color-background);
  border: 1px solid var(--color-lines);
  border-radius: 10px;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 5px var(--color-lines);
  direction: ltr;
}

.learn--map--body .map .box h3 {
  font-family: var(--font-console);
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1.5rem;
  color: var(--color-heading);
  transition: color 0.5s ease;
}

.learn--map--body .map .v--line {
  width: 3px;
  height: 80px;
  background-color: var(--color-lines);
  position: absolute;
  z-index: -1;
  transition: background-color 0.5s ease;
}

.learn--map--body .map .b--line {
  width: 400px;
  height: 80px;
  border-top: 3px solid var(--color-lines);
  border-right: 3px solid var(--color-lines);
  border-left: 3px solid var(--color-lines);
  border-radius: 5px 5px 0 0;
  position: absolute;
  z-index: -1;
  transition: border-color 0.5s ease;
}

.learn--map--body .map .box.in-view h3 {
  color: var(--map-highlight);
}

.learn--map--body .map .v--line.in-view {
  background-color: var(--map-highlight);
}

.learn--map--body .map .lines--box .v--line.in-view {
  background-color: var(--map-highlight) !important;
  width: 3px !important;
  z-index: 0 !important;
}

.learn--map--body .map .b--line.in-view {
  border-top-color: var(--map-highlight);
  border-right-color: var(--map-highlight);
  border-left-color: var(--map-highlight);
}

/* apply highlight to pseudo elements that draw connecting lines */
.learn--map--body .map .box.in-view::before,
.learn--map--body .map .box.in-view::after {
  background-color: var(--map-highlight) !important;
  background: var(--map-highlight) !important;
  border-color: var(--map-highlight) !important;
  transition:
    background-color 0.5s ease,
    border-color 0.5s ease;
}

.learn--map--body .map .box.html {
  left: 50%;
  transform: translateX(-50%);
}

.learn--map--body .map .v--line:nth-child(2) {
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
}

.learn--map--body .map .box.css {
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
}

.learn--map--body .map .box.css::before {
  content: "";
  width: 250px;
  height: 3px;
  background-color: var(--color-lines);
  position: absolute;
  left: 100%;
  top: 55%;
  transform: translateY(-50%);
  z-index: -1;
}

.learn--map--body .map .box.css::after {
  content: "";
  width: 250px;
  height: 3px;
  background-color: var(--color-lines);
  position: absolute;
  right: 100%;
  top: 55%;
  transform: translateY(-50%);
  z-index: -1;
}

.learn--map--body .map .v--line:nth-child(4) {
  top: 202px;
  left: 50%;
  transform: translateX(-50%);
}

.learn--map--body .map .b--line:nth-child(5) {
  top: 280px;
  left: 50%;
  transform: translateX(-50%);
}

.learn--map--body .map .box.photoshop {
  top: 140px;
  left: calc(50% + 400px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.wordpress {
  top: 140px;
  left: calc(50% - 400px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.javascript {
  top: 360px;
  left: calc(50% + 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.javascript::before {
  content: "";
  width: 150px;
  height: 3px;
  background-color: var(--color-lines);
  position: absolute;
  left: 100%;
  top: 55%;
  transform: translateY(-50%);
  z-index: -1;
}

.learn--map--body .map .box.node {
  top: 360px;
  left: calc(50% + 540px);
  transform: translateX(-50%);
}

.learn--map--body .map .v--line:nth-child(9) {
  height: 250px;
  top: 422px;
  left: calc(50% + 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.php {
  top: 360px;
  left: calc(50% - 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.php::after {
  content: "";
  width: 170px;
  height: 3px;
  background-color: var(--color-lines);
  position: absolute;
  right: 100%;
  top: 55%;
  transform: translateY(-50%);
  z-index: -1;
}

.learn--map--body .map .v--line:nth-child(12) {
  top: 422px;
  left: calc(50% - 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.sql {
  top: 360px;
  left: calc(50% - 470px);
  transform: translateX(-50%);
}

.learn--map--body .map .v--line:nth-child(14) {
  top: 422px;
  left: calc(50% - 470px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.laravel {
  top: 500px;
  left: calc(50% - 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.laravel::before {
  content: "";
  width: 318px;
  height: 3px;
  background-color: var(--color-lines);
  position: absolute;
  left: 100%;
  top: 55%;
  transform: translateY(-50%);
  z-index: -1;
}

.learn--map--body .map .box.laravel::after {
  content: "";
  width: 120px;
  height: 3px;
  background-color: var(--color-lines);
  position: absolute;
  right: 100%;
  top: 55%;
  transform: translateY(-50%);
  z-index: -1;
}

.learn--map--body .map .box.python {
  top: 670px;
  left: calc(50% - 400px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.django {
  top: 832px;
  left: calc(50% - 400px);
  transform: translateX(-50%);
}

.learn--map--body .map .v--line:nth-child(17) {
  height: 140px;
  top: 700px;
  left: calc(50% - 400px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.mysql {
  top: 500px;
  left: calc(50% - 470px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.bootstrap {
  top: 500px;
  left: calc(50% + 39.75px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.react {
  top: 670px;
  left: calc(50% + 200px);
  transform: translateX(-50%);
  z-index: 200;
}

.learn--map--body .map .v--line:nth-child(18) {
  top: 735px;
  left: calc(50% + 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .lines--box {
  position: absolute;
  top: 700px;
  left: calc(50% + 200px);
  transform: translateX(-50%);
  width: 650px;
  height: 130px;
  border: 3px solid var(--color-lines);
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  z-index: -1;
}

.learn--map--body .map .lines--box.in-view {
  border-color: var(--map-highlight) !important;
  z-index: 0 !important;
  transition:
    border-color 0.45s ease,
    box-shadow 0.35s ease;
}

.learn--map--body .map .lines--box .v--line {
  height: 130px;
  left: 50%;
  transform: translateX(-50%);
}

.learn--map--body .map .box.tailwind {
  top: 832px;
  left: calc(50% + 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.git {
  top: 832px;
  left: calc(50% + 525px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.supabase {
  top: 832px;
  left: calc(50% - 125px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.networkplus {
  top: 1050px;
  left: 50%;
  transform: translateX(-50%);
}

.learn--map--body .map .v--line:nth-child(27) {
  top: 1115px;
  left: 50%;
  transform: translateX(-50%);
}

.learn--map--body .map .b--line:nth-child(28) {
  top: 1195px;
  left: 50%;
  transform: translateX(-50%);
}

.learn--map--body .map .box.windows {
  top: 1278px;
  left: calc(50% - 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.batch {
  top: 1278px;
  left: calc(50% - 495px);
  transform: translateX(-50%);
}

.learn--map--body .map .v--line:nth-child(30) {
  top: 1345px;
  left: calc(50% - 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.linux {
  top: 1425px;
  left: calc(50% - 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.kali {
  top: 1570px;
  left: calc(50% - 200px);
  transform: translateX(-50%);
}

.learn--map--body .map .box.security {
  top: 1278px;
  left: calc(50% + 200px);
  transform: translateX(-50%);
}

/* [================| 8. Contact |================] */

.contact--body {
  position: relative;
  top: 100vh;
  z-index: 1000;
  padding: 50px 0;
  background-image: url("../assets/files/city.webp");
  background-size: cover;
  background-attachment: fixed;
  background-position: top;
  background-size: cover;
}

.contact--body .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

body.light-mode .contact--body {
  background-color: #fff;
}

body.dark-mode .contact--body {
  background-color: #000;
}

.contact--body .box {
  width: 25%;
  height: 80px;
  padding: 20px 25px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  backdrop-filter: blur(3px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  background-color: rgba(17, 25, 40, 0.75);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
}

.contact--body .box img {
  width: 35px;
  border-radius: 50%;
  outline: 2px solid var(--color-lines);
  outline-offset: 8px;
  /* place spacing between image and text on the inline end side
     (RTL -> left, LTR -> right) */
  margin-inline-end: 25px;
}

.contact--body .box p {
  font-size: 18px;
  line-height: 2;
  color: #eaeaea;
}

.contact--body .box:nth-child(2) p {
  font-size: 16px;
}

/* [================| 9. Footer |================] */

footer {
  position: relative;
  top: 100vh;
  background-color: var(--color-background2);
  padding: 30px;
  text-align: center;
}

footer .socials--box {
  width: 200px;
  margin: 0 auto;
  margin-bottom: 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

footer .socials--box a {
  width: 40px;
  height: 40px;
  border-radius: 100% 50% 50% 100% / 75% 69% 69% 75%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

footer .socials--box a:hover {
  background-color: var(--color-first) !important;
  transition: all 0.2s ease;
}

body.light-mode footer .socials--box a {
  background-color: #111111;
}

body.dark-mode footer .socials--box a {
  background-color: #eaeaea;
}

footer .socials--box a:nth-child(1) img {
  width: 55%;
}

footer .socials--box a img {
  width: 70%;
}

body.light-mode .socials--box a img:nth-child(2) {
  display: none;
}

body.dark-mode footer .socials--box a img:nth-child(1) {
  display: none;
}

footer .copy--r {
  font-size: 14px;
  color: var(--color-default);
}

@media only screen and (max-width: 480px) {
  .container {
    width: 100%;
  }

  .welcome--body {
    width: 100%;
  }

  .welcome--body .welcome--title {
    width: 340px;
    flex-wrap: wrap;
  }

  .welcome--body .welcome--title span {
    font-size: 2.2rem;
    line-height: 1.5;
  }

  .welcome--body .welcome--texts p {
    font-size: 2rem;
  }

  .about--body {
    width: 100%;
    overflow: hidden;
  }

  .about--body .container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .about--body .about--right {
    width: 90%;
    text-align: center;
    margin-bottom: 40px;
  }

  .about--body .about--right img {
    width: 70%;
  }

  .about--body .about--left {
    width: 90%;
    text-align: center;
  }

  .about--body .about--left h1 {
    line-height: 2;
  }

  .skills--body .container {
    align-items: center;
  }

  .skills--body h2 {
    font-size: 3rem;
  }

  .skills--body ul {
    width: 80%;
  }

  .skills--body ul li .group--body {
    flex-direction: column;
  }

  .skills--body ul li .group--body .skill--row {
    width: 100%;
  }

  .works--body .container {
    align-items: center;
  }

  .works--body h2 {
    font-size: 3rem;
  }

  .works--body ul {
    width: 90%;
    flex-direction: column;
  }

  .works--body ul .box {
    width: 100%;
  }

  .learn--map--body {
    overflow: hidden;
    height: 900px;
  }

  .learn--map--body h2 {
    font-size: 3rem;
  }

  .learn--map--body .map {
    transform: scale(0.35);
  }

  .contact--body .container {
    flex-direction: column;
  }

  .contact--body .box {
    width: 70%;
    margin-bottom: 20px;
  }

  .contact--body .box:last-child {
    margin-bottom: 0;
  }

  .learn--map--body .map .lines--box {
    width: 540px;
  }

  .learn--map--body .map .box.git {
    left: calc(50% + 470px);
  }

  .learn--map--body .map .box.supabase {
    left: calc(50% - 80px);
  }

  .learn--map--body .map .box.tailwind {
    width: 232px;
  }

  .learn--map--body .map .box.windows::after {
    width: 70px;
  }

  .learn--map--body .map .box.batch {
    left: calc(50% - 445px);
  }

  .learn--map--body .map .box.javascript::before {
    width: 40px;
  }

  .learn--map--body .map .box.node {
    left: calc(50% + 430px);
  }

  .learn--map--body .map .box.php::after {
    width: 120px;
  }

  .learn--map--body .map .box.laravel::after {
    width: 70px;
  }

  .learn--map--body .map .box.sql {
    left: calc(50% - 420px);
  }

  .learn--map--body .map .box.mysql {
    left: calc(50% - 420px);
  }

  .learn--map--body .map .v--line:nth-child(14) {
    left: calc(50% - 420px);
  }

  .learn--map--body .map .box.css::after {
    width: 160px;
  }

  .learn--map--body .map .box.css::before {
    width: 160px;
  }

  .learn--map--body .map .box.photoshop {
    left: calc(50% + 310px);
  }

  .learn--map--body .map .box.wordpress {
    left: calc(50% - 310px);
  }

  footer .copy--r {
    font-size: 10px;
    line-height: 1.5;
  }

  .skills--body ul li .group--title--container .group--title {
    font-size: 1.2rem;
  }
}
