
/* ===== GENERAL SETTINGS ===== */

.random-tilt {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: rotate(0deg);
}

.random-tilt:hover,
.random-tilt:focus-visible {
  transform: rotate(var(--tilt, 3deg)) scale(1.05);
}

.tilt-2d {
  transition: transform 0.3s ease;
}

.tilt-2d:hover {
  
  transform: rotate(5deg) scale(1.03);
}

@font-face {
    font-family: "masa";
    src: url('fonts/masa.ttf') format('truetype');
    font-display: swap;
}
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    background-color: rgba(18, 110, 107, 0);
    color: #d4d0d0;
    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.6;
}

a {
    color: #c47b82;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* ===== WEBSITE HEADER ===== */

header {
    max-width: 1100px;
    max-height: 250px;
    margin: 0 auto 15px;
    text-align: center;
    overflow: hidden;
}

header img {
    max-width: 100%;
    max-height: 250px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

.site-title {
    font-size: 32px;
    letter-spacing: 9px;
    color: #e2dada;
    text-transform: lowercase;
    margin: 15px 0;
}

/* ===== NAVIGATION ===== */

nav {
    max-width: 1100px;
    margin: 0 auto 15px;
    padding: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;

    background: #222225;
    border: 1px solid #494044;
}

nav a {
    color: #e6bf32;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav a:hover {
    color: #bd727b;
}

/* ===== MAIN PAGE LAYOUT ===== */

.layout {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 190px;
    gap: 12px;

    align-items: start;
}

/* ===== SIDEBARS ===== */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== BOXES AND CONTAINERS ===== */



.responsive {
  max-width: 100%;
  height: auto;
}

.box,
.main-content {
    background: #222225;
    border: 1px solid #494044;
    border-radius: 5px;
    padding: 12px;
}

.box h3,
.section-title {
    margin: -12px -12px 12px;
    padding: 7px 10px;

    background: #4f2b00;
    border-bottom: 1px solid #65464d;

    color: #d76c00;
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== MAIN CONTENT WINDOW ===== */

.main-content {
    min-width: 0;
    max-height: 600px;
}

iframe {
    display: block;
    width: 100%;
    height: 500px;

    border: 1px solid #494044;
    border-radius: 3px;

    background: #1c1c1e;
}

/* ===== DECORATIVE ELEMENTS ===== */

.divider {
    text-align: center;
    color: #79535a;
    letter-spacing: 5px;
    margin: 12px 0;
}

.small-text {
    color: #888080;
    font-size: 11px;
}

.status {
    color: #bd858b;
}

/* GALLERY LAYOUT */
      #gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
      #gallery img {
        width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
        border: 3px solid #D98B2B; border-radius: 10px; cursor: pointer;
      }
      #gallery img:hover { border-color: #FEE070; }

      /* full-size viewer */
      #viewer { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(19, 9, 45, .92); flex-direction: column; }
      #viewer.open { display: flex; }
          
      #viewerScroll { flex: 1; overflow: auto; display: flex; padding: 50px 20px 10px; }
      #viewerImg { margin: auto; max-width: none;  border-radius: 5px; border: 1px solid #d6d6d6; }
      #caption {
        padding: 12px 20px; background: #460900; color: #FEE070; text-align: center;
        font-size: 15px; border-top: 2px solid #D98B2B; min-height: 48px;
      }
      #closeBtn { position: absolute; top: 6px; right: 18px; font-size: 38px; color: #FEE070; cursor: pointer; background: none; border: 0; }
      #closeBtn:hover { color: #e68a00; }
      @media only screen and (max-width: 600px) { #gallery { gap: 6px; } }

/* ===== MOBILE LAYOUT ===== */

@media (max-width: 800px) {

    body {
        padding: 10px;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .main-content {
        order: 1;
    }

    .left-sidebar {
        order: 2;
    }

    .right-sidebar {
        order: 3;
    }

    iframe {
        height: 500px;
    }
}

@media (max-width: 480px) {

    .site-title {
        font-size: 24px;
        letter-spacing: 5px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 10px;
    }

    iframe {
        height: 450px;
    }
}

</style>