@import url("https://fonts.googleapis.com/css2?family=Alice&family=Oxygen:wght@300;400;700&family=Playfair+Display:wght@400;600;800&display=swap");

:root {
  --gradient-primary: linear-gradient(340deg, #325f63, #71d9e2 170%);
}

body {
  margin: auto;
}

::-webkit-scrollbar {
    display: none;
} 

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

#main {
  background: var(--gradient-primary);
  height: 100dvh;
  width: 100dvw;
  padding-top: 1.5em;
  overflow-x: hidden;
}

#card-container {
  background-color: transparent;
  min-width: 60dvw;
  max-width: 60dvw;
  padding-bottom: 24px;
}

.card {
  background-color: #fffafa;
  border-radius: 12px;
  filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.15));
  margin-bottom: 1.8em;
  opacity: 0;
  animation: 0.6s ease-in forwards riseAndFadeIn;
}

@keyframes riseAndFadeIn {
    from {
        opacity: 0;
        transform: translateY(2%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#close-box {
  position: fixed;
  left: 0;
  top: 0;
  background-color: #fefefe20;
  padding: 0.3em 0.6em;
  margin: 0.6em;
  border-radius: 0.3em;
  cursor: pointer;
  font-family: "Oxygen", Arial, Helvetica, sans-serif;
  transition: 0.3s;
}

#close-box:hover {
  background-color: #325f63;
}

ul {
  list-style: none;
  padding-left: 1.2em;
}

li {
  font-family: "Oxygen", Arial, Helvetica, sans-serif;
}

li.text {
  margin: 36px 24px 36px 0;
}

li.name {
  font-size: 1.2rem;
  color: #009966;
  font-weight: 600;
  padding-bottom: 0.2em;
}

li.text,
li.location {
  font-style: none;
  font-family: "Oxygen", Arial, Helvetica, sans-serif;
  color: #282828;
}

li.name {
  padding-left: 1.2em;
}

li.location {
  padding-left: 1.4em;
}

.link {
  text-decoration: none;
  color: #fffafa;
}

h1 {
  font-family: "Alice", "Times New Roman", Times, serif;
  color: #b9e4e8;
}

/* branding fallback */
img[alt*="000webhost"],
img[alt*="000webhost"][style],
img[src*="000webhost"],
img[src*="000webhost"][style],
body > div:nth-last-of-type(1)[style] {
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0px !important;
  height: 0px !important;
  visibility: hidden !important;
  display: none !important;
}

@media only screen and (max-width: 600px) {
    #card-container {
        max-width: 80dvw;
      }
}