/* Builds Page Specific Styles */
.builds {
    font-size: clamp(3.5rem, 10vw, 6rem);
    text-align: center;
    color: white;
    margin-top: 50px;
    font-weight: bold;
}

/* ==== PC BUILD LAYOUT ==== */

/* Grid Layout for Multiple Builds */
.pc-builds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    max-width: 1600px;
    margin: 50px auto;
    padding: 20px;

}

/* Each PC Build */
.pc-builder-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: #000B2A;
    padding: 15px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

/* PC Build Information (Now on Top) */
.pc-info1 {
    text-align: center;
    padding: 10px;
    width: 100%;
    background: #043556;
    border-radius: 10px;
    margin-bottom: 10px;
    /* Adds spacing between text and table */
}
.pc-info1 h2 {
    text-shadow: 0 0 2.5px #0286BD,
        0 0 5px #0286BD,
        0 0 10px #00aaff,
        0 0 20px #00aaff,
        0 0 40px #00e6ff;
}

.pc-info2 {
    text-align: center;
    padding: 10px;
    width: 100%;
    background: #043556;
    border-radius: 10px;
    margin-top: 10px;
    /* Adds spacing between text and table */
}

.pc-info2 h2 {
    text-shadow: 0 0 2.5px #0286BD,
        0 0 5px #0286BD,
        0 0 10px #00aaff,
        0 0 20px #00aaff,
        0 0 40px #00e6ff;
}

/* PCPartPicker Table Styling */
.pcpartpicker {
    width: 100%;
    font-size: 14px;
    padding: 10px;
    background: #06748F;
    border-radius: 8px;
}

.pcpartpicker table {
    width: 100%;
    border-collapse: collapse;
}

.pcpartpicker th,
.pcpartpicker td {
    border: 1px solid white;
    padding: 6px;
    font-size: 12px;
}

/* Links */
.pcpartpicker a {
    color: white;
    text-decoration: none;
}

.pcpartpicker a:hover {
    text-decoration: underline;
}

/* Responsive Grid */
@media screen and (max-width: 1200px) {
    .pc-builds-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .pc-builds-grid {
        grid-template-columns: 1fr;
    }

    .pc-builder-container {
        flex-direction: column;
    }
}
