*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    background: #023B54;
}

.container{
    width: 500px;
    padding: 25px 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #eeece2;
    border: 0.5rem solid #F9263B;
}

.container a{
    text-decoration: none;
    color: black;
}

.container h2{
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
}

.container h3{
    font-size: 1rem;
    margin-bottom: 3%;
    text-align: center;
}

.container input{
    width: 100%;
    height: 50px;
    outline: black;
    padding: 10px;
    margin: auto;
    margin-bottom: 10px;
    border-radius: 5px;
    border: black 0.2rem solid;
    text-align: center;
}

.container button{
    width: 50%;
    height: 50px;
    background: #F9263B;
    border: 0;
    outline: 0;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    font-weight: 500;
    position: relative;
    margin-left: 25%;
    color: #ffffff;
    font-size: 1rem;
}

#generateBtn{
    margin-bottom: 10px;
}


#resultBox{
    text-align: center;
    font-size: 1.5rem;
    margin: 1.5rem;
}
#result{
    font-size: 3rem;
}

/*bottom bar styling*/
  .footer {
    font-size: 1rem;
    color: #023B54;
    height: 1rem;
    background: #eeece2;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
    cursor: pointer;
  }

.footer a{
  color: #023B54;
}


/*animation for text box to shake when nothing is entered into box*/
.error{
    animation: shake 0.1s linear 10;
}

@keyframes shake{
    0%{
        transform: translateX(0);
    }
    25%{
        transform: translateX(-10px);
    }
    50%{
        transform: translateX(0);
    }
    75%{
        transform: translateX(10px);
    }
    100%{
        transform: translateX(0);
    }
}


/*styling for smaller screens to make container fit better*/
@media (max-width: 450px) {
    .container {
        width: 90%;
    }
}