@media screen and (max-width: 768px) {
  .personal-cotact-container {
    flex-wrap: wrap; } }

@media screen and (max-width: 500px) {
  .nav-bar {
    gap: 3.5rem !important; }
    .nav-bar a {
      font-size: 1rem !important; }
  .main .primary-text {
    font-size: 2.3rem !important; }
  .main .about-btn {
    width: 100px !important; }
    .main .about-btn h3 {
      font-size: 1rem; } }

body {
  background: url("../images/bg.png");
  background-size: cover;
  background-attachment: fixed; }
  body#home-body {
    overflow: hidden; }
  body::after {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: -1; }

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

.nav-bar {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  justify-content: center;
  padding-block: 3rem;
  gap: 7rem; }
  .nav-bar .nav-item a {
    text-decoration: none;
    color: #563d8f;
    font-size: 1.5rem; }
    .nav-bar .nav-item a.current {
      color: #fefffe; }
    .nav-bar .nav-item a:hover {
      color: #fafffa; }

.main {
  color: #fefffe;
  height: 100vh;
  padding: 3rem 10vw; }
  .main .primary-text {
    font-size: clamp(4rem, 10vw, 10rem); }
  .main .about-btn {
    display: block;
    margin-top: 50px;
    text-align: center;
    background: rgba(86, 61, 143, 0.9);
    width: 130px;
    padding: 20px 10px;
    border-radius: 35px;
    text-decoration: none; }
    .main .about-btn h3 {
      color: #fefffe; }

.secondary-text {
  color: #563d8f; }

.about-main {
  display: flex;
  flex-direction: column; }
  .about-main .personal-cotact-container {
    display: flex;
    gap: 3rem; }
    .about-main .personal-cotact-container .contact-me {
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center; }
      .about-main .personal-cotact-container .contact-me h2 {
        font-size: 2rem; }
      .about-main .personal-cotact-container .contact-me .contact-container {
        border: solid 3px #563d8f;
        border-radius: 10px;
        display: grid;
        padding: 2rem;
        grid-template-areas: 'item item' 'item item';
        justify-content: center;
        gap: 2rem; }
        .about-main .personal-cotact-container .contact-me .contact-container a {
          all: unset;
          cursor: pointer; }
          .about-main .personal-cotact-container .contact-me .contact-container a:hover {
            color: #563d8f; }
        .about-main .personal-cotact-container .contact-me .contact-container .i {
          grid-area: item;
          font-size: 5rem; }
  .about-main .bg-overlay {
    background: rgba(254, 255, 254, 0.05);
    border-radius: 10px;
    padding: 20px; }
  .about-main .profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: solid 3px #563d8f; }
    .about-main .profile-img img {
      width: 200px; }
  .about-main .idk {
    display: flex;
    align-items: center; }
    .about-main .idk h2 {
      margin-left: 10px; }
    .about-main .idk span {
      color: #563d8f; }
    .about-main .idk a {
      text-decoration: none;
      color: #00a652; }
  .about-main .skills-section {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem; }
    .about-main .skills-section .skill {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 5px; }
    .about-main .skills-section .scroller {
      margin-top: 10px;
      border-bottom: solid 3px #fefffe;
      width: 100%;
      padding-block: 15px;
      mask-image: linear-gradient(90deg, transparent, white, white, transparent);
      overflow: hidden; }
      .about-main .skills-section .scroller .inner-scroller {
        width: max-content;
        display: flex;
        gap: 2rem;
        animation: scroll var(--_animation_speed, 50s) var(--_animation_direction, forwards) infinite linear;
        animation-delay: var(--_animation_delay, 0s); }
        .about-main .skills-section .scroller .inner-scroller:hover {
          animation-play-state: paused; }
      .about-main .skills-section .scroller[data-direction="left"] {
        --_animation_direction:reverse;
        --_animation_delay:.5s
            ; }
      .about-main .skills-section .scroller[data-speed="fast"] {
        --_animation_speed:30s; }
  .about-main .experiance {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding-bottom: 3rem; }
    .about-main .experiance h2 {
      font-size: 2rem; }

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 1rem)); } }

.ubuntu-light {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal; }

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal; }

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal; }

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal; }

.ubuntu-light-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: italic; }

.ubuntu-regular-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: italic; }

.ubuntu-medium-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: italic; }

.ubuntu-bold-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic; }
