.overlay-template-header {
    background-color: hsl(0, 0%, 90%);
    color: hsl(0, 0%, 30%);
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.pokemon-img-section-position {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
}

.type-section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 20%;
    width: 100%;
}

.overlay-template-footer {
    background-color: hsl(0, 0%, 90%);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    height: 50%;
}


.info-sections {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: hsl(0, 0%, 75%);
    height: 10%;
    padding: 2px 1px;
    font-weight: 600;
    font-size: 1.2rem;
}


.info-sections-hover {
    position: relative;
    transition: all .3s ease;
}

.info-sections-hover:hover {
    transform: scale(1.05);
    color: white;
}

.info-sections-hover::after {
    position: absolute;
    height: 2px;
    left: 0;
    bottom: 0;
    width: 0;
    background-color: hsl(0, 0%, 30%);
    transition: all .3s ease;
}

.info-sections-hover::before {
    left: 50%;
}

.info-sections-hover::after {
    right: 50%;
}

.info-sections-hover:hover:after {
    width: 100%;
}

.info-sections-hover.active::before,
.info-sections-hover.active::after {
    width: 100%;
}


.pokemon-name-overlay {
    font-weight: 700;
    font-size: 1.5rem;
}

.x:hover {
    color: hsl(0, 100%, 50%);
    transform: scale(1.1);
}

.x {
    transition: all .3s ease;
    color: hsl(0, 0%, 25%);
    font-size: 2rem;
}


.card-footer-overlay {
    background-color: hsl(0, 0%, 90%);
    height: 50px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.type-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    gap: 0;
    min-height: 48px;
}

.type-icons-center {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex: 1 1 auto;
    gap: 4px;
    margin: 0 24px; /* Einrückung für die Type-Icons bleibt */
}

.switch-button.switch-left {
    flex: 0 0 auto;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-left: 32px;
}

.switch-button.switch-right {
    flex: 0 0 auto;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-right: 32px;
}