* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-image: url('./背景.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    padding: 20px;
    max-width: 500px;
    margin: auto;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.login-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
    position: relative;
}

.avatar-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #fff;
    cursor: pointer;
}

.login-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
    margin-bottom: 20px;
}

.login-form {
    text-align: left;
}

.login-form label {
    display: block;
    margin: 10px 0 5px;
    font-size: 16px;
    color: #333;
}

.login-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 15px;
}

.submit-button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: #57ae5a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 15px;
}

.submit-button:hover {
    background-color: #1a541d;
}

/* 預設頭像選擇彈出框樣式 */
.avatar-popup {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 750px;
    flex-direction: column;
    z-index: 1000;
}

.avatar-popup p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.avatar-options {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.avatar-option {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
}

.avatar-option:hover {
    transform: scale(1.1);
}

.avatar-option, .avatar-upload-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    background-color: #ddd; /* 可以調整顏色 */
    color: #333;
}

.avatar-upload-button:hover {
    background-color: #ccc; /* 滑鼠懸停效果 */
}


/* 手機響應式設置 */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    input, button {
        font-size: 14px;
        padding: 8px;
    }
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: auto;
}
.profile-container:hover{
    background-color:#ffffff;
}
.profile-container h2{
    margin-bottom:-10px ;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-info p {
    font-size: 18px;
    color: #333;
    margin-top: 15px;
    margin-bottom: 20px;
}

.blessings{
    font-size: 50px;
    margin-top:20px ;
    margin-bottom: 30px;
    font-weight: 700;
    color: rgb(72, 72, 157);
}

.warning{
    font-size: 14px;
    color: grey;
}

.share{
    background-color: rgb(255, 237, 147);
    color: rgb(68, 66, 66);
    border: none;
    border-radius: 5px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    transition: background-color 0.3s;
    margin-top:10px ;
}
