/* Apply to the outer body wrapper */
body {
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Forces body to occupy full viewport height */
    margin: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* Apply to the main content container */


.container {
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
}

@media (width <= 800px) {
    .container {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

/* 1. Base Reset & Typography */
.navbar *,
.navbar *::before,
.navbar *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #f4f4f4;
    font-family: system-ui, -apple-system, sans-serif;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    /* Flex layout separates logo and links to opposite sides */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 25px;
    border-radius: 10px;
}

/* 2. Logo Styling */
.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo a {
    color: teal;
    text-decoration: none;
}

/* 3. Navigation Links Container */
.nav-links {
    list-style: none;
    /* Flex layout arranges menu items horizontally */
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* 4. Individual Link Styling */
.nav-links a {
    color: teal;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* 5. Call-to-Action Button Variant */
.nav-links .nav-btn {
    background-color: teal;
    color: #ffffff;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgb(148, 148, 148);
    display: flex;
    align-items: center;
}

.nav-links .nav-btn span {
    margin: 3px;
}

.nav-links .nav-btn span svg {
    fill: white;
}


.nav-links .nav-btn:hover {
    background-color: rgb(0, 99, 99);
    text-decoration: none;
}


@media (width <= 800px) {
    .navbar {
        padding: 0.8rem 1rem;
        background-color: #f4f4f4;
        font-family: system-ui, -apple-system, sans-serif;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
        padding: 1rem 2rem;
        /* Flex layout separates logo and links to opposite sides */
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        border-radius: 0;
    }
    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .nav-btn .text {
        display: none;
    }

    .nav-links .nav-btn {
        background-color: transparent;
        padding: 0.3rem 0.5rem;
        border: none;
    }

    .nav-links .nav-btn span {
        margin: 0.5px;
    }
    .nav-links .nav-btn span svg{
        fill: teal;
        width: 32px;
        height: 32px;
    }

}

.header {
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

.header .section-a {
    width: 30%;
}


.header .section-a div {
    cursor: pointer;
    background-color: #ffffff;
    gap: 15px;
    text-align: center;
    max-height: 150px;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    color: teal;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.header .section-a div:hover {
    border: 1px solid teal;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}

.header .section-a div h2,p {
    display: inline-block;
}

.header .section-a div p {
    font-size: 14px;
}

.header .section-b {
    width: 70%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .section-b canvas {
    max-width: 800px;
    max-height: 400px;
}

.banner {
    margin-top: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.banner h2 {
    color: teal;
}

@media (width <= 800px) {
    .header {
        margin-top: 1rem;
        display: flex;
        flex-direction: column-reverse;
        padding-left: 10px;
        padding-right: 10px;
        gap: 1rem;
    }

    .header .section-a {
        display: block;
        width: 100%;
    }

    .header .section-a div h2 {
        font-size: 18px;
    }

    .header .section-a div p {
        font-size: 12px;
    }

    .header .section-b {
        display: block;
        width: 100%;
    }

    .banner {
        margin-top: 10px;
    }

    .banner h2 {
        font-size: 18px;
    }

}

.subscribe-section .message-container {
    display: none;
}

.subscribe-section .block {
    display: flex;
    justify-content: space-between;
    border: 1px solid black;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    background-color: #ffffff;
    left: 20%;
    right: 20%;
    top: -100%; /* Start off-screen */
    animation: slideDown 0.5s ease forwards;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

@keyframes slideDown {
  from { top: -100%; }
  to { top: 3%; }
}

.subscribe-section .block .message-block {
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.subscribe-section .block .close-button-container {
    display: flex;
    align-items: center;
}

.subscribe-section .block div svg {
    padding: 10px;
    cursor: pointer;
}

.subscribe-section .block div svg line {
    stroke: teal;
}

.subscribe-section .form-container {
    margin-top: 4rem;
    display: flex;
    gap: 2rem;
}

.subscribe-section .subscribe-banner{
    text-align: center;
    margin-top: 2rem;
}

.subscribe-section h1, h2, h3{
    color: teal;
}

.subscribe-section .subscribe-banner p {
    font-size: 20px;
}

.subscribe-section .info-container {
    width: 50%;
    padding: 20px;
    border-radius: 10px;
}

.subscribe-section div h3 {
    margin: 0;
}

.subscribe-section .info-container a {
    color: teal;
    text-decoration: none;
}

.subscribe-section .info-container a:hover {
    text-decoration: underline;
}

.subscribe-section form {
    width: 50%;
    border-radius: 10px;
    padding: 20px;
    background-color: #fefefe;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.subscribe-section form p {
    color: teal;
    font-size: 14px;
}

input[type=text],
input[type=email] {
    width: 100%;
    padding: 16px;
    margin: 12px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=submit] {
    width: 100%;
    background-color: teal;
    color: white;
    padding: 16px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: rgb(0, 106, 106);
}


@media (width <= 800px) {

    .subscribe-section .subscribe-banner{
        margin-top: 1rem;
        padding: 10px;
    }

    .subscribe-section .subscribe-banner h1 {
        font-size: 24px;
    }

    .subscribe-section .subscribe-banner p {
        font-size: 16px;
    }

    .subscribe-section .form-container {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
    }

    .subscribe-section .info-container {
        width: auto;
        padding: 10px;
        border-radius: 10px;
    }

    .subscribe-section .info-container h2 {
        text-align: center;
    }

    .subscribe-section form {
        width: auto;
        margin: 10px;
    }
    .subscribe-section .block {
    display: flex;
    justify-content: space-between;
    border: 1px solid black;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    background-color: #ffffff;
    left: 1%;
    right: 1%;
    top: -100%; /* Start off-screen */
    animation: slideDown 0.3s ease forwards;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}
}

.breach-table {
    margin-top: 10px;
    margin-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
}

.breach-table h2 {
    color: teal;
    padding: 10px;
}


.breach-table table {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    border-collapse: collapse;
}

.breach-table table tr {
    border-bottom: 1px solid black;
}

.breach-table table tr th {
    text-align: left;
    padding: 10px;
    color: teal;
}

.breach-table table tr td{
    padding: 10px;
}


.breach-table table .clickable {
    cursor: pointer;
    padding: 10px;
    text-align: left;
}

.breach-table table tr:last-child {
    border: none;
}

.breach-table table .clickable:hover {
    background-color: rgb(223, 223, 223);
}

.breach-table table tr td a {
    color: teal;
    text-decoration: none;
}

.breach-table table tr td a:hover {
    text-decoration: underline;
}


@media (width <= 800px) {
    .breach-table table tr .col-org,.col-records {
        display: none;
    }

    .breach-table h2 {
        font-size: 18px;
        text-align: center;
    }

} 



.breach-container {
    display: flex;
}

.breach-container .section-a {
    width: 65%;
}

.breach-container .section-a div {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.breach-container .section-a div a {
    color: teal;
    text-decoration: none;
}

.breach-container .section-a div a:hover {
    text-decoration: underline;
}

.breach-container .section-a div ul{
    columns: 2;
    column-gap: 20px;
}

.breach-container .section-a div ul li {
    padding: 6px;
}

.breach-container .section-b {
    width: 35%;
}

.breach-container .section-b div {
    margin: 10px;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.breach-container .section-b table {
    table-layout: fixed;
}

.breach-container .section-b div a {
    color: teal;
    text-decoration: none;
}

.breach-container .section-b div a:hover {
    text-decoration: underline;
}

.breach-container .section-b div table td {
    text-align: left;
    padding: 6px;
}

.breach-container .section-b div table th {
    text-align: left;
    padding: 6px;
}


@media (width <= 800px) {
    .breach-container {
        display: flex;
        flex-direction: column;
    }

    .breach-container h1 {
        font-size: 1.2rem;
    }

    .breach-container h3 {
        font-size: 1.0rem;
        padding: 0;
    }

    .breach-container h4,p,li,th,td {
        font-size: 0.8rem;
    }

    .breach-container .section-a {
        width: 100%;
    }

    .breach-container .section-a div ul{
        columns: 1;
        column-gap: 10px;
    }

    .breach-container .section-b{
        width: 100%;
    }

    .breach-container .section-b div{
        padding: 10px;
    }
    

    .breach-container .section-b div table {
        width: 100%;
    }

    .breach-container .section-b div table th {
        text-align: left;
        width: 50%;
    }

    .breach-container .section-b div table td {
        text-align: left;
        width: 50%;
    }

}


.database-container {
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
}

.database-container table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

.database-container table tr {
    border-bottom: 1px solid black;
}

.database-container table .clickable{
    cursor: pointer;
}

.database-container table .clickable:hover{
    background-color: rgb(233, 233, 233);
}


.database-container table th {
    padding: 6px;
    text-align: left;
    color: teal;
}

.database-container table td {
    padding: 10px;
    text-align: left;
}

.database-container table tr th:nth-child(1),
.database-container table tr td:nth-child(1) {
    width: 33%;
}

.database-container table tr th:nth-child(2),
.database-container table tr td:nth-child(2) {
    width: 20%;
}

.database-container table tr td a {
    text-decoration: none;
    color: #363636;
}

.database-container table tr td a:hover {
    text-decoration: underline;
}

@media (width <= 800px) {

    .database-container {
        padding: 10px;
    }

    .database-container table tr .col-org{
        display: none;
    }

    .database-container table tr .col-records{
        display: block;
    }

    .database-container table tr .col-verified{
        display: none;
    }
}


.contact-container h3{
    text-align: center;
}

.contact-container h3 a{
    color: teal;
    text-decoration: none;
}

.contact-container h3 a:hover {
    text-decoration: underline;
}

footer {
    background-color: #ffffff;
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid teal;
    display: flex;
    flex-direction: column;
    text-align: center;
}

footer a {
    color: teal;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
