ul {
  list-style-type: square;
  margin: 0.5em 0;
}

ul,li {
  text-align: left;
}

.card .card-head img {
  object-fit: fill;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}


.projects {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.project {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  background: #00000099;
  border-radius: 8px;
  border: 2px solid #fff3;
  width: 275px;
  height: 180px;
  justify-content: center;
  transition: all 0.35s ease-in-out;
  cursor: pointer;
  user-select: none;
  opacity: 1 !important;
  text-align: left;
}

.project .thumbnail {
  object-position: center;
  object-fit: cover;
  transition: all 0.35s ease-in-out;
  width: 100%;
}

.project .content {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 4px;
  flex-direction: column;
  transition: all 0.35s ease-in-out;
  z-index: 1;
  white-space: break-spaces;
  padding: 15px 15px;
  /* transform: translate(-5px, 5px); */
}

.project .content .text {
  display: inline-flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 4px;
  flex-direction: column;
  position: relative;
}

.project .content h3 {
  position: absolute;
  transition: bottom 0.3s ease;
  bottom: 0;
}

.project .content p {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project:hover .content h3 {
  bottom: 110%;
}

.project:hover .content p {
  opacity: 1;
  transform: translateY(0);
}

.project::after {
  content: '';
  background: linear-gradient(to bottom, #0000 10%, #000e 100%);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
  transition: all 0.35s ease-in-out;
}

.project .content p,
.project .content h3 {
  margin: 0;
}

.project:hover .content {
  opacity: 1;
  transform: unset !important;
  pointer-events: all;
}

.project:hover .thumbnail {
  object-fit: cover;
  transform: scale(1.15) rotate(3deg);
  filter: blur(3px) contrast(1.2) brightness(0.8);
}

.project:hover::after {
  opacity: 1;
}

article {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 600px) {
  .project {
    width: 80vw;
    height: 40vw;
  }

  .project .content {
    opacity: 1;
    transform: unset !important;
    pointer-events: all;
  }

  .project .thumbnail {
    object-fit: cover;
    transform: scale(1.05);
    /* filter: blur(1px) contrast(1.1) brightness(0.9); */
  }
}

.mb-0 {
  margin-bottom: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

nav a {
  position: relative;
  text-decoration: none !important;
}

/* nav a.onPage {
    
} */
nav a::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  bottom: 0;
  left: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  transition: width 0.3s ease;
  width: 0px;
}

nav a:hover::after {
  width: 100%;
}

nav a.onPage::after {
  width: 100%;
}

* {
  box-sizing: border-box;
}

body {
  text-align: center;
}

/* experiment */
.calendar-tag {
  padding-left: 5px;
  font-size: 11px;
  background: #0003;
  padding: 6px;
  border-radius: 6px;
  position: relative;
  margin-bottom: 2px;
}

.calendar-tag::before {
  border-radius: 6px;
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--clr);
}

table,
th,
td {
  border: 1px solid;
  border-collapse: collapse;
  padding: 4px;
}

th,
td {
  width: 108px;
  height: 82px;
}

td {
  word-wrap: break-word;
  max-height: 86px;
  overflow-y: scroll;
}

@media screen and (max-width: 475px) {
  th {
    min-width: unset;
  }

  table {
    width: 100%;
  }
}

.calcont {
    max-height: 48px;
    overflow-y: scroll;
}

td {
  overflow-y: auto;
  vertical-align: top;
  text-align: left;
  padding: 6px;
}

h3 {
  margin: 0.5em 0;
}

.containText {
  width: 50%;
}