@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

body {
    position: relative;
    background-color: #ffffff;
    color: #111;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.5s, color 0.5s;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('noise.png');
    background-repeat: repeat;
    opacity: 1;
    /* Optional: reduce intensity */
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
}

header {
    background-color: #111;
    padding: 1rem 2rem;
    color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header a {
    color: white !important;
    text-decoration: none !important;
    font-weight: bold;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1130px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-link {
    display: inline-block;
    width: 20%;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    text-align: center;
    width: 100%;
    max-width: 160px;
}

.review-card img {
    width: 100%;
    border-radius: 8px;
}

footer {
    background-color: #111;
    color: white;
    padding: 2.3rem;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-sizing: border-box;
    /* ✅ This ensures padding is included inside the width */
    overflow-x: hidden;
    /* ✅ Just in case, this keeps it from overflowing */
}

.kofi-link {
    display: inline-flex;
    align-items: center;
}

.anton-heading {
    font-family: 'Anton', sans-serif !important;
    font-weight: 700 !important;
    font-size: 4vw !important;
    text-transform: uppercase;
    color: white !important;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.2;
}

.review-container {
    padding-left: 20rem;
    padding-right: 20rem;
    margin-left: auto;
    margin-right: auto;
}

.review-container p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    /* or try 1.1rem for slightly larger */
    line-height: 1.6;
    color: #222;
}

@media (max-width: 600px) {
    .review-container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }
}

.review-container img {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
}

.media-2x2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1rem;
    padding: 2rem 0;
}

.media-item {
    width: 80%;
    height: 80%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.media-item-video{
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .media-2x2-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

body {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}