@import url('https://static.b-ite.com/fonts/lato/17/fonts.css');

body {
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

.main {
    display: flex;
    flex-direction: column;
    margin: auto;

    padding: 40px;
    width: 80%;
    max-width: 1100px;
    box-sizing: border-box;
    background-color: white;
    word-break: break-all;
    color: #5b5b5b;
}

h1 {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0.67em 0;
    color: #5b5b5b;
}

input {
    border: 0;
    -webkit-box-shadow: 0 0 12px -5px #9e9e9e;
    box-shadow: 0 0 12px -5px #9e9e9e;
    outline: none;
    padding: 8px;
    width: 100%;
    margin-bottom: 25px;
    box-sizing: border-box;
    font-size: 15px;
}

.generatedCode {
    font-size: 24px;
    text-align: center;
}

label {
    color: #3390ff;
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 1rem;
}

textarea {
    border: 0;
    -webkit-box-shadow: 0 0 12px -5px #9e9e9e;
    box-shadow: 0 0 12px -5px #9e9e9e;
    font-size: 15px;
    outline: none;
    padding: 8px;
    width: 100%;
    min-height: 200px;
    box-sizing: border-box;
}

.captcha {
    display: flex;
    flex-direction: row;
    align-content: center;
    margin-top: 15px;
}

.captcha > input {
    width: 10%;
    margin-left: 15px;
    margin-top: auto;
    margin-bottom: auto;
    max-height: 45px;
    font-size: 24px;
    min-width: 100px;
}

button {
    align-items: center;
    background-color: #3390ff;
    border: 2px solid #3390ff;
    color: #fff;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    padding: 12px 56px;
    text-decoration: none;
    -webkit-transition: all .1s;
    transition: all .1s;
    width: 20%;
    min-width: 175px;
    margin-top: 25px;
}

button:hover {
    background-color: white;
    color: #3390ff;
}

.popover {
    box-sizing: border-box;
    display: none;
    position: absolute;
    z-index: 1;
    width: 80%;
    padding: 40px;
    background-color: #ffffff;
    color: #5b5b5b;
    top: 2%;
    left: 10%;
    height: 70%;
}

.error {
    margin-top: 10px;
    color: red;
    display: none;
}

.loader {
    -webkit-animation: rotation 1.4s linear infinite;
    animation: rotation 1.4s linear infinite;
    height: 100px;
    width: 100px;
    display: none;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 23px;
    }

    h2 {
        font-size: 18px;
    }

    .main {
        width: 98%;
        padding: 5px;
    }

    .popover {
        left: 0;
        width: 100%;
        padding: 5px;
    }
}
