@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
html, body{
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
}
main{
    display: grid;
    grid-template-columns: 320px 1fr;
    height: 100%;
}
.nav_wrap{
    background-image: url(./img/DND10_paper_bg2.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100vw 100vh;
    position: relative;
}
.nav_wrap::before{
    content: "";
    position: absolute;
    background-color: #0B1936BF;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
section{
    background-image: url(./img/BG_1.png), url(./img/DND10_paper_bg2.png);
    background-repeat: repeat, no-repeat;
    background-position: 0 0, -95px 0;
    /*background: url(./img/DND10_paper_bg2.png) no-repeat -95px top;*/
    background-size: auto, 100vw 100vh;
    position: relative;
}
section.internal{
    background: url(./img/DND10_paper_bg2.png) no-repeat -95px top;
    background-size: 100vw 100vh;
    overflow-x: hidden;
}
.btns{
    position: absolute;
    width: 710px;
    height: 505px;
    left: 0;
    top: 0;
    background: url(./img/DND10_paper_bg2.png) no-repeat -95px top;
    background-size: 100vw 100vh;
    padding: 30px 0 0 60px;
    box-sizing: border-box;
}
.btns h1{
    margin: 0;
    text-transform: uppercase;
    font-size: 90px;
    text-align: center;
    font-weight: 700;
    color: #344D83;
    letter-spacing: -3px;
    line-height: 102%;
}
.btns h1 span{
    font-weight: 800;
    font-size: 64px;
    display: block;
    letter-spacing: 0;
}
.btns h1 b{
    font-size: 85px;
    display: block;
    font-weight: 700;
}
.btns p{
    font-size: 36px;
    color: #344D83;
    margin: 0;
    line-height: 160%;
    text-align: center;
    letter-spacing: 5px;
}
.links_wrap{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.links_wrap a{
    text-decoration: none;
    height: 57px;
    line-height: 48px;
    box-sizing: border-box;
    font-size: 18px;
    border: 4px #344D83 solid;
    border-radius: 40px;
    font-weight: 700;
}
.nav_wrap a:not(.icon-logo):hover, .nav_wrap a:not(.icon-logo).active{
    filter: brightness(0) saturate(100%) invert(68%) sepia(7%) saturate(3936%) hue-rotate(187deg) brightness(100%) contrast(110%);
}
.links_wrap a:first-child{
    color: #344D83;
    padding: 0 50px;
}
.links_wrap a:first-child:hover{
    color: #fff;
    background-color: #344D83;
}
.links_wrap a:last-child{
    color: #fff;
    border: 4px #344D83 solid;
    padding: 0 60px;
    background-color: #344D83;
}
.links_wrap a:last-child:hover{
    background-color: transparent;
    color: #344D83;
}
nav.links{
    padding: 30px;
    position: relative;
}
nav.links a{
    display: block;
    text-decoration: none;
    color: #fff;
    padding-left: 28px;
    margin: 0 0 20px 10px;
    font-size: 18px;
    font-weight: 700;
    height: 19px;
    line-height: 19px;
}
nav.links a.icon-logo{
    margin: 0 0 40px 0;
    width: 180px;
    height: 45px;
    line-height: 45px;
    background: url(./icons/logo.svg) no-repeat left center;
    background-size: 180px auto;
}
nav.links a.icon-multireality{
    background: url(./icons/multireality.svg) no-repeat 2px center;
    background-size: 16px 19px;
}
nav.links a.icon-whitepaper{
    background: url(./icons/whitepaper.svg) no-repeat 2px center;
    background-size: 18px 14px;
}
nav.links a.icon-tokenomicon{
    background: url(./icons/tokenomicon.svg) no-repeat 4px center;
    background-size: 15px 16px;
}
nav.links a.icon-onitsway{
    background: url(./icons/onitsway.svg) no-repeat 5px center;
    background-size: 12px 17px;
}
nav.links a.icon-faq{
    background: url(./icons/faq.svg) no-repeat 4px center;
    background-size: 15px 15px;
}
nav.links a.icon-about{
    background: url(./icons/about.svg) no-repeat 4px center;
    background-size: 15px 15px;
}
nav.links a.icon-referenda{
    background: url(./icons/referenda.svg) no-repeat 4px center;
    background-size: 15px 15px;
}
nav.socials{
    display: flex;
    justify-content: space-between;
    width: 240px;
    height: 28px;
    margin: 0 0 30px 30px;
}
nav.socials a{
    background-size: auto 25px;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
}
nav.socials a.icon-tg{
    background-image: url(./icons/tg.svg);
}
nav.socials a.icon-ig{
    background-image: url(./icons/ig.svg);
}
nav.socials a.icon-tw{
    background-image: url(./icons/tw.svg);
}
nav.socials a.icon-tt{
    background-image: url(./icons/tt.svg);
}
nav.socials a.icon-cg{
    background-image: url(./icons/cg.svg);
}
nav.socials a.icon-ss{
    background-image: url(./icons/ss.svg);
}
.bottom_nav{
    position: absolute;
    left: 0;
    bottom: 30px;
}
.bottom_nav p{
    margin-left: 30px;
    width: 250px;
    color: #fff;
    margin-top: 0;
}
.bottom_nav p.copyright{
    font-size: 18px;
    margin-bottom: 0;
    line-height: 160%;
}
.bottom_nav p.short_descr{
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 160%;
}
.bottom_nav p.short_disclamer{
    font-size: 12px;
    margin-bottom: 0;
    line-height: 180%;
}
.toggled main{
    grid-template-columns: 92px 1fr;
}
.toggled nav.links a{
    font-size: 0;
    width: 52px;
    height: 33px;
    background-position: center;
    padding: 0;
    position: relative;
    margin: 0 0 16px 0;
}
.toggled .bottom_nav p{
    display: none;
}
.toggled nav.socials{
    flex-wrap: wrap;
    width: 27px;
    height: auto;
    gap: 15px;
}
.toggled nav.socials a{
    width: 27px;
    height: 30px;
    flex: auto;
    background-size: 100% auto;
}
.toggled nav.links a.icon-logo{
    height: 35px;
    background-position: left center;
    background-size: auto 35px;
    margin: 0 0 40px 0;
}
.toggled nav.links {
    padding: 30px 20px;
}
.toggled nav.links a.icon-multireality{
    background-size: 28px 33px;
}
.toggled nav.links a.icon-whitepaper{
    background-size: 31px 24px;
}
.toggled nav.links a.icon-tokenomicon{
    background-size: 26px 28px;
}
.toggled nav.links a.icon-onitsway{
    background-size: 22px 31px;
}
.toggled nav.links a.icon-faq, .toggled nav.links a.icon-about, .toggled nav.links a.icon-referenda{
    background-size: 27px 27px;
}
.toggle_nav{
    position: absolute;
    right: 0;
    top: 30px;
    width: 15px;
    height: 39px;
    background: #344D83;
    cursor: pointer;
    border-radius: 5.5px 0 0 5.5px;
    z-index: 1;
}
.toggle_nav::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(./icons/toggle.svg) no-repeat center;
    transform: rotate(180deg);
}
.toggled .toggle_nav::after{
    transform: rotate(0deg);
}
.bubble {
    position: absolute;
    top: 0;
    left: 80px;
    background: #0B1936BF;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 30px;
    font-weight: 700;
    text-align: center;
    height: 40px;
    border-radius: 10px;
    padding: 5px 10px;
    z-index: 99;
    box-sizing: border-box;
    display: none;
    width: auto;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}
.bubble::after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: transparent #0B1936BF;
    border-width: 11px 14px 11px 0;
    top: 8px;
    left: -14px;
}
.items{
    display: flex;
    flex-wrap: wrap;
    margin: 40px 60px;
    width: calc(100% - 120px);
    gap: 20px;
}
.internal h1{
    margin: 0;
    padding: 30px 0 0 60px;
    color: #344D83;
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
}
.items a{
    width: 300px;
    height: 300px;
    text-decoration: none;
    background-color: #FFFFFF7A;
    border-radius: 10px;
    padding-bottom: 20px;
}
.items a:hover{
    background-color: #FFFFFF;
    box-shadow: 0 8px 8px #072E4266, 0 4px 4px #072E4240;
}
.items a .img_blk{
    display: block;
    height: 170px;
}
.items a .img_blk img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
}
.items a p{
    margin: 20px 20px 0 20px;
    font-size: 24px;
    font-weight: 700;
    color: #344D83;
    line-height: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}
.items a span{
    margin: 14px 0 0 0;
    font-size: 16px;
    font-weight: 400;
    display: block;   
}
.close_nav, .mob_header{
    display: none;
}
.faq_blk, .text_blk {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 60px;
    font-size: 16px;
}
.text_blk{
    background: #FFFFFF7A;
    padding: 40px;
    border-radius: 40px;
    margin: 20px;
    box-sizing: border-box;
}
.text_blk p, .text_blk h2, .text_blk a{
    color: #344D83;
}
.text_blk p{
    font-size: 16px;
    line-height: 160%;
}
.text_blk p:first-child{
    margin-top: 0;
}
.howtostopwar h2 span{
    font-weight: 400;
}
.howtostopwar>strong{
    display: block;
    margin-bottom: 20px;
    font-size: 20px;
}
.single_faq {
    display: block;
    width: 100%;
    border-radius: 40px;
    cursor: pointer;
    margin-bottom: 20px;
}
.single_faq strong {
    display: inline-block;
    line-height: 56px;
    padding: 14px 34px;
    background: #FFFFFF7A;
    font-weight: 500;
    font-size: 23px;
    border-radius: 40px;
    transition: background .2s ease-out;
}
.single_faq p {
    margin: 20px 40px;
    font-weight: 500;
    display: none;
}
.single_faq.a {
    background: #FFFFFF;
    padding: 0 0 14px 0;
    box-shadow: 0 8px 8px #072E4266, 0 4px 4px #072E4240;
}
.single_faq.a p {
    display: block;
}
.toggled .toggle_nav{
    background-color: transparent;
}
.text_blk p.bigger{
    font-size: x-large;
}
.tokens_preview{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 16px;
}
.single_nft{
    width: 289px;
    height: 289px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 40px;
    text-align: center;
    position: relative;
    background-size: 95% auto;
}
.single_nft[data-t="1"]{
    background-image: url(img/nft1.png);
}
.single_nft[data-t="2"]{
    background-image: url(img/nft2.png);
}
.single_nft[data-t="3"]{
    background-image: url(img/nft3.png);
}
.single_nft[data-t="4"]{
    background-image: url(img/nft4.png);
}
.single_nft[data-t="5"]{
    background-image: url(img/nft5.png);
}
.single_nft[data-t="6"]{
    background-image: url(img/nft6.png);
}
.ref_act{
    display: block;
    margin-bottom: 10px;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 40px;
}
.ref_act p:first-child {
    font-weight: 700;
    margin-bottom: 10px;
}
.ref_act + .ref_act{
    margin-bottom: 20px;
}
@media (max-width: 1200px) {
    main, .mob_header, .close_nav {
        display: block;
    }
    .mob_header{
        position: relative;
        margin-bottom: 20px;
    }
    .mob_header button{
        position: absolute;
        right: 0;
        top: 9px;
        cursor: pointer;
        border: none;
        outline: none;
        background: url(./icons/show_nav_m.svg) no-repeat center;
        width: 28px;
        height: 21px;
    }
    .close_nav{
        position: absolute;
        right: 20px;
        top: 33px;
        cursor: pointer;
        background: url(./icons/close_nav.svg) no-repeat center;
        width: 16px;
        z-index: 99;
        height: 16px;
    }
    section{
        background-size: cover;
        background-attachment: fixed;
        overflow-x: hidden;
        width: 100%;
        min-height: 100vh;
    }
    .content.main{
        position: relative;
        background-position: 0 444px, -95px 0;
    }
    .content.main::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .btns{
        position: relative;
        width: 100%;
        padding: 20px;
        background-size: auto 100vh;
        height: auto;
    }
    .btns h1{
        font-size: 56px;
    }
    .btns h1 span{
        font-size: 38px;
    }
    .btns h1 b{
        font-size: 53px;
    }
    .btns p {
        font-size: 17px;
    }
    .links_wrap{
        display: block;
    }
    .links_wrap a {
        display: block;
        padding: 0 !important;
        text-align: center;
        margin-top: 20px;
    }
    .internal h1{
        font-size: 34px;
        padding: 30px 0 0 0;
        text-align: center;
    }
    .internal .mob_header{
        margin: 20px;
    }
    section.internal {
        background-size: cover;
        background-attachment: fixed;
    }
    .items {
        margin: 40px 20px;
        width: calc(100% - 40px);
        justify-content: center;
    }
    .nav_wrap{
        display: none;
    }
    .v .nav_wrap{
        position: fixed;
        z-index: 100;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        display: block;
    }
    .toggle_nav{
        display: none;
    }
    .faq_blk {
        margin: 60px 20px;
    }
    .single_faq strong{
        line-height: normal;
    }
}