@import url("https://cdn.jsdelivr.net/npm/@catppuccin/palette/css/catppuccin.css");

h1 {
  text-align: center;
  margin-bottom: 2rem;
}

#outer-container {
  display: flex;
  min-height: 300px;
  gap: 1rem;
}

/* Style the tab */
.tab {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background-color: var(--bg);
  width: 20%;
}

@media(max-width: 820px){
	#outer-container {
		flex-direction: column;
                align-items: center;
	}
        .tab {
                width: 100%;
                flex-direction: row;
        }
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  color: var(--text);
  padding: 22px 16px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: var(--bg-light);
}

/* Create an active/current "tab button" class */
.tab button.active {
  background-color: var(--bg-light);
  color: var(--primary);
}

.tablinks {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0rem 1rem;
  width: 70%;
  background-color: var(--bg);
  border-radius: 20px;
}

#theme-cards-holder {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between; 
}

.theme-card {
  flex-grow: 1;
  text-align: center;
  min-width: 100px;
}

/* Theme Cards with corresponding theme */
#mocha-card {
  background-color: var(--ctp-mocha-base);
  border-top: 1px solid var(--ctp-mocha-sky);
}
#mocha-card:hover {
  background: linear-gradient(0deg, var(--ctp-mocha-base), var(--ctp-mocha-surface0))
}
#mocha-card,
#mocha-card * {
  color: var(--ctp-mocha-text);
}

#latte-card {
  background-color: var(--ctp-latte-mantle);
  border-top: 1px solid var(--ctp-latte-sky);
}
#latte-card:hover {
  background: linear-gradient(0deg, var(--ctp-latte-mantle), var(--ctp-latte-base))
}
#latte-card,
#latte-card * {
  color: var(--ctp-latte-text);
}

#parchment-card {
  background-color: oklch(0.96 0.025 91);
  border-top: 1px solid oklch(1 0.05 91);
}
#parchment-card:hover {
  background: linear-gradient(0deg, oklch(0.96 0.025 91) , oklch(1 0.025 91))
}
#parchment-card,
#parchment-card * {
  color: oklch(0.15 0.05 91);
}

#gruvbox-card {
  background-color: #282828;
  border-top: 1px solid #928374;
  flex-grow: 5;
}
#gruvbox-card:hover {
  background: linear-gradient(0deg, #282828, #32302f);
}
#gruvbox-card,
#gruvbox-card * {
  color: #f2e5bc;
}

#nord-card {
  background-color: #3b4252;
  border-top: 1px solid #88c0d0;
}
#nord-card:hover {
  background: linear-gradient(0deg, #3b4252, #434c5e)
}
#nord-card,
#nord-card * {
  color: #eceff4;
}

#tokyo-night-card {
  background-color: #24283b;
  border-top: 1px solid #565f89;
}
#tokyo-night-card:hover {
  background: linear-gradient(0deg, #24283b, #363a4d)
}
#tokyo-night-card,
#tokyo-night-card * {
  color: #c0caf5;
}

#dracula-card {
  background-color: #21222c;
  border-top: 1px solid #af3535;
  flex-grow: 1.3;
}
#dracula-card:hover {
  background: linear-gradient(0deg, #21222c, #343746)
}
#dracula-card,
#dracula-card * {
  color: #bd93f9;
}

#strawberry-card {
  background-color: oklch(0.96 0.03 301);
  border-top: 1px solid oklch(1 0.06 301);
  flex-grow: 1;
}
#strawberry-card:hover {
  background: linear-gradient(0deg, oklch(0.96 0.03 301), oklch(1 0.03 301))
}
#strawberry-card,
#strawberry-card * {
  color: oklch(0.15 0.06 301);
}

#jade-card {
  background-color: oklch(0.96 0.015 169);
  border-top: 1px solid oklch(1 0.03 169);
}
#jade-card:hover {
  background: linear-gradient(0deg, oklch(0.96 0.015 169), oklch(1 0.015 169))
}
#jade-card,
#jade-card * {
  color: oklch(0.15 0.03 169);
}

#hacker-card {
  background-color: #010;
  border-top: 1px solid oklch(0.5 0.19 149);
}
#hacker-card:hover {
  background: linear-gradient(0deg, #010, #020)
}
#hacker-card,
#hacker-card * {
  color: #0f0;
}

#monochrome-card {
  background-color: #101010;
  border-top: 1px solid #666;
}
#monochrome-card:hover {
  background: linear-gradient(0deg, #101010, #181818)
}
#monochrome-card,
#monochrome-card * {
  color: #aaa;
}

#lord-have-mercy-card {
  background-color: #fdfdfd;
  border-top: 1px solid #fff;
}
#lord-have-mercy-card:hover {
  background: linear-gradient(0deg, #fdfdfd, #fff)
}
#lord-have-mercy-card,
#lord-have-mercy-card * {
  color: #000;
}

#profile-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: left;
}
#profile input,
#profile textarea {
  flex: 1;
  max-width: 300px;
}

.form-element {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

#new-bio {
        width: 100%;
        background-color: var(--bg-light);
        border-radius: 0.5rem;
        padding: 12px 20px;
        border: 1px solid var(--border-muted);
        color: var(--text);
        margin-top: 0.5rem; /* space between header and textarea */
}

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

#account-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
