:root {
    --primary-color: #6c63ff;
    --primary-dark: #5a52d9;
    --secondary-color: #ff6b6b;
    --danger-color: #dc3545;
    --text-color: #333;
    --text-light: #666;
    --background-color: #f9f9f9;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
  }

.parent {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 20px;
    height: 600px;
    padding: 20px;
  }

  .config-grid {
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px;
    border: 2px solid var(--gray-200);

  }

  .grid-logo {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 7;
    grid-row-start: 4;
    background-color: var(--primary-dark);
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .grid-logo img {
    width: 100px;
    background-color: white;
    border-radius: 50%;
  }

  .grid-logo p {
    color: var(--gray-300);
  }

  .grid-teamplates {
    grid-column: span 4 / span 4;
    grid-row: span 3 / span 3;
    grid-column-start: 5;
    background-color: var(--gray-300);
    background: linear-gradient(45deg, var(--gray-300) 0%, rgb(199, 209, 236) 60%, var(--gray-300) 100%);
    background-image: url(../assets/teamplates/backgrond.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 20px;
  }

  .grid-teamplates-img {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 10px;
    align-items: start;
    justify-content: center;
  }

  .grid-teamplates-img img:nth-child(1) {
    transform: rotate(-15deg);
    margin-top: 15px;
  }

  .grid-teamplates-img img:nth-child(2) {
    z-index: 3;
  }

  .grid-teamplates-img img:nth-child(3) {
    transform: rotate(15deg);
    margin-top: 15px;
  }

  .grid-teamplates-img img {
    width: 150px;
    border-radius: 5px;
  }

  .grid-teamplates-text {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 4;
    padding: 20px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.219);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    border: solid 2px rgba(255, 255, 255, 0.45);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .grid-teamplates-text h1 {
    font-size: 35px;
    text-shadow: 0px 1px 2px #7b7dfff8;
    color: rgba(17, 24, 39, 1);
    text-align: center;
  }

  .grid-discord {
    grid-column: span 4 / span 4;
    grid-row: span 3 / span 3;
    background-color: var(--primary-color);
    background-image: url(../assets/discord/Wumpus.png);
    background-repeat: no-repeat;
    background-size: 150px;
    background-position-x: 100%;
    background-position-y: 100%;
    flex-direction: column;
    align-items: start;
  }

  .wunpus {
    position: absolute;
    width: 200px;
  }

  .grid-discord h1 {
    font-size: 35px;
    margin-bottom: 0px;
    color: var(--white);
  }

  .grid-discord p {
    font-size: 20px;
    margin-top: 10px;
    color: var(--gray-300);
  }

  .btn-discord {
    padding: 10px 20px;
    background-color: rgb(34, 241, 127);
    border-radius: 10px;
    border: solid 1px rgb(10, 224, 106);
    font-size: 16px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }

  .btn-discord:hover {
    background-color: rgb(10, 224, 106);
    transform: scale(1.05);
  }

  .btn-discord:hover img {
    animation: spinlogo 0.5s ease;
  }

  .btn-discord img {
    width: 30px;
    margin-right: 10px;
  }

  @keyframes spinlogo {

    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .grid-figma {
    grid-column: span 6 / span 6;
    grid-row: span 3 / span 3;
    grid-column-start: 1;
    grid-row-start: 4;
    background: #111827;
    background: linear-gradient(45deg, rgba(17, 24, 39, 1) 0%, rgba(33, 45, 79, 1) 60%, rgba(18, 25, 43, 1) 100%);
    display: flex;
    gap: 30px;
    align-items: start;
    justify-content: end;
    flex-direction: column;
  }

  .content-figma {
    display: flex;
    flex-direction: row;
    gap: 30px;
  }

  .icon-grid-figma {
    height: 80px;
  }

  .figma-text h1 {
    font-size: 35px;
    margin-bottom: 0px;
    color: var(--white);
  }

  .figma-text p {
    font-size: 20px;
    margin-top: 10px;
    color: var(--gray-300);
  }

  /* Media queries para responsividade */
  @media screen and (max-width: 768px) {
    .parent {
      display: flex;
      flex-direction: column;
      height: auto;
      gap: 30px;
      padding: 20px;
    }

    .config-grid {
      width: 100%;
      min-height: 250px;
      max-height: 350px;
      padding: 20px;
    }

    .grid-discord,
    .grid-teamplates,
    .div1,
    .grid-figma {
      grid-column: auto;
      grid-row: auto;
      grid-column-start: auto;
      grid-row-start: auto;
    }

    .grid-discord {
      background-size: 100px;
    }

    .grid-discord h1 {
      font-size: 28px;
    }

    .grid-discord p {
      font-size: 16px;
    }

    .grid-figma {
      flex-direction: column;
      gap: 20px;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .content-figma {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px;
  }

  .icon-grid-figma {
    width: 60px;
    height: 100px;
  }


    .figma-text h1 {
      font-size: 28px;
    }

    .figma-text p {
      font-size: 16px;
    }
  }

  /* Para telas muito pequenas */
  @media screen and (max-width: 480px) {
    .config-grid {
      padding: 16px;
    }

    .grid-discord h1,
    .figma-text h1,
    .grid-teamplates-text h1,
    .grid-logo h1 {
      font-size: 26px;
    }

    .grid-discord p,
    .figma-text p,
    .grid-logo p  {
      font-size: 16px;
    }

    .btn-discord {
      padding: 8px 16px;
      font-size: 14px;
    }

    .btn-discord img {
      width: 20px;
    }

    .grid-teamplates-img img:nth-child(1) {
    margin-right: -15px;
  }

  .grid-teamplates-img img:nth-child(3) {
    margin-left: -15px;
  }
  }