:root {
    --title-top: 45%;
    --title-left: 30%;
    --button-right: 10%;
    --button-bottom: 10%;
}

/*
:root {
    --title-top: 42%;
    --title-left: 28%;
    --button-right: 10%;
    --button-bottom: 10%;
}


/*
:root {
    --title-top: 48%;
    --title-left: 36%;
    --button-right: 10%;
    --button-bottom: 10%;
}
*/

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

a {
    font-size: 1.5rem;
    font-weight: bold;
}


.header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-image: url('images/index_2025a.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.text-container {
    margin-top: 0;
    position: relative;
}

.title-image {
    position: absolute;
    top: var(--title-top);
    left: var(--title-left);
    width: 55%;
    max-width: 1098px;
    height: auto;
    display: block;
    z-index: 1;
}

.title-image img {
    width: 100%;
    height: auto;
    display: block;
}


.buttons {
    position: absolute;
    right: var(--button-right);
    bottom: var(--button-bottom);
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #666;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    letter-spacing: 0.2rem;
    transition: background-color 0.5s ease;
    white-space: nowrap;
}

.btn:hover {
    background-color: #fff;
    color: #ff62c2;
}

footer {
    padding: 20px 0;
    background-color: #eee;
    color: #333;
    font-size: 0.9rem;
    position: relative;
    z-index: 3;
}

footer .cyberfair {
    display: inline-block;
    margin-top: 10px;
}

footer .cyberfair img {
    width: 400px;
    vertical-align: middle;
}

footer a {
    font-size: 0.9rem;
    color: #bbb;/*#76a3d2*/
    text-decoration: none;
    transition: color 0.5s ease;
}

footer a:hover {
    color: #58d0f3;
}




@media (max-width: 1024px) {
    .header {
        background-size: cover;
        background-position: 25% center;
    }
	
    .title-image {
        width: 55%;
        top: 45%;
        left: 0;
        left: 68%;
        transform: translateX(-50%);		
    }

	.buttons {
		right: 22%;
		bottom: 15%;
		gap: 30px; /* 原40px */
	}

	.btn {
		padding: 4px 8px;
		font-size: 1rem; /* 原1.5rem */
		letter-spacing: 0.1rem;
	}
}


@media (max-width: 768px) {
    .header {
        background-size: cover;
        background-position: 17% center;
    }
	
    .title-image {
        width: 90%;
        top: 10%;
        left: 0;
        left: 50%;
        transform: translateX(-50%);		
    }

	.buttons {
		right: 8%;
		bottom: 18%;
		gap: 15px; /* 原40px */
	}

	.btn {
		padding: 4px 8px;
		font-size: 1rem; /* 原1.5rem */
		letter-spacing: 0.1rem;
	}
}


