/**
 * ############################################################################
 * #  PROJECT: Nova Scotia Abandoned Mine Openings - Web Map                  #
 * #  COURSE:  CRTY1033 - Web Mapping                                         #
 * #  FILE:    main.css                                                       #
 * #  AUTHOR:  Alex Hordal                                                    #
 * #  DATE:    January 29, 2026                                               #
 * #  ----------------------------------------------------------------------  #
 * #  PURPOSE: This CSS file defines the visual styling and layout for        #
 * #  the Nova Scotia Abandoned Mine Openings web map.                        #
 * ############################################################################
 */

* {
    box-sizing: border-box;
}

html,
body {
    font-size: 16px;
    padding: 0px;
    margin: 0px;
    height: 100%;
    width: 100%;
    font-family: "Avenir Next LT Pro";
}

#map {
    width: 100%;
    height: 100%;
}
h1 {
    padding:0px;
    margin:0px;
}
#map-title {
    background: white;
    padding: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border-radius: 4px;    
    font-size:0.75em;
    opacity:0.75;

}
:root {
    --calcite-color-text-1: #000000;
    --calcite-color-text-2: #000000;
    --calcite-color-text-3: #000000;
}
#map-ui {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#map-title {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;

  background: rgba(255, 255, 255, 1);
  color: #000000;
  width:22.5%;

  padding: 6px 10px;
  border-radius: 4px;

  pointer-events: none; /* important */
}





/* Welcome modal */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dimmed background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(6px); /* Blurs map behind modal */
}

.modal-content {
  background: rgba(255, 255, 255, 0.75); /* Alpha effect */
  padding: 20px;
  border-radius: 16px;
  max-width: 550px;
  text-align: center;
  font-family: "Avenir Next LT Pro", "Avenir Next", sans-serif !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); /* Major drop shadow */
  color: #2b2b2b;
}

.modal-content h1 {
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.intro-text {
  font-size: 1.0rem;
  font-weight: 500;
  margin-bottom: 25px;
}

.map-guide {
  text-align: left;
  background: #d1d2d2;
  padding: 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-footer {
  margin: 20px 0;
  font-size: 0.9rem;
  color: #666;
}

#closeButton {
  font-family: "Avenir Next LT Pro", sans-serif !important;
  font-weight: 700;
  background: #2b2b2b;
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 30px; /* Rounded button style */
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#closeButton:hover {
  background: #444;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.disclaimer {
  margin-top: 1rem;
  font-size: 0.7rem;
  line-height: 1.35;
  opacity: 0.65;
  text-align: center;
}

.source-link, .readme, .source-link:visited, .readme:visited {
    color: #000;
    font-size: 0.8em;
}
.source-link:hover, .readme:hover {
    font-weight:bold;
    font-size: 0.8em;
}
.arcgis-features__container {
  display: flex;
  flex-direction: column;
  height: 50%;
  min-height: 0;
  overflow-y: auto;
}

