*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



nav{
    display: flex;
    justify-content: space-between;
    font-family: sans-serif;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
    padding: 20px 55px;

}

.text{
    font-weight: bold;
    font-size: 25px;
}
.darkmode{
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 20px;
}

.searchAndfilterContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 55px;
    color: gray;
}

.searchContainer{
    display: flex;
    gap: 10px;
    width: 400px;
    padding: 15px;
    background-color: white;
    align-items: center;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
}

.searchContainer input{
    width: 100%;
    height: 20px;
    border: none;
    outline: none;
}

.filterContainer select{
    width: 200px;
    height: 50px;
    padding-left: 18px;
    outline: none;
    border: none;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2) ;
}

.flagsContainer{
    padding: 20px 55px;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 40px;
    
    
}

.flagsContainer div {
    background-color: #f9f9f9;
    padding: 10px;
    width: 100%;
    
  }

  .flagsContainer div img {
    width: 100%; 
  }

  .country-flagImage {
    width: 100%; 
    height: 150px; 
    overflow: hidden; 
}

