/*-----------------------------------*\
  #main.css
\*-----------------------------------*/

/**
 * TABLE OF CONTENT
 *
 * COMPONENTS
 * Btn............................Buttons style
 * Slider.........................Slider style
 * Card...........................Cards style
 * MAIN CONTENT
 * Header.........................Modify header style
 * Hero...........................Hero styles
 * About..........................About style
 * Cta............................Cta style
 * Media queries..................Responsive for all devices
 */

/*-----------------------------------*\
  #COMPONENTS
\*-----------------------------------*/

@import url("./components/btn.css");
@import url("./components/card.css");

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  background-color: transparent;
}

.header.active {
  background-color: var(--navbar-color);
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  background-color: var(--davys-gray);
  padding-block-start: calc(var(--section-padding) + 60px);
  text-align: center;
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 70px;
}

.hero-subtitle {
  color: var(--jet);
  text-transform: uppercase;
  font-weight: var(--fw-600);
  letter-spacing: 1px;
  margin-block-end: 20px;
}

.hero-text {
  padding-top: 15px;
  padding-bottom: 15px;
}

.hero .btn {
  margin-inline: auto;
}

.hero-banner {
  max-width: max-content;
}

.hero-banner-container {
  display: flex;
  justify-content: center;
}

.project-banner {
  background-color: var(--jet);
  display: flex;
  padding-block: 40px;
  z-index: 3;
  /* padding-block: 50px; */
}

/* project banner sticky */
.pin {
  position: sticky;
  top: 70px;
}

/*-----------------------------------*\
  #SKILLS
\*-----------------------------------*/

.skill {
  padding-block-end: 70px;
}

.skill .container,
.skill-list {
  display: grid;
}

.skill .container {
  gap: 30px;
}

.skill-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.skill .card ion-icon {
  font-size: 3rem;
}

.skill .card .card-title {
  color: var(--jet);
  font-size: 1.6rem;
  height: 50px;
  font-weight: var(--fw-600);
}

.project-card {
  display: flex;
  gap: 40px;
}
.content {
  display: flex;
  flex-direction: column;
}
.image-png {
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-text {
  color: var(--jet);
  font-size: 1.4rem;
  font-weight: var(--fw-300);
  margin-bottom: 10px;
}

/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
  background-color: var(--jet);
  text-align: center;
  padding-block: 46px 50px;
}

.cta .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 12px;
}

.cta .title-lg {
  color: var(--white);
  font-weight: var(--fw-500);
}

.chip-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: left;
  gap: 10px;
  padding-block: 20px;
}

.chip {
  display: flex;
  width: max-content;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  background-color: var(--jet);
  color: var(--white);
  border-radius: 2px;
  letter-spacing: 0.4rem;
  font-size: 1.2rem;
  font-weight: var(--fw-500);
}

/*
* WIDTH OF THE JOB CONTAINER
*/

.job-container {
  font-size: 1.4rem;
  max-width: max-content;
  letter-spacing: 2px;
  font-weight: 500;
  padding: 8px 16px;
  display: flex;
  background-color: var(--jet);
  margin-bottom: 10px;
  color: var(--white);
  border-radius: 2px;
}

.static-symbol {
  margin-right: 3px; /* Add some space between > and the text */
}

/*
* GIF SECTION
*/

.project-content {
  position: relative;
  font-weight: 500;
  z-index: 2;
}

.gif-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.2s ease-in-out;
}

.project-card:hover .gif-img {
  opacity: 15%;
}

/*
*PIXEL ART SECTION
*/
.pixel-art-animation {
  position: absolute;
  right: 20px; /* Distance from the right edge of the banner */
  top: 50%; /* Position from the top of the banner */
  transform: translateY(-50%); /* Center vertically */
  max-height: 80px; /* Adjust as needed */
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */
/* 575 */
@media (min-width: 575px) {
  /**
   * CLIENT, ABOUT & SKILL
   */

  .client .slider-item {
    min-width: calc(33.33% - 20px);
  }

  .client .slider-item,
  .about-banner,
  .skill-banner,
  .cta .container {
    max-width: max-content;
    margin-inline: auto;
  }

  @media (min-width: 992px) {
    .hero-banner-container {
      justify-content: flex-end;
    }
  }

  /**
   * CTA
   */

  .cta .container {
    justify-content: space-between;
  }
}

/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {
  /**
   * HERO
   */

  .hero-text {
    --fs-18: 2rem;
  }

  .hero::after {
    top: -20%;
    bottom: 50%;
    left: 48%;
    right: -15%;
  }
}

@media screen and (max-width: 768px) {
  .chip-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding-block: 30px;
  }

  .job-container {
    display: flex;
    justify-self: center;
    font-size: 1.4rem;
    margin: 0 auto; /* Center the container */
    margin-bottom: 10px;
  }
}

/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {
  /**
   * HERO, ABOUT, SKILL
   */

  :is(.hero, .about) .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  /**
   * HERO
   */

  .hero {
    text-align: left;
  }

  .hero .btn {
    margin-inline: 0;
  }

  /**
   * SKILL
   */

  .skill .container {
    align-items: flex-start;
  }
}
@media screen and (max-width: 992px) {
  .chip-container {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 2em;
    padding-block: 30px;
  }
  .body-sm {
    font-size: 1.4rem;
  }

  .job-container {
    display: flex;
    justify-self: center;
    font-size: 1.4rem;
    margin: 0 auto; /* Center the container */
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 475px) {
  .chip-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding-block: 30px;
  }
  .body-sm {
    font-size: 1.4rem;
  }
  .pixel-art-animation {
    max-height: 60px;
  }

  .job-container {
    display: flex;
    justify-self: center;
    font-size: 1.4rem;
    margin: 0 auto; /* Center the container */
    margin-bottom: 10px;
  }
}

/*
*SIGNATURE
*/
.signature {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 5px;
  font-weight: 500;
}

/*-----------------------------------*\
  #btn
\*-----------------------------------*/

.btn-group {
  display: flex;
  justify-content: left;
  gap: 10px;
}

/*
*TAG
*/
.tag-container {
  display: flex;
  gap: 10px;
}
.tag {
  background-color: #535353;
  color: aliceblue;
  border-radius: 3px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
  font-size: 10px;
  width: max-content; /* Adjust container width based on content */
}

/*
*important note
*/
.important-note {
  padding-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 500;
}
