:root {
  --bg-color: #14141a;
  --header-color: #141414;
  --border-color: #303033;
  --hover-tab: #080808;
  --primary-color: #FF0068;
  --container-color: #0f0f0f81;
  --text-color: white
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
}

body {
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background-image: linear-gradient(to bottom, var(--bg-color), #23232e);
  background-attachment: fixed;
  background-size: 100% 100vh; /* re-anchors the gradient to one screen's height */
}

html {
  height: 100%;
}

main {
  flex: 1;
}

h1 {
  font-size: clamp(1.3rem, 5vw, 2.2rem);
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--header-color);
}

.highlight {
  color: var(--primary-color);
}
.tos-num{
  color: var(--primary-color);
  font-size: 20px;
  padding-top: 20px;
}
.profile img {
  width: 200px;
  height: 200px;
  max-width: 100%;
}

/* Style the tab */
.tab {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-bottom: 1px solid var(--border-color);
}

.tab button {

  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  flex: 0 0 auto;
  min-width: 100px;
}

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

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 12px 12px;
  border-top: none;

}

.container {

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  justify-content: center;
  max-width: 1000px;
  margin: 20px auto;

}

.container div:not(.dots-container) {
  background-color: var(--container-color);
  overflow: hidden;
}


/* profile */
.profile {
  padding: 2rem;
  text-align: center;
}

/* socials */
.socials {
  padding: 2rem;
}

.socials h2 {
  margin-bottom: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  cursor: pointer;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.social-link:hover {
  transform: translateX(4px);
}

.social-icon img {
  width: 50%;
  height: auto;
}

.commission {
  font-size: 25px;
  padding: 50px;
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering, optional */
  border-right: 25px solid var(--primary-color);
}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  max-width: 500px;
  position: relative;
  margin: auto;
}

.mySlides1,
.mySlides2 {
  display: none;
}

.mySlides1 img,
.mySlides2 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1.1;
  display: block;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color)
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Footer */

footer {
  padding: 20px;
  background-color: var(--header-color);
  border-top: 1px solid var(--border-color);
}

/* Repsonsive */
@media (max-width: 480px) {

  .tab button {
    padding: 10px 12px;
    font-size: 14px;
  }
}