@import url("https://fonts.cdnfonts.com/css/cubano");
@import url("https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Roboto+Mono&display=swap");

h1 {
  text-align: center;
  font-size: clamp(3rem, 10vw, 7rem);
  color: rgb(255, 0, 0);
  padding: 0rem clamp(1rem, 2vw, 3rem);
  border-radius: clamp(0.4rem, 0.75vw, 1rem);
  margin-bottom: 0px;
}

/* This gets us a nice gradient on text.*/
.gradient-text {
  background: linear-gradient(to top, #ff0000, #fffb00 70%);
  /* dont really know whats going on here */
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.line-div {
  display: flex;
  align-items: center;
}

.line {
  height: 10px;
  width: 100%;
  background-color: #ff4200;
  border-radius: 100px;
  margin-left: 12vw;
  margin-right: 12vw;
  margin-top: 50px;
  margin-bottom: 50px;
}

.gridContainer {
  display: grid;
  justify-content: center;
  gap: 3rem;
  /* This decides how mayn collumns we get and how the cards are distributed. */
  /* Cards are at least 250px wide and not bigger than 0.5fr*/
  grid-template-columns: repeat(auto-fit, minmax(250px, 0.25fr));
  margin-left: 12vw;
  margin-right: 12vw;
  margin-top: 50px;
  margin-bottom: 50px;
}

.card {
  text-align: center;
  transition-duration: 0.3s;
}

.card:hover {
  transform: scale(1.1) translateY(-8px);
}

img {
  max-width: 100%;
  max-height: 100%;
}

body {
  font-family: "Cubano", sans-serif;
  background: linear-gradient(
    176deg,
    rgb(18, 24, 27) 50%,
    rgb(32, 39, 55) 100%
  );
  /* Making it so the background isn't broken.
  The color is only seen on mobile when overscrolling and at the notch of some phones like iPhone */
  background-attachment: fixed;
  background-color: rgb(18, 24, 27);
}

p {
  font-family: "Comic Neue", cursive;
  font-weight: 700;
  color: #b2becd;
}

a {
  text-decoration-line: none;
  color: white;
}
