@font-face {
    font-family: mcFont;
    src: url("Assets/fonts/minecraft-font/MinecraftRegular-Bmg3.otf");
    font-weight: normal
}
@font-face {
    font-family: mcFont;
    src: url("Assets/fonts/minecraft-font/MinecraftBold-nMK1.otf");
    font-weight: bold
}

/* Base Background */
body {
    background-color: #f0f0f0;
    margin: 0;
    font-family: mcFont;
}

#mainHeader {
    display: flex;
    justify-content: center;
    align-items: center;

    background-image: url("Assets/Images/refined-radiance-pad.png");
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: left center;
    image-rendering: pixelated;

    height: 120px;
    overflow: hidden;
    padding: 0 1rem;
}

/* Ensure titleImage fits the height and stays inside header */
#titleImage {
    height: 80%;          /* fits inside header height */
    max-width: 100%;       /* prevents horizontal overflow */
    object-fit: contain;
    transition: transform 0.5s ease;
}

#titleImage:hover {
    transform: scale(1.05);
}

/* Info Box */
.infoSection {
    background-color: #f5f5f5;
    padding: 20px;
    margin: 20px;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Mod Cards Container */
#mainSection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

/* Mod Card Box */
.modBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 16px;
    border: 2px solid #ccc;
    width: 220px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modBox:hover {
    transform: scale(1.02);
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.1);
}

.modBox img {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

/* Footer */
#mainFooter {
    display: flex;
    align-items: center;
    padding: 10px;
    background-image: url("Assets/Images/refined-radiance-pad.png");
    background-repeat: repeat-x;
    background-size: auto 100%;
    margin-top: 20px;
}

#gitHubIcon {
  width: 40px;
  height: 40px;
}

#gitHubLink {
  text-decoration: none;
  font-weight: bold;
  color: #222;
  transition: color 0.3s ease;
  font-family: sans-serif;
}
#gitHubLink:hover {
    color: #1841b2;
}

