* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#title img{
    object-fit: cover;
    object-position: bottom;
    aspect-ratio: 9/1.5;
    width:100%;
    padding: 0;
    margin: 0
}

body{
    background-color: rgb(49, 49, 227);
}

h1{
    font-size: 50px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: yellow;
    text-align: center;
    margin-top: 40px;
}

p{
    font-size: 35px;
    padding-top: 35px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

u{
    color: yellow;
}

a:hover{
    color: white;
}

h2{
    font-size: 50px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: black;
    text-align: center;
    margin-top: 20px;
}
h3 {
    font-size: 50px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(123, 123, 123);
    text-align: center;
    margin-top: 40px;
}
h4 {
    font-size: 50px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(255, 162, 0);
    text-align: center;
    margin-top: 40px;
}


a{
   color: black;
}

main {
    display: grid;
    gap: 1.44rem;
    margin: -35px;
}
img{
    width: 40rem;
    padding: 100px;
}
#concept{
    transition: transform 0.5s;
}
#concept:hover {
    transform: scale(1.3);
}

#cards img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    transition: opacity 0.5s;
    width: 50rem;
    
}

#cards figure {
    position: relative;
}


#cards section {
    padding: 0 0.5rem 0.25rem;
}


#cards .top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

#cards a:hover .top {
    opacity: 1;
}
#dragon{
    animation-name: dragonMove;
    animation-duration: 6000ms;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}
 @keyframes dragonMove {
    0% {
        transform: translateX(40px);
    }
    50% {
        transform: translateX(-60px);
    }
 }

#aizen {
    animation-name: aizenMove;
    animation-duration: 6000ms;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}
 @keyframes aizenMove {
     0% {
         transform: translateY(60px);
     }

     50% {
         transform: translateY(-70px);
     }
 }
#villain {
    transition: transform 1s;
}

#villain:hover {
    transform: scale(1.5);
}
@media screen and (min-width: 600px) {
    main {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (min-width: 1200px) {
    main {
        grid-template-columns: repeat(3, 1fr);
    }
}