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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

div, p {
    margin: 15px;
}

ul {
    margin: 10px 20px;
}

h1 {
    text-align: center;
    width: 70%;
    margin: 50px auto;
    font-size: 2em;
    margin-bottom: 20px;
}

p {
    text-align: center;
    width: 70%;
}

#main-header {
    position: sticky;
    top: 0;
    background-color: #333;
    color: white;
    width: 100%;
    z-index: 1000;
}

#content {
    flex: 1 0 auto;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
}
.list {
    max-width: 1000px;
}

.summary {
    margin: 0px;
    background-color: #e7e8ec;
}

.summary > p {
    text-align: left;
    margin-top: 0px;
}

#header-menu {
    margin-left: auto;
    position: absolute;
    right: 20px;
    top: 15px;
    transform: translateY(-50%);
    font-size: 1.1em;
}

#header-menu nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

#header-menu li {
    display: inline;
}

#header-menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 5px;
}

#header-menu a:hover {
    text-decoration: underline;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    margin: 30px 0 0 0;
}

.header-links a {
    display: inline-flex;
    align-items: center;
    background-color: #2962ff;
    color: white;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.header-links a:hover {
    background-color: #396eff;
    box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.header-links #firefox-link {
    display: inline-flex;
    align-items: center;
    background-color: #a1a2a5;
    color: #e7e8ec;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.product-name {
    font-size: 1.5em;
    color: #FFF;
    text-decoration: none;
    min-width: 475px;
}

.product-name a {
    font-size: 1.5em;
    color: #FFF;
    text-decoration: none;
}

@media (max-width: 1088px) {
    .header-content {
        align-items: flex-start;
    }

    .header-links {
        margin-top: 10px;
        font-size: .7em;
        padding: 0px 0px 10px 5px;
    }
}

@media (max-width: 970px) {
    .product-image img {
        width: 40px;
    }

    .product-name {
        font-size: 1em;
        margin: 20px 5px;
        min-width: 290px;
    }

    .header-links a {
        padding: 5px 20px;
        font-size: 1em;
    }

    .header-links #firefox-link {
        padding: 5px 20px;
        margin: 10px 5px;
        font-size: 1em;
    }
}

@media (max-width: 700px) {
    .product-image {
        display: none;
    }

    .product-name {
        font-size: 1em;
        margin: 20px 5px;
        min-width: 250px;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

footer {
    background-color: #333;
    padding: 20px 0;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    gap: 20px;
}

.footer-links li {
    display: inline;
    color: white;
}

.footer-links a {
    text-decoration: none;
    color: white;
    padding: 0 10px;
    font-size: 16px;
}

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

.footer-links li:not(:last-child)::after {
    content: '|';
    margin-left: 10px;
    color: white;
}


@media (min-height: 95vh) {
    footer {
        position: static;
    }
}