.w {
    width: 1200px;
    margin: auto;
}


li {
    list-style: none;
}

a {
    text-decoration: none;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


/****/

.goods {
    height: 60px;
    margin-top: 9px;
    background-color: #fff;
    box-shadow: 0 2px 3px 3px rgba(0, 0, 0, .1);

    line-height: 60px;
}

.goods h3 {
    font-size: 16px;
    float: left;
    margin: 0 35px;
    color: #00a4ff;
}

.goods ul {
    float: left;
}

.goods ul li {
    float: left;
}

.goods ul li a {
    font-size: 16px;
    padding: 0 35px;
    border-left: 1px solid #bfbfbf;
    color: #050505;
}

.goods .mod {
    font-size: 14px;
    float: right;
    margin-right: 28px;
    color: #00a4ff;
}

/**RECENT UPDATES**/

.box {
    margin-top: 35px;
}

.box-hd {
    height: 6vh;
    padding-left: 5rem;
}

.box-hd h3 {
    float: left;
    font-size: 20px;
    font-weight: 400;
    color: #494949;
}

.box-hd a {
    float: right;
    margin-top: 12px;
    margin-right: 31px;
    font-size: 12px;
    color: #a5a5a5;
}

.box-bd {
    display: flex;
    width: 81vw;
    margin-left: 5rem;
}

.box-bd ul {
    width: 100vw;
}

.box-bd ul li {
    position: relative;
    float: left;
    width: 200px;
    height: 350px;
    margin-right: 12px;
    margin-bottom: 15px;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .1);
}

.box-bd ul li .photo img {
    width: 100%;
}

.box-bd ul li>img {
    position: absolute;
    z-index: 2;
    top: 6px;
    right: -4px;
}


.photo {
    text-align: center;
    position: relative;
    width: 190px;
    height: 200px;
}

.photo img {
    width: 100%;
    height: 100%;
}

.mask {
  
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4) url(../images/arr.png) no-repeat center;
}

.photo:hover .mask {
   
    display: block;
    cursor: pointer;
}

.text {
    height: 67px;
    margin-left: 25px;
    margin-right: 20px;
    padding: 25px 0;
}

.text h6 {
    height: 35px;
    font-size: 14px;
    font-weight: 400;
    color: #050505;
}

.text p {
    float: left;
    margin-top: 17px;
    height: 15px;
    font-size: 12px;
}

.text .a {
    color: #ff7c2d;
}

.text .b {
    color: #999999;
    padding: 0 12px;
}

.text .c {
    color: #999999;
}


.introduction {
    margin-top: 15px;
}

.introduction-hd {
    height: 5vh;
    padding-left: 5rem;
}

.introduction-hd h3 {
    float: left;
    width: 230px;
    font-size: 20px;
    font-weight: 400;
    color: #494949;
}

.introduction-hd .all {
    float: right;
    margin-bottom: 26px;
    margin-right: 31px;
    font-size: 12px;
    color: #a5a5a5;
}

.introduction-bd {
    display: flex;
    height: auto;
    margin-left: 5rem;
}

.introduction-bd ul {
    width: 98vw;
}

.introduction-bd ul li {
    position: relative;
    float: left;
    width: 200px;
    height: 270px;
    margin-right: 12.5px;
    transition: all 0.6s;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .1);
}

.introduction-bd ul li img {
    width: 100%;
    height: 100%;
}

.introduction-bd ul li .new {
    position: absolute;
    width: 40px;
    height: 24px;
    z-index: 2;
    top: 6px;
    right: -4px;
}

.introduction-bd ul li:hover {
    border: 1px solid orange;
    cursor: pointer;
    transform: scale(1.05);
}

/**FOOTER DESIGN**/

.footer {
    margin-top: 2rem;
    background-color: #f4a12b;
    padding: 3.5rem;
}

.footer p {
    font-size: 1.5rem;
    color: #666666;
    padding-bottom: 20px;
    width: 90vw;
}

.contactBtn {
    display: block;
    width: 12rem;
    height: 4rem;
    border: 1px solid black;
    font-size: 16px;
    color: black;
    text-align: center;
    padding: 1rem;
}

.contactBtn:hover {
    background-color: #333;
    color: #fff;
    border-color: black;
    transform: scale(1.2); /* Enlarge the button on hover */
}

/****/

.contact:hover .leftcode {
    display: block;
}

.leftcode {
    display: none;
    position: absolute;
    z-index: 10;
    top: 0px;
    right: 110px;
    width: 160px;
    height: 188px;
    background-color: #fff;
    border: 1px solid #F5F5F5;
}

.leftcode img {
    width: 100px;
    height: 100px;
    margin: 30px 30px 17px 30px;
}

.leftcode p {
    width: 96px;
    text-align: center;
    line-height: 18px;
    margin: auto;
    color: #9f9f9f;
}


.week-buttons {
    display: flex;
    justify-content: flex-end;  
    margin-top: 10px;          
}


.week-buttons button {
    border: 1px solid #F5F5F5;
    padding: 5px 10px;           
    margin-left: 5px;          
    border-radius: 5px;         
    background-color: #f9f9f9;   
    cursor: pointer;             
    font-family: 'Raleway', sans-serif; 
    color: #9F9F9F;             
    transition: all .2s linear;  
}

/* Button hover effect */
.week-buttons button:hover {
    background-color: #ddd;      
    color: orange;               
}



/* Styles for the seven buttons in recent.html */
h1 .week-buttons {
    display: inline-block;
    margin-left: 20px;
}

/* Styles for the two buttons in popular.html */
.comic-image-container {
    position: relative;
}

.comic-image-container button {
    position: absolute;
    top: 10px;
    left: 10px;
}

.comic-image-container button:last-child {
    top: 40px;
}

.content h3 {
    font-size: 24px; 
    color: #333; 
    font-weight: bold; 
    margin-bottom: 20px; 
    text-align: center; 
}
.comic-top {
    background-color: #f4a12b; 
    text-align: center;
    padding: 20px;
}

.comic-cover {
    max-width: 100%;
    height: auto;
}

.comic-title h1 {
    margin-top: 0;
}

.comic-content {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.chapter-list {
    width: 30%; 
}

.comic-description {
    width: 65%; 
    padding-left: 5%; 
}

.comic-top {
    max-width: 1200px; 
    margin: 0 auto; 
    text-align: center; 
    position: relative; 
}

.comic-cover {
    width: 100%; 
    height: auto; 
    display: block; 
}

.comic-title {
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    color: rgb(0, 0, 0); 
    padding: 10px;
}

.comic-content {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    max-width: 1200px; 
    margin: auto; 
    padding: 20px; 
    box-sizing: border-box; 
}

.chapter-list,
.comic-description {
    background: white; 
    border: 1px solid #ddd; 
    padding: 20px; 
    flex: 1; 
    margin: 0 10px; 
    box-sizing: border-box; 
}

@media (max-width: 768px) {
    .comic-content {
        flex-direction: column;
        align-items: center; 
    }

    .chapter-list,
    .comic-description {
        width: 100%; 
        margin: 10px 0; 
    }
}


.comic-content h2 {
    font-size: 2em; 
    color: #333; 
    margin-bottom: 0.5em; 
    text-align: left; 
}


.comic-content p {
    font-size: 1.2em; 
    color: #666; 
    line-height: 1.6; 
    text-align: justify; 
}


.chapter-list a {
    font-size: 1.2em; 
    color: #007bff; 
    text-decoration: none; 
    line-height: 1.6; 
}

.chapter-list a:hover {
    text-decoration: underline; 
}



.search-results-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%; 
    background-color: #f9f9f9; 
    border: 1px solid #ddd; 
    margin: 20px; 
    padding: 20px; 
}



.search-results-list {
    list-style-type: none;
    padding: 0;
    width: 100%; 
}

.search-results-list li {
    background-color: #f2f2f2; 
    border: 1px solid #ddd; 
    padding: 10px; 
    margin: 10px; 
    text-align: center; 
    list-style-type: none; 
}


.search-results-list li a {
    text-decoration: none;
    color: blue;
    display: block;
}

.comic-top {
    position: relative; /* 确保定位上下文正确 */
}

.favorite-btn {
    font-size: 24px; 
    color: red; 
    background: none; 
    border: none; 
    cursor: pointer;
    position: absolute; 
    top: 10px; 
    right: 10px; 
    z-index: 10; 
}
  
  
  .favorite-btn.active {
    color: #ccc; 
  }

  
  h1 {
    text-align: center;
    font-size: 2em; 
    margin-bottom: 0.5em; 
  }
  
  #favorites-list {
    list-style: none; 
    padding: 0; 
    font-size: 1.2em; 
    display: inline-block; 
    text-align: center; 
    width: 100%; 
  }
  
  #favorites-list li {
    margin-bottom: 0.5em; /
  }
  
  #favorites-list a {
    color: blue; 
    text-decoration: none; 
  }
  
  #favorites-list a:hover {
    text-decoration: underline; 
  }
  
  #favorites-list button {
    margin-left: 1em; 
    font-size: 1em; 
    cursor: pointer; 
  }
  
  
