/*东海大仙设计  www.1256.com.cn */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*东海大仙设计  www.1256.com.cn */
body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}
/*东海大仙设计  www.1256.com.cn */
body {
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
}
/*东海大仙设计  www.1256.com.cn */
header {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
	color: #ff0000;
}
/*东海大仙设计  www.1256.com.cn */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.nav-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
/*东海大仙设计  www.1256.com.cn */
.category-name {
    margin-top: 40px;
	margin-bottom: 40px;
    font-size: 1.5em;
    font-weight: bold;
	color: white;
}
/*东海大仙设计  www.1256.com.cn */
.text-nav, .image-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/*东海大仙设计  www.1256.com.cn */
.row {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}
/*东海大仙设计  www.1256.com.cn */
.text-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: background-color 0.3s;
	width: 205px
}
/*东海大仙设计  www.1256.com.cn */
.text-nav a:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
/*东海大仙设计  www.1256.com.cn */
.image-nav img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
}

.image-nav img:hover {
    transform: scale(1.05);
}
/*东海大仙设计  www.1256.com.cn */
footer {
    margin-top: 40px;
	background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}
/*东海大仙设计  www.1256.com.cn */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        align-items: center;
    }

    .text-nav a, .image-nav img {
        margin: 5px 0;
    }

    .image-nav img {
        max-width: 80%;
    }
}
/*东海大仙设计  www.1256.com.cn */