body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    width: 100%;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}
h1 {
    text-align: center;
    margin-bottom: 30px;
}
.carousel {
    white-space: nowrap;
    margin-bottom: 40px;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}
.carousel img {
    width: inherit;
    height: 400px;
    object-fit: cover;
}
@keyframes carousel4 {
    0% {margin-left: 0;}
    33% {margin-left: -100%;}
    66% {margin-left: -200%;}
    100% {margin-left: -300%;}
}
.carousel > :first-child {
    animation-name: carousel4;
    animation-duration: 15s;
    animation-delay: 0s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.thumbnail, .self-intro {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
    height: 200px;
}
.thumbnail:hover, .self-intro:hover {
    transform: scale(1.05);
}
.thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.thumbnail .overlay, .self-intro .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
}
.thumbnail .overlay {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.thumbnail:hover .overlay {
    transform: translateY(0);
}
.thumbnail h3, .self-intro h3 {
    margin: 0;
    font-size: 16px;
}
.self-intro {
    background-color: #2a2a2a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
.self-intro img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.self-intro p {
    font-size: 14px;
    margin: 5px 0;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 700px;
    top: 50%;
    transform: translateY(-50%);
}
.close {
    color: #fff;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
#animationCanvas, #detailCanvas {
    width: 100%;
    height: 400px;
}
.details {
    margin-top: 20px;
    text-align: center;
}
.details h2 {
    margin-bottom: 10px;
}
.details p {
    margin-bottom: 20px;
}
.details a {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.details a:hover {
    background-color: #45a049;
}
footer {
    background-color: #2a2a2a;
    padding: 20px 0;
    margin-top: 40px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-content p {
    margin: 0;
}
.social-links a {
    color: #ffffff;
    margin-left: 15px;
    text-decoration: none;
}
.social-links a:hover {
    text-decoration: underline;
}
#detailPage {
    display: none;
    padding: 40px 0;
    width: 100%;
    box-sizing: border-box;
}
#detailPage img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}
#detailPage h2 {
    margin-bottom: 20px;
}
#detailPage p {
    line-height: 1.6;
    margin-bottom: 20px;
}
.back-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.back-button:hover {
    background-color: #45a049;
}

.details img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* #3d-model {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
} */

.artwork-details {
    margin-top: 20px;
    text-align: center;
}

.artwork-details p {
    margin: 5px 0;
}

#social-share-container {
    margin-top: 20px;
    text-align: center;
}

#social-share-container h2 {
    margin-bottom: 10px;
}

#social-share-container a {
    display: inline-block;
    margin: 0 10px;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#social-share-container a:hover {
    background-color: #45a049;
}

.site-header {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    box-sizing: border-box;
}

.site-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
}

.site-title::before,
.site-title::after {
    content: '';
    position: absolute;
    /* background-color: #2ea31f; */
}

.site-title::before {
    top: -5px;
    bottom: -5px;
    left: 0;
    right: 0;
    border: 2px solid #ffffff;
}

.site-title::after {
    left: -5px;
    right: -5px;
    top: 0;
    bottom: 0;
    border: 2px solid #ffffff;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
}

#back-to-top:hover {
    background-color: #333;
}


