@charset "UTF-8";

html {
    background-color: floralwhite;
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    max-width: 1000px;
    margin: -30px auto 0 auto;
    padding: 20px;
    /* background-image: url(../images/line2.png); */
    background-size: cover;
    min-width: 270px;
}

p {
    padding: 20px;
    margin: 20px;
}

.heading {
    position: relative;
    padding: 70px 0;
    font-size: 24px;
    text-align: center;
}

.heading::before {
    content: attr(data-en);
    position: absolute;
    top: 20px;
    left: 51%;
    transform: translateX(-50%);
    color: rgba(65, 80, 80, 0.6);
    font-size: 50px;
    font-style: italic;
}

footer {
    box-sizing: content-box;
    font-size: 18px;
    text-align: center;
    color: #050069;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

#box ul {
    width: 85%;
    margin: 0 auto 0 auto;
    counter-reset: list;
    list-style-type: none;
    position: relative;
    font: 14px/1.6 'Mv Boli', 'arial narrow', sans-serif;
    padding: 0.8em;
    background: #F2EFE7;
    -webkit-box-shadow: 0 0 40px rgba(0, 0, 0, 0.2) inset, 0 0 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 40px rgba(0, 0, 0, 0.2) inset, 0 0 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2) inset, 0 0 4px rgba(0, 0, 0, 0.2);
}

#box li {
    position: relative;
    padding: 6px 5px 6px 50px;
    margin: 7px 0;
    font-weight: bold;
    font-size: 16px;
    border-bottom: dashed 1px #ccc;
    color: #333;
}

#box li:first-child {
    margin-top: 0;
}

#box li:last-child {
    margin-bottom: 16px;
}

#box li::before {
    counter-increment: list;
    content: counter(list) ",";
    position: absolute;
    left: 15px;
    font-size: 16px;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#box li:hover::before {
    background-color: #ffd797;
    border-color: rgba(0, 0, 0, .08);
    border-width: .2em;
    color: #444;
    transform: scale(1.5);
    top: 5px;
}

h2 {
    padding: 1rem 2rem;
    color: #fff;
    background: rgb(100, 159, 127);
    -webkit-box-shadow: 5px 5px 0 #007032;
    box-shadow: 8px 8px 0 #007032;
}

.out {
    display: block;
    text-align: right;
}

.log {
    font-weight: bold;
    background: rgb(192, 216, 174);
}

form {
    margin: auto;
}

form li {
    list-style: none;
}

input[type=checkbox] {
    transform: scale(2);
    margin: 10px 0 10px 30px;
    padding: 10px;
}

input {
    background: rgb(215, 206, 206);
    border-color: rgb(109, 62, 62);
    padding: 5px;
    margin: 10px;
    font-size: 18px;
}

input[type="submit"]:valid {
    background: rgb(0, 0, 0);
    border-color: rgb(194, 188, 219);
    color: #fff;
    padding: 5px;
    margin: 5px;
    font-size: 16px;
}

.pv {
    text-align: right;
}