/* All characters */

.characters-section {
    position: relative;
    text-align: center;
    padding: 0px 60px;
    z-index: 5;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    row-gap: 0px;
    max-width: 1080px;
    margin: 0 auto;
}

.characters-header {
    text-align: center;
    z-index: 5;
    position: relative;
    margin-top: 110px;
}

.characters-title {
    font-size: 60px;
    color: white;
    font-weight: normal;
}

.characters-subtitle {
    font-size: 20px;
    color: #fff;
    margin-bottom: 25px;
    
}
.characters-section-name {
    text-align: center;
    font-size: 25px;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 10px;
    margin: 20px auto;
    width: 400px;
    margin-bottom: 70px;
}

.character {
    position: relative;
    width: 160px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.character-img:hover {
    cursor:pointer;
    transform: scale(1.05);
    filter:
        drop-shadow(0 0 3px white)
        drop-shadow(0 0 6px white)
        drop-shadow(0 0 9px white);
}

.character-img {
    position: relative;
    left: 0%;
    margin-top: -45px;
    top: 45px;
    width: 160px;
    transform: scale(1);
    transform-origin: center bottom;
    z-index: 3;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.pillar-img {
    width: 100%;
    z-index: 1;
    position: relative;
}

.shadow {
    position: absolute;
    width: 100px;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 100%;
    bottom: 153px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    filter: blur(2px);
}

.shadow.yellowshellmet {
    height: 15px;
    width: 70px;
    left: 35%;
    bottom: 155px;
}

.sign {
    background-image: url('../img/characters/sign.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 70px;
    position: absolute;
    bottom: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
  }
  
  .sign span {
    width: 70%;
    font-size: 20px;
    text-align: center;
    color: white;
    text-shadow: 0 0 2px #000, 0 0 6px #000;
  }

/* Character Info */

#character-detail {
    display: none;
    z-index: 6;
    position: relative;
    padding: 130px 40px;
    gap: 80px;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: row;    
    margin-left: 240px;
    width: calc(100vw - 240px);
}

.character-detail-img {
    position: fixed;
    width: 250px;
    left: 300px;
    top: 151px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter:
        drop-shadow(0 0 2px white)
        drop-shadow(0 0 2px white)
        drop-shadow(0 0 2px white)
}

.character-detail-img.playable:hover {
    cursor:pointer;
    filter:
        drop-shadow(0 0 1px rgb(255, 0, 0))
        drop-shadow(0 0 1px rgb(255, 0, 0))
        drop-shadow(0 0 1px rgb(255, 0, 0));
}

.character-detail-img-bounce {
    animation: bounce 0.4s ease;
    filter: none !important;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(10px);
    }
}

.character-detail-shadow {
    position: fixed;
    left: 345px;
    top: 443px;
    width: 156px;
    height: 31px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 100%;
    bottom: 153px;
    filter: blur(2px);
}

.character-detail-pillar-img {
    position: fixed;
    width: 250px;
    left: 300px;
}

.character-detail-pillar-top-img {
    top: 395px;
}

.character-detail-pillar-middle-img {
    top: 515px;
    height: 100vh;
}

#character-info {
    color: white;
    padding-left: 320px;
    flex-grow: 1;
    max-width: 100%;
}

#character-preview {
    color:rgb(0, 0, 0);
}

#char-name {
    font-size: 70px;
    text-shadow: 0 0 12px rgb(0, 0, 0);
    margin-bottom: 20px;
}

.info-block {
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid white;
    border-radius: 20px;
    padding: 20px;
}

.info-title {
    font-size: 35px;
    color:#FF66CC;
}

.info-content {
    font-size: 25px;
}

.info-content a {
    color: #3c8aff;
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.penta-stats {
    color: #ff8787;
    animation: shake 0.4s infinite linear;
    filter: drop-shadow(0 0 6px #ff2222);
}

@keyframes shake {
    0% { transform: translate(0px, 0px);}
    20% { transform: translate(-0.5px, 0.5px);}
    40% { transform: translate(-0.5px, -0.5px);}
    60% { transform: translate(0.5px, 0.5px);}
    80% { transform: translate(0.5px, -0.5px);}
    100% { transform: translate(0px, 0px);}
}

@media (min-width: 900px) {

    .enemy-row {
        display: flex;
        justify-content: center;
        gap: 60px;
    }

    .enemy-row:nth-child(2) {
        margin-top: -80px;
    }
}

@media (max-width: 900px) {
    .enemy-row {
        display: contents;
    }
}