/* Style.css File */
@font-face {
font-family: 'Adler';
src: url('/fonts/Adler.ttf') format("truetype");
}
@font-face {
font-family: 'CALIBURN';
src: url('/fonts/CALIBURN13%20abandon.ttf') format("truetype");
}
@font-face {
font-family: 'Fantaisie';
src: url('/fonts/FantaisieArtistique.ttf') format("truetype");
}
@font-face {
font-family: 'OverdriveSunset';
src: url('/fonts/Overdrive Sunset.otf') format("opentype");
}
@font-face {
font-family: 'PoorLittleBaby';
src: url('/fonts/PoorLittleBaby.ttf') format("truetype");
}
@font-face {
font-family: 'punkkid';
src: url('/fonts/punk kid.ttf') format("truetype");
}
@font-face {
font-family: 'Scratchy';
src: url('/fonts/SCRATCHL.ttf') format("truetype");
}
::selection {
  background: #270011;
  color: #d77898;
}
::-moz-selection {
  background: #270011;
  color: #d77898;
}
::-webkit-selection {
  background: #270011;
  color: #d77898;}
body {
    margin: 0;
    /* Font Colour */
    color:#ffd1d1;
    background-color: #0f0f10;
    text-align:center;
    font-family:"Courier New";
scrollbar-color: #c7ffb0 #090909;
scrollbar-width: thin;
cursor:url('/graphics/Cursor1.png'),auto;}

/* ROOT PAGE CONTAINER */
#gallery-root {
    width: 100%;
}

/* PROJECT SECTION (STACKED) */
.project-section {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.project-header {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto 20px auto;

    text-align: center;
    padding: 20px 10px;

    background: #1a1a1a;
    border-radius: 10px;
}

.project-header h2 {
    margin: 5px 0;
}

.project-header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ACTION LINKS */
.project-actions {
    margin-top: 10px;
}

.project-actions a {
    margin: 0 10px;
    color: #c7ffb0;
    text-decoration: none;
    font-size: 0.9rem;
}

.gallery-grid {
    width: 96%;
    max-width: 1120px;       
    margin: 0 auto;
    padding: 0 12px;            
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
}

/* slightly larger phones */
@media (min-width: 500px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    }
}

/* tablet */
@media (min-width: 700px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* desktop (~15% width ≈ 6 columns) */
@media (min-width: 1000px) {
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* large desktop (optional, smoother scaling ≈ 7 columns) */
@media (min-width: 1400px) {
    .gallery-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

/* CARD */
.card {
    width: 100%;              /* ensures it respects grid */
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
    background-color: #1a1a1a;
    border-radius: 5px;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    border-radius: 5px;
}

.card img:hover {
    filter: brightness(0.6);
}

.card .title {
    text-align: center;
    font-size: 0.85rem;
    padding: 6px;
}

h1{font-family:'Scratchy';color:#833b53;text-shadow: -1px -1px 0 #270011, 1px -1px 0 #270011, -1px 1px 0 #270011, 1px 1px 0 #270011;
}
h2{font-family:'CALIBURN';color:#d77898;text-shadow: -1px -1px 0 #270011, 1px -1px 0 #270011, -1px 1px 0 #270011, 1px 1px 0 #270011;
}
h3,h4,h5,h6{font-family:'Adler';color:#861a3b;text-shadow: -1px -1px 0 #270011, 1px -1px 0 #270011, -1px 1px 0 #270011, 1px 1px 0 #270011;
}
p {font-size:13px;}
a {color:#98d5a8;text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
a:hover {color:#dcf1e1;cursor:url('/graphics/Cursor2.png'),auto;}