/* style.css */
/* @import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap'); */
@font-face {
    font-family: 'Permanent Marker';
    src: url('/files/assets/fonts/PermanentMarker-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CodeNext-Trial-BookItalic';
    src: url('/files/assets/fonts/CodeNext-Trial-BookItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CodeNext-Trial-Regular';
    src: url('/files/assets/fonts/CodeNext-Trial-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CodeNext-Trial-HairlineItalic';
    src: url('/files/assets/fonts/CodeNext-Trial-HairlineItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'CodeNext-Trial-BookItalic', cursive;
    margin: 50px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('/files/assets/photos/img/contactsheet_bg.jpg') no-repeat fixed;
    background-size: cover;
    background-blend-mode: luminosity;
    
    /* background-attachment: cont; */
    /* color: #b11717; */
}

.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: 2.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: 210px;
    max-height: 180px;
    text-align: center;
    cursor: pointer;
    background: url('/files/assets/photos/img/thumb_contact_bg2.png') no-repeat center center;
    background-size: cover;
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.2s;
}

.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;
}