@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Rock+Salt&display=swap');

/* GENERAL */
body {
    background-color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    color: #ecf0f1;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}

/* HEADER */
header {
    background-color: #34495e;
    padding: 20px 0;
}

/* NAV ya lo tienes mejorado aparte */

/* INTRO SECTION */
.intro {
    margin-bottom: 50px;
}

.intro h1 {
    font-family: 'Rock Salt', cursive;
    font-size: 40px;
    color: #f39c12;
    letter-spacing: 2px;
}

.intro-text {
    font-size: 18px;
    margin-top: 20px;
    line-height: 1.6;
}

/* BUTTON */
button, .btn {
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover, .btn:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}

/* MAP SECTION */
#map-section {
    margin-top: 50px;
}

#map {
    height: 600px;
    background-color: #34495e;
    border: 3px solid #f39c12;
    border-radius: 10px;
    transition: box-shadow 0.3s;
}

#map:hover {
    box-shadow: 0px 0px 15px #f39c12;
}

/* FLAGS SECTION */
#flags-section {
    margin-top: 60px;
}

#titleYourConquest {
    font-family: 'Rock Salt', cursive;
    font-size: 30px;
    color: #f39c12;
    letter-spacing: 2px;
}


#countriesMap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

#countriesMap img {
    width: 8vw;
    height: auto;
    opacity: 0.8;
    transition: transform 0.3s, opacity 0.3s;
}

#countriesMap img:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* FOOTER */
footer {
    background-color: #34495e;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

footer p {
    margin: 0;
}

/* Text Selection */
::selection {
    background-color: #f39c12;
    color: white;
}

/* Estilo para el botón */
#startButton {
    display: none; /* importante para que empiece oculto */

    /* Los estilos para que quede encima del mapa, y no visible por defecto */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: #34495e;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;

}
#startButton:hover {
    background-color: #e67e22;
}
#map-section {
    position: relative; /* para que el botón se posicione dentro */
    height: 600px;
}
#map {
    height: 600px;
    border-radius: 10px;
    border: 3px solid #f39c12;
    background-color: #34495e;
    position: relative;
    z-index: 1;
}

#map:hover {
    box-shadow: 0px 0px 15px #f39c12;
}
