@import url("vars.css");

body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0px;

  justify-content: center;
  align-items: center;

  height: 100dvh;
  background-color: var(--extra-white);

  transition: background-color 0.5s ease-in-out;
}

.welcome {
  color:var(--green-text);
  text-align: center;
  width: max-content;
  font-size: 2rem;
  font-weight: 700;
}

.boxes {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}

.box {
  display: flex;
  flex-direction: column;

  text-align: center;
  align-items: center;
  justify-content: space-between;

  padding: 3rem 0px;


  width: 12rem;
  height: 6rem;

  border-radius: 0.325rem;
  font-size: 1.5rem;

  background-color: var(--main-green);
  color: var(--main-white);
  
  transition: transform 0.5s ease;
  text-decoration: none;
}

.box svg{
  width: 40px;
}

a {
  text-decoration: none;
}

.box:hover {
  cursor: pointer;
}

.box.box1:hover {
  background-color: #45edad;
  color: #5394cf;
}

.box.box2:hover {
  background-color: #dcdcdc;
  color: #1a1a1a;
}

.box.box3:hover {
  background-color: #5e81ac;
  color: #fc6d26;
}

@media (max-width: 768px) {
  .welcome {
    width: auto;
  }

  .boxes {
    flex-direction: column;
    width: calc(100dvw - 2dvw);
    margin: 1dvh 1dvw;
  }

  .box {
    padding: 1dvh 0px;
    gap: 1dvh;
    justify-content: center;
    width: 100%;
    height: max-content;
  }
}