/* Center the hex-container and add spacing */
.hex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    /* Adds spacing between boxes */
    padding: 30px 100px;
    /* Adds padding around */
    margin-top: 80px;
    /* Creates space below the navigation */
    margin-bottom: 80px;
    /* Creates space above the footer */
}

/*******************/
/* .square-box {
    width: 200px; 
    height: 200px;
    display: flex;
    flex-direction: column;
    border: 2px solid #000;
    text-align: center;
    overflow: hidden;
} */

.row {
    flex: 1;
    /* Each row takes equal space */
}

.row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img {
    width: 100px;
    height: 100px;
    align-items: center;
    align-content: flex-start;
}

.text-row {

    background-color: #f0f0f0;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    /* Ensures text is centered */
    display: block;
    /* Forces block-level behavior */
}


/********************/

p {
    color: #f0f0f0;
}




/* Hexagon shape */
.hex-box {
    position: relative;
    width: 190px;
    height: 190px;
    background-color: white;
    /* background: #2471a3; */
    /*background: linear-gradient(to bottom, #FEFF86, #FF9149);*/
    /*clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); */
    /*For Hexagonal Shape*/
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #5499c7;
    box-shadow: 0 5px 10px 0 rgba(0, 1, 0, 1), 0 0px 0px 0 rgba(0, 0, 0, 1);
    /* box-shadow: 0px 3px 3px 4px #FF9149, 4px 4px 12px rgba(0, 0, 0, 0.4); Creates a visible border */
    transform: perspective(500px) rotateX(0deg);
    background-size: cover;
    border-radius: 15%;
}

/* Content */
.content-pf {
    /* background-color: white; */
    padding: 20px 5px 0 5px;
    /* box-shadow: 0 5px 5px 0 rgba(0, 1, 0, 1), 0 0px 0px 0 rgba(0, 0, 0, 1); */
    /* border-radius: 3%; */
}


/* Glow and color change on hover */
.hex-box:hover {
    transform: perspective(500px) rotateX(0deg) scale(1.1);
    background: linear-gradient(to bottom, #00C9A7, #00F5D4);
    /* Bright teal to neon green */
    box-shadow: 5px 5px 20px rgba(0, 249, 160, 0.8);
    color: white;
}

/*Link Styling*/
.techspeca a {
    color: #60B5FF;
}