
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
nav{
    background-color: rgba(255, 255, 255, 0.219);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav li{
    height: 50px;
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    text-decoration: none;
    align-items: center;
    color:#252d58;
}
nav a:hover{
    background-color: #121e6133;
}   
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(87, 81, 81, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none; 
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    
}
.sidebar li, a{
    width: 100%;
}
body {
    font-family: 'Winky Rough';
    font-size: 22px;
    min-height: 100vh;
    color:#252d58;
    background-image: url(/Img/background.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.side {
    margin-top: 20px;
}

.side h3 {
    margin: 0;
    margin-top: 100px;
    font-size: 22px;
    display: inline;
}

.Characters {
     display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 30px; 
  margin: 0 auto; 
  max-width: 1000px; 
}

.comics {
    text-align: center;
    margin-top: 20%;
}

.wip {
    width: 1%;
    min-width: 150px;
}

.idk {
    margin-left: 30px;
    margin-top: 10%;
}

.intro {
    margin-top: 5%;
}

.desc {
    max-width: 90%;
    line-height: 1.4;
}

.Button {
    margin-top: 40px;
}

button {
    padding: 10px 35px;
    color: #252d58;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    border: 3px solid #252d58;
    background-color: white;
    margin-top: 20px;
    cursor: pointer;
}

button:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.animated {
    display: none;
    width: 500px;
    max-width: 90%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.animated img {
    width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    body {
        font-size: 18px;
    }
    .Characters {
        grid-template-columns: 1fr;
    }
    button {
        font-size: 16px;
        padding: 8px 25px;
    }

    .wip {
        width: 60%;
    }
    .hide{
        display: none;
    }
}

@media (max-width: 400px) {
    .intro {
        font-size: 1.3rem;
        text-align: center;
    }

    .desc {
        font-size: 1rem;
        padding: 10px;
        text-align: center;
    }

    .Characters {
        margin-left: 10px;
        margin-right: 10px;
    }

    .animated {
        width: 100%;
    }
    .sidebar{
        width: 100%
    }
    
}
.idkflex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 50px;
    gap: 20px;
    background-color: white;
    border: 3px solid #252d58;
    border-radius: 20px;
}

.idktext {
    flex: 1 1 400px;
    min-width: 280px;
    margin-right: 130px;
    margin-left: 20px;
}

.animated {
    flex: 1 1 300px;
    max-width: 800px;
    margin-right: 180px;
    display: none;
}

.animated img {
    width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .animated {
        max-width: 90%;
    }

    .desc, .intro {
        text-align: center;
    }

    .Button {
        text-align: center;
    }
}
.about{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 90px;
    gap: 20px;
    background-color: white;
    border: 3px solid #252d58;
    border-radius: 20px;
}
.about p{
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.chara{
    margin-left: 20px;
    margin-bottom:20px;
}
.chara ul{
    list-style-type: none;
}
.chara a{
    color: black;
}
.characterbox {
  display: flex;             
  align-items: center;        
  text-decoration: none;      
  color: inherit;             
  border: 3px solid #252d58;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgb(138, 135, 135);
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  background-color: white;
}

.charaimg {
  width: 200px;
  height: auto;
  border-radius: 0;
  flex-shrink: 0;
  position: relative;
  top: 45px;
  display: block;
  margin-left: 50px;
}
.castimg {
  width: 200px;
  height: auto;
  border-radius: 0;
  flex-shrink: 0;
  position: relative;
  top: 30px;
  display: block;
  margin-left: 0px;
}
.charadesc {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  margin-left: 50px;
  margin-top: 50px;
  align-items: center;
}

.charadesc h2 {
  margin-top: 0;
}


@media (max-width: 600px) {
  .characterbox {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .charaimg {
    width: 60%;
    align-items: center;
    margin-left: 0; 
    margin-bottom: 20px;
    max-width: 250px;
    top: 2;
  }

  .charadesc {
    width: 100%;
    margin-left: 0;   
    margin-top: 25px; 
  }
}

@media (max-width: 600px) {
  .char-img {
    width: 60%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 1/1;
  }
}

.characterbox:hover .charaimg {
  transform: rotate(3deg) scale(1.05);
}
.characterbox:hover .castimg {
  transform: rotate(3deg) scale(1.05);
}
.charaimg {
  transition: transform 0.3s ease;
}
.castimg {
  transition: transform 0.3s ease;
}


.C-desc {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    border: 3px solid #252d58;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 20px;
    max-width: 1000px;
    margin: 20px auto;
    align-items: flex-start;
    background-color: white;
}


.C-desc .char-mid {
    flex: 1 1 250px;
    text-align: center;
}


.C-desc .char-right {
    flex: 2 1 300px;
}


.cimg{
    max-width: 200px;
    height: auto;
    max-width: 3050px;
    
}
.cimgs {
    max-width: 300px;
    height: auto;
    max-width: 3050px;
    margin-top: 50px;
}

.Circleimgs {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 5px;
}

@media (max-width: 600px) {
     .C-desc {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .C-desc .char-left {
        display: none; 
    }

    .char-mid {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .cimg {
        max-width: 90%;
        height: auto;
    }

    .char-right {
        width: 100%;
        margin: 0; 
    }

    .char-right p {
        word-wrap: break-word;
        padding: 0 10px; 
    }

    .Circleimgs {
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 768px) {
    .idktext {
        margin-right: 0;
        margin-left: 0;
    }

    .intro {
        font-size: 1.6rem; 
        line-height: 1.3;
        word-break: break-word;
        margin-right: 20px;
    }

    .desc {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 15px;
        word-break: break-word;
    }

    .idkflex {
        margin: 20px;
        padding: 10px;
    }
        .animated {
        max-width: 100%;
        margin: 0 auto;
    }

    .animated img {
        width: 100%;
        height: auto;
    }
    .about {
        margin-right: 0;
        margin-left: 0;
    }
}

@media (max-width: 400px) {
    .intro {
        font-size: 1.2rem;
    }
    .desc {
        font-size: 0.95rem;
    }
}
.vol{
  display: flex;             
  align-items: center;        
  text-decoration: none;      
  color: inherit;             
  border: 3px solid #252d58;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgb(138, 135, 135);
  overflow: hidden;
  position: relative;
  background-color: white;
}
.volimg {
  width: 200px;
  height: auto;
  border-radius: 0;
  flex-shrink: 0;
  position: relative;
  display: block;
  margin-left: 50px;
}
.voldesc {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  margin-left: 50px;
  align-items: center;
}