﻿html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #6f0000;
}

:root {
    --outline-size: 2px;
    --outline-color: --black;
    --black: #140d0d;
    --white: rgba(255, 255, 255, 0.7);
}

button,
input,
textarea,
select {
    all: unset;       
    display: inline-block;
    font: inherit;
    color: inherit;
    background: none; 
    border: none;     
    outline: none;    
}

.logo-mobile {
    display: none;
}

.logo-desktop {
    display: flex;
}

.pentagram {
    width: 150px;
}

@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }
    
    .pentagram {
        width: 80px;
    }

    .logo-mobile {
        display: flex;
    }
}

.photo-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1.7fr;
    grid-template-rows: 1.5fr 1fr 1fr 1.5fr;
    gap: 2px;
}

.photo-grid > div:nth-child(1) { grid-row: 1 / span 2; grid-column: 1 / 2; }
.photo-grid > div:nth-child(2) { grid-row: 1 / 2;       grid-column: 2 / span 2; }
.photo-grid > div:nth-child(3) { grid-row: 1 / span 2; grid-column: 4 / 5; }
.photo-grid > div:nth-child(4) { grid-row: 2 / span 2; grid-column: 2 / span 2; }
.photo-grid > div:nth-child(5) { grid-row: 3 / 4;       grid-column: 1 / 2; }
.photo-grid > div:nth-child(6) { grid-row: 3 / 4;       grid-column: 4 / 5; }
.photo-grid > div:nth-child(7) { grid-row: 4 / 5;       grid-column: 1 / span 2; }
.photo-grid > div:nth-child(8) { grid-row: 4 / 5;       grid-column: 3 / span 2; }

.photo
{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    animation: colour 3.5s linear infinite;
    animation-fill-mode: both;
    will-change: filter;
}

@keyframes colour {
    0%      { filter: grayscale(100%); }
    10%      { filter: grayscale(0%); }
    50%    { filter: grayscale(90%); }
    100%    { filter: grayscale(100%); }
}
.photo:nth-child(1) img { animation-delay: 0s; }
.photo:nth-child(2) img { animation-delay: 0.5s; }
.photo:nth-child(3) img { animation-delay: 1s; }
.photo:nth-child(6) img { animation-delay: 1.5s; }
.photo:nth-child(8) img { animation-delay: 2s; }
.photo:nth-child(7) img { animation-delay: 2.5s; }
.photo:nth-child(5) img { animation-delay: 3s; }

.quicksand {
    font-family: "Quicksand", sans-serif;
}

.creepster {
  font-family: "Creepster", system-ui;
}

.line {
    padding-bottom: 10px;
}

.hashtag {
    text-align: center;
    letter-spacing: 0.4em;
    animation-name: sway;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: both;
}

@keyframes sway {
    from { transform: translateX(-8px); }
    to   { transform: translateX(8px); }
}

i {
    font-size: 15px;
}

.text-flex {
    font-size: clamp(15px, 2vw, 24px);
}

/* email popup */
.popup {
    color: var(--black);
    background: white;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    display: none;
    opacity: 1;
    transition: opacity 1s ease;
}

.popup.fade-out {
    opacity: 0;
}