@import "fonts.css";
@import "base.css";
@import "header-footer.css";
@import "bricks.css";

/*------------------------*/
/* theme colors
/*------------------------*/

:root {
    --textDarker: #1e282d;
    --textDark: rgba(38, 50, 56, 1);
    --textMedium: rgba(38, 50, 56, 0.7);
    --borderMedium: rgba(38, 50, 56, 0.2);
    --borderLight: rgba(38, 50, 56, 0.075);
    --accent: #f4b500;
    --accentDarker: #e6ac00;
    --light: rgba(38, 50, 56, 0.035);
}
/*------------------------*/
/* turn grayscale off
/*------------------------*/

img {filter: grayscale(0);}

/*------------------------*/
/* colorize_image
/*------------------------*/

.colorize_image {filter: contrast(1) sepia(1) hue-rotate(160deg) grayscale(0.8)!important;}

/*------------------------*/
/* black_2_textDark
/*------------------------*/

.map::after, .black_2_textDark {filter: contrast(0.7) sepia(1) hue-rotate(160deg)!important;}

/*------------------------*/
/* black_2_textMedium
/*------------------------*/

.black_2_textMedium {filter: contrast(0.3) sepia(0.3) hue-rotate(160deg) brightness(1.4)!important;}

/*------------------------*/
/* black_2_accent
/*------------------------*/

.black_2_accent {filter: contrast(0.11) sepia(1) hue-rotate(340deg) contrast(13)!important;}


/*------------------------ CSS overrides below ------------------------*/

/*------------------------*/
/* brick alert
/*------------------------*/

section.alert {
    max-width: 60rem;
    background-color: var(--light);
    color: var(--textDark);
    border-left: 4px solid var(--accent);
    margin: 1rem auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

section.alert .alert-icon {
    width: 2em;
    height: 2em;
    flex-shrink: 0;
    filter: contrast(0.11) sepia(1) hue-rotate(340deg) contrast(13);
}

section.alert strong {
    color: var(--textDarker);
}

.qr-type-switch {
    display: flex;
    margin: 1.5em 0;
    border: 1px solid var(--borderMedium);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.qr-type-btn {
    color: var(--textDark);
    padding: 0.75em 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.qr-type-btn:not(:last-child) {
    border-right: 1px solid var(--borderMedium);
}

.qr-type-btn:hover {
    background: var(--light);
}

.qr-type-btn.active {
    background: var(--accent);
}

.qr-type-btn.active:hover {
    background: var(--accentDarker);
}

.button, button {
    color: var(--textDark);
}
.btn.disabled:hover {
    transform: none;
}
.button.secondary {
    color: white;
}


@media (max-width: 550px) {
  .qr-type-switch {
    width: 100%;
    flex-wrap: wrap;
  }
  .qr-type-btn {
    flex: 1 1 50%;
    padding: 0.75em 1em;
    border-top: 1px solid var(--borderMedium);
  }
  .qr-type-btn:nth-child(-n+2) {
    border-top: none;
  }
  .qr-type-btn:nth-child(even), .qr-type-btn:last-child {
    border-right: none;
  }
}
