@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

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

:root {
  --grey1: #444444;
  --grey2: #696969;
  --grey3: #8D8D8D;
  --grey4: #C0C0C0;
  --grey5: #dddddd;
  --white: #FFFFFF;
  --green1: #008000;
  --green2: #1A6B2D;
  --green3: #00FF7F;
  --green4: #124f21;
}

body {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--grey5);
  margin: 0;
  overflow-x: hidden;
  position: relative; /* Add this to position the pseudo-element correctly */
}

body::before {
  content: "";
  position: fixed; /* Use fixed to ensure it covers the whole viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 50% 12%;
  background-attachment: fixed;
  background-size: 800px auto;
  opacity: 0.5; /* Set the opacity to 50% */
  z-index: -1; /* Ensure it stays behind the content */
}

body::after {
  content: "";
  position: fixed; /* Use fixed to ensure it covers the whole viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--grey5); /* Overlay color */
  opacity: 0.5; /* Adjust the opacity to tint the overlay */
  z-index: -2; /* Ensure it stays behind the background image */
}

.profile-container {
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.profile-name {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600; /* semibold */
  font-size: 32px;
  line-height: 2rem;
  padding-bottom: 0.1rem;
  color: var(--grey1);
  padding: 10px 0;
}

.profile-clubname {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600; /* semibold */
  font-size: 24px;
  line-height: 1rem;
  padding-bottom: 0.1rem;
  color: var(--grey1);
  padding: 10px 0;
}

.profile-info {
  font-weight: normal;
  font-size: 14px;
  line-height: 1.25rem;
  padding: 2.5px 0;
  color: var(--grey2);
}

.profile-info a {
  color: var(--green1);
}

.profile-img {
  width: 100px;
  height: 100px;
  border: 4px solid white;
  border-radius: 50%;
  object-fit: cover;
}

.back-arrow {
  position: absolute;
  top: 20px; /* Adjust to position vertically */
  left: 20px; /* Adjust to position horizontally */
  width: 32px;
  height: 32px;
}


.card {
  width: 320px;
  background-color: var(--white);
  border: 2px solid var(--grey3); /* Dark grey border */
  border-radius: 6px; /* Curved border */
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  box-sizing: border-box;
  margin: 16px 0;
}


.row {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 16px;
}

.column1 {
  width: 100%; /* Ensure the column takes the full width of the parent */
  min-height: 16px; /* Minimum height */
}

.column2 {
  width: 142px; /* Adjusted width to account for gutter */
  background-color: yellow; /* Yellow background color */
  min-height: 16px; /* Minimum height */
}

.gutter {
  width: 16px;
  flex-shrink: 0;
}

.separator-full {
  width: calc(100% + 2 * 16px); /* Full width of the card + padding on both sides */
  height: 2px; /* Height remains 2px */
  background-color: var(--grey3);
  margin: 32px -16px; /* Adjusted negative margins to offset card padding */
}

.separator {
  width: 100%;
  height: 2px; /* Increased thickness */
  background-color: var(--grey4);
  margin: 16px 0;
}

.card-mainTitle {
  font-weight: 600; /* semibold */
  font-size: 20px;
  padding-bottom: 0.1rem;
  color: var(--grey1);
}

.cardtitle {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 18px;
  line-height: 23px;
  padding-bottom: 0.1rem;
  color: var(--grey1);
}

.cardtitleNumber {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 400; /* semibold */
  font-size: 24px;
  padding-bottom: 0.1rem;
  color: var(--green1);
}

.cardclubtitle {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600; /* semibold */
  font-size: 32px;
  line-height: 2.25rem;
  padding-bottom: 1.5rem;
  color: var(--grey1);
}

.cardclubtitleSmall {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600; /* semibold */
  font-size: 24px;
  line-height: 2 rem;
  padding-bottom: 1.5rem;
  color: var(--grey1);
}

.cardclubtitleMid {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 400; /* semibold */
  font-size: 24px;
  line-height: 1.75rem;
  color: var(--grey1);
  border-left: 6px solid var(--green2);
  padding-left: 10px;
}


.cardsubtitle {
  font-weight: bold;
  font-size: 15px;
  color: var(--grey1);
  padding-top: 10px;
}

.separator-full + .cardsubtitle {
  padding-top: 0;
}

.cardtext {
  font-weight: normal;
  font-size: 14px;
  line-height: 1.25rem;
  padding: 0.5rem 0;
  color: var(--grey2);
}

.cardtext p {
  font-weight: normal;
  font-size: 14px;
  line-height: 1.25rem;
  padding: 2.5px 0;
  color: var(--grey2);
}

.cardtext .semi {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
}

.cardtext .two {
  font-family: 'Roboto Mono', monospace;
  color: var(--grey3);
}


.cardlink {
  font-size: 14px;
  font-weight: normal;
  color: var(--white);
  background-color: var(--green1);
  box-shadow: 0 5px 0 var(--green4);
  padding: 6px 10px;
  text-decoration: none;
  position: relative;
}

.space {
  padding-top: 10px;
}

.cardlink:hover {
  color: var(--green3); /* Lighter green */
  background-color: var(--green4);
  box-shadow: 0 5px 0 var(--green2);
  text-decoration: none;
}

.cardlink:active {
  color: var(--green1); /* Darker green */
  text-decoration: none;
}

.skills {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to next line */
  gap: 8px; /* Optional: adjust spacing between items */
  margin-bottom: 16px;
}

.skill-item {
  display: inline-flex; /* Make each skill-item fit its content */
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--grey3); /* Dark grey border */
  border-radius: 4px; /* Curved border */
  background-color: var(--white);
  font-size: 14px;
  color: var(--grey2);
}

.skill-item .bold {
  font-weight: 600;
  color: var(--grey1);
  padding-left: 6px;
}
