body {
    background-color: #252525;
    color:white;
}



footer, aside {
    padding: 5px; 
    margin: 2px;
    border-radius: 5px;
}



header {
    font-size: 55px; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    text-align: center;       
    letter-spacing: 1px; 
    background-color: black;
    color: white;
    cursor: default;
    margin: 2px;
    border-radius: 5px;
}




footer {
    font-size: 10px; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold; 
    letter-spacing: 1px; 
    background-color: black;
    color: white;
    display: flex;
    align-items: center; 
    justify-content: right; 
    cursor: default;
    padding-right: 10px;
}



section {
    padding: 4px; 
    display: flex; 
    border-radius: 5px;
    align-items: center; 
    justify-content: right; 
    background-color: #252525;
    padding-right: 8px; 
}

#map1 {
    width: 100%; 
    height: 100%; 
    margin: 0px; 
    padding: 0px; 
    display: block;
    background-color: #252525; 
    border-radius: 5px;
    cursor: default;
}

#map2 {
    width: 100%; 
    height: 100%; 
    margin: 0px; 
    padding: 0px; 
    display: block;
    background-color: #252525; 
    border-radius: 5px;
    cursor: default;
}

    




    

.container-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 10vh; 
}


.colorBoxesContainer {
    display: none; 
    flex-direction: column;
    margin-right: 20px;
    visibility: visible;  
    cursor: pointer;
    position: relative;
    background-color: grey; 
    height: 100%;  
}


.colorBoxesContainer:has(.color-box) {
    visibility: visible; 
}

.container-group1 .color-box,
.container-group2 .color-box {
    width: 20px;
    margin-right: 5px;
}




#asideMap1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#colors {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}





#dropdownContainer {
    margin-bottom: 20px;
}


select {
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
    








.button-container {
    display: flex;
    gap: 10px; 
    justify-content: flex-start; 
}


.info-button, .open-popup-btn {
    flex: 1; 
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.info-button:hover, .open-popup-btn:hover {
    background-color: lightgrey;
}





.popup, .info-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: black;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    max-width: 400px;
    text-align: left;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.download-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: lightgrey; 
    color: black;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
    cursor: pointer;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.download-button:hover {
    background-color: #252525; 
    color:white;
}




.close-button {
    position: absolute;
    top: 10px; 
    right: 10px; 
    background-color: white; 
    border: none; 
    font-size: 15px; 
    cursor: pointer;
    color: black; 
}

.close-button:hover {
    background-color: red; 
    color:white;
}



.text-block {
    display: block; 
    margin-bottom: 1em;
    line-height: 1.2;
    text-align: justify; 
    max-width: 400px; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



.centered-dropdown {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 10px;
    margin: 0 auto; 
}







.all-palettes.hidden {
    display: none;
}


.selected-colors-preview {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.selected-color {
    width: 40px;
    height: 40px;
    border-radius: 5px;
}


.container-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}







#scheme{
    font-size: 30px; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold; 

    white-space: pre-wrap; 
    word-wrap: break-word;
    overflow-wrap: break-word; 
    text-align: left; 
}



#number{
    font-size: 15px; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold; 
}



#allPalettesWrapper1, #allPalettesWrapper2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    gap: 10px; 
    align-items: stretch; 
}

