.library-section {
    padding: 40px;
}
.library-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}
.library-content-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #000000;
    text-align: left;
}
.library-content-rules {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}
.library-content-rules h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #08487C;
    text-align: left;
}
.library-rules-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    gap: 2px;
}
.library-rules-content-right-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.library-rules-content-left-item.active{
    background-color: #08487C;
}
.library-rules-content-left-item:hover {
    background-color: #08487C;
    cursor: pointer;
}
.library-rules-content-left-item:hover p {
   color: #FFFFFF; 
}
.library-rules-content-left-item.active p {
   color: #FFFFFF;
}
.library-rules-content-left-item p {
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
}
.library-rules-content-left-item {
    width: 325px;
    height: 73px;
    background-color: #F3FAFF;
    padding: 20px 40px;
}
.library-rules-content-left-item p {
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #000000;
}
.library-rules-content-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.library-rules-content-right {
    background-color: #F3FAFF;
    padding: 40px;
    width: 690px;
    height: 100%;
    min-height: 301px;
}
.library-rules-content-right ul li, .library-rules-content-right p, .library-rules-content-right div {
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #000000;
}
.library-content-statistic {
    background-color: #F3FAFF;
    width: 100%;
    padding: 40px;
    border-radius: 20px;
}
.library-content-statistic-cards {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.library-content-statistic-card h5 {
    color: #B8A05E;
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 0;
}
.library-content-statistic-card span {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 0;
}
.library-content-statistic-card p {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 0;
    text-align: center;
}
.library-content-statistic-card {
    width: 225px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}
@media (max-width:1280px) {
    .container {
      max-width: 100% !important;
      padding: 0 !important;
    }
    .nav-content-top-main img {
      width: 22px;
      height: 22px;
    }
    .nav-content-top-main p, .nav-content-top-subtitle {
      font-size: 12px;
    }
    .nav-content-top-img {
      width: 11px;
      height: 11px;
    }
    .nav-content-bottom p {
      font-size: 28px;
    }
    .nav-content  {
      gap: 10px;
    }
    .navigation-component {
      height: 100%;
      padding: 16px 36px;
    }
    .library-section, .library-content-statistic {
        padding: 30px;
    }
    .library-content {
        gap: 30px;
        margin-bottom: 30px;
    }
    .library-content-text p, .library-rules-content-right ul li, .library-content-statistic-card p, .library-rules-content-left-item p {
        font-size: 14px;
    }
    .library-content-rules {
        gap: 30px;
    }
    .library-content-rules h4 {
        font-size: 22px;
    }
    .library-rules-content-left-item {
        width: 100%;
        height: 68px;
        padding: 18px 38px;
    }
    .library-rules-content-left {
        width: 100%;
    }
    .library-rules-content-right {
        width: 100%;
        padding: 35px;
    }
    .library-content-statistic-card {
        width: 100%;
        gap: 10px;
        flex-direction: column;
    }
     .library-content-statistic-card h5 {
        font-size: 30px;
    }
    .library-content-statistic-card span {
        font-size: 16px;
    }
    .library-content-statistic-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        align-items: flex-start;
    }
}
@media (max-width:768px) {
   .nav-content-top-main img {
        width: 19px;
        height: 19px;
    }
    .nav-content-top-main {
        gap: 5px;
        padding: 10px 5px;
    }
    .nav-content-top-img {
        width: 9px;
        height: 9px;
    }
    .nav-content-top-main p, .nav-content-top-subtitle {
        font-size: 10px;
    }
    .nav-content-top {
        gap: 10px;
    }
    .nav-content {
        gap: 5px;
    }
    .navigation-component {
        height: 100%; 
        padding: 15px 20px;
    }
    
    .nav-content-bottom p {
        font-size: 24px; 
        padding: 0 5px;
    }
    .nav-content-top-main p, .nav-content-top-subtitle{
       font-size: 12px;
    }
    .library-section, .library-content-statistic {
        padding: 20px;
    }
    .library-content {
        gap: 20px;
        margin-bottom: 20px;
    }
    .library-content-text p, .library-rules-content-right ul li, .library-content-statistic-card p, .library-rules-content-left-item p {
        font-size: 12px;
    }
    .library-content-rules {
        gap: 20px;
    }
    .library-content-rules h4 {
        font-size: 20px;
    }
    .library-rules-content {
        flex-direction: column;
        align-items: center;
    }
    .library-rules-content-left {
        width: 100%;
    }
    .library-rules-content-left-item {
        height: 56px;
        padding: 20px 25px;
    }
    .library-rules-content-right {
        padding: 25px;
        min-height: 0;
    }
    .library-content-statistic-cards {
        gap: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .library-content-statistic-card {
        gap: 5px;
    }
    .library-content-statistic-card h5 {
        font-size: 28px;
    }
    .library-content-statistic-card span {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .nav-content-top-main p, .nav-content-top-subtitle {
        font-size: 10px;
    }
    .nav-content-bottom p {
        font-size: 18px;
    }
    .nav-content-top-main img {
        width: 17px;
        height: 17px;
    }
    .nav-content-top-img {
        width: 7px;
        height: 7px;
    }
    .nav-content-top {
        gap: 5px;
    }
    .navigation-component {
        padding: 10px 15px;
    }
    .library-section  {
        padding: 10px;
    }
}