
.cinzel-<uniquifier> {
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: #1E3A8A;
    color: white;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.section1 {
    background-color: white;
}

.section1 h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

#region-display {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

#region-display p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.section2 {
    border-right: none;
    /* Remove border from last column */
}

.main-section h3 {
    text-decoration: underline;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.main-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 20px;
    text-align: center;
}

#map-container {
    width: 100%;
    height: 600px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-top: 10px; 
}

.content-container {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    min-height: 80vh;
}

.section1,
.main-section,
.section2 {
    border-right: 2px solid #ddd;
    padding: 20px;
}

.section2 h3 {
    text-decoration: underline;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.discovered-pokemon-box {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.pokemon-entry {
    margin: 15px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pokemon-badge {
    display: inline-block;
    width: 180px;
    height: 60px;
    margin: 2px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pokemon-badge .region {
    display: block;
    font-size: 0.7rem;
    font-weight: normal;
    text-transform: none;
    font-style: italic;
    margin-top: 2px;
}

.fire-steel {
    background: linear-gradient(45deg, #F08030 50%, #B8B8D0 50%);
}

.all-types {
    background-color: #A8A878;
  
    transition: background-color 0.3s ease;
}

.all-types:hover {
    animation: type-cycle 3.6s infinite;
}
@keyframes type-cycle {
    0% {
        background-color: #A8A77A;
    }
    /* Normal */
    5.5% {
        background-color: #EE8130;
    }
    /* Fire */
    11% {
        background-color: #6390F0;
    }
    /* Water */
    16.5% {
        background-color: #F7D02C;
    }
    /* Electric */
    22% {
        background-color: #7AC74C;
    }
    /* Grass */
    27.5% {
        background-color: #96D9D6;
    }
    /* Ice */
    33% {
        background-color: #C22E28;
    }
    /* Fighting */
    38.5% {
        background-color: #A33EA1;
    }
    /* Poison */
    44% {
        background-color: #E2BF65;
    }
    /* Ground */
    49.5% {
        background-color: #A98FF3;
    }
    /* Flying */
    55% {
        background-color: #F95587;
    }
    /* Psychic */
    60.5% {
        background-color: #A6B91A;
    }
    /* Bug */
    66% {
        background-color: #B6A136;
    }
    /* Rock */
    71.5% {
        background-color: #735797;
    }
    /* Ghost */
    77% {
        background-color: #6F35FC;
    }
    /* Dragon */
    82.5% {
        background-color: #705746;
    }
    /* Dark */
    88% {
        background-color: #B7B7CE;
    }
    /* Steel */
    93.5% {
        background-color: #D685AD;
    }
    /* Fairy */
    100% {
        background-color: #A8A77A;
    }
    /* Back to Normal */
}

.section2 h4 {
    text-decoration: underline;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.legend-box {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    height: 200px;
    overflow-y: auto;
    margin-bottom: 20px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.type-badge {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

.legend-box p {
    margin: 5px 0;
}

.normal {
    background-color: #A8A77A;
}

.fire {
    background-color: #EE8130;
}

.water {
    background-color: #6390F0;
}

.electric {
    background-color: #F7D02C;
}

.grass {
    background-color: #7AC74C;
}

.ice {
    background-color: #96D9D6;
}

.fighting {
    background-color: #C22E28;
}

.poison {
    background-color: #A33EA1;
}

.ground {
    background-color: #E2BF65;
}

.flying {
    background-color: #A98FF3;
}

.psychic {
    background-color: #F95587;
}

.bug {
    background-color: #A6B91A;
}

.rock {
    background-color: #B6A136;
}

.ghost {
    background-color: #735797;
}

.dragon {
    background-color: #6F35FC;
}

.dark {
    background-color: #705746;
}

.steel {
    background-color: #B7B7CE;
}

.fairy {
    background-color: #D685AD;
}

.collection-count {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    margin-top: 10px;
}



.footer {
    background-color: #1E3A8A;
    color: white;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

.footer h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer p {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}