/* Load Inter (put this near the top, outside media queries) */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "nNiely";
  src: url("fonts/nNiely.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Recoleta";
  src: url("fonts/Recoleta.otf") format("opentype");
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background-color: #254331;
}

.button {
  background-color: darkseagreen;
  border-radius: 40%;
  border: none;
  color: black;
  padding: 20px 34px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
}

/* Headings */
h1 {
  font-family: "nNiely";
  color: #FFC400;
  font-weight: 400; 
  text-align: center;
}

h3 {
  font-family: "Recoleta";
  font-weight: 400;
  color: #FFC400;
}

.card {
  background-color: #081C03;
  color: white;
  padding: 1rem;
  height: 4rem;
  min-height: 380px;
}

.cards {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 0.1rem;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.snowbutt,
.dave,
.nugget,
.dog {
  width: 200px;
  height: 120px;
}

.snowbutt img,
.dave img,
.nugget img,
.dog img {
  width: auto;
  height: 200%;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

.homecenter {
  width: 200px;
  height: 200px;
  background-color: darkslategrey;
  text-align: center;
  padding-top: 50px;
}

p {
font-family: "Inter";
color: white;
}

.mapcenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.back-button {
  font-family: "Inter";
  position: absolute; 
  top: 10px;          
  left: 10px;        
  display: inline-block;
  padding: 10px 15px;
  background-color: #F4F1DE; 
  color: black;        
  text-decoration: none;  
  border-radius: 5px; 
  font-size: 16px;
  z-index: 10;       
}

.back-button:hover {
  background-color: #E07A5F;
}

.description h3,
.description p {
  line-height: 1;
  margin: 0;
}