@charset "UTF-8";

:root {
    --varColor: #7F2C19;
    --focusColor: #8A533A;
}

html {
    font-size: calc(100vw / 375 * 100);
}

@media screen and (min-width: 750px)  {
    html {
        font-size: 200px;
    }
}

body, p, h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, pre {
    margin: 0;
    padding: 0;
    border: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: "microsoft yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.14rem;
    color: #333;
    line-height: 1.5;
    max-width: 750px;
    min-width: 320px;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: var(--varColor);
}

input, button {
    outline: none;
    border: none;
}

img {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
    object-fit: cover;
    transition: .3s;
}

.img {
    display: block;
    overflow: hidden;
}

.img img {
    width: 100%;
    height: 100%;
}

.img:hover img {
    transform: scale(1.1);
}

.lf {
    float: left;
}

.rt {
    float: right;
}

.container {
    position: relative;
    margin: 0 0.15rem;
    overflow: hidden;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: justify;
}

.ellipsis-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-align: justify;
}

/*头部*/
header{
    padding: 0.1rem;
    background: linear-gradient(to right, #95553D, #73341C);
}

section {
    position: relative;
    flex-grow: 1;
}

/*尾部*/
footer{
    margin-top: 0.2rem;
    position: sticky;
    bottom: 0;
    background: #f9f9f9;
}
footer .bottom{
    display: none;
}
footer ul{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
footer ul li a{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.05rem 0;
}
footer ul li img{
    width: 0.24rem;
}