/*
* -------------
*  Home Styles
* -------------
*/

/* Styles for the h2 element */
h2 {
    color: #000000; /* Sets the text color to #000000 */
    text-align: center; /* Sets the text alignment to center */
    font-size: 45px; /* Sets the font size to 45px */
    letter-spacing: -1%; /* Sets the letter spacing to -1% */
    font-weight: bold; /* Sets the font weight to bold */
}

.IMAGES {
    width: 100%;
}

/* Styles for the HOME INFO element */
.HomeInfo {
    display: flex;
    justify-content: center; /* Horizontally centers the content */
    align-items: center;
    width: 80%;
    margin: 0 auto; /* Centers the element horizontally */
    border-radius: 10px;
    background-color: #A8DADC;
    padding: 20px;
    color: #000000;
    text-align: justify;
}

/* Styles for the HOME BOXEX element (GRID)*/
.HomeBox {
    display: flex; /* Sets the display to flex */
    justify-content: space-around; /* Adjust as needed */
    align-items: stretch; /* Ensures all items have the same height */
}
.HomeBox div{
    border: 2px solid #A8DADC; /* Add border */
    box-sizing: border-box; /* Include border in width */
    width: 25%; /* Adjust as needed */
    padding: 0px; /* Add padding */
    margin: 0px; /* Add margin */
    display: flex; /* Sets the display to flex */
    flex-direction: column; /* Sets the flex direction to column */
	border-radius: 10px;
    overflow: hidden;
}
.HomeBox h6 {
    font-size: 35px; /* Sets the font size to 35px */
    color: #000000; /* Sets the text color to #000000 */
    background-color: #A8DADC; /* Sets the background color to #A8DADC */
    text-align: center; /* Sets the text alignment to center */
    font-weight: normal; /* Sets the font weight to normal */
    line-height: 1.2; /* Sets the line height to 1.2 */
    margin: 0; /* Remove default margin */
    padding: 20px; /* Add padding */
    white-space: nowrap; /* Prevents wrapping */
}
.HomeBox p {
    font-size: 25px; /* Sets the font size to 25px */
    color: #000000; /* Sets the text color to #000000 */
    background-color: transparent;
    text-align: left; /* Sets the text alignment to left */
    font-weight: lighter; /* Sets the font weight to lighter */
    line-height: 1.2; /* Sets the line height to 1.2 */
    margin: 1; /* Remove default margin */
    padding: 10px; /* Add padding */
}
.HomeBox ul {
    font-size: 25px; /* Sets the font size to 25px */
    color: #000000; /* Sets the text color to #000000 */
    background-color: transparent; /* Sets the background color to transparent */
    text-align: left; /* Sets the text alignment to left */
    font-weight: lighter; /* Sets the font weight to lighter */
    line-height: 1.2; /* Sets the line height to 1.2 */
}
/* Styles for links within the HomeBox element */
.HomeBox a:link {
    font-size: 30px;
    color: #000000;
    background-color: #A8DADC;
    border-radius: 10px;
    text-align: center;
    font-weight: normal;
    line-height: 1.2;
    padding: 10px;
    margin: auto;
    margin-bottom: 10px;
    text-decoration: none;
    transition: box-shadow 0.3s ease;

}
.HomeBox a:visited {
    color: #000000;
    background-color: #A8DADC;
    text-decoration: none;
}
.HomeBox a:hover {
    color: #E63946;
    background-color: #A8DADC;
    text-decoration:none;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}
.HomeBox a:active {
    color: #000000;
    background-color: #A8DADC;
    text-decoration: none;
}


/*MOBILE DEVICE ADJUSTMENT*/
@media (max-width: 850px) {
    .HomeInfo {
        font-size: 3vw; /* Sets the font size to 25px */
    }
    .HomeBox h6 {
        font-size: 4vw; /* Sets the font size to 35px */
        padding: 20px; /* Add padding */
    }
    .HomeBox p {
        font-size: 3vw; /* Sets the font size to 25px */
        padding: 10px; /* Add padding */
    }
    .HomeBox ul {
        font-size: 3vw; /* Sets the font size to 25px */
    }
    /* Styles for links within the HomeBox element */
    .HomeBox a:link {
        font-size: 3.5vw;
        padding: 10px;
    }
    .HomeBox {
        flex-direction: column;
    }
    .HomeBox div {
        width: 80%;
        flex-direction: column;
        display: flex;
        margin: 0 auto;
        margin-top: 15px;
    }
    .IMAGES {
        margin-top: 40px;
    }
}