body {
    font-family: 'Nunito Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: black;
    background-color:white ;
}
.darkMode{
    background-color: black;
    color: white;
}

header {
    background-color:rgba(241, 241, 241, 0.849) ;
    color: white;
    padding: 0.2rem 1rem;
    text-align: center;
}
ul{
    list-style-type: none ;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
li{
    display : inline-block;
    color:rgb(2, 16, 27) ;
    padding-right: 1rem;
    font-weight: 800;

}
#toggler{
    cursor: pointer;
    padding: 0.3rem;
    border-style: none;
    border-radius: 2px;
    font-weight: 700 ;
    background-color: transparent;
    

}

.search-filter {
    margin: 2rem 1rem 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
#regionFilter{
    padding: 0.8rem;
    outline: none;
    border-style: none;
    background-color: rgba(241, 241, 241, 0.849);

}
#searchInput{
    padding: 0.8rem;
        outline: none;
        border-style: none;
        background-color: rgba(241, 241, 241, 0.849);
}

.country-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}
.backBtn{
    display: inline-block;
    text-decoration: none;
    padding: 0.4rem 1rem;
    margin:0.7rem 0.8rem ;
    cursor: pointer;
    border-style: none;
    border-radius: 2px;
    
}
.detail-list img{
    padding-top: 2rem;
}

.detail-list{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
}
.detail-list p {
    margin: 0.4rem;
}


/* .theme-dark {
    --header-bg: #2c3e50;
    --header-text: #ecf0f1;
    --card-bg: #34495e;
    --card-text: #ecf0f1;
}

.theme-light {
   background-color: red;
} */