/* =========================================
   CSS Reset (Enhanced)
   ========================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* =========================================
   Base Styles
   ========================================= */

:root {
  --dbd-primary: #2c2378;
  --dbd-secondary: #cad1dd;
  --sk-red: #ec2027;
  --sk-blue: #265699;
}

body {
  border-top: solid 5px var(--dbd-primary);
  font-family: "Montserrat", sans-serif;
}

.dbd-container {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: #333;
}

/* =========================================
   Content
   ========================================= */

.dbd-site-header {
  padding: 2rem 0;
}

.dbd-site-header .dbd-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header-col-2 {
  text-align: center;
}

.header-contact-method {
  font-weight: 500;
  margin: 0.5rem 1rem;
}

.header-contact-method span {
  font-weight: 800;
  color: var(--dbd-primary);
}

.notice-banner {
  position: relative;
  background-image: url(../images/sk_globe.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
  border-top: solid 8px var(--dbd-secondary);
  border-bottom: solid 8px var(--dbd-secondary);
}

.notice-banner::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top/right/bottom/left: 0 */
  background-color: var(--dbd-primary);
  opacity: 0.92; /* adjust overlay strength */
  z-index: 0;
}

.notice-content {
  width: 90%;
  margin: 0 auto;
}

.notice-banner p:first-of-type {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 3rem;
  font-weight: 800;
  border-bottom: solid 1px #fff;
  padding-bottom: 2rem;
}

.notice-banner p:last-of-type {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 2rem;
  font-weight: 800;
  padding-top: 2rem;
}

.notice-content p a,
.notice-content p a:visited {
  color: #fff !important;
  text-decoration: none;
}

footer p {
  text-align: center;
  font-size: 0.9em;
  padding: 0.8rem 1rem;
}

/* =========================================
   Media Queries
   ========================================= */

/* Desktop (Large screens > 1251px) */
@media (min-width: 1251px) {
  h1 {
    font-size: 3rem;
  }
}

/* Tablets Portrait */
@media (min-width: 768px) and (max-width: 1250px) {
  .header-contact-method span {
    display: block;
  }
}

/* Mobiles */
@media (max-width: 767px) {
  .dbd-site-header .dbd-container {
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
  }

  .header-col-1,
  .header-col-3 {
    width: 50%;
    order: 1;
    text-align: center;
    display: flex;
    align-items: center;
  }

  .header-col-1 img,
  .header-col-3 img {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .header-col-3 img {
    width: 60%;
  }

  .header-col-2 {
    width: 100%;
    order: 2;
    margin-top: 2rem;
  }

  .header-contact-method span {
    display: block;
  }

  .notice-content {
    width: 100%;
  }

  .notice-banner p:first-of-type {
    font-size: 1.8rem;
    padding-bottom: 2rem;
  }

  .notice-banner p:last-of-type {
    font-size: 1.3rem;
    padding-top: 2rem;
  }

  .notice-content p a {
    display: block;
  }
}
