/* Fonts */
@font-face {
    font-family: 'FuturaLTW01-Book';
    src: url('../font/FUTURA_LT_W01_BOOK.TTF') format('truetype');
    font-style: normal;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}
.clearfix::after {
    clear: both;
    content: '';
    display: table;
}
body {
    background-color: #000;
    font-family: 'Helvetica', sans-serif;
    /* font-family: 'Helvetica Neue', sans-serif; */
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
}
body.fixed {
    overflow: hidden;
}

a { 
    outline:none; 
    text-decoration:none;
}

a:active {
    outline: none;
}

img, img a {
    border: none;
}
img {
    display: block;
    max-width: 100%;
}
ul {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.flex-container {
    display: flex;
    align-items: flex-start;
    gap: 35px;
}
.flex-item:last-child {
    flex-grow: 1;
}
.category-nav {
    margin-top: 109px;
}
.category-nav li {
    margin-bottom: 12px;
    padding: 6px 20px;
    white-space: nowrap;
}
.category-nav li.active {
    background-color: #fff;
}
.category-nav li.active a {
    color: #000;
}
.category-nav a {
    color: #FFF;
    font-family: 'FuturaLTW01-Book';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 14.688px; /* 81.598% */
    letter-spacing: 0.113px;
    text-decoration: none;
}
h1 {
    color: #FFF;
    font-size: 52px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    margin-top: 43px;
    margin-bottom: 30px;
}
.pdfs-wrapper {
    background: #000;
    border: 1px solid #FFF;
    padding: 30px 25px;
    height: calc(100vh - 230px);
}
.pdfs-container {
    margin-top: 20px;
    height: calc(100% - 90px);
    overflow-y: auto;
}
.pdf-inner-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 20px;
}
.pdf-holder {
    border: 1px solid #FFF;
    width: calc(33.3% - 14px);
    height: 100%;
    padding: 16px;
}
.pdf-holder h2 {
    display: none;
}
.pdf-cover-image {
    height: 260px;
}
.pdf-holder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pdf-title {
    color: #FFF;
    font-size: 12.1px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.098px;
    margin: 11px 0;
    height: 42px;
    overflow: hidden;
}
.pdf-date {
    color: #FFF;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.835px; /* 180.318% */
    letter-spacing: 0.153px;
    margin: 0;
}
select {
    border: 1px solid #fff;
    background-color: #000;
    color: #fff;
    font-family: 'FuturaLTW01-Book';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0.113px;
    width: calc(33.3% - 14px);
    height: 40px;
    padding: 0 13px 0 16px;
}
.footer-logo img {
    margin: 0 auto;
}

/* Doc page */
.doc-page {
    max-width: 787px;
    margin: 0 auto;
    padding-top: 32px;
    position: relative;
}
.doc-page h1 {
    display: none;
    color: #FFF;
    font-size: 24.718px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.199px;
    max-width: 400px;
    margin: 0;
}
.doc-page p {
    display: none;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.835px; /* 99.175% */
    letter-spacing: 0.153px;
    margin-top: 15px;
    margin-bottom: 50px;
}
.qr-image {
    width: 80px;
    margin-left: auto;
}
.pdf-document-container {
    height: calc(100vh - 350px);
    margin-bottom: 50px;
    overflow-y: auto;
    position: relative;
}
canvas {
    width: 100%;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}
.controls span {
    color: #fff;
    font-size: 18px;
}
.circle-btn {
    background-color: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.arrow {
    font-size: 24px;
    display: inline-block;
}


.pdf-document-container.loading {
    overflow: hidden;
    position: relative;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.back-button {
    display: block;
    border: 1px solid #fff;
    position: absolute;
    left: -80px;
    padding: 32px;
}

/* Responsive */
@media screen and (max-width: 920px) {
    h1 {
        font-size: 48px;
    }
    .pdfs-container {
        gap: 40px;
    }
    .pdf-holder, select {
        width: calc(50% - 10px);
    }
    .doc-page {
        max-width: 630px;
    }
}