body {
    font-family: 'Arial', sans-serif;
    background-color: #A56CD1;
    }

            
#container {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 30px;
            }

            #container a {
             font-weight: bold;
          	 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: flex-start; 
         gap: 100px;                   
         padding-left: 70px;          
                    }

        #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;
       }

        aside {
         background-color: #1c347d;
         width: 200px;
         padding: 20px;
               }

        main {
         background-color: #B0DED6;
         flex: 1;
         padding: 20px;
         order: 2;
              }

        #rightSidebar {
         order: 3;
         background-color: #ECECEC;
                       }

        footer {
         background-color: #000000;
         height: 30px;
         display: flex;
         align-items: center;            
         padding: 20px 40px;            
                }

        .box {
          padding: 10px;
              }

        .v {
         width: 125px;
         height: 125px;
            }

        .m {
         width: 60px;
         height: auto;
            }

        .gallery img {
         width: 100px;
         height: 100px;
         object-fit: cover;
         background: #438aa0;
         border: 2px solid #6C26A5;
         margin: 2px;
         border-radius: 5px;
                      }

        .txtec {
         display: flex;
         align-items: stretch; 
         gap: 15px;            
         width: 100%;
         max-width: 1000px;    
         margin: 0 auto;       
                }

        .explanation {
         box-sizing: border-box;
         background-color: #FFFFFF;
         padding: 0.2px;
         padding-left: 20px;
         padding-right: 20px;
         border: 3.5px solid #E4E3E4;
         border-radius: 9px;
         text-align: justify;
                      }

        .c {
         width: 260px;
         height: auto;
         margin-left: -10px; 
         z-index: 10;
            }

        .ldrs {
         font-size: 10px;
              }

        .h1 {
         font-size: 12.9px;
         text-align: justify;
             }

        .h2 {
         font-size: 14px;
            }

.fanarts-section {
    margin-top: 20px;
    text-align: center;
}

.fanarts-grid {
    display: grid;
    grid-template-columns: repeat(2, 60px);
    grid-template-rows: repeat(2, 60px);
    gap: 5px;
    width: 125px;
    height: 125px;
    margin: 0 auto 10px auto;
}

.fanarts-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1.5px solid #6C26A5;
    border-radius: 4px;
    box-sizing: border-box;
}

.video-section {
    margin-top: 25px;
    display: flex;
    align-items: flex-start; 
    gap: 15px;               
}

.promo-video {
    width: 260px;        
    height: auto;
    border-radius: 9px;
    outline: none;
    flex-shrink: 0;      
    display: block;
}

.video-text {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #000000;
    line-height: 1.4;
    text-align: justify;
    margin: 0;               
    flex: 1;                 
}

.credito {
    text-align: center;
    font-size: 13px;
    font-family: 'Arial', sans-serif;
    margin-top: 15px;
    color: #749191;
}

.credito a {
    color: #638282;
    font-weight: bold;
    text-decoration: underline;
}

/* RESPONSIVIDADE (MOBILE I TABLETS)*/


#container {
    width: 100%;
    max-width: 900px;
}

.promo-video {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    
   
    #flex {
        flex-direction: column;
    }

    main {
        order: 1; 
    }

    #rightSidebar {
        order: 2; 
        width: 100%;
        box-sizing: border-box;
    }

    #navbar {
     min-height: 40px;
     height: auto;
     background-color: #ECECEC;
     width: 100%;
     background-image: linear-gradient(to right, #ECECEC 73.4%, #EBEBEB 73.4%); 
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 10px 0;
            }

    #navbar ul {
     display: flex;
     flex-wrap: wrap;
     padding: 0;
     margin: 0;
     list-style-type: none;
     justify-content: center; 
     align-items: center;
     gap: 30px; 
     width: 100%;
                }

    .txtec {
        flex-direction: column;
        align-items: center;
    }

    .promo-video {
        width: 100%;
    }

    .explanation {
        padding: 15px;
    }
}


#navbar li a {
    font-family: 'Fredoka', sans-serif;
    font-size: 18px;
    color: #6F35A6;
    font-weight: 800;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

#navbar li a:hover {
    color: #31A1AD;
    text-decoration: underline wavy #413C4C;
    letter-spacing: 0.3px;
}

/* Ajuste fino para telas muito pequenas */
@media screen and (max-width: 480px) {
    #navbar ul {
        gap: 15px;
    }
    
    #navbar li a {
        font-size: 15px;
    }
}