@import url('https://fonts.googleapis.com/css2?family=Share:ital@0;1&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Share', cursive;
}

body{
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}
body> main{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 20px;
}
body> main> h1{
    font-size: 2rem;
    color: #1e0465;
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
}

h1 + span {
    font-size: 1.5rem;
    color: #1e0465;
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
}

header{
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1e0465;
    font-size: 18px;
    color: #fff;
}

header > div >a > i {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
}

h1+span+p {
    font-size: 1.5rem;
    color: #185a2c;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

input{
    padding: 8px;
    margin: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1rem;
    width: 100%;
    height: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.hidden{
    display: none;
}

.results-box{
    margin-top: 3px;
    height: 100%;
    overflow-y: scroll;
    width: 100%;
}


li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin: 8px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background-color: #f2f2f2;
}
li> span{
    font-size: 22px;
}
li> i {
    font-size: 2rem;
    color: #1e0465;
    cursor: pointer;
}

footer{
    margin-top: 5px;
    color: #fff;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1e0465;
    font-size: 18px;
}

/* Make responsive for desktop */
@media (min-width: 768px){
    body> main{
        width: 50%;
        margin: 0 auto;
    }
    input {
        padding: 8px;
        margin: 8px;
        border-radius: 5px;
        border: 1px solid #ccc;
        outline: none;
        font-size: 1.5rem;
        width: 100%;
        height: 60px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
}
