body {
    font-family: "roboto flex";
    margin: 0;
    padding: 0;
    background: url('images/background.png') no-repeat center center fixed;
    background-size: cover;
    color: #e0e0e0;
    text-align: center;
}

.navbar {
    background-color: rgba(34, 34, 34, 0.8);
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar a {
    display: inline-block;
    color: #e0e0e0;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s, font-weight 0.3s;
}

.navbar a:hover {
    background-color: #6A1B9A;
    color: #fff;
    font-weight: 900;
}

.container {
    padding: 100px 20px 20px;
}

.footer {
    background: rgba(30, 30, 30, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2);
}

.main-content {
    background: rgba(30, 30, 30, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    display: inline-block;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.main-content#err {
    background: rgba(30, 30, 30, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    display: inline-block;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    display: block;
}

.main-content img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    cursor: pointer;
}

.main-content#err img {
    width: 30%;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    padding: 2% 0% 3.5% 0%;
}

.main-content h1 {
    text-align: center;
    color: #BB86FC;
    font-size: 36px;
    text-decoration: none;
}

#H1link {
    text-align: center;
    color: #BB86FC;
    font-size: 36px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #03DAC566;
    transition: font-weight 0.3s;
}

.main-content p {
    font-size: 18px;
    color: #bbb;
    line-height: 1.6;
}

.main-content .caption {
    text-align: center;
    font-size: 16px;
    color: #03DAC5;
    margin-top: 10px;
}

.gallery {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery img {
    width: 30%;
    max-width: 200px;
    margin: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.view-all-button {
    background-color: #6A1B9A;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s;
    text-decoration: none;
}

.view-all-button:hover {
    background-color: #BB86FC;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-content img {
    width: 30%;
    max-width: 150px;
    margin: 10px;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.fullscreen-modal img {
    max-width: 90%;
    max-height: 80%;
}

.fullscreen-modal .close,
.fullscreen-modal .zoom-in,
.fullscreen-modal .zoom-out {
    position: absolute;
    top: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.fullscreen-modal .close {
    right: 20px;
}

.fullscreen-modal .zoom-in {
    right: 70px;
}

.fullscreen-modal .zoom-out {
    right: 120px;
}

#noshow {
    font-family: "roboto flex";
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    text-align: center;
    transition: font-weight 0.3s;
    text-decoration: none;
}

#noshow:hover {
    color: #03DAC5;
    font-weight: 900;
}

#H1link:hover {
    color: #03DAC5;
    text-decoration-color: #03DAC5ff;
    font-weight: 900;
}

#imgontable {
    size: 100%;
    transition: size;
}

#imgontable:hover {
    size: 150%;
}
