/*!**********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[3]!./src/styles/home.module.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************/
.home_Home__G1yrX{
  margin: 0;
}

.home_header__PUC5f {
  background-color: var(--backgroundCream1);
  padding: 20px;
  text-align: center;
  opacity: 66;
}

.home_header__PUC5f h1 {
  font-size: 45px;
}

.home_mainSection__4uUqb {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 25px auto;
  border-radius: 10px;
  background-color: var(--backgroundCream2);
  opacity: 66;
}
.home_mainSection__4uUqb img {
  padding: 0;
  border-radius: 10px;
  object-fit: contain;
  height: auto;
  width: 100%;
}
.home_backToMain__BoVid {
  background-color: #065a5b;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 10px;
  cursor: pointer;
  width: 250px;
  position: relative;
  margin-left: auto;
}
.home_backToMain__BoVid a {
  text-decoration: none;
  color: white;
}
.home_backToMain__BoVid a:hover {
  color: black;
}
.home_description__2Sq3E {
  margin: 0 20px;
  text-align: justify;
  font-size: 16px;
}

.home_media__0mP3t a {
  color: var(--textColor)
}
.home_media__0mP3t a:hover {
  opacity: 0.4;
}

.home_additionalSection__RA8Rz {
  padding: 40px 20px;
  text-align: center;
}

.home_blocks__EeSZ_ {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 20px;
}

.home_block___H34T {
  text-align: center;
}
.home_icon__LRheF {
  background-color: var(--backgroundCream1);
  margin: auto;
}

.home_block___H34T img {
  max-width: 100%;
  height: auto;
}

.home_footer__1HL_E {
  background-color: var(--backgroundCream1);
  text-align: center;
  padding: 20px;
}
.home_blocks__EeSZ_ a {
  text-decoration: none;
  color: inherit;
}

.home_blocks__EeSZ_ a:hover {
  opacity: 0.8;
}

@media (min-width: 600px) {
  .home_mainSection__4uUqb {
    flex-direction: row;
  }
  .home_mainSection__4uUqb img {
    /* flex: 1; */
    margin-right: 20px;
    max-width: 50%;
  }
  .home_description__2Sq3E {
    flex: 2 1;
    margin-top: 0;
  }
  .home_blocks__EeSZ_ {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .home_blocks__EeSZ_ {
    grid-template-columns: repeat(4, 1fr);
  }
}

/*!***********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[3]!./src/styles/hobby.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************/
/* body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #efefef;
    color: #024554;
  } */

  .hobby_header__0e_bd {
    background-color: #E0DCC8;
    padding: 20px;
    text-align: center;
  }

  .hobby_header__0e_bd h1 {
    margin: 0;
  }

  /* Back to main page */
  .hobby_header__0e_bd {
      position: relative;
      text-align: center;
      padding: 20px;
  }

  .hobby_backButton__ESskh {
      position: absolute;
      top: 20px;
      right: 30px;
      padding: 8px 16px;
      background-color: #024554;
      color: #E0DCC8;
      text-decoration: none;
      border-radius: 6px;
      font-weight: bold;
      transition: background-color 0.3s ease;
      z-index: 10;
  }

  .hobby_backButton__ESskh:hover {
      background-color: #efefef;
      color: #024554;
  }

  .hobby_container__v4hac {
      max-width: 1100px;
      margin: auto;
      /* padding: 20px; */
  }
  /* ----------------------------------------------------- */
  /* Hobby section */
  /* ----------------------------------------------------- */

  .hobby_hobbySection__JrcR0 {
      max-width: 1200px;
      margin-top: 20px;
      box-sizing: border-box;
      background-color: #E0DCC8; 
      border-radius: 15px;
      padding: 25px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  }

  .hobby_hobbyIntro__d6lF_ {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 40px;
  }

  .hobby_hobbyMainImage__hD_wG {
      width: 100%;
      max-width: 500px;
      height: auto;
      border-radius: 12px;
      object-fit: cover;
      flex-shrink: 0;
  }

  .hobby_hobbyDescription__AKjG7 {
      flex: 1 1;
      min-width: 250px;
  }

  .hobby_hobbyDescription__AKjG7 h2 {
      font-size: 28px;
      margin-bottom: 10px;
  }

  .hobby_hobbyDescription__AKjG7 p {
      font-size: 16px;
      line-height: 1.6;
      text-align: justify;
  }

    /* Galeria */
    .hobby_hobbyGallery__0r4by {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        grid-gap: 20px;
        gap: 20px;
    }
        
    .hobby_galleryItem__dBJto {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
        
    .hobby_galleryImage__dt9tb {
        width: 100%;
        border-radius: 10px;
        object-fit: cover;
        aspect-ratio: 4 / 3;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
        
    .hobby_galleryImage__dt9tb:hover {
        transform: scale(1.33);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        outline-offset: 2px;
    }
        
    .hobby_galleryItem__dBJto p {
        margin-top: 8px;
        font-size: 14px;
        text-align: center;
    }
        

  /* Instagram button */

  .hobby_instagramLink__ryVdf {
      display: flex;
      justify-content: center;
      /* margin: 30px auto; */
  }

  .hobby_instagramLink__ryVdf a {
      background-color: #024554;
      color: white;
      padding: 12px 24px;
      margin: 0 auto;
      text-decoration: none;
      font-size: 16px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      transition: all 0.3s ease;
  }

  .hobby_instagramLink__ryVdf a:hover {
      background-color: #fd99ba;
      transform: scale(1.05);
  }


  /* ----------------------------------------------------- */
  /* Achievement summary */
  /* ----------------------------------------------------- */

  .hobby_achievementsSummary__SR8Ga {
      font-family: Arial, sans-serif;
      margin-top: 20px;
      display: flex;
      justify-content: space-between;
      gap: 30px;
      background-color: #E0DCC8; 
      border-radius: 15px;
      padding: 25px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  }

  .hobby_medalsSummary__PMYUu, .hobby_statistics__Zw2NZ {
      flex: 1 1;
      min-width: 280px;
      padding: 20px;
      border-radius: 12px;
      background-color: #f9f9f9;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .hobby_medalsSummary__PMYUu h3, .hobby_statistics__Zw2NZ h3 {
      font-size: 1.5em;
      color: #024554;
      margin-top: 0;
      margin-bottom: 15px;
      text-align: center;
  }

  .hobby_medal-type__jXPIf {
    margin-top: 1rem;
  }
  
  .hobby_medal-count__UHovV {
    font-weight: bold;
  }
  
  .hobby_medal-icons__nXsDz {
    margin-top: 0.5rem;
  }
  
  .hobby_gold__zf1ZW {
    color: gold;
    margin-right: 6px;
    font-size: 24px;
  }
  
  .hobby_silver__I6E1_ {
    color: silver;
    margin-right: 6px;
    font-size: 24px;
  }
  
  .hobby_bronze__AHDiN {
    color: #cd7f32;
    margin-right: 6px;
    font-size: 24px;
  }
    .hobby_gold__zf1ZW:hover,
    .hobby_silver__I6E1_:hover,
    .hobby_bronze__AHDiN:hover {
        transform: scale(1.5);
    }


  .hobby_stat-item__dtTAF {
      margin-bottom: 12px;
      font-size: 1.1em;
  }

  .hobby_stat-item__dtTAF strong {
      font-weight: bold;
      color: #024554;
  }

  .hobby_stat-value__J6gN3 {
      color: #3498db;
      font-weight: bold;
  }

  /* ----------------------------------------------------- */
  /* Medal Icons - Add hover effects */
  /* ----------------------------------------------------- */

  .hobby_medal-icons__nXsDz {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem; /* odstęp między ikonami */
      justify-content: flex-start;
      align-items: center;
  }

  .hobby_medal-icons__nXsDz i {
      font-size: 2em;
      transition: transform 0.3s ease, color 0.3s ease;
  }

  .hobby_medal-icons__nXsDz i:hover {
      transform: scale(1.2); /* Powiększenie medalu przy najechaniu */
      color: #3f729b; /* Zmiana koloru przy najechaniu */
  }



  /* ----------------------------------------------------- */
  /* Achievement */
 /* ----------------------------------------------------- */

  .hobby_achievementGrid__lnkKa {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      grid-gap: 20px;
      gap: 20px;
      background-color: #E0DCC8;
      border-radius: 10px;
      padding: 20px;
      margin: 20px auto;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  }

  .hobby_card__eQ9_V {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .hobby_card__eQ9_V:hover {
      transform: translateY(-10px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .hobby_cardContent__iz_SO {
      display: flex;
      flex-direction: column;
      gap: 10px;
      justify-content: space-between;
      height: 100%;
  }

  .hobby_card-icon__kVB3S {
      font-size: 1.2em;
      width: 24px;
      text-align: center;
      flex-shrink: 0;
  }

  .hobby_cardFooter___XRPH {
      margin-top: 12px;
      padding: 10px;
      border-top: 1px solid #ccc;
      background-color: #f5f5f5;
      border-radius: 0 0 10px 10px;
      font-weight: bold;
      color: #024554;
      font-size: 0.95em;
      text-align: center;
  }

  .hobby_card__eQ9_V.hobby_mpEvent__IPM2k {
    position: relative;
    border: 2px solid #024554;
}

  .hobby_card__eQ9_V.hobby_mpEvent__IPM2k::before {
      content: "Mistrzostwa Polski";
      position: absolute;
      top: -12px;
      right: 0px;
      background-color: #024554;
      color: white;
      padding: 2px 8px;
      font-size: 0.8em;
      border-radius: 5px;
  }

  .hobby_place__Pz0Z2 {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: bold;
      font-size: 1em;
      background-color: #f3f3f3;
      padding: 8px 12px;
      border-radius: 8px;
      margin-bottom: 10px;
      border-left: 4px solid #024554;
  }

  .hobby_place__Pz0Z2 span.hobby_date__QdrOQ {
      font-weight: normal;
      font-size: 0.9em;
      color: #555;
  }

  .hobby_eventName__Zn3UX {
      font-size: 1.1em;
      font-weight: bold;
      color: #024554;
      margin: 5px 0 5px;
      border-bottom: 1px solid #ccc;
      text-align: center;
  }

  .hobby_eventCity__l6xoR {
      font-style: italic;
  }
  .hobby_card__eQ9_V p.hobby_city__HAybN {
      display: block;
      text-align: center;
      margin-bottom: 4px;
  }

  .hobby_photos__TfJUT {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 2px;
      font-size: 0.95em;
  }
  .hobby_photos__TfJUT a{
      text-decoration: none;
      color: #024554;
  }

  .hobby_photos__TfJUT a:hover{
      color: #3f729b;
      text-decoration: underline;
  }

  .hobby_instaIcon__08i8B {
      width: 20px;
      height: 20px;
      fill: #024554;
      vertical-align: middle;
      transition: transform 0.2s ease;
  }

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

  .hobby_footer__HiYDx {
    background-color: #E0DCC8;
    padding: 10px;
    margin-top: 40px;
    text-align: center;
    color: #024554;
  }

  @media (max-width: 768px) {
      .hobby_container__v4hac {
          padding: 10px;
          /* margin: auto; */
      }
      .hobby_cardsContainer___5dST {
          flex-direction: column;
          align-items: center;
      }
      .hobby_achievementsSummary__SR8Ga {
          flex-direction: column;
          align-items: stretch;
          gap: 20px;
      }

      .hobby_medals-summary__DXpN7,
      .hobby_statistics__Zw2NZ {
          padding: 15px;
      }

      .hobby_achievement-grid__4VdSc {
          grid-template-columns: 1fr; /* jedna kolumna */
          padding: 15px;
      }

      .hobby_place__Pz0Z2 {
          flex-direction: column;
          /* align-items: flex-start; */
          gap: 4px;
      }

      .hobby_photos__TfJUT {
          flex-direction: column;
          text-align: center;
      }
  }
