/* ===================================
   FONTS
   =================================== */
/* manrope-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/manrope-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/manrope-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ===================================
   VARIABLES
   =================================== */
:root {
    --primary-color: #BA562B;
    --base-color: #fff;
}

/* ===================================
   COMPOSITION
   Layout and structural patterns
   =================================== */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    background: no-repeat center/cover;
    background-image: url('tattoo_mobile.jpg');
    padding: 2rem 1.5rem;
}
@media (min-width:992px) {
    .hero {
        background-image: url('tattoo_desktop.jpg');
        background-position: top center;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 5% auto 1vw;
    display: flex;
    flex-direction: column;
    gap: 2.5%;
}

.locations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    font-size: clamp(0.75rem, 0.5278rem + 0.463vw, 0.875rem);
}

/* ===================================
   UTILITIES
   Small, single-purpose classes
   =================================== */

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.mt-auto {
    margin-top: auto;
}
.mx-auto {
    margin-inline: auto;
}

/* ===================================
   BLOCKS
   Component-specific styles
   =================================== */
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--base-color);
    line-height: 1.4;
    font-size: .875rem;
    font-weight: 600;
}

/* Location Block */
.location {
    text-align: center;
}

.location__title {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.location__address {
    margin-bottom: 0.75rem;
}

/* Content Block */
.main-content {
    text-align: center;
    margin: 0 auto;
    display: grid;
    grid-template: 1fr / 1fr;
    align-items: start;
    justify-content: center;
    max-width: 100%;
    height: auto;
}

.catchline, .headline {
    grid-column: 1;
    grid-row: 1;
}

svg {
    max-width: 100%;
    height: auto;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.catchline {
    margin-top: clamp(1.5rem, -1.1667rem + 5.5556vw, 3rem);
    animation: fadeOut 1.1s 3s ease-in-out both;
}

.headline {
    opacity: 0;
    animation: fadeIn 1.1s 3s ease-in-out both;
}

.description {
    font-size: clamp(0.875rem, 0.4306rem + 0.9259vw, 1.125rem);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

/* Status Block */
.status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.status__bar {
    width: 100%;
    max-width: 10rem;
    height: 1.2rem;
    background-color: var(--base-color);
    border: 4px solid var(--base-color);
    border-radius: 5rem;
    overflow: clip;
}

@keyframes statusProgress {
    0% {
        width: 20%;
    }
    100% {
        width: 100%;
    }
}

.status__progress {
    width: 20%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 5rem;
    animation: statusProgress 4s 6s linear infinite forwards;
}

.status__text {
    font-size: clamp(0.9375rem, 0.2708rem + 1.3889vw, 1.3125rem);
    font-weight: 400;
    opacity: 0.9;
}

@media (max-width:576px) {
    .locations {
        display: none;
    }
    .main-content {
        margin-top: auto;
    }
}