* {
    padding: 0;
    margin: 0;
    /* text-decoration: none;
    list-style: none; */
    box-sizing: border-box;
}

@font-face {
    font-family: 'huawenkaiti';
    src: url(../font/huawenkaiti.woff);
}

@font-face {
    font-family: 'cochin';
    src: url(../font/Cochin.ttc);
}

@font-face {
    font-family: 'copper';
    src: url(../font/Copperplate.ttc);
}

@font-face {
    font-family: 'strokeorder';
    src: url(../font/strokeorder.woff);
}

body {
    background-color: #FCF4F2;
    font-family: 'huawenkaiti';
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    background-color: #721C0F;
    height: 50px;
    width: 100%;
    position: fixed;
    z-index: 1;
}

nav:after {
    content: '';
    clear: both;
    display: table;
}

nav .logo {
    float: left;
    color: #EFEEE3;
    font-size: 28px;
    /* font-weight: 600; */
    line-height: 50px;
    padding-left: 60px;
    cursor: pointer;
    background-color: #721C0F;
}

nav ul {
    float: right;
    list-style: none;
    margin-right: 40px;
    position: relative;
}

nav ul li {
    /* float: left; */
    display: inline-block;
    background: #721C0F;
    padding: 0 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    line-height: 50px;
    font-size: 18px;
    padding: 14px 15px;
    font-family: 'cochin';
}

nav ul li a:hover {
    color: #EFC743;
    /* background: #54140B; */
}

/* nav ul ul li a:hover{
    color: #EFC743;
    background-color: #721C0F;
} */

nav ul li:hover {
    /* border-radius: 10px; */
    background-color: #54140B;
    /* transition: 0.5s; */
}

nav ul ul {
    position: absolute;
    top: 50px;
    opacity: 0;
    visibility: hidden;
    /* border-top: 3px solid #54140B; */
    /* transition: .5s; */
}

/* nav ul ul ul {
    border-top: none;
} */

nav ul li:hover>ul {
    top: 50px;
    opacity: 1;
    visibility: visible;
}

nav ul ul li {
    position: relative;
    margin: 0px;
    width: 120px;
    float: none;
    display: list-item;
    border-bottom: 1px solid #54140B;
}

nav ul ul li a {
    font-size: 15px;
    font-family: 'cochin';
    line-height: 45px;
}

/* nav ul ul ul li {
    position: relative;
    top: -50px;
    left: 150px;
} */


.show,
.icon,
input {
    display: none;
}



.tooltip_templates {
    display: none;
    font-family: "huawenkaiti";
}

.tooltip:hover {
    border-bottom: 0.5px solid black;
}

.firstblock {
    height: 50px;
}

.wblock {
    background-color: white;
    margin: 10px 250px;
    padding: 20px 30px;
    border-radius: 12px;
}

.title1 {
    background-color: #5E5E5E;
    padding: 12px 20px;
    margin-bottom: 15px;
    font-family: 'copper';
    font-size: 27px;
    color: white;
}

.title2-1 {
    background-color: #D5D5D5;
    margin: 10px 0 20px 0;
    padding: 5px 25px;
    font-family: 'cochin';
    font-size: 22px;
    color: #333333;
}

.title2 {
    background-color: #D5D5D5;
    margin: 45px 0 20px 0;
    padding: 5px 25px;
    font-family: 'cochin';
    font-size: 22px;
    color: #333333;
}

.highlight {
    background-color: #EFC743;
    padding: 3px 15px;
    border-radius: 15px;
    color: white;
    font-size: 21px;
}

.panda {
    height: 25px;
    vertical-align: text-bottom;
    opacity: 0.75;
    margin: 0 0px;
}

.panda-escreva {
    height: 25px;
    vertical-align: text-bottom;
    opacity: 0.75;
    margin: 10px;
}

.dialogue {
    width: 100%;
    height: 35px;
    margin: 15px 0;
}

.download-btn {
    background-color: #F1F3F4;
    color: #575757;
    text-decoration: none;
    padding: 6px 8px;
    margin: 15px 18px;
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
}

.baixar {
    font-size: 20px;
}

.download-btn:hover {
    background-color: #54140B;
    color: #EFC743;
}

.pt {
    font-size: 24px;
    margin: 10px;
}

.cn {
    font-size: 32px;
    margin: 10px;
    line-height: 45px;
}

.mel {
    font-size: 12px;
    vertical-align: super;
}

ruby {
    ruby-align: center;
    ruby-position: under;
}

rt {
    font-family: "Arial Narrow";
}

.maior {
    font-size: 45px;
    margin: 10px;
    line-height: 60px;

}

.maior:hover {
    margin: 30px;
    font-size: 100px;
    transition-delay: .1s;
    transition-duration: .5s;
    line-height: 120px;

}

.stroke {
    font-family: "strokeorder";
}

table {
    background-color: #f3f3f3;
    margin-bottom: 10px;
    border-radius: 0px;
}

td {
    border: 1px solid #929292;
    padding: 5px 5px;
    width: 80px;
    height: 80px;
    border-radius: 0px;
    font-family: "strokeorder";
    font-size: 60px;
    font-weight: normal;
    text-align: center;
    vertical-align: center;
    margin: 0px;
}

td.hz:hover {
    transform: scale(2);
    background-color: #f3f3f3;
    transition: .1s;
}

.t1 {
    color: #E69138;
}

.t2 {
    color: #34A853;
}

.t3 {
    color: #1155CC;
}

.t4 {
    color: #990000;
}

.t5 {
    color: #666666;
}

.t6 {
    color: #000000;
}

footer {
    background-color: #721C0F;
    padding: 8px;
    text-align: center;
    font-size: 15px;
    color: #929292;
    margin-top: auto;
}

.nome {
    color: #D5D5D5;
}

@media all and (max-width: 1000px) {
    nav ul {
        margin-right: 0px;
        float: left;
        width: 100%;
    }

    /* nav {
        position: static;
    } */

    nav .logo {
        padding-left: 30px;
        width: 100%;
    }

    .show+a,
    ul {
        display: none;
    }

    nav ul li,
    nav ul ul li {
        display: block;
        width: 100%;
        background: #54140B;
    }

    nav ul li:hover {
        background: #54140B;
    }

    .show {
        display: block;
        color: white;
        font-size: 18px;
        padding: 0 15px;
        line-height: 50px;
        cursor: pointer;
    }

    .show:hover {
        color: #EFC743;
    }

    .icon {
        display: block;
        color: white;
        position: absolute;
        top: 0;
        right: 40px;
        line-height: 50px;
        cursor: pointer;
        font-size: 25px;
    }

    nav ul ul {
        top: 50px;
        border-top: 0px;
        float: none;
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    nav ul ul a {
        padding-left: 100px;
    }

    /* nav ul ul ul a {
        padding-left: 80px;
    } */

    nav ul ul ul li {
        position: static;
    }

    [id^=btn]:checked+ul {
        display: block;
    }

    nav ul ul li {
        border-bottom: 0px;
    }

    span.cancel:before {
        content: '\f00d';
    }

    .wblock {
        background-color: white;
        margin: 1.5vh;
        padding: 1.8vh 1.2vh;
        border-radius: 15px;
    }

    .title1 {
        font-size: 22px;
        margin-bottom: 10px;
        padding: 10px 20px;
    }

    .title2-1 {
        font-size: 20px;
    }

    .title2 {
        font-size: 20px;
    }

    .pt {
        font-size: 22px;
    }

    .cn {
        font-size: 25px;
    }

    .dialogue {
        width: 87%;
    }

    .download-btn {
        margin: 15px 1vh;
    }

    td {
        width: 70px;
        height: 70px;
        font-size: 55px;
    }

    .maior:hover {
        font-size: 45px;
        margin: 10px;
        line-height: 60px;

    }

    td.hz:hover {
        transform: none;


    }

}
