@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root{
    --primary-color: #4F46E5;
}

body{
    /* top right bottom left */
    margin: 0;
    font-family:'Poppins', sans-serif;
}

/** header **/
header{
    padding: 1rem;
    text-align: center;
}

.header-heading{
    color: var(--primary-color);
    font-weight: 500;
}

/** footer **/

.list-non-bullet{
    list-style: none;
}

.list-item-inline{
    display: inline;
    padding: 0rem 0.5rem;
}
footer{
    background-color: var(--primary-color);
    padding: 1rem 0rem;
    color: whitesmoke;
    text-align: center;
    border-top-right-radius: 1rem;
    position: absolute;
    width: 100%;
    bottom: 0;
}

footer .link{
    text-decoration: none;
    color: whitesmoke;
    padding-inline-start: 0px;
    
}

/** container **/
.container{
    padding: 0rem 1rem;
    max-width: 600px;
    margin: auto;
    text-align: center;
}

/** Form **/
label{
    display: block;
    font-size: 1.2rem;
}

input{
    display: block;
    margin: 1rem auto;
    border: solid 2px var(--primary-color);
    width: 60%;
    height: 4vh;
    border-radius: 0.5rem;
    padding: 0.2rem 0.8rem;
}

button{
    display: block;
    margin: auto;
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    color: whitesmoke;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    border:none;
}

/** output **/
#output-heading{
    color: var(--primary-color);
    font-weight: 500;
}
table{
    border: 2px solid var(--primary-color);
    border-collapse: collapse;
    margin: auto;
}
td{
    width: 10%;
    border: 2px solid var(--primary-color);
}
th{
    width: 25%;
    border: 2px solid var(--primary-color);
}

.error-message{
    color: red;
    padding: 0.5rem;
}