/* style.css */
/* @import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap'); */
@font-face {
    font-family: 'CodeNext-Trial-BookItalic';
    src: url('/files/assets/fonts/CodeNext-Trial-BookItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'CodeNext-Trial-BookItalic';
}

body {
    font-family: 'CodeNext-Trial-BookItalic';
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('/files/assets/art/img/artbg1.jpg') no-repeat center center fixed;
    background-size: cover;
    /* background: #f0f0f0; */
    color: #333;
}

.back-to-home {
    margin: 20px;
    font-size: 1.5em;
    color: #333;
    text-decoration: none;
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background-color 0.2s;
}

.back-to-home:hover {
    transform: scale(1.05);
    background-color: #e0e0e0;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: auto;
    gap: 1.5rem;
    padding: 2rem;
    width: 100%; /* Ensure the grid container spans the full width */
    box-sizing: border-box; /* Include padding in the width calculation */
}

.thumbnail-item {
    width: 100%;
    max-width: 200px;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.2s;
    background-color: aqua;
}


.thumbnail-item:hover {
    transform: scale(1.05);
}

.thumbnail-item img {
    width: 190px;
    height: 180px;   
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.thumbnail-item p {
    margin-top: 10px;
    font-size: 1.2em;
    color: #555;
}

.carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    user-select: none;
}

.zoomed {
    transform: scale(2);
    transition: transform 0.3s ease;
    z-index: 1000;
    position: relative;
}