/* main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    height: 60vh;
    gap: 20px;
} */

h1 {
    text-align: center;
    font-size: 6vw;
    color: #000000;
    margin-left: 50%;
    margin-top: 5px;
    margin-bottom: 20px;
    transform: translate(-50%);
    font-family: cursive;
    text-shadow: 7px 0px 13px #ffdb99;
}

p{
  position: relative;
  color: white;
  top: 95%;
  left: 20px;
  display: inline-block;
}

.filter {
    position: relative;
    /* background-color: rgba(107, 110, 111, 0.758); */
    height: 100%;
    top: -100%;
    display: block;
    opacity: 0;
    box-shadow: 1px -88px 84px 23px rgb(9 9 9 / 81%) inset;
}

.filter:hover {
    opacity: .9;
    transition: opacity .5s ease-in-out;
    cursor: pointer;
}


.main{
    position: relative;
    opacity: .1;
    transition: opacity 2s ease-in-out;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    height: 60vh;
    margin-bottom: 20px;
    height: auto;
}

.main0{
    opacity: .9;
    transition: opacity 2s ease-in-out;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    height: 60vh;
    margin-bottom: 20px;
    height: auto;
}

h2 {
    position: relative;
    top: -110%;
    left: 5px;
    color: navajowhite;
    /* visibility: hidden; */
}

#next {
    position: relative;
    color: antiquewhite;
    top: -127px;
    font-size: 35px;
    font-family: cursive;
    padding-bottom: 50px;
    left: 90vw;
    transform: translate(-100%, 0px);
    width: fit-content;
    cursor: pointer;
}

#back {
    position: relative;
    color: antiquewhite;
    top: 0;
    font-size: 35px;
    font-family: cursive;
    padding-bottom: 50px;
    left: 10%;
    width: fit-content;
    cursor: pointer;
    /* transform: translate(-15%, 0px); */
}
/* transition: background-position 0.5s ease-in-out; */
#next:hover, #back:hover{
    color: orange;
    transition: color .3s ease-in-out;
}













#close {
    font-size: x-large;
    position: relative;
    right: -45%;
    text-shadow: rgb(255, 219, 153) 0px 1px 16px;
    top: 10px;
    cursor: pointer;
}

.overlay {
    position: fixed;    
    top: 50%;           
    left: 50%;
    width: 0;           
    height: 0;
    background-color: #474747a2; 
    opacity: 0;
    z-index: 1000;
    overflow: hidden;
    transition: all 1s ease-in-out;
    transform: translate(-50%, -50%);
}

.overlay.show {
    width: 100vw;    
    height: 100vh;    
    opacity: 1;
    backdrop-filter: blur(15px);

}
#trans{
    padding-top: 5vh;

}

#trans div img{
    z-index: -1;
    width: 500px;
    height: 750px;
}

#trans div {
    position: relative;
    margin: auto;
    width: 1000px;
    height: 750px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-image: linear-gradient(to right, rgb(0 0 0 / 2%), rgb(0 0 0 / 62%));
}

#trans div div {
    display: grid;
    width: 500px;
    height: 750px;
    align-items: start;
    align-content: start;
    justify-content: start;
    box-shadow: 95px 0px 128px 20px #000000ed;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: #6d6d6d #000000;
}
.imgs{
    width:500px;
    height: 750px;
}

/* #trans div div P{
    font-size: 19px;
} */

#title1{
    display: inline-block;
    position: relative;
    font-size: 46px;
    top: 20px;
    color: #d5974e;
}

#kind {
    position: relative;
    font-size: 18px;
    color: #d5974e;
    top: -30px;
}

#trans div div span{
   font-size: large;
   color: #d5974e;
   margin-left: 18px;
   /* display: inline-block; */
   font-weight: bold;
}

#title{
    display: contents;
}

#overview {
    width: 90%;
    text-align: justify;
}

#seasons{
    display: inline-block;
    top:-25px;
    color: #d5974e;
    font-weight: bold;
}

#overview1{

    margin-top: 20px;
}