@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #df6a82;
    --bg-color: #ffcfce;
    --text-color: #4b2f29;
    --text-secondary-color: #714a42;
}

a {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--primary-color);
}

a:hover {
    color: #fff;
    background-color: var(--text-secondary-color);
}

li {
    list-style: none;
}

body {
    background-color: var(--bg-color);
}

.active {
    color: #fff;
    background-color: var(--text-secondary-color);
}

header {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background-color: var(--primary-color);
    color: var(--text-color);
}
header .logo {
    width: 80px;
    height: 80px;
    letter-spacing: 2px;
    background: url('../image/甜觅logo.png') no-repeat center center/contain;
    background-size: 300%;
}
header ul {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}
header .btns {
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    gap: 20px;
}
header .btns a:last-child {
    border: 2px solid var(--text-color);
}

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-color);
}

marquee {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    background-color: var(--primary-color);
}

marquee span {
    display: inline-block;
    padding: 10px 0;
    margin-right: 150px;
}

@font-face {
    font-family: 'iconfont';
    src: url('../icon/iconfont.ttf') format('truetype');
}
.iconfont {
    font-family: 'iconfont' !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#bgm span {
    font-size: 4rem;
    position: fixed;
    bottom: 100px;
    right: 100px;
    cursor: pointer;
    color: var(--primary-color);
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}
#bgm #play {
    animation: rotate 10s linear infinite;
}

#bgm #pause {
    display: none;
}

.banner {
    width: 100%;
    background: url('../image/banner.jpg') no-repeat bottom center/cover;
}
.banner video {
    vertical-align: top;
    width: 100%;
    height: calc(100vh - 100px);
    object-fit: cover;
}

main {
    width: 70vw;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-color);
}
main .story {
    width: 100%;
    margin: 100px 0;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
main .story img {
    width: 50%;
    object-fit: cover;
    border-radius: 10px;
}
main .story .right h2 {
    margin: 40px 0;
}
main .story .right p {
    letter-spacing: 1px;
    line-height: 2;
}
main .series {
    width: 100%;
    margin: 100px 0;
    margin-bottom: 150px;
}
main .series h2 {
    margin-bottom: 40px;
}
main .series ul {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
}
main .series ul li {
    width: 30%;
    height: 500px;
    padding: 20px;
}
main .series ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    object-position: center;
    margin-bottom: 30px;
}
main .series ul li h3 {
    margin-bottom: 10px;
    text-align: center;
}
main .evaluation {
    width: 100%;
    margin-bottom: 150px;
}
main .evaluation h2 {
    margin-bottom: 40px;
    text-align: center;
}
main .evaluation .card {
    border-radius: 50px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}
main .evaluation .card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    margin-right: 30px;
    border-radius: 30px;
}
main .evaluation .card p {
    padding: 20px;
    letter-spacing: 1px;
    line-height: 2;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
}

.product {
    width: 100%;
    margin: 100px auto;
    letter-spacing: 2px;
}
.product h2 {
    text-align: center;
    margin-bottom: 30px;
}
.product p {
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 40px;
}
.product ul {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
}
.product ul li {
    width: 30%;
    height: 500px;
    padding: 20px;
    transition: all 0.3s ease;
}
.product ul li img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    object-position: center;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}
.product ul li:hover {
    scale: 1.01;
    translate: 0 -5px;
}

.blog {
    min-height: 90vh;
}
.blog h2 {
    margin: 100px 0 40px 0;
}
.blog p {
    margin-bottom: 50px;
}
.blog .article > h3 {
    margin-bottom: 20px;
    cursor: pointer;
}
.blog .article .content {
    transition: all 0.5s ease;
    height: 0;
    overflow: hidden;
}
.blog .article .content h3 {
    margin: 20px 0;
    font-size: 1.1rem;
}
.blog .article .content li {
    list-style: initial;
    margin-left: 40px;
}
.blog .article .content p:last-child {
    margin: 20px 0 40px 0;
}

section.contact {
    width: 100%;
    margin-top: 100px;
    min-height: 80vh;
    letter-spacing: 2px;
}
section.contact a {
    color: #000;
    background-color: #fff;
}
section.contact h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 40px;
}
section.contact p {
    margin-bottom: 100px;
}
section.contact .content {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 100px;
}
section.contact .content .left {
    flex: 1;
}
section.contact .content .left form {
    width: 80%;
}
section.contact .content .left input,
section.contact .content .left textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    background-color: #f2f2f2;
}
section.contact .content .left input:hover,
section.contact .content .left textarea:hover {
    border: 1px solid #000;
}
section.contact .content .left input[name='name'],
section.contact .content .left input[name='email'] {
    height: 50px;
}
section.contact .content .left textarea {
    height: 200px;
}
section.contact .content .left input[type='submit'] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #e29080;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
}
section.contact .content .left input[type='submit']:hover {
    background-color: #de8270;
}
section.contact .content .right {
    flex: 1;
    font-size: 1.5rem;
}
section.contact .content .right ul {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
section.contact .content .right ul li {
    height: 30px;
    display: flex;
    align-items: center;
}
section.contact .content .right ul li i {
    display: inline-block;
    width: 30px;
    height: inherit;
    margin-right: 30px;
}

main.register {
    width: 100%;
    margin: 0;
    max-width: 100vw;
}

.register-form {
    width: 100%;
    margin-top: 0;
    background: url('../image/bg.jfif') no-repeat center center/cover;
    color: #6b2e1b;
    overflow: auto;
}
.register-form form {
    width: 600px;
    padding: 50px;
    margin: 100px auto;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.3176470588);
    backdrop-filter: blur(20px);
}
.register-form form h2 {
    text-align: center;
    margin: 40px;
    letter-spacing: 2px;
    color: var(--text-color);
}
.register-form form label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}
.register-form form input,
.register-form form textarea {
    width: 100%;
    padding: 5px 10px;
    margin-bottom: 20px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    font-size: 1.1rem;
    background-color: #ffffff;
}
.register-form form input:hover,
.register-form form textarea:hover {
    border: 2px solid var(--primary-color);
}
.register-form form input {
    height: 50px;
}
.register-form form textarea {
    height: 200px;
}
.register-form form .flat-list {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.register-form form .flat-list .item {
    width: fit-content;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
}
.register-form form .flat-list .item input {
    margin: 0;
}
.register-form form .flat-list .item label {
    margin: 0;
}
.register-form form .flat-list .item input[type='radio'] {
    width: 20px;
    height: 20px;
}
.register-form form .flat-list .item input[type='checkbox'] {
    height: 20px;
    width: 20px;
}
.register-form form input[type='date'] {
    width: 40%;
}
.register-form form select {
    width: 40%;
    padding: 5px 10px;
    margin-bottom: 20px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    font-size: 1.1rem;
    background-color: #ffffff;
    color: var(--text-color);
}
.register-form form input[type='file'] {
    width: fit-content;
    height: fit-content;
    margin-bottom: 20px;
}
.register-form form input[type='submit'] {
    width: 100%;
    height: fit-content;
    padding: 10px;
    margin: 100px 0 60px 0;
    border: none;
    border-radius: 5px;
    background-color: #e29080;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
}
.register-form form input[type='submit']:hover {
    background-color: #de8270;
}

/*# sourceMappingURL=index.css.map */
