/*

final fracture
tcg

*/

:root {
    --col1: #b10;
    --col1h: #810;
    --col2: #8b1;
    --col2h: #6d9000;
    --col3: #606;
    --col3h: #270027;
    --f1: #b0301d;
    --f2: #526f47;
    --f3: #8575af;
    --f4: #816555;
    --f5: #ad9685;
    --f6: #535358;
    --cost: #b08e5d;
    --atk: #910b0b;
    --hp: #3b7b44;
    --bglight: #cdcdcd;
    --text: #333;
}

.col1 {
    color: var(--col1);
}

.col2 {
    color: var(--col2);
}

.col3 {
    color: var(--col3);
}

/* scroll */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--col1);
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* font */
@font-face{
    font-family: 'Source Sans 3';
    font-weight: 200 900;
    font-style: normal;
    src: url(../../font/SourceSans3.ttf);
}

@font-face{
    font-family: 'Source Sans 3';
    font-weight: 200 900;
    font-style: italic;
    src: url(../../font/SourceSans3-Italic.ttf);
}

@font-face{
    font-family: 'Roboto Slab';
    font-weight: 200 900;
    font-style: normal;
    src: url(../../font/RobotoSlab.ttf);
}

/* basic styles */
* {
    box-sizing: border-box;
}

body, html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body, select, input, em, em {
    font-family: 'Source Sans 3', serif;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
        -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;    
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.25;
    font-weight: 800;
}

h1 {
    font-size: 300%;
}

h2 {
    font-size: 240%;
}

h3 {
    font-size: 180%;
}

h4 {
    font-size: 150%;
    font-weight: 500;
}

h5 {
    font-size: 125%;
}

h6 {
    font-size: 110%;
}

p {
    margin: 0 0 20px;
}

hr {
    margin: 45px 0;
    border: 0;
    border-top: 2px solid rgba(0,0,0,.1);
}

ol, ul {
    margin: 0 0 25px;
    padding-left: 20px;
}

ol.p, ul.p {
    margin: -15px 0 20px;
}

p:last-child, ol:last-child, ul:last-child {
    margin-bottom: 0;
}

ul > li:not(:last-child), ol > li:not(:last-child) {
    margin-bottom: 5px;
}

.center, .center p, p.center {
    text-align: center !important;
}

p.contained {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.right, .right p, p.right {
    text-align: right !important;
}

a {
    text-decoration: none;
    transition: .2s ease;
    outline: none;
}

a:hover {
    color: var(--col1);
}

a:active, a:focus {
    outline: 0;
    border: none;
}

b, strong {
    font-weight: 600;
}

em {
    font-size: inherit;
    font-style: italic;
}

.upper {
    text-transform: uppercase;
}

:focus {
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img.left {
    float: left;
    margin: 0 30px 15px 0;
    max-width: 50%;
}

img.right {
    float: right;
    margin: 0 0 15px 30px;
}

img.rounded {
    border-radius: 10px;
}

.center img, img.center {
    margin: 0 auto;
}

.right img {
    margin-left: auto;
}

.bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* layout */
.container {
    margin: 0 auto;
    max-width: 1500px;
    padding: 0 30px;
}

.container.small {
    max-width: 1060px;
}

.container.full {
    max-width: 100%;
}

.section {
    padding: 50px 0;
}

.smallsection {
    padding: 30px 0;
}

.bglight {
    background: var(--bglight);
}

.bgwhite {
    background-color: #fff;
}

.flex {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: -15px;
    position: relative;
}

.row.toright {
    justify-content: flex-end;
}

@media(min-width: 1001px) {
    .row.bigspace {
        margin: -25px;
    }

    .row.bigspace>.col {
        padding: 25px;
    }
}

.row.smallspace {
    margin: -5px -10px;
}

.row.mediumspace {
    margin: -10px;
}

.row.nospace {
    margin: 0;
}

.row.nowrap, .row.unwrap {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.row.spread, .flex.spread {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.row.toend {
    justify-content: flex-end;
}

.row.centered, .flex.centered {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.row.middle, .flex.middle {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.col {
    width: 100%;
    padding: 15px;
    position: relative;
}

.row.smallspace>.col {
    padding: 5px 10px;
}

.row.mediumspace>.col {
    padding: 10px;
}

.row.nospace>.col {
    padding: 0;
}

.col.auto {
    width: auto;
    max-width: 100%;
}

.col.fill {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.col.shrink {
    -ms-flex-negative: 999999;
    flex-shrink: 999999;
}

.col.toright {
    margin-left: auto;
}

.boxcol {
    padding: 50px;
}

@media(min-width: 1001px) {
    .row.reverse {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }

    .col_11 {
        width: 91.6666%;
    }

    .col_10 {
        width: 83.3333%;
    }

    .col_9 {
        width: 75%;
    }

    .col_8 {
        width: 66.6666%;
    }

    .col_7 {
        width: 58.3333%;
    }

    .col_6 {
        width: 50%;
    }

    .col_5 {
        width: 41.6666%;
    }

    .col_4 {
        width: 33.3333%;
    }

    .col_36 {
        width: 30%;
    }

    .col_3 {
        width: 25%;
    }

    .col_24 {
        width: 20%;
    }

    .col_2 {
        width: 16.6666%;
    }

    .col_1 {
        width: 8.3333%;
    }
}

.bottom_space_0 {
    margin-bottom: 0 !important;
}

.bottom_space_5 {
    margin-bottom: 5px !important;
}

.bottom_space_10 {
    margin-bottom: 10px !important;
}

.bottom_space_15 {
    margin-bottom: 15px !important;
}

.bottom_space_20 {
    margin-bottom: 20px !important;
}

.bottom_space_25 {
    margin-bottom: 25px !important;
}

.bottom_space_30 {
    margin-bottom: 30px !important;
}

.bottom_space_45 {
    margin-bottom: 45px !important;
}

.bottom_space_60 {
    margin-bottom: 60px !important;
}

.abs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.above {
    position: relative;
    z-index: 5;
}

/* buttony */
.button {
    background: #b10;
    color: #fff;
    cursor: pointer;
    padding: 12px 40px;
    text-align: center;
    border-radius: 30px;
    transition: .3s ease;
    outline: none;
    border: 0;
    box-shadow: none;
    font-size: 135%;
    font-weight: 600;
    display: inline-block;
}

.button:hover {
    background: #810;
    color: #fff;
}

/* header */
header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    z-index: 1000;
    padding: 10px 0;
    background: #fff;
}

header.fixed {
    box-shadow: 0 0 12px rgba(0,0,0,.12);
}

.header-space {
    height: 100px;
}

* {
    scroll-margin-top: 100px;
}

.logo img {
    height: 80px;
    width: auto;
}

/* header - menu */
nav > ul {
    margin: 0 -20px;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}

nav > ul li {
    margin: 0 !important;
    list-style: none;
    position: relative;
}

nav > ul > li > a {
    padding: 5px 20px;
    text-transform: uppercase;
    font-size: 105%;
    font-weight: 800;
    letter-spacing: .2px;
}

nav ul a {
    color: var(--text);
    font-weight: 600;
}

nav ul > li:hover > a, nav ul > li > a.active {
    color: var(--col1);
}

/* header - submenu */
@media(min-width: 1001px) {
    .submenu-container {
        padding-top: 25px;
        position: absolute;
        top: calc(100% + 20px);
        transition: top .5s, opacity .5s, transform 0s .5s;
        opacity: 0;
        transform: scale(0);
    }

    li:hover > .submenu-container {
        top: 100%;
        opacity: 1;
        transform: scale(1);
        transition: top .3s, opacity .3s
    }

    .submenu-container > ul {
        margin: 0;
        padding: 0;
        list-style: none;
        background: #fff;
        padding: 0 15px 10px;
        width: 220px;
        border-bottom: 2px solid var(--col1);
        box-shadow: 0 10px 10px rgba(0, 0, 0, .12);
    }

    .submenu-container > ul a {
        display: block;
        padding: 5px;
    }
}

/* page header */
.page-header {
    padding: 15px 0;
    background: var(--col1);
    font-size: 70%;
}

.page-header h1 {
    letter-spacing: 1px;
    color: #fff;
}

/* footer */
footer {
    background: #232323;
    padding: 15px 0;
    margin-top: auto;
    color: #fff;
}

footer a {
    color: var(--col1);
}

/* intro */
.intro {
    height: 500px;
    position: relative;
}

.intro .bgs .bg {
    opacity: 0;
}

.intro .bgs .bg:nth-child(1) {
    animation: bg 25s ease 0s infinite;
}

.intro .bgs .bg:nth-child(2) {
    animation: bg 25s ease 3s infinite;
}

.intro .bgs .bg:nth-child(3) {
    animation: bg 25s ease 6s infinite;
}

.intro .bgs .bg:nth-child(4) {
    animation: bg 25s ease 9s infinite;
}

.intro .bgs .bg:nth-child(5) {
    animation: bg 25s ease 12s infinite;
}

@keyframes bg {
    0%, 24%, 100% {
        opacity: 0;
    }
    4%, 20% {
        opacity: 1;
    }
}

/* popup */
.mfp-figure:after {
    display: none;
}

.mfp-counter {
    width: 100%;
    text-align: center;
    color: #aaa;
}

/* filters */
.filters {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
}

.card-filter-title {
    font-size: 110%;
    font-weight: 800;
    margin-bottom: 6px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
}

.card-filter {
    font-size: 90%;
}

.card-filter:not(.card-search) > * {
    opacity: .65;
    cursor: pointer;
    transition: .2s ease;
}

.card-filter > .active, .card-filter > :hover {
    opacity: 1;
}

/* search */
input[type=text] {
    background: #f5f5f5;
    color: var(--text);
    box-shadow: none;
    outline: none;
    padding: 5px 10px;
    border: 0;
    transition: .3s ease;
    font-size: 90%;
    max-width: 100%;
    width: 200px;
    border-radius: 2px;
}

input[type=text]:focus {
    background: #eee;
}

.input-container {
    position: relative;
}

.input-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .5;
    transition: .3s ease;
    cursor: pointer;
}

.input-clear:hover {
    opacity: 1;
}

/* sidebar */
.sidebar {
    height: 100%;
    border-left: 2px solid rgb(0 0 0 / 10%);
    padding-left: 30px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: -5px 0;
}

.sidebar ul li {
    margin: 0;
}

.sidebar ul a {
    display: block;
    color: inherit;
    padding: 5px 0;
}

.sidebar ul a:hover, .sidebar ul a.active {
    color: var(--col4);
}

/* toggles */
.toggle:first-child {
    margin-top: -20px;
}

.toggle:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,.1);    
}

.toggle input, input:not(:checked) ~ .toggle-desc {
    display: none;
}

.toggle-title, .toggle-title > * {
    cursor: pointer;
    display: block;
    transition: .2s ease;
}

.toggle-title > * {
    padding: 20px 0;
}

.toggle-title:hover > *, input:checked ~ .toggle-title > * {
    color: var(--col4);
}

.toggle-desc {
    margin: -10px 0 20px;
}

/* factions block */
.box {
    display: block;
    position: relative;
    transition: .3s ease;
}

.box:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .6;
    transition: .3s ease;
}

.box:hover:after {
    opacity: .25;
}

.box h2, .box h3 {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    padding: 20px;
    z-index: 5;
    transition: .3s ease;
    color: #fff;
}

/* blog */
.post, .post:hover {
    color: inherit;
}

.post p, .single-post p {
    text-align: justify;
}

.post-img {
    border-radius: 10px;
    transition: .3s ease;
    overflow: hidden
}

.post-img img {
    transition: .3s ease;
}

.post:hover .post-img {
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
}

.post:hover .post-img img {
    transform: scale(1.1);
}

.post h3 {
    transition: .3s ease;
}

.post:hover h3 {
    color: var(--col4);
}

/* rwd */
@media(min-width: 1001px) {
    .nopc {
        display: none !important;
    }
}

@media(max-width: 1000px) {
    .norwd {
        display: none !important;
    }

    body, select, input, em {
        font-size: 18px;
    }

    .menu-toggle {
        color: var(--col4);
        font-size: 110%;
        margin-left: 10px;
        position: relative;
        width: 20px;
        height: 25px;
        text-align: center;
        display: block;
    }

    .menu-toggle i {
        position: absolute;
        top: 2px;
        right: 0;
        -webkit-transition: .3s ease;
        -o-transition: .3s ease;
        transition: .3s ease;
        width: 100%;
    }

    #mmt:not(:checked) ~ .menu-toggle i:last-child, #mmt:checked ~ .menu-toggle i:first-child {
        opacity: 0;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
    }

    nav {
        position: fixed;
        left: 0;
        top: 80px;
        width: 100%;
        background: var(--bghead2);
        margin: 0;
        display: block;
        padding: 10px 0;
        opacity: 0;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        -webkit-transition: opacity .15s ease-in-out, top .15s ease-in-out, 0s -webkit-transform .15s;
        transition: opacity .15s ease-in-out, top .15s ease-in-out, 0s -webkit-transform .15s;
        -o-transition: opacity .15s ease-in-out, top .15s ease-in-out, 0s transform .15s;
        transition: opacity .15s ease-in-out, top .15s ease-in-out, 0s transform .15s;
        transition: opacity .15s ease-in-out, top .15s ease-in-out, 0s transform .15s, 0s -webkit-transform .15s;
    }

    #mmt:checked~nav {
        top: 54px;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        opacity: 1;
        -webkit-transition: opacity .25s ease-in-out, top .25s ease-in-out;
        -o-transition: opacity .25s ease-in-out, top .25s ease-in-out;
        transition: opacity .25s ease-in-out, top .25s ease-in-out;
        max-height: calc(100vh - 54px);
        overflow: auto;
    }

    nav ul {
        flex-direction: column;
        margin: 0;
        align-items: flex-start;
    }

    nav ul li {
        width: 100%;
        margin: 0 !important;
    }

    nav ul li a {
        padding: 5px 35px;
        display: block;
        color: #fff;
        font-size: 105%;
    }

    header .logo img {
        height: 30px;
    }

    .header-space {
        height: 54px;
    }
    
    * {
        scroll-margin-top: 54px;
    }

    h1 {
        font-size: 280%;
    }
    
    h2 {
        font-size: 220%;
    }
    
    h3 {
        font-size: 170%;
    }
    
    h4 {
        font-size: 140%;
    }
    
    h5 {
        font-size: 120%;
    }
    
    .section {
        padding: 35px 0;
    }

    hr {
        margin: 35px 0;
    }

    .bottom_space_45 {
        margin-bottom: 35px !important;
    }

    .col.card {
        width: 33.333%;
    }

    .intro {
        height: 400px;
    }
}

@media(max-width: 690px) {
    body, select, input, em {
        font-size: 16px;
    }

    h1 {
        font-size: 250%;
    }
    
    h2 {
        font-size: 200%;
    }
    
    h3 {
        font-size: 160%;
    }
    
    h4 {
        font-size: 135%;
    }

    .section {
        padding: 30px 0;
    }

    hr {
        margin: 30px 0;
    }

    .bottom_space_45 {
        margin-bottom: 30px !important;
    }
    
    .col.card {
        width: 50%;
    }

    .intro {
        height: 350px;
    }

    .page-header {
        padding: 20px 0;
        font-size: 80%;
    }

    .sidebar {
        padding: 20px;
        background: rgba(255,255,255,.1);
        border: 0;
    }
}

@media(max-width: 690px) {
    body, select, input, em {
        font-size: 15px;
    }

    .intro {
        height: 300px;
    }

    h1 {
        font-size: 225%;
    }

    h2 {
        font-size: 190%;
    }

    .page-header h1 {
        letter-spacing: 1px;
    }
}