@import url(media-queries.css);
@import url("../node_modules/animate.css/animate.css");
@import url(./fonts.css);

* {
    font-family: Dosis, helvetica, arial, sans-serif;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    margin: 0 auto;
}

body {
    /*background-color: #0b0145;*/
    background-color: #090136;
}

header {
    width: 100%;
    text-align: center;
    margin: 40px auto 70px auto;
}

h1 {
    font-size: 3.5em;
    font-weight: 800;
}

label {
    display: inline-block;
    width: 100%;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 2px;
    position: relative;
    margin-left: 10px;
    margin-bottom: 15px;
}

::placeholder {
    color: #ffffff;
    font-size: 15px;
    opacity: 0.5;
}

::selection {
    background-color: whitesmoke;
    color: #090136;
}

.input-container {
    width: 100%;
    margin: 0 auto;
}

.textInput {
    width: 32%;
    background-color: rgba(224, 224, 224, 0.1);
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 5px 7px;
    margin-right: 10px;
    letter-spacing: 2px;
    font-weight: 500;
}

.numberInput {
    width: 30px;
    background-color: rgba(224, 224, 224, 0.1);
    border: none;
    border-bottom: 1px solid #ccc;
    letter-spacing: 3px;
    text-align: center;
    padding: 5px 10px;
    margin-top: 20px;
    margin-left: 16px;
}

.btn-container {
    width: 50%;
    text-align: center;
    margin: 60px auto;
}

textarea {
    display: none;
    background-color: rgba(25, 25, 25, 0.3);
    width: 55%;
    padding: 5px 10px 2px 10px;
    resize: none;
    overflow: auto;
    color: #ffffff;
    border: none;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    font-size: 17px;
    letter-spacing: 2px;
}

.resultBtn {
    border: none;
    padding: 9px 15px;
    border-radius: 2px;
    background-color: rgba(29, 29, 56, .9);
    color: #ffffff;
    font-size: 15px;
    text-align: center;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    transition: all .3s ease-out;
    cursor: pointer;
}

.resultBtn:hover {
    border-bottom: 1px solid #cccccc;
    background-color: rgba(29, 29, 56, 1);
    transform: translateY(-5px);
}

.resultBtn:active {
    transform: Scale(.8);
}

.copyBtn {
    display: none;
    border: none;
    padding: 0 15px;
    border-radius: 2px;
    line-height: 37px;
    background-color: rgba(29, 29, 56, .9);
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid transparent;
    transition: all .3s ease-out;
    cursor: pointer;
    margin: 10px auto;
}

.copyBtn span {
    font-size: 15px;
}

.copyBtn:hover {
    border-bottom: 1px solid #cccccc;
    background-color: rgba(29, 29, 56, 1);
    transform: translateY(-5px);
}

.copyBtn:active {
    transform: Scale(.9);
}

.textError, .numberError {
    display: inline;
    position: absolute;
    top: 35px;
    left: 22%;
    white-space: nowrap;
    color: #d5e310;
}

.numberError {
    margin: 25px auto;
}