@font-face {
  font-family: Comfortaa;
  src: url(fonts/font.ttf);
}
body {
    font-family: "Comfortaa";
    background-color: #3e324b;
    color: white;
    margin: 0 auto;
    overflow-x: hidden;
}
.container-v {
  display: flex;
  justify-content: center;  /* centers horizontally */
  align-items: center;      /* centers vertically */
  height: 100vh;   
  flex-direction: column;
}
.container-h {
  display: flex;
  align-items: center;
  flex-direction: row;
  width: 100%;   /* make it scale to the viewport width */
  height: 100%;  /* or remove this if you don’t want it full height */
  max-width: 100vw; /* prevent overflow horizontally */
}

.img {
  display: block; /* Ensures the image behaves as a block element */
  object-fit: scale-down;
  margin-left: auto;
    margin-right: auto;
    height: 30%;
    width: 30%;
}

.counter {
  display: block; /* Ensures the image behaves as a block element */
  object-fit: scale-down;
  margin-left: auto;
  margin-right: auto;
}

.box {
  max-width: 50%;         /* keep it from being too wide */
  width: 100%;            /* let it fill available space */
  border-radius: 15px;
  padding: 15px;
  margin: 20px 20px 20px 20px;
  box-sizing: border-box; /* padding doesn’t break sizing */
}
.text-center {
    text-align: center;
}
.links {
    display: flex;
    justify-content: center;
}
button {
    color: white;
    font-family: Comfortaa;
    background-color: rgb(255 255 255 / 20%);
    border: 0px;
    padding: 10px 10px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 10px 0px 10px 0px;
    transition-duration: 200ms;
}
button:hover {
    background-color: rgb(255 255 255 / 40%);
    border-radius: 0px 10px 0px 10px;
    cursor: pointer;
}
