@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@400;700&display=swap');


h1 {
  color: #e25822;
  font-weight: 700;
  font-size: 3rem;
}

p {
  color: black;
  max-width: 52ch;
  line-height: 1.5;
  padding: 1em;
}

.main-a {
  display: inline-block;
  padding: 1em 3.5em;
  background-color: #e25822;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0.3em;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: .875rem;
}


.blank,
.other {
  width: 100%;
  min-height: 20vh;
  background-color: var(--color);
}


.container {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  margin-left: 0;
  color: black;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("map.png");
  background-color: rgba(0, 0, 0, 0.4);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* very robust rule to force the h5 to the left */
.second h5 {
  display: block;
  width: auto;                 /* shrink to fit content (or set a fixed width) */
  max-width: 60%;              /* optional: don’t let it span full width */
  
  margin-left: auto;           /* center horizontally */
  margin-right: auto;          /* center horizontally */

  text-align: left;            /* keep text aligned left inside */
}


.second {
  background-image:url("fence1.png");
  background-color: rgba(0, 0, 0, 0.4);
  background-attachment: fixed;
  height: 800px;
}

.third {
  background-image:url("city5.png");
  background-color: rgba(0, 0, 0, 0.4);
  background-attachment: fixed;
  height: 600px;
}



h3 {
  font-weight: 700;
  font-size: 1.6rem;
  margin-top: 1em;
}

h5 {
  margin-top: 0.25rem;   /* reduce top space */
  margin-bottom: 0.25rem;/* reduce bottom space */
  line-height: 1.1;      /* tighter line height */
  padding: 0 1em 1em;
}

.card > a {
  margin-bottom: 2em;
}

.btn {
  position: relative;
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  height: 48px;
  border-radius: 4px;
  width: 210px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  overflow: hidden;
  background: transparent;
  color: #fff;
  box-shadow: 0 6px 15px 0 rgba(16,39,112,.15);
  transition: all 250ms linear;
  text-decoration: none;
  margin-top: 50px;
  z-index: 1;
}

.btn__text {
  position: relative;
  z-index: 1;                  /* above ::before */
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;              /* adjust as you need */
}


/* the colored shape */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;                    /* top:0; right:0; bottom:0; left:0 */
  background-color: #e25822;   /* orange by default */
  border-radius: 4px;          /* same radius as button */
  z-index: 0;                  /* behind text, above button background */
  transition: background-color 200ms ease;
  pointer-events: none;        /* so pseudo-element doesn't steal clicks */
}

/* hover / focus — change color of the pseudo-element */
.btn:hover::before,
.btn:focus-visible::before {
  background-color: #000;      /* turns black on hover/focus */
}

/* optional: visual focus ring for keyboard users */
.btn:focus-visible {
  outline: 3px solid rgba(255, 165, 0, 0.25);
  outline-offset: 4px;
}

/* small demo tweak: subtle lift on hover */
.btn:hover { transform: translateY(-2px); }

.item {
  display: flex;
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.9);   
  flex-direction: column;
  align-items: center;
  border-radius: .5em;
  -webkit-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
  -moz-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
  box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
}

.img {
  width: 90%;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.6); 
  background-size: cover;
  background-position: center;
  margin-top: 20px;
  border-radius: .3em;;
}

.img-first {
  background-image: url(https://images.unsplash.com/photo-1640943203245-93f439d5d065?q=80&w=764&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
}

.img-second {
  background-image: url(https://images.unsplash.com/photo-1703573198475-f6879ec335f5?q=80&w=744&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
}

.second {
  flex-direction: row;
  gap: 1.6em;
}


.main-a.disabled {
  pointer-events: none;   /* disable clicks */
  opacity: 0.6;           /* look disabled */
  cursor: not-allowed;    /* disabled cursor */
}
