@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

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

body{
    height: 100vh;
    width: 100%;
    background-image: url('./globe.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.app{
    width: 30%;
    height: 500px;
    background-color: rgba(1, 27, 31, 0.752);
    border-radius: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    margin: auto;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    

}

h1{
    text-align: center;
    height:100px;
    padding: 20px;
    color: white;
    font-size: 2.5rem;
    letter-spacing: 5px;
    
}

#flag-image{
    width: 90%;
    height: 300px;
    background-color: white;
    padding: 10px;
    margin: auto;

}

#flag-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.input-field{
    width: 100%;
    height: 100px;
    display: flex;
    
    
}

.input-field input{
    
    height: 50%;
    width: 300px;
    margin: auto;
    font-size: 1.5rem;
    padding: 0 10px;
}

.input-field button{
    height: 50%;
    width: 100px;
    margin: auto;
}


.final-score{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    background-color: rgba(106, 107, 106, 0.95);
    color: aliceblue;
    border-radius: 30px;
    width: 50%;
    height: 50%;
    text-align: center;
    
    opacity: 0;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
    font-size: 2rem;
    transition: all ease 0.3s;
}

#btn{
    border: none;
    border-radius: 20px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: ease all 0.2s;

}

#btn:hover{
    background-color: rgb(47, 46, 46);
    color: white;
}



#level{
    width: 30%;
    height: 50px;
    background-color: rgba(1, 27, 31, 0.752);
    border-radius: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 100px auto;
    color: whitesmoke;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 2px;
    font-size: 1.3rem;
}


#change-level{
    width: 100px;
    height: 30px;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: ease all 0.2s;
}

#change-level:hover{
    background-color: rgb(47, 46, 46);
    color: white;
}

.reset{
    width: 200px;
    margin: 50px auto;
    text-align: center
}

#reset-btn{
    width: 100%;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background-color: rgb(180, 240, 111);
}

#reset-btn:hover{
    background-color: rgb(145, 197, 85);

}