/** @format */
* {
  font-family: "Century Gothic Paneuropean", sans-serif;
  /* line-height: 1.5; */
}

body {
  width: 100vw;
  height: fit-content;
  /* min-height: 100vh; */

  overflow-x: hidden;

  display: flex;
  flex-wrap: wrap;
  /* flex-direction: column; */
  justify-content: start;
  align-items: stretch;

  background-color: var(--main);

  /* background-image: linear-gradient(180deg, var(--secondary) -10%, var(--main) 30%, var(--third)); */
}

body > * {
  flex: 1 1 100%;
  /* display: none; */
}

main {
  /* width: 100vw; */
  /* overflow-x: hidden; */
  max-width: 100%;
  position: relative;
}

h2,
h3,
h4,
h5,
h6 {
  line-height: 1.5;
}

.title {
  font-weight: bold;
  background-image: -webkit-linear-gradient(45deg, var(--third) 30%, var(--main) 60%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-align: center;
  margin-bottom: calc(var(--navigation-height) * 0.25);
}

.text-shadow-third {
  filter: drop-shadow(0 0 0.2rem var(--third));
  -webkit-filter: drop-shadow(0 0 0.2rem var(--third));
}

.text-shadow-main {
  filter: drop-shadow(0 0 0.2rem var(--main));
  -webkit-filter: drop-shadow(0 0 0.2rem var(--main));
}

.text-shadow-secondary {
  filter: drop-shadow(0 0 0.2rem var(--secondary));
  -webkit-filter: drop-shadow(0 0 0.2rem var(--secondary));
}

.text-shadow-third-light {
  filter: drop-shadow(0 0 0.2rem var(--third-light));
  -webkit-filter: drop-shadow(0 0 0.2rem var(--third-light));
}

.text-white {
  color: white;
}

.text-bold {
  font-weight: bold;
}

.d1 {
  font-size: 3rem;
}

.d2 {
  font-size: 2.75rem;
}

.d3 {
  font-size: 2.5rem;
}

.d4 {
  font-size: 2.25rem;
}

p {
  color: var(--bs-nav-link-color);
}

.table {
  padding: var(--padding-x);
  border-radius: 0.5rem;
  background-color: white;
  box-shadow: inset 2px 2px 10px 0 rgba(0, 0, 0, 0.2);

  overflow-x: auto;
}

table {
  width: 100%;
}
.table > :not(caption) > * > * {
  background-color: transparent;
}

table .remark,
table th {
  white-space: nowrap;
}

table td,
table th {
  padding: var(--padding-y) var(--padding-x) var(--padding-y) 0;
}

table tr {
  border-bottom: 1px solid var(--third-light);
}

table tr:last-child,
table tr:first-child {
  border-bottom: none;
}

table td:nth-child(2),
table th:nth-child(2),
table th:last-child,
table td:last-child {
  text-align: center;
  width: fit-content;
}

table .remark {
  display: inline-block;
  color: var(--third);
}

table .title {
  margin-bottom: 0;
}

.text-grey {
  color: var(--bs-grey);
}

.text-main {
  color: var(--main);
}

.text-third {
  color: var(--third);
}

.text-center {
  text-align: center;
}

main .container.text-white * {
  color: white;
}

main .container.text-black * {
  color: var(--bs-secondary);
}

main .container.text-center * {
  text-align: center;
}

main .container.text-left * {
  text-align: left;
}

main .heading {
  display: flex;
  flex-direction: column;
  gap: var(--padding-y);
}

main .heading * {
  margin: 0;
}

.sign {
  width: 100%;
  background-color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;

  text-decoration: none;

  position: relative;
  z-index: 3;
}

.sign:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";

  background: white;
  width: 100%;
  height: 100%;

  z-index: -1;

  border-radius: calc(1rem - 4px);
  /* filter: drop-shadow(0 0 4px var(--third-light)); */
}

.sign:after {
  border-radius: 1rem;

  position: absolute;
  content: "";

  width: 100%;
  height: 100%;
  top: 4px;
  left: 0;
  background-color: var(--third);
  background-image: linear-gradient(90deg, var(--third) 0%, var(--third-light) 100%);
  z-index: -2;
  filter: drop-shadow(0 0 10px var(--third-light));
  -webkit-filter: drop-shadow(0 0 10px var(--third-light));
}

.three-column {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--padding-y);
}

.three-column > * {
  flex: 1 1 100%;
}

/* .three-column > *:first-child {
  flex: 1 1 30%;
} */

.two-column {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: var(--padding-y);
}

.two-column > * {
  flex: 1 1 calc(50% - (var(--padding-x) * 0.5));
}

.one-column {
  display: flex;
  flex-direction: column;
  gap: var(--padding-x);
}

.space-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--padding-x);
}

.space-group > * {
  flex: 0 0 fit-content;
}

.btn-card-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--padding-x);
  width: 100%;
}

.btn-card-group > * {
  flex: 1 1 30%;
}

.text-secondary {
  color: var(--secondary) !important;
}

@media screen and (max-width: 992px) {
  .btn-card-group > * {
    flex: 0 1 calc(50% - (var(--padding-x) * 0.5));
  }
}

@media screen and (max-width: 768px) {
  .two-column,
  .three-column {
    flex-wrap: wrap;
  }

  .two-column > *,
  .three-column > * {
    flex: 1 1 100%;
  }
}

@media screen and (max-width: 576px) {
  .btn-card-group > * {
    flex: 1 1 100%;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;

    gap: var(--padding-y);
  }

  .btn-card-group > * > * {
    flex: 1 1 50%;
  }

  main p {
    margin-bottom: 0.5rem;
  }

  h1,
  .h1 {
    font-size: 1.5rem;
  }

  h2,
  .h2 {
    font-size: 1.4rem;
  }

  h3,
  .h3 {
    font-size: 1.3rem;
  }

  h4,
  .h4 {
    font-size: 1.2rem;
  }

  h5,
  .h5 {
    font-size: 1.1rem;
  }

  h6,
  .h6 {
    font-size: 1rem;
  }

  p {
    font-size: 1rem;
  }

  .d1 {
    font-size: 1.9rem;
  }

  .d2 {
    font-size: 1.8rem;
  }

  .d3 {
    font-size: 1.7rem;
  }

  .d4 {
    font-size: 1.6rem;
  }

  .space-group > * {
    flex: 1 1 100%;
  }
}
