html,
body {
    color: #fff;
}

body {
    background: url("../img/bg.png") no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
}

img {
    display: block;
    max-width: 100%;
}

.bg-top,
.bg-bottom {
    position: fixed;
    z-index: 1;
    width: 20%;
    height: 20vh;
}

.bg-top {
    top: 0;
    right: 0;
    background: url("../img/bg-top.png") no-repeat right center;
    background-size: contain;
}
.bg-bottom {
    bottom: 0;
    left: 0;
    background: url("../img/bg-bottom.png") no-repeat left center;
    background-size: contain;
}

.wrapper {
    position: relative;
    z-index: 20;
    height: 100vh;
}

header {
    padding: 20px 0;
    margin-bottom: 10px;
}

header .logo {
    display: block;
    max-width: 50%;
}

header h1 {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

ul.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    position: relative;
    z-index: 30;
    padding: 0;
    margin: 0;
}

ul.menu li {
    margin: 5px;
}

ul.menu li button {
    border: none;
}
ul.menu li button.success {
    background: #e9f709;
    color: #255627;
    border-radius: 30px;
    font-size: 34px;
    font-weight: bold;
    padding: 10px 20px;
    transition: all 300ms ease !important;
}
ul.menu li button.success:hover {
    background: #fff;
}

ul.menu li button.success:disabled {
    opacity: 0.25;
    pointer-events: none;
}

.name {
    overflow: hidden;
    display: block;
    line-height: 1.05;
}
#names {
    display: none;
    padding: 5px;
}
#namesbox {
    min-height: 400px;
    font-size: 32px;
    color: #333;
    resize: none;
    border: 1px solid #f39c12;
}
.extra {
    font-size: 16px;
    margin-top: 20px;
    display: none;
}

.extra .button {
    background: #e9f709;
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 20px;
}

#varnote {
    font-size: 40px;
    text-align: center;
    padding: 30px;
}

#result1:not(.name) {
    width: 600px;
    max-width: 80%;
    background: #fff;
    color: #255627;
    padding: 20px;
    border-radius: 20px;
    z-index: 10;
    height: auto !important;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.valuesWrapper {
    position: relative;
    overflow: hidden;
    min-height: 30vh;
    max-height: 60vh;
    margin-bottom: 20px;
}
#values {
    position: relative;
    font-size: 34px;
    text-align: center;
    margin: 0 auto;
    z-index: 30;
}

#values .fullname {
    font-weight: bold;
}
#values .nr,
#values .company {
    display: none;
}
#values #result1:not(.name) .nr {
}
#values #result1:not(.name) .company {
    display: block;
}
