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

* {
    box-sizing: border-box;
}

html, body, .main {
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}

body {
    background-image: url(../images/christmas.jpg);
    background-position: bottom right;
    background-repeat: no-repeat;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
}

.main {
    display: flex;
}

.part {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.part label {
    color:#FFFFFF;
    padding: 20px;
}

.title-image {
    vertical-align: middle;
}

.instructions {
    margin: auto 10%;
    background: rgba(156, 156, 156, 0.8);
}

.instructions h1 {
    padding: 0 20px;
    color: #004000;
    font-weight: 700;
}
.instructions p {
    padding: 0 20px;
}
.instructions a {
    text-decoration: none;
    color: #14c114;
}

.input {
    display: block;
    align-self: stretch;
    width: 100%;
    flex: auto;
    border: 2px solid rgba(75, 90, 75, 0.59);
    padding: 15px;
    background-color: rgba(255, 255, 255, .7);
    outline: none;
}

.generate {
    display: block;
    margin-top: 20px;
    flex: none;
    height: 100px;
    border: 2px solid rgba(75, 90, 75, 0.59);
    font-family: inherit;
    font-size: 40px;
    background-color: #d71717;
    background-image: linear-gradient(to right, rgba(100,36,36,1), rgba(255,0,0,1));
    color: #FFFFFF;
}

.generate:focus {
    border-color: #490007;
    outline: none;
}

.result {
    margin-top: 20px;
    flex: none;
    border: 2px solid #7d0303;
    padding: 15px;
    background: #FFFFFF;
}

.result a {
    color: #043ea1;
}

.result.none {
    display: none;
}

.result.error {
    border-color: #d71717;
    color: #d71717;
}

.result-table {
    table-layout: fixed;
    width: 100%;
}

.result-name {
    width: 30%;
    padding: 5px 8px;
}

.result-link {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}