/* Global settings */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

body{
    overflow-x: hidden;
    background-color: #F5F5F5;
    height: 100vh;
}

:root{
    --Platonic: #F5F5F5;
    --Tło: #171940;
    --Napisy_główne: #171940;
    --Napisy: #D9B97E;
}

.clear {
    clear: both;
}

/* Nav settings */

.mainnavigation {
    position: fixed;
    display: flex;
    width: 100%;
    height: 90px;
    align-items: center;
    border-bottom: 2px solid #171940;
    z-index: 999999;
    background-color: var(--Platonic);
}

.mainimagesplatonic {
    margin-left: 22px;
}

.mainplatonictitle {
    padding-left: 7px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    display: flex;
    align-items: center;
    color: var(--Napisy_główne);
}

.mainplatonictitle a {
    text-decoration: none;
    color: var(--Napisy_główne);
}

.navul {
    width: 100%;
    display: flex;
    list-style-type: none;
    justify-content: flex-end;
}

.linkmainnav {
    display: block;
    padding-left: 36px;
    padding-right: 36px;
    padding-top: 33px;
    padding-bottom: 33px;
    text-decoration: none;
    color: var(--Napisy_główne);
}

.linkmainnav:hover {
    background-color: #E3E3E3;
    transition: all 0.3s;
}

.boxmainnav {
    display: block;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--Napisy_główne);
}

.hamburger {
    margin-right: 36px;
    cursor: pointer;
    border: none;
    display: none;
    background-color: transparent;
}

.hamburger-box {
    display: block;
    width: 40px;
    height: 24px;
    position: relative;
}

.hamburger-inner {
    position: absolute;
    width: 100%;
    height: 2.5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: .3s ease-in-out;
    background-color: var(--Napisy_główne);
}
    
.hamburger-inner::before {
    position: absolute;
    width: 100%;
    height: 2.5px;
    top: -12px;
    left: 0;
    content: '';
    transition: transform .3s ease-in-out;
    background-color: var(--Napisy_główne);
}
    
.hamburger-inner::after {
    position: absolute;
    width: 100%;
    height: 2.5px;
    top: 12px;
    left: 0;
    content: '';
    transition: transform .3s ease-in-out;
    background-color: var(--Napisy_główne);
}
    
.hamburger--active .hamburger-inner {
    background-color: transparent;
}
    
.hamburger--active .hamburger-inner::before {
    transform: translateY(12px) rotate(45deg);
}
    
.hamburger--active .hamburger-inner::after {
    transform: translateY(-12px) rotate(-45deg);
}
    
.nav-menu {
    display: none;
    position: absolute;
    width: 300px;
    height: 100vh;
    top: 90px;
    right: 0px;
    overflow-y: auto;
    background-color: var(--Platonic);
}
    
.nav-menu--active {
    display: none;
}
    
.navigation-list {
    list-style: none;
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
}
    
.navigation-item {
    margin-bottom: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    background-color: var(--Tło);
}
    
.nav-menu-link {
    text-decoration: none;
    color: var(--Platonic);
}
    
.navigation-item:hover {
    transition: all 0.3s;
    background-color: #0E0F26;
}

/* Main section */

.fixed-fix {
    width: 100%;
    height: 90px;
}

.container-info {
    display: flex;
    justify-content: center;
}

.main-section {
    display: flex;
    flex-direction: column;
    width: 80%;
}

.main-section header {
    display: flex;
    justify-content: center;
}

.main-title {
    margin-top: 25px;
    margin-bottom: 40px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    display: flex;
    align-items: center;
    text-align: center;

    color: var(--Napisy_główne);
}

.sub-info-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
}

.sub-main-title {
    color: var(--Napisy_główne);
    font-family: 'Inter';
    font-style: normal;
}

.sub-main-title-date {
    color: var(--Napisy_główne);
    font-family: 'Inter';
    font-style: normal;
}

#info-main-header {
    display: flex;
    justify-content: center;
}

.info-chapter {
    margin-bottom: 60px;
}

.info-header {
    margin-bottom: 20px;
}

.info-header h2 {
    color:  var(--Napisy_główne);
}

.info-content > ul > li {
    margin-bottom: 10px;
}

.info-ul {
    margin-top: 20px;
    margin-left: 20px;
}

.info-ol {
    counter-reset: li-counter;
    list-style: none;
    padding-left: 0;
}

.info-li {
    position: relative;
    padding-left: 3.5em; /* Zwiększenie paddingu, aby było miejsce na numer artykułu i podpunktu */
    
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    
    color: var(--Napisy_główne);
}

.info-li::before {
    counter-increment: li-counter;
    content: attr(data-article-number) "." counter(li-counter);
    position: absolute;
    left: 0;
}

/* Dodatkowe style dla list zagnieżdżonych */
.extra-list {
    counter-reset: sub-li-counter; /* Resetowanie licznika dla zagnieżdżonej listy */
    list-style: none;
    padding-left: 0;
    margin-left: 2em; /* Zwiększenie marginesu dla list zagnieżdżonych */
}

.extra-list > .info-li {
    position: relative;
    padding-left: 4.5em; /* Zwiększenie paddingu dla zagnieżdżonych list */
}

.extra-list > .info-li::before {
    counter-increment: sub-li-counter; /* Inkrementowanie licznika dla zagnieżdżonej listy */
    content: attr(data-article-number) "." counter(li-counter) "." counter(sub-li-counter);
    position: absolute;
    left: 0;
}

.extra-list .extra-list {
    counter-reset: sub-sub-li-counter;
    margin-left: 2em;
}

.extra-list .extra-list > .info-li {
    padding-left: 5.5em;
}

.extra-list .extra-list > .info-li::before {
    counter-increment: sub-sub-li-counter; /* Inkrementowanie licznika dla głębiej zagnieżdżonej listy */
    content: attr(data-article-number) "." counter(li-counter) "." counter(sub-li-counter) "." counter(sub-sub-li-counter);
}

.justify-left header {
    display: flex;
    justify-content: start;
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 11;
    display: none;
    flex-direction: column;
    padding: 20px 60px;
    max-width: 500px;
    max-height: 630px;
    border-radius: 12px;
    background-color: var(--Platonic);
}

.cookie-banner-title-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 55px;
}

.cookie-banner-title {
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    color: #222;
}

.cookie-banner-desc-box {
    width: 90%;
    margin-top: 20px;
}

.cookie-banner-text {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    color: #222222;
}

.cookie-banner-link {
    color: #2660F5;
}

.cookie-banner-button-box {
    margin-top: 30px;
}

.cookie-banner-btn {
    padding: 15px 27px; 
    border-radius: 6px;
}

.cookie-accept {
    background: #2660F5;
    border: 1px solid #1845db;
    
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--Platonic);
}

.cookie-accept:hover {
    background: #0a39af;
    border: 1px solid #07092e;
}

.cookie-decline {
    background: #E7E9FF;
    border: 1px solid #94A7D7;
    
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #222222;
}

.cookie-decline:hover {
    background: #bcbfdd;
    border: 1px solid #4d6091;
}

.btn-marg-left {
    margin-left: 15px;
}