body {
    font-family: 'Arial', sans-serif;
    background-color: #A56CD1;
    }

            
#container {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 30px;
            }

            #container a {
          	 text-decoration: none;
                          }
                
       		#container li a: hover {
             color: #ecbe44
             text-decoration: none
                                    }   

#header {
  width: 100%;
  aspect-ratio: 1100 / 425;
  background-image: url("imagens/h.png");
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
        }
            

            /* nav */
#navbar {
    height: 40px;
    background-color: #ECECEC;
    width: 100%;
    background-image: linear-gradient(to right, #ECECEC 73.4%, #EBEBEB 73.4%); 
         }

        #navbar ul {
         display: flex;
         padding: 0;
         margin: 0;
         list-style-type: none;
         justify-content: center; 
         gap: 150px;                             
                    }

        #navbar li {
         padding-top: 10px;
                    }

        #navbar li a {
         font-family: 'Fredoka', sans-serif;
         font-size: 19px;
         color: #6F35A6;
         font-weight: 800;
         text-decoration: none;
         text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
                      }

        #navbar li a:hover {
         color: #31A1AD;
         text-decoration: underline wavy #413C4C;
         letter-spacing: 0.3px;
                            }


#flex {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


    .scroll-wrapper {
     width: 100%;
     max-width: 100%;
     margin: 0 auto;
     padding: 20px 0; 
     box-sizing: border-box;
                    }

    .scroll-container {
     display: flex;
     gap: 20px; 
     overflow-x: auto; 
     padding-bottom: 15px; 
     scroll-behavior: smooth;
     -webkit-overflow-scrolling: touch; 
                        }

    .scroll-container::-webkit-scrollbar {
     height: 8px;
                                            }

    .scroll-container::-webkit-scrollbar-track {
     background: #f1f1f1;
     border-radius: 10px;
                                                }

    .scroll-container::-webkit-scrollbar-thumb {
     background: #6a1b9a;
     border-radius: 10px;
                                                }

     .scroll-container::-webkit-scrollbar-thumb:hover {
     background: #8e24aa;
                                                        }

    .character-card {
     min-width: 250px; 
     background-color: #ffffff;
     border: 2px solid #b39ddb;
     border-radius: 12px;
     padding: 20px;
     text-align: center;
     box-shadow: 0 4px 8px rgba(0,0,0,0.05);
                    }

    .character-card img {
     width: 120px;
     height: 120px;
     border-radius: 50%;
     object-fit: cover;
     margin-bottom: 10px;
                        }

        aside {
         background-color: #1c347d;
         width: 200px;
         padding: 20px;
               }

        main {
         background-color: #B0DED6;
         flex: 1;
         padding: 20px;
         max-width: 100%;
         box-sizing: border-box;
         overflow: hidden; 
                }

    .volumes {
     display: flex;
     align-items: stretch; 
     gap: 15px;            
     width: 100%;
     max-width: 100%;    
     margin: 0 auto;       
     box-sizing: border-box;
                }

    .explanation {
     flex: 1;
     box-sizing: border-box;
     background-color: #FFFFFF;
     padding: 20px;
     border: 3.5px solid #E4E3E4;
     border-radius: 9px;
     text-align: justify;
                    }

    .c {
     width: 260px;
     height: auto;
     margin-left: -10px; 
     z-index: 10;
         }

    .character-card {
     cursor: pointer;
     transition: transform 0.2s, border-color 0.2s;
        }

    .character-profile {
     display: flex;
     flex-direction: column;
     gap: 15px;
     padding: 10px 0;
                        }

    .profile-header {
     display: flex;
     align-items: center;
     gap: 15px;
     border-bottom: 3px dashed #A56CD1; 
     padding-bottom: 10px;
                    }

    .profile-header h2 {
     font-family: 'Fredoka', sans-serif;
     color: #6F35A6;
     font-size: 28px;
     margin: 0;
                        }

    .badge {
     background-color: #31A1AD;
     color: #FFFFFF;
     font-family: 'Fredoka', sans-serif;
     font-weight: 600;
     padding: 4px 12px;
     border-radius: 20px;
     font-size: 14px;
     box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
            }

    .bio-text {
     font-size: 16px;
     line-height: 1.6;
     color: #333333;
                }

    .meta-info {
     display: grid;
     grid-template-columns: 1fr 1fr; 
     gap: 15px;
     margin-top: 10px;
                }

    .info-box {
     background-color: #f9f6fc; 
     border-left: 4px solid #6F35A6;
     padding: 12px;
     border-radius: 0 8px 8px 0;
     font-size: 14px;
     color: #444444;
                }

    .info-title {
     display: block;
     font-family: 'Fredoka', sans-serif;
     font-weight: 700;
     color: #6F35A6;
     margin-bottom: 5px;
                    }

@media (max-width: 600px) {
    .meta-info {
        grid-template-columns: 1fr;
    }
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
                            }

    .content-stella, .content-fantasma, .content-p3, .content-p4, .content-p5, .content-p6, .content-p7 {
     display: none;
        }

    #select-stella:checked ~ .volumes .content-stella {
     display: block;
                                                        }

    #select-stella:checked ~ .volumes img.content-stella {
     display: block; 
                                                          }

    #select-stella:checked ~ .scroll-wrapper [for="select-stella"] {
     border-color: #6a1b9a;
     background-color: #f3e5f5;
     transform: scale(0.9);
                                                                    }
                                                                    
    #select-fantasma:checked ~ .volumes .content-fantasma {
     display: block;
                                                            }

    #select-fantasma:checked ~ .volumes img.content-fantasma {
     display: block;
                                                            }
    #select-fantasma:checked ~ .scroll-wrapper [for="select-fantasma"] {
     border-color: #6a1b9a;
     background-color: #f3e5f5;
     transform: scale(0.9);
                                                                        }

    #select-p3:checked ~ .volumes .content-p3 {
     display: block;
                                                }

    #select-p3:checked ~ .volumes img.content-p3 {
     display: block;
                                                  }

    #select-p3:checked ~ .scroll-wrapper [for="select-p3"] {
     border-color: #6a1b9a;
     background-color: #f3e5f5;
     transform: scale(0.9);
                                                            }

    #select-p4:checked ~ .volumes .content-p4 {
     display: block;
                                                }

    #select-p4:checked ~ .volumes img.content-p4 {
     display: block;
                                                  }

    #select-p4:checked ~ .scroll-wrapper [for="select-p4"] {
     border-color: #6a1b9a;
     background-color: #f3e5f5;
     transform: scale(0.9);
                                                            }

    #select-p5:checked ~ .volumes .content-p5 {
     display: block;
                                                }

    #select-p5:checked ~ .volumes img.content-p5 {
     display: block;
                                                  }

    #select-p5:checked ~ .scroll-wrapper [for="select-p5"] {
     border-color: #6a1b9a;
     background-color: #f3e5f5;
     transform: scale(0.9);
                                                            }

    #select-p6:checked ~ .volumes .content-p6 {
     display: block;
                                                }

    #select-p6:checked ~ .volumes img.content-p6 {
     display: block;
                                                  }

    #select-p6:checked ~ .scroll-wrapper [for="select-p6"] {
     border-color: #6a1b9a;
     background-color: #f3e5f5;
     transform: scale(0.9);
                                                            }

    #select-p7:checked ~ .volumes .content-p7 {
     display: block;
                                                }

    #select-p7:checked ~ .volumes img.content-p7 {
     display: block;
                                                  }

    #select-p7:checked ~ .scroll-wrapper [for="select-p7"] {
     border-color: #6a1b9a;
     background-color: #f3e5f5;
     transform: scale(0.9);
                                                            }

    .m {
     width: 60px;
     height: auto;
        }


    .explanation {
        flex: 1;
        box-sizing: border-box;
        background-color: #FFFFFF;
        padding: 20px;
        border: 3.5px solid #E4E3E4;
        border-radius: 9px;
        text-align: justify;
        display: flex;
        flex-direction: column;
        justify-content: center; 
                }


    .content-character-profile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        gap: 15px; 
                                }
                                
        footer {
         background-color: #000000;
         height: 30px;
         display: flex;
         align-items: center;            
         padding: 20px 40px;            
                }

/* RTC */
@media (max-width: 768px) {
    #navbar {
        height: auto;
        padding: 10px 0;
        background-image: none;
        overflow-x: auto;
    }

    #navbar ul {
        flex-direction: row; 
        justify-content: space-around;
        gap: 15px; 
        padding: 0 10px;
        white-space: nowrap;
    }

    #navbar li a {
        font-size: 15px; 
    }

    .volumes {
        flex-direction: column;
        align-items: center;
    }

    .c {
        width: 180px; 
        margin-left: 0;
        margin-bottom: -15px; 
    }

    .explanation {
        width: 100%;
        padding: 15px;
    }

    .meta-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    footer {
        justify-content: center;
        padding: 15px 20px;
    }
}