#anli {
text-align:right;
  display:block;
}

body {
    font-family: 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

#phrasesList {
    display: inline-block;
    width: 100%;
}

h1 {
    color: #333;
}

.btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

.phrase {
    border-radius:6px;
    background: #fe609a;
    border: 1px solid #fe609a;
    padding: 15px;
    margin: 18px;
    color:#fff;
    cursor: pointer;
    transition: border 0.3s;
    display: block;

}

.phrase_home {
    text-align: center;
    border-radius: 6px;
    background: #fe609a;
    border: 1px solid #fe609a;
    padding:10px 15px;
    margin: 18px;
    margin-bottom: 10px;
    color: #fff;
    cursor: pointer;
    transition: border 0.3s;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 投影效果 */
    font-size: 16px; /* 字体大小设置为18px */
    letter-spacing: 0px; /* 字间距设置为3px */
    font-weight: 400;
}


.phrase_text {
    border-radius: 6px;
    background: #fff;
    border: 1px solid #fe609a;
    padding: 15px;
    margin: 18px 8px;
    color: #000;
    cursor: pointer;
    transition: border 0.3s;
    display: block;
    /* 添加投影效果 */
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}


.phrase_search {
    border-radius: 6px;
    background: #fff;
    border: 1px solid #fe609a;
    padding: 15px;
    margin: 18px 8px;
    color: #000;
    cursor: pointer;
    transition: border 0.3s;
    display: block;
    height: 48px;
    width: 96%;
    /* 添加投影效果 */
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}


.phrase_search:hover {
    border-radius: 6px;
    background: #fff;
    border: 1px solid #fe609a;
    padding: 15px;
    margin: 18px 8px;
    color: #000;
    cursor: pointer;
    transition: border 0.3s;
    display: block;
    height: 48px;
    width: 96%;
    /* 添加投影效果 */
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}


.sousuo {
    display: inline-block;
    text-align: center;
    width:100%;
}

.phrase:hover {
    border-color: #fe609a;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
}


/* 弹窗的基本样式 */

.modal {
            display: none; /* 默认不显示 */
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.4); /* 半透明背景 */
}
/* 弹窗内容的样式 */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 10px;
  margin-top:148px;
  border: 1px solid #f186ad;
  border-radius: 6px;
  width: 80%; /* 弹窗宽度 */
}

/* 关闭按钮的样式 */
.close {
  color: #fe609a;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -10px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}