@font-face {
    src: url("/assets/fonts/ubuntu.ttf");
    font-family: 'Ubuntu';
}

@font-face {
    src: url("/assets/fonts/ubuntuMono.ttf");
    font-family: 'UbuntuMono';
}

html {
    background-image: url("/assets/mbg.jpg");
    color: white;
    z-index: -50;
    font-family: Ubuntu;
}

@keyframes display-full {
    0% {
        height: 0;
    }
    55% {
        height: 0;
    }
    70% {
        height: 80%;
    }
}

@keyframes come-in-left {
    0% {
        margin-left: -100%;
    }
    30% {
        margin-left: 0px;
    }
}

@keyframes hidden-until-done {
    0% {
        opacity: 0;
        display: none;
    }
    80% {
        opacity: 0;
        display: revert;
    }
    90% {
        opacity: 1;
    }
}

a {
    color: white;
}

a:hover {
    color: gray;
}

div.content{
    position: fixed;
    animation: come-in-left 4s;
    height: 100%;
    width: 100%;
}

hr {
    border: none;
    border-bottom: 1px solid white;
}

div.top-banner {
    animation: come-in-left 4s;
    z-index: 10;
    left: 50%;
    transform: translate(-50%);
    height: 48px;
    padding: 32px 32px 0px 32px;
    background-color: rgb(224, 10, 20);
    position: fixed;
    width: 60%;
    border-bottom: 16px solid rgb(174,0,0);
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    box-shadow: 0px 16px 0px rgb(124,0,0);
}

div.top-banner:after {
    content: "";
    position: absolute;
    background-image: url("/assets/logo.jpg");
    background-size: cover;
    width: 48px;
    height: 48px;
    left: 50%;
    margin-top: -16px;
    transform: translateX(-50%);

}

of-mail:after {
    content: attr(data-domain);
 }
of-mail:before {
    content: attr(data-user) "\0040";
}

div.body {
    position: relative;
    margin-left: -8px;
    margin-top: -8px;
    overflow-y: scroll;
    animation: display-full 2.5s;
    left: 50%;
    transform: translate(-50%);
    height: 80%;
    padding: 32px 32px 0px 32px;
    top: 120px;
    background-color: rgb(40,40,40);
    width: 60%;
    position: relative;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: 3px solid rgb(174,0,0);
}

div.body > div.title {
    text-align: center;
    margin-bottom: 50px;
}

div.body > div.text-block {
    margin-bottom: 50px;
    font-family: UbuntuMono;
    display: flex;
    text-align: left;
}

div.text-block > a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    color: white;
    transition: .2s;
}

div.text-block > a:hover {
    border-bottom: 1px solid rgb(210,210,210);
    color: rgb(210,210,210);
    transition: .2s;
}

div.body > div.block-left {
    width: 50%;
    padding: 20px 0px 20px 0px;
}


div.body > div.block-right {
    width: calc(50% + 1px);
    display: block;
    text-align: left;
    justify-content: right;
    float: right;
    padding: 20px 0px 20px 0px;
}

table.requirements {
    width: 100%;
    border-spacing: 30px 5px;
}

table.requirements > tr,th{
    text-align: left;
}

div.body > * {
    animation: hidden-until-done 2.5s;
}

#lname {
    display: none;
}

form.register {
    align-content: center;
    padding: 24px;
}

form.register > fieldset {
    border: none;
    border-top: 1px solid white;
}

form.register > fieldset > *:not(legend) {
    margin-left: 30px;
}

form.register > fieldset > legend{
    padding: 0px 10px 0px 10px;
}

form.register > fieldset#other, fieldset#ipv6, fieldset#transit {
    border-bottom: 1px solid white;
}

.hidden {
    display: none;
}

#comment {
    width: 80%;
    height: 120px;
}

input {
    padding: 8px;
    border: none;
    border-bottom: 1px solid rgb(250,40,40);
    font-family: UbuntuMono;
    background: rgb(40,40,40);
    color: white
}

textarea {
    background-color: rgba(40,40,40,0.4);
    font-family: Ubuntu;
    color: white;
    border: 1px solid rgba(250,40,40,0.2);
    padding: 24px;
}


table.description > tr.description,td.description{
    height: 50px;
}

fieldset {
    border: 1px solid white;
}

.select {
    font-family: UbuntuMono;
    position: relative;
}

.select select {
    background-color: rgb(50,50,50);
    width: 250px;
    border:none;
    color: white;
    cursor: pointer;
    margin-left: -32px;
    padding-left: 32px;
    font-family: UbuntuMono;
    -webkit-appearance: button;
    outline: none;
}

.select::before {
    content: "\00A0\2193\00A0";
    position: relative;
    background-color: rgb(60,60,60);
    left: auto;
    font-family: UbuntuMono;
    pointer-events: none;
}

.select select option {
    font-family: Consolas;
}

button#submit {
    border: none;
    padding: 16px;
    border-radius: 5px;
    cursor: pointer;
    background-color: rgb(224, 10, 20);
    font-family: UbuntuMono;
    font-size: large;
    color:white;
    transition: .5s;
}

button#submit:hover {
    background-color: white;
    color: rgb(224, 10, 20);
}

table.pricing {
  border-collapse: collapse;
  border: 2px solid rgb(140, 140, 140);
  padding: 5px;
}

table.pricing > caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}

table.pricing > * > * > th,
table.pricing > * > * > td {
  /* border: 1px solid rgb(160, 160, 160); */
  padding: 8px 10px;
}

table.pricing > * > * > th[scope=col],
table.pricing > * > * > th[scope=row]{
    border: 1px solid rgb(160, 160, 160);
}