/* 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: var(--Platonic);
    height: 100vh;
}

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

.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: 12px;

    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; /*Sprawdź to */
}

/* Main section */

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1920px;
    height: calc(100vh - 90px);
    margin-left: auto;
    margin-right: auto;
}

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

/* Left section FIXED */

.left-section-fixed {
    position: fixed;
    top: 90px;
    display: flex;
    flex-direction: column;
    width: 345px;
    height: calc(100vh - 90px);
    max-height: 1000px;
}

.left-section-search-box {
    display: flex;
    width: 100%;
    height: 107px; 
    min-height: 107px;
    
    background-color: var(--Platonic);
}

.left-section-form-search {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}

.left-section-search-bar {
    display: flex;
    width: 329px;
    height: 55px;
    margin-left: 16px;
    padding-left: 10px;
    padding-right: 35px;
    border: 1px solid rgba(56, 56, 56, 0.3);
    border-radius: 10px;
    outline: none;

    font-family: 'Inter';
    font-style: normal;
    font-size: 14px;

    background-color: var(--Platonic);
}

.icon-submit {
    position: absolute;
    right: 10px;
    border: none;

    font-size: 20px;

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

form .help-input-box {
    position: relative;
}

.left-section-search-bar:is(:focus, :valid) {
    border: 2px solid;
    border-color: #171940;
    background-color: #F5F5F5;
}

.help-input-box :is(label) {
    position: absolute;
    top: 50%;
    transform:translateY(-50%);
    color: #797979;
    transition: all 0.1s ease;
}

.help-input-box label {
    left: 25px;
    font-size: 16px;
    pointer-events: none;
}

.left-section-search-bar:is(:focus) ~ label {
    top: 0;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 16px;
    color: #171940;
    background-color: #F5F5F5;
}

.left-section-search-bar:is(:valid) ~ label {
    top: 0;
    padding-left: 3px;
    padding-right: 3px;
    font-size: 16px;
    color: #171940;
    background-color: #F5F5F5;
}

/* clears the 'X' from Internet Explorer */
input[type=search]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal {  display: none; width : 0; height: 0; }

/* clears the 'X' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

.left-side-filtrs {
    width: 100%;
    height: auto;
}

.left-side-filtrs-heading {
    display: flex;
    width: 100%;
    height: 50px;
    align-items: start;
}

.dots {
    display: none;
}

.left-side-filtrs-heading h2 {
    margin-left: 16px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    display: flex;
    align-items: center;

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

.left-side-filtrs-options {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.filtrs-options-describe {
    width: 290px;
    height: auto;
    margin-left: 16px;
}

.filtrs-options-describe h3 {
    margin-top: 16px;
    margin-bottom: 16px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;

    color: var(--Napisy_szare);
}

.filtrs-options-describe h3 a {
    text-decoration: none;

    color: var(--Napisy_szare);
}

/* Filtrs menu */

.filtrs-menu {
    position: absolute;
    top: 107px;
    left: 0;
    display: none;
    width: 100%;
    height: 100vh;

    background-color: var(--Platonic);
}

.left-side-filtrs-heading-menu h2 {
    margin-left: 16px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    display: flex;
    align-items: center;

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

/* Search results */

.search-results {
    position: absolute;
    top: 107px;
    left: 0;
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: var(--Platonic);
}

.search-results-box {
    display: flex;
    width: 100%;
    height: 50px;
    min-height: 50px;
    background-color: #d6d6d6;
}

.search-results-p {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 20px;
}

.search-results-link {
    text-decoration: none;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    display: flex;
    align-items: center;

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

/* Central flex section */

.central-flex {
    display: flex;
    flex-direction: row;
}

.left-section-fixed-fix {
    display: flex;
    width: 345px;
    height: 100%;
}

.central-section {
    display: flex;
    flex-direction: column;
    width: calc(100% - 345px);
    align-items: center;
}

.central-section-header {
    display: flex;
    width: 72%;
    height: 96px;
    align-items: center;
}

.central-section-header h2 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    display: flex;
    align-items: center;
}

/* Central section-accordion */

.central-section-information {
    width: 72%;
}

.central-section-accordion {
    width: 100%;
    margin-bottom: 21px;
    padding-top: 23px;
    padding-bottom: 23px;
    border-radius: 15px;
    border: 1px solid #171940;

    background-color: var(--Platonic);
}

.central-section-accordion header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: all 0.2s linear;
}

.central-section-accordion .title {
    padding-left: 22px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 22px;
    display: flex;
    align-items: center;

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

.central-section-accordion i {
    display: flex;
    margin-right: 26px;
    margin-left: 15px;
    align-items: center;

    font-size: 25px;
}

.central-section-description {
    display: none;
    width: 90%;
    margin-top: 25px;
    margin-left: 42px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    align-items: center;
    transition: all 0.2s linear;

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

.last-accordion {
    margin-bottom: 100px;
}

/* 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;
}