@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&display=swap');
html {
    height: 100%;
    width: 100%;
    text-align: center;
}

body {
    background-color: #333030;
    color: #ffff;
    position: relative;
    min-height: 100vh;
    width: 100%;
    text-align: center;
}

h1,
h2,
h3,
h4 {
    color: #ddc88a;
    font-family: 'Berkshire Swash', cursive;
}

p {
    padding-right: 15px;
    padding-left: 15px;
}

a {
    color: #ddc88a;
    font-family: 'Berkshire Swash', cursive;
}

small {
    color: #f8eac2;
}

a:hover {
    color: #f8eac2;
}

a::selection {
    background-color: #ffff;
}

li {
    margin: 0 auto;
}

label {
    color: #ffff;
    font-size: larger;
}

.btn {
    background-color: #ddc88a;
    border-color: #f8eac2;
    color: #333030;
}

.btn:hover {
    background-color: #f8eac2;
    border-color: #333030;
    color: #333030;
}

.btn:active {
    background-color: #f8eac2;
    border-color: #333030;
    outline-color: #5f5656;
    color: #333030;
}

input,
select {
    color: #ddc88a;
    background-color: #272424;
    text-align: center;
    padding: 12px 10px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #f8eac2;
    border-radius: 4px;
    box-sizing: border-box;
}

input:focus,
select:focus {
    outline: none !important;
    border: 1px solid #f8eac2;
    box-shadow: 0 0 10px #ddc88a;
}

input[type=number] {
    width: 7rem;
    height: 20%;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    margin: 0;
}

hr {
    background: url('../img/separator.svg') no-repeat top center;
    background-size: contain;
    display: block;
    height: 18px;
    border: 0;
    position: relative;
}

.info {
    color: #f8eac2;
}

.img-fluid {
    width: 33%;
}

.nav {
    margin: 0 auto;
    text-align: center;
    width: fit-content;
    width: -moz-fit-content;
    width: -webkit-fit-content;
}

.nav li {
    display: inline;
    display: inline-block;
}

.nav a {
    margin: 0 30px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
    margin-right: 1rem;
    margin: auto;
}

.column {
    justify-content: space-evenly;
    flex-direction: column;
    flex-basis: 100%;
    flex: 0.5;
    text-align: right;
}

.charaName {
    width: 20rem;
}

.compName {
    width: 30rem;
    height: 20rem;
}

.attribForm {
    width: 100rem;
}

.attribColumn {
    padding-right: 5em;
}

.archetypeColumn {
    flex: 1;
    text-align: center;
}

.archetypeColumn input[type=text] {
    height: 25%;
    width: 20rem;
}

.archetypeColumn input[type=number] {
    width: 7rem;
    height: 25%;
}

.defenseColumn {
    margin: 0 0 0 7rem;
}

.defenseRow input[type=number] {
    max-width: 15rem;
}

.knowledgeColumn {
    flex: 1;
    max-width: 90rem;
    margin-right: 2rem;
    flex-basis: 0%;
    flex-shrink: 0%;
}

.knowledgeColumn input[type=number] {
    width: 7rem;
    height: 15%;
}

.practicalRow {
    margin-right: 10rem;
    margin-left: 5rem;
}

.practicalColumn {
    flex: 0.42;
}

.practicalColumn input[type=number] {
    width: 7rem;
    height: 10%;
}

.practicalColumn input[type=text] {
    height: 10%
}

.form-control {
    width: 30rem;
    background-color: #272424;
    border: 1px solid #f8eac2;
    color: #ddc88a;
    margin: auto;
}

.form-control:focus {
    outline: none !important;
    color: #ddc88a;
    border: 1px solid #f8eac2;
    box-shadow: 0 0 10px #ddc88a;
    background-color: #272424;
}

.form-control::placeholder {
    color: #897C54;
}

.itemDesc {
    width: 50rem;
    margin: 0 auto;
}

@media only screen and (hover: none) and (pointer: coarse) {
    .row {
        flex-direction: column;
        width: 100%;
    }
    input[type=text] {
        width: 30%;
    }
    .chara input[type=text] {
        width: 45%;
    }
    .archetypeColumn {
        flex: 0.5;
    }
    .archetypeRow {
        width: 100%;
        margin-right: 0;
    }
    .archetypeColumn input,
    .defenseRow input {
        max-width: 100% !important;
    }
    .defenseColumn {
        margin: 0 auto;
    }
    .archetypeColumn input[type=text] {
        width: 50%;
    }
    .knowledgeRow {
        width: 100%;
    }
    .knowledgeRow input[type=text] {
        max-width: 30%;
        max-height: 30%;
    }
    .knowledgeColumn input[type=number] {
        width: 20%;
        height: 15%;
    }
    .practicalRow {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    .practicalColumn {
        text-align: right;
        max-width: 100%;
    }
    .practicalColumn input[type=number] {
        max-width: 18%;
        width: 15%;
    }
    .practicalColumn input[type=text] {
        width: 27%;
        margin-right: 15%;
    }
    .form-control {
        width: 90%;
    }
    .item input[type=text] {
        width: 50%;
    }
    .itemDesc {
        width: 90%;
    }
}