* {
  box-sizing: border-box;
  font-family: "National Park", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin: 0;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.card-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(#ccc 10%, transparent 10%),
    radial-gradient(#ccc 10%, transparent 10%);
  background-color: #fff;
  background-position: 0 0, 25px 25px;
  background-size: 25px 25px;
  gap: 0.5rem;
}

.card-section {
  display: flex;
  flex-direction: column;
  width: 36rem;
  gap: 0.8rem 0;
  padding: 1rem;

  background-color: #fff;
}

@media only screen and (max-width: 600px) {
  .card-section {
    display: flex;
    flex-direction: column;
    width: 28rem;
    gap: 0.8rem 0;
    padding: 1rem;

    background-color: #fff;
  }
}

@media only screen and (max-width: 430px) {
  .card-section {
    display: flex;
    flex-direction: column;
    width: 20rem;
    gap: 0.8rem 0;
    padding: 1rem;

    background-color: #fff;
  }
}

.card-section-wrapper {
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  -webkit-box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.75);
  border: 0.1rem solid #000;
}

.social-icons {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li a {
  font-size: 1.5rem;
  color: inherit;
  text-decoration: none;
}

.toggle-container {
  border: 0.1rem solid #000;
  padding: 0.32rem;
  background-color: #fff;
  -webkit-box-shadow: 2.5px 2.5px 0px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2.5px 2.5px 0px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 2.5px 2.5px 0px 0px rgba(0, 0, 0, 0.75);
}

.toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding-bottom: 0.2em;
  transition: color 0.3s, background-color 0.3s;
}

.toggle-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #000;
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.toggle-btn.active::after {
  transform: scaleX(1);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
}
