@import url('https://fonts.google.com/specimen/Nunito+Sans');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
i{
    cursor: pointer;
}
.dark{
    --bgColor:hsl(207,26%,17%);
    --fontcolor:hsl(0,0%,98%);
    background-color: var(--bgColor);
    color: var(--fontcolor)!important;
    --contrybgColor:hsl(209,23%,22%);
}
body{
    width: 100%;
    min-height: 100vh;
    --bgColor:hsl(0,0%,98%);
    --fontcolor:hsl(200,15%,8%);
    font-family: 'Nunito Sans',sans-serif;
}
.container{
    width: 100%;
    padding:30px;
    display: flex;
    justify-content: space-between;
}
.container:nth-child(1){
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    background-color: var(--contrybgColor);
}
button{
    outline: none;
    border: 0;
    background-color: transparent;
    color: var(--fontcolor);

}
.toggle{
    font-size: 18px;
    cursor: pointer;
}
.toggle i{
    padding-right: 5px;
}
.form-control{
    width: 400px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--contrybgColor);
}
.form-control input{
    width: 100%;
    padding: 17px 14px;
    outline: 0;
    border: 0;
    font-size: 16px;
    letter-spacing: 0.5px;
    background-color: transparent;
    color: var(--fontcolor);
}
.form-control i{
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.dropDownCon{
    width: 200px;
    position: relative;
    background-color:var(--contrybgColor) ;
    border-radius: 5px;
}
.dropDown{
    width: 100%;
    padding: 17px 14px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: var(--fontcolor);

}
.dropDown p{
    letter-spacing: 0.5px;
}
.drop{
    position: absolute;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    top: 4rem;
    padding: 10px 14px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    background-color:var(--bgColor) ;
    z-index: 10;
}
.drop p{
    margin: 5px 0;
}
.countries{
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    grid-gap: 20px;
}
.country{
    min-height: 350px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    /* width: 300px; */
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--contrybgColor);
}
.country-img{
    height: 250px;
}
.country-img img{
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}
.country-info{
    padding: 20px 17px;
}
.country-info h5{
    padding: 8px 0;
    font-size: 20px;
    letter-spacing: 1px;
}
.country-info p{
    letter-spacing: 1px;
}
.country-info p>strong{
    font-weight: 600;
}
/* shodDropDown */
.showDropDown{
    display: none;
}
.countryModal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bgColor);
    padding: 30px;
}
.back{
    position: absolute;
    top:3rem;
    left: 30px;
    background-color: #fdfdfd;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
}
.modal{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}
.leftModal{
    width: 50%;
}
.leftModal img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rightModal{
    width: 50%;
    margin-left: 20px;
}
.modalInfo{
    display: flex;
    justify-content: space-between;
}
.rightModal h1{
    margin: 10px 0;
    letter-spacing: 1px;
    font-size: 40px;
}
.inner p{
    letter-spacing: 1px;
}
.inner p>strong{
    font-weight: 600;
}
.show{
    display: none;
}