@font-face {
    font-family: "Kelson Sans Light";
    src: url('./fonts/KelsonSans-Light.woff');
}
@font-face {
    font-family: "Kelson Sans Bold";
    src: url('./fonts/KelsonSans-Bold.woff');
}

body {
    font-family: "Kelson Sans Light";
    background-color: #101926;
    color: white;
    background-image: url(./img/registrace.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;

    @media (min-width: 870px) {
        min-height: 100vh;
    }
}

h1 {
    font-family: "Kelson Sans Bold";
    font-size: 2.1em;
    margin-top: 0;
}

label {
    font-family: "Kelson Sans Bold";
}

input {
    background-color: #17202e;
    border: solid 1px rgba(212, 212, 255, 0.1);
    color: white;
}
input[type="text"] {
    font-family: "Kelson Sans Light";
    font-size: 1em;
    padding-top: 4px;
}
input[type="submit"] {
    font-family: "Kelson Sans Bold";
    font-size: 1.3em;
    padding-top: 2px;
    transition: .1s;
    padding: 5px;
    cursor: pointer;
}
input[type="submit"]:hover {
    filter: brightness(150%);
    transition: .1s;
}
input[type="submit"]:active {
    filter: brightness(80%);
    transition: .1s;
}

/* --- SEZNAM --- */
ol {
    background-color: #17202e;
    border-top: solid 1px rgba(212, 212, 255, 0.1);
    border-bottom: solid 1px rgba(212, 212, 255, 0.1);
    padding: 0;
    margin: 10px 0;
    list-style: none; 
    counter-reset: poradi;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

li {
    padding: 15px 15px 15px 40px; 
    font-family: "Kelson Sans Bold";
    border: none;
    border-bottom: solid 1px rgba(212, 212, 255, 0.1);
    counter-increment: poradi; 
    position: relative;
    cursor: grab;
}

li::before {
    content: counter(poradi) ". ";
    position: absolute;
    left: 15px;
}

li:last-child {
    border-bottom: none;
}

.main-box {
    transition: .3s;
    background-color: #101926;
    box-shadow: 0px 0px 46px -25px rgba(0,0,0,0.75);
    padding: 35px;

    @media (min-width: 870px) {
        min-width: 800px;
    }
    @media (max-width: 869px) {
        min-width: 90%;
        font-size: 110%;
    }
}

.author {
    font-family: "Kelson Sans Light";
    margin-left: 5px;
}


.message {
    font-weight: bold;
    padding: 10px;
    margin-bottom: 15px;
}
.success {
    color: green;
    border: 1px solid green;
}
.error {
    color: red;
    border: 1px solid red;
}

/* --- SORTABLE --- */
.sortable-drag {
    border-top: solid 1px rgba(212, 212, 255, 0.1);
}

.sortable-drag::before {
    display: none;
}

.sortable-ghost {
    opacity: 0.4;
    background-color: #101926;
}

/* --- ÚDRŽBA --- */
.maintenance-box {
    transition: .3s;
    background-color: #101926;
    box-shadow: 0px 0px 46px -25px rgba(0,0,0,0.75);
    padding: 35px;

    @media (min-width: 470px) {
        max-width: 400px;
    }
    @media (max-width: 469px) {
        min-width: 90%;
        font-size: 110%;
    }
}

.maintenance-content {
    font-size: 18px;
    margin-bottom: 15px;
}