*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body{
    min-height: 80vh;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(80, 229, 255);
}
.header{
    font-size: 50px;
    text-transform: uppercase;
    margin: 40px;
    font-family: cursive;
}
.wrapper{
    width: 60%;
    background-color: whitesmoke;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.5);
}
.content-box{
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #bfbfbf;
}
.typing-text p{
    width: 50vw;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgb(10, 10, 10);
    font-size: 19px;
    letter-spacing: 2px;
    font-family: monospace !important;
}
.content{
    margin-top: 10px;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.result{
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 150px);
}
.result li{
    height: 30px;
    display: flex;
    align-items: center;
    list-style: none;
}
.content button{
    width: 105px;
    outline: none;
    border: none;
    background-color: rgb(80, 229, 255);
    padding: 8px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.content button:active{
    transform: scale(0.8);
}
.typing-text p span{
    position: relative;
}
.input-feild{
    position: absolute;
    padding: 10px;
    opacity: 0;
    z-index: -99;
}
.typing-text p span.active{
    color: rgb(63, 200, 225);
    /* font-weight: bold; */
}
.typing-text p span.correct{
    color: green;
}
.typing-text p span.incorrect{
    color: red;
}
#scoreBoard{
    display: none;
    background: white;
    color: black;
    margin: 30px;
    padding: 25px 40px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    text-align: center;
    font-size: 1.5rem;
}

/* footer css */
footer{
    text-align:center; 
    padding:10px; 
    background:#f0f0f0; 
    font-size:13px; 
    font-weight: bold;
    color:#333; 
    position: fixed; 
    left: 0; 
    bottom: 0; 
    width: 100%;
}
footer p {
    margin: 5px;
}
footer p a{
    color: #333;
    text-decoration: none;
}
footer p a:hover {
  text-decoration: none;  
}
footer p a:visited {
  text-decoration: none;    
}

/* Contact us Css */
.contact{
    align-items: center;
    margin: 50px;
}
.contact h2{
    text-align: center;
}
.form{
    min-height: 70vh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.form input{
    background: transparent;
    border: none;
    border-bottom: 2px solid whitesmoke;
    width: 300px;
    margin-bottom: 20px;
    font-size: 13px;
    height: 33px;
    transition: 0.8s all;
    text-align: center;
    font-weight: bold;
}
.form input::placeholder,
.form textarea::placeholder {
  color: #000;              
  font-weight: bold;      
}
.form textarea{
    width: 300px;
    background: transparent;
    border: none;
    border-bottom: 2px solid whitesmoke;
    font-size: 13px;
    transition: 0.8s all;
    margin-bottom: 20px;
}
.form textarea::placeholder{
    text-align: center;
    padding-top: 30px;
}
.form input:focus, textarea:focus{
    outline: none;
}
.contact button {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.contact button:hover {
    background: #45a049;
}

/* about us and privacy policy css */
.card{
    align-items: center;
    margin: 50px;
}
h2{
    text-align: center;
    margin-bottom: 30px;
}
.card p, h4{
    margin: 20px;
    letter-spacing: 0.8px;
    line-height: 30px;
}
ul li{
    margin-left: 50px;
    letter-spacing: 0.8px;
    line-height: 20px;
}

@media only screen and (max-width: 601px) {
    .header{
        margin: 40px 10px;
        font-size: 30px;
        margin-bottom: 20px;
    }
    .typing-text p{
        width: 100%;
        padding: 10px;
    }
    .content-box{
        padding: 0;
    }
    .wrapper{
        width: 100%;
        padding: 10px;
    }
    .content{
        display: block;
        margin: 20px;
    }
    .result{
        width: 100%; 
    }
    .result li{
        width: 50%;
    }
    .content button{
        margin-top: 10px;
        transform: translate(80%);
    }
}
@media only screen and (max-width: 360px) {
    .header{
        font-size: 25px;
    }
    footer {
        font-size: 12px;
    }
}