@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Hand+Pre:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playwrite+AU+QLD:wght@100..400&family=Press+Start+2P&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --dark-bg: #111827;
    --dark-gray: #1d2735;
    --light-text: #f0f0f0;
    --secondary-bg: #2a2a2a;
    --accent-blue: #007bff;
    --accent-blue-hover: #0056b3;
    --transition-speed: .3s;
    --border-radius: 8px;
    --accent-hacking: #CB0404;
    --protocol-card-bg: #2a2a2a;
    --protocol-card-border: #444;
    --protocol-title-color: #f0f0f0;
    --protocol-description-color: #bbb;
    --protocol-tag-bg-tcp: #ffc107;
    --protocol-tag-text-tcp: #333;
    --protocol-tag-bg-udp: #17a2b8;
    --protocol-tag-text-udp: white;
    --protocol-tag-bg-both: #6f42c1;
    --protocol-tag-text-both: white;
    --port-number-color: #00ff00;
    --encrypted-color: #28a745;
    --unencrypted-color: #dc3545;
    --legend-bg: #222;
    --legend-border: #444;
    --table-bg: #2a2a2a;
    --table-border: #444;
    --table-header-bg: #3c3c3c;
    --table-header-text: #f0f0f0;
    --table-row-hover-bg: #3a3a3a;
    --table-link-color: var(--accent-blue);
    --table-link-hover: var(--accent-blue-hover);
    --sidebar-bg: #1a1a1a;
    /* Same as dark-bg for seamless look */
    --sidebar-border: #333;
    --default-h1: 1.4rem;
    --p: 0.9rem;
    --h3: 1.2rem
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 0 */
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar {
    width: 100%;
    background-color: var(--dark-gray);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar .back-arrow {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-right: 15px;
    cursor: pointer;
    transition: all .3s ease
}

.top-bar .back-arrow:hover {
    transform: translateX(-5px);
    color: #00ffff
}

.top-bar .title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    padding-right: 30px;
    border-right: 2px solid var(--table-border);

}

.top-bar .legend-items {
    margin-left: 40px;
    display: flex;
    gap: 15px;
}

.legend-section {
    background-color: var(--legend-bg);
    border: 1px solid var(--legend-border);
    border-radius: 5px;
    padding: 25px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3)
}

.legend-section h2 {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 20px
}

.legend-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--light-text)
}

.legend-color-box {
    width: 25px;
    height: 25px;
    border-radius: 5px;
    margin-right: 10px;
    border: 1px solid rgba(255, 255, 255, .2)
}

.legend-color-box.encrypted {
    background-color: var(--encrypted-color)
}

.protocol-port.en {
    color: var(--encrypted-color)
}

.protocol-port.un {
    color: var(--unencrypted-color)
}

.legend-color-box.unencrypted {
    background-color: var(--unencrypted-color)
}

.main-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0;
    flex-grow: 1;
}

.left-column {
    width: 100%;
    padding: 0 20px;
}

.right-column {
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.protocols-page-content {
    background-color: var(--dark-bg);
    padding: 0;
    width: 100%;
    max-width: none;
}

.protocols-page-content h1 {
    font-size: var(--default-h1);
    font-weight: 600;
    color: var(--accent-hacking);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px
}

.protocols-page-content h1:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 4px;
    background-color: var(--accent-blue);
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    border-radius: 2px
}

.protocols-page-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--light-text);
    text-align: left;
    margin-bottom: 15px;
}

.protocols-page-content h3::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 2px;
    background-color: var(--accent-blue);
    left: 0;
    bottom: 10px;
    border-radius: 1px
}

.protocols-page-content .content .click {
    font-size: .9rem;
    color: var(--light-text)
}

.protocols-page-content p {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 10px;
    margin-top: 10px
}

.protocols-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: start;
}

.protocols-grid:hover>:not(:hover) {
    opacity: .7
}

.protocol-card {
    position: relative;
    background-color: var(--protocol-card-bg);
    border: 1px solid var(--protocol-card-border);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-height: 100px;
    height: auto;
}

.protocol-card.expanded {
    height: auto;
}

.protocol-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, .4)
}

.protocol-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px;
    flex-shrink: 0
}

.protocol-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.protocol-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--protocol-title-color)
}

.protocol-port {
    font-size: 1rem;
    font-weight: 400;
    color: var(--port-number-color);
    margin-left: 10px;
    position: relative;
    top: 2px;
}

.protocol-type-tag {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    position: absolute;
    right: 15px;
}

.protocol-type-tag.tcp {
    background-color: var(--protocol-tag-bg-tcp);
    color: var(--protocol-tag-text-tcp)
}

.protocol-type-tag.udp {
    background-color: var(--protocol-tag-bg-udp);
    color: var(--protocol-tag-text-udp)
}

.protocol-type-tag.tcp-udp {
    background-color: var(--protocol-tag-bg-both);
    color: var(--protocol-tag-text-both)
}

.protocol-description {
    font-size: .9rem;
    color: var(--protocol-description-color);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 0
}

.protocol-description span {
    font-weight: 500;
    color: var(--light-text);
    cursor: pointer
}

.protocol-extra-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .3s ease;
    padding-top: 0;
    border-top: 1px solid transparent;
    box-sizing: border-box;
    flex-shrink: 0
}

.protocol-card.expanded .protocol-extra-info {
    max-height: 300px;
    opacity: 1;
    background-color: var(--dark-bg);
    border: 1px solid #555;
    padding: 10px;
}

.protocol-extra-info ul {
    list-style: none;
    padding: 10px
}

.protocol-extra-info ul li {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 5px
}

.protocol-extra-info ul li span {
    font-weight: 500;
    color: var(--light-text)
}

.protocol-extra-info a {
    color: #007bff
}

.protocol-extra-info a:hover {
    color: purple
}

.transport-protocol-content h3,
.protocols-page-content h3,
.network-protocol-content h3,
.security-content h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light-text);
    text-align: left;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    transition: transform .3s ease
}

.transport-protocol-content h3 {
    margin-top: 10px;
}

.transport-protocol-content h3::after {
    content: "";
    position: absolute;
    width: 225px;
    height: 2px;
    background-color: var(--accent-blue);
    left: 0;
    bottom: 10px;
    border-radius: 1px
}

.transport-protocol-content h3 .heading,
.protocols-page-content h3 .heading,
.network-protocol-content h3 .heading,
.security-content h3 .heading,
.reference-content h3 .heading {
    display: inline-block;
    transition: transform .3s ease
}

.transport-protocol-content h3:hover .heading,
.protocols-page-content h3:hover .heading,
.network-protocol-content h3:hover .heading,
.security-content h3:hover .heading,
.reference-content h3:hover .heading {
    transform: translateY(-3px)
}

.transport-protocol-content,
.network-protocol-content,
.security-content,
.protocol-essential-content,
.reference-content {
    padding: 12px 0;
    width: 100%;
    max-width: none;
}

.table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.protocol-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--protocol-card-bg);
    border: 2px solid var(--legend-border);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3)
}

.protocol-table th,
.protocol-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--table-border);
    color: var(--light-text);
    font-size: .85rem
}

.protocol-table th {
    background-color: var(--dark-gray);
    color: var(--table-header-text);
    font-weight: 600;
    text-transform: uppercase
}

.protocol-table tbody tr:last-child td {
    border-bottom: none
}

.protocol-table tbody tr:hover {
    background-color: var(--table-row-hover-bg)
}

.protocol-table td a {
    text-decoration: none;
    transition: color .3s ease
}

.protocol-table td .tcp {
    color: var(--protocol-tag-bg-tcp)
}

.protocol-table td .udp {
    color: var(--protocol-tag-bg-udp)
}

.network-protocol-content ul,
.protocol-essential-content ul,
.reference-content ul {
    margin-left: 20px
}

.network-protocol-content li,
.protocol-essential-content li,
.reference-content li {
    font-size: 1rem;
    color: #bbb
}

.network-protocol-content li span {
    font-weight: 500;
    color: #28a745
}

.network-protocol-content li span.fullform {
    color: #bbb
}

.network-protocol-content h3::after,
.security-content h3::after,
.reference-content h3::after {
    content: "";
    position: absolute;
    width: 216px;
    height: 2px;
    background-color: var(--accent-blue);
    left: 0;
    bottom: 10px;
    border-radius: 2px
}

.security-content h3::after {
    width: 245px
}

.security-content table tbody td a {
    color: var(--accent-blue)
}

.security-content table tbody td a:hover {
    color: purple
}

.protocol-essential-content h3::after {
    width: 250px
}

.protocol-essential-content ul li span {
    color: var(--protocol-tag-bg-tcp);
    font-weight: 500
}

.protocol-essential-content li a {
    color: var(--accent-blue)
}

.protocol-essential-content li a:hover {
    color: purple
}

.reference-content h3::after {
    width: 300px
}

.reference-content li span {
    font-weight: 500;
    color: var(--protocol-tag-bg-both)
}

.footer {
    width: 100%;
    background-color: #000000;
    color: var(--light-text);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, .2)
}

.footer p {
    font-size: 1rem
}

p.last {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: italic;
    margin-top: 30px;
    font-size: 1rem;
    border-left: 5px solid var(--legend-border);
    padding-left: 5px;
}

.about-website,
.ad-block,
.related-topics,
.related-tags {
    background-color: var(--sidebar-bg);
    border: 1px solid var(--sidebar-border);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    text-align: center;
}

.about-website h3,
.related-topics h3,
.related-tags h3 {
    font-size: var(--h3);
    color: var(--accent-hacking);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
}

.about-website h3::after,
.related-topics h3::after,
.related-tags h3::after {
    content: "";
    position: absolute;
    width: 97%;
    height: 1px;
    background-color: var(--legend-border);
    left: 50%;
    transform: translateX(-50%);
    bottom: -7px;
    border-radius: 2px;
}

.about-website p {
    font-size: var(--p);
    color: var(--light-text);
    text-align: left;
    padding: 10px;
}

@property --glow-deg {
    syntax: "<angle>";
    inherits: true;
    initial-value: -90deg;
}

@property --clr-1 {
    syntax: "<color>";
    inherits: true;
    initial-value: #4285f4;
}

@property --clr-2 {
    syntax: "<color>";
    inherits: true;
    initial-value: #ea4335;
}

@property --clr-3 {
    syntax: "<color>";
    inherits: true;
    initial-value: #fbbc05;
}

@property --clr-4 {
    syntax: "<color>";
    inherits: true;
    initial-value: #34a853;
}

.about-website.moving-border {
    --gradient-glow: var(--clr-1), var(--clr-2), var(--clr-3), var(--clr-4), var(--clr-1);

    position: relative;
    padding: 20px;
    background: #1f1f1f;
    border: 3px solid transparent;
    border-radius: 28px;

    background:
        linear-gradient(#1f1f1f 0 0) padding-box,
        conic-gradient(from var(--glow-deg), var(--gradient-glow)) border-box;

    font-size: 16px;
    font-weight: 500;
    color: #e8eaed;
    cursor: pointer;
    isolation: isolate;

    transition: all 0.3s ease;
    animation: breathe 4s ease-in-out infinite;
}

.about-website.moving-border:hover {
    transform: translateY(-2px);
    --glow-intensity: 0.3;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.ad-block.large,
.ad-block.medium,
.ad-block.small {
    border: 2px dashed var(--legend-border);
    width: 100%;
    height: 300px;
    background-color: var(--dark-gray);
    /* margin-bottom: 30px; */
}

.ad-block.medium {
    height: 250px;
}

.ad-block.small {
    height: 100px;
}

.ad-block img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3)
}

.related-topics ul {
    list-style: none;
    padding: 0;
}

.related-topics li {
    margin-bottom: 10px;
}

.related-topics li:first-child {
    margin-top: 30px;
}

.related-topics li a {
    color: var(--light-text);
    text-decoration: none;
    font-size: .9rem;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 10px;
    text-align: left;
}

.related-topics li a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.related-tags .tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    margin-left: 10px;
    justify-content: center;
}

.related-tags .tag {
    background-color: var(--light-text);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-size: var(--p);
}

.related-tags .tag-container a {
    text-decoration: none;
    color: var(--legend-border);
}

.related-tags .tag:hover {
    background-color: var(--accent-hacking);
    color: var(--light-text);
}

#scrollUpBtn {
    position: fixed;
    bottom: 36px;
    right: 10px;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    z-index: 999;
    display: none;
    cursor: pointer;
}

.progress-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    shape-rendering: geometricPrecision;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.progress-circle .bg1 {
    fill: #000000;
    stroke: #eee;
    stroke-width: 1;
}

.progress-circle .progress {
    fill: none;
    stroke: var(--accent-hacking);
    stroke-width: 1;
    stroke-dasharray: 100, 100;
    stroke-linecap: round;
    transition: stroke-dasharray 0.25s linear;
}

svg {
    image-rendering: optimizeQuality;
    text-rendering: geometricPrecision;
}

.arrow-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    font-family: Arial, Helvetica, sans-serif;
    color: #e5e7eb;
    pointer-events: none;
    cursor: pointer;
}

@media (min-width: 640px) {
    .container {
        max-width: 600px;
    }

    .top-bar .legend-items {
        margin-left: 40px;
        gap: 20px;
        margin-top: 0;
        width: auto;
        justify-content: flex-start;
    }

    .protocols-page-content h1 {
        font-size: 2.2rem;
    }

    .protocols-page-content h1::after {
        width: 180px;
    }

    .protocols-page-content h2 {
        font-size: 1.8rem;
    }

    .protocols-page-content h3::after {
        width: 50%;
    }

    .transport-protocol-content h3::after {
        width: 40%;
    }

    .network-protocol-content h3::after {
        width: 38%;
    }

    .security-content h3::after {
        width: 48%;
    }

    .protocol-essential-content h3::after {
        width: 50%;
    }

    .reference-content h3::after {
        width: 60%;
    }

    .protocols-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        /* Two columns */
        gap: 25px;
    }

    .protocol-card:hover {
        transform: scale(1.03);
        /* Slightly less aggressive hover for tablets */
        box-shadow: 0 7px 18px rgba(0, 0, 0, .4);
    }

    .protocol-name {
        font-size: 1.3rem;
    }

    .protocol-port {
        font-size: 1.1rem;
    }

    .protocol-type-tag {
        padding: 4px 10px;
        font-size: .8rem;
    }

    .protocol-description {
        font-size: .95rem;
    }

    .protocol-extra-info ul li {
        font-size: 1rem;
    }

    .protocol-table th,
    .protocol-table td {
        padding: 12px;
        font-size: .9rem;
    }

    p.last {
        font-size: 1.1rem;
    }

    .about-website h3::after,
    .related-topics h3::after,
    .related-tags h3::after {
        width: 80%;
        /* Still percentage for small screens */
    }

    .related-tags .tag-container {
        gap: 15px;
        margin-top: 30px;
    }

    .related-tags .tag {
        font-size: 1rem;
    }

    #scrollUpBtn {
        width: 43px;
        height: 43px;
        bottom: 20px;
        right: 20px;
    }

    .arrow-overlay {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }

    .main-content-wrapper {
        grid-template-columns: 68% 27%;
        gap: 20px;
        padding: 40px 0;
    }

    .left-column {
        padding: 0 0 0 15px;
    }

    .right-column {
        padding: 0;
    }

    .protocols-page-content h1 {
        font-size: 1.6rem;
    }

    .protocols-page-content h1::after {
        width: 200px;
    }

    .protocols-page-content p {
        font-size: 1rem;
    }

    .protocols-page-content h2 {
        font-size: 1.4rem;
    }

    .protocols-page-content h3 {
        font-size: 1.15rem;
    }

    .protocols-page-content h3::after {
        width: 53.5%;
    }

    .transport-protocol-content h3::after {
        width: 50.5%;
    }

    .network-protocol-content h3::after {
        width: 49%;
    }

    .security-content h3::after {
        width: 55.5%;
    }

    .protocol-essential-content h3::after {
        width: 56%;
    }

    .reference-content h3::after {
        width: 68%;
    }

    .protocols-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .protocol-card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
    }

    .protocol-name {
        font-size: 1.3rem;
    }

    .protocol-port {
        font-size: 1.1rem;
    }

    .protocol-type-tag {
        font-size: .85rem;
    }

    .protocol-extra-info ul li {
        font-size: 0.95rem;
    }

    .protocol-table th,
    .protocol-table td {
        padding: 15px;
        font-size: 0.95rem;
    }

    .network-protocol-content li,
    .protocol-essential-content li,
    .reference-content li {
        font-size: 1.1rem;
    }

    p.last {
        font-size: 1.1rem;
    }

    .about-website p {
        font-size: 0.9rem;
    }

    .about-website h3::after,
    .related-topics h3::after,
    .related-tags h3::after {
        width: 90%;
    }


    .related-topics li a {
        font-size: 0.75rem;
    }

    .related-tags .tag {
        font-size: 0.8rem;
    }

    .footer p {
        font-size: 1.1rem
    }

    #scrollUpBtn {
        width: 45px;
        height: 45px;
        bottom: 65px;
        right: 24px;
    }

    .arrow-overlay {
        font-size: 1.4rem;
    }

    .ad-block.large {
        height: 400px;
    }
}

/* @media (min-width: 922px) {
    .container {
        max-width: 922px;
    }

    .main-content-wrapper {
        grid-template-columns: 70% 30%;
        gap: 20px;
        padding: 40px 0;
    }
} */

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }

    .protocols-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .protocol-card {
        width: calc(50% - 10px);
        height: 170px;
    }

    .protocol-card:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
    }

    .protocols-page-content h1 {
        font-size: 1.7rem;
    }

    .protocols-page-content h1::after {
        width: 250px;
    }

    .protocols-page-content p {
        font-size: 1.1rem;
    }

    .protocols-page-content h2 {
        font-size: 1.5rem;
    }

    .protocols-page-content h3 {
        font-size: 1.25rem;
    }

    .protocols-page-content h3::after {
        width: 43.5%;
    }

    .transport-protocol-content h3::after {
        width: 41%;
    }

    .network-protocol-content h3::after {
        width: 40%;
    }

    .security-content h3::after {
        width: 45%;
    }

    .protocol-essential-content h3::after {
        width: 45.5%;
    }

    .reference-content h3::after {
        width: 55%;
    }

    .protocol-name {
        font-size: 1.5rem;
    }

    .protocol-port {
        font-size: 1.3rem;
    }

    .protocol-type-tag {
        font-size: 1rem;
    }

    .protocol-extra-info ul li {
        font-size: 1.1rem;
    }

    .protocol-table th,
    .protocol-table td {
        padding: 15px;
        font-size: 1.1rem;
    }

    p.last {
        font-size: 1.3rem;
    }

    .about-website h3::after,
    .related-topics h3::after,
    .related-tags h3::after {
        width: 92%;
    }

    .related-topics li a {
        font-size: 0.85rem;
    }

    .related-tags .tag {
        font-size: 1rem;
    }

    .network-protocol-content li,
    .protocol-essential-content li,
    .reference-content li {
        font-size: 1.2rem;
    }

    .footer p {
        font-size: 1.2rem
    }

    #scrollUpBtn {
        width: 50px;
        height: 50px;
        bottom: 65px;
        right: 20px;
    }

    .arrow-overlay {
        font-size: 1.5rem;
    }
}

/* Extra large devices (large desktops) */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }

    .protocols-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .protocol-card {
        width: calc(33.33% - 13.33px);
        height: 200px;
    }

    .left-column {
        padding: 0 0 0 20px;
    }

    .right-column {
        margin-left: 20px;
    }

    .protocol-card:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
    }

    .protocols-page-content h1 {
        font-size: 1.875rem;
    }

    .protocols-page-content h3::after {
        width: 35%;
    }

    .transport-protocol-content h3::after {
        width: 33%;
    }

    .network-protocol-content h3::after {
        width: 32%;
    }

    .security-content h3::after {
        width: 36%;
    }

    .protocol-essential-content h3::after {
        width: 36.5%;
    }

    .reference-content h3::after {
        width: 44.2%;
    }

    .related-topics li a {
        font-size: 0.95rem;
    }

    .footer p {
        font-size: 1.3rem
    }

    #scrollUpBtn {
        width: 53px;
        height: 53px;
        bottom: 75px;
        right: 32px;
    }
}

/* Extra large devices (large desktops) */
@media (min-width: 1440px) {
    .container {
        max-width: 1440px;
    }

    .protocols-page-content h3::after {
        width: 31%;
    }

    .transport-protocol-content h3::after {
        width: 29%;
    }

    .network-protocol-content h3::after {
        width: 28%;
    }

    .security-content h3::after {
        width: 32%;
    }

    .protocol-essential-content h3::after {
        width: 32.5%;
    }

    .reference-content h3::after {
        width: 39.2%;
    }
}