@font-face {
  font-family: 'BasierCircle';
  src: url(BasierCircle-Regular.otf) format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'BasierCircle';
  src: url(BasierCircle-Medium.otf) format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Light mode */
:root {
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --surface-primary: #FFFFFF;
  --border-tertiary: #D1D5DB;
}

/* Dark mode */
[data-theme="dark"] {
  --text-primary: #F9FAFB;
  --text-secondary: #9CA3AF;
  --surface-primary: #181B20;
  --border-tertiary: #4B5563;
}


/* Default styles (Light Mode) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  background-color: var(--surface-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  display: flex;
  justify-content: center; /* Centers the content horizontally */
  align-items: center; /* Centers the content vertically */
}

.main-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  row-gap: 72px;
  max-width: 1400px;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
  opacity: 0; 
  animation: fadeIn 1s ease-in-out forwards; 
}

.section {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  padding-left: 80px;
  padding-right: 80px;
  padding-bottom: 16px;
}

.left {
  grid-column: span 6;
  display: flex;
  gap: 24px;
}

.right {
  grid-column: span 6;
}

.one-forth {
  grid-column: span 6;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
}

.one-forth-item {
  grid-column: span 3;
}

.slideshow-section {
  grid-column: span 12;
  padding: 0px;
  white-space: nowrap;
}

.slideshow {
  display: inline-block;
  animation: 50s slide infinite linear;
}

.slideshow img {
  height: 440px;
  border-radius: 24px;
  margin-top: 0;
  margin-bottom: 16px;
  margin-left: 0px;
  margin-right: 24px;
}

.slideshow-section:hover .slideshow {
  animation-play-state: paused;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
}

.separator {
  grid-column: span 12;
  height: 1px;
  border: 0px;
  background-color: var(--border-tertiary);
  margin-top: 32px;
}



@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}




/* Typography */
h1 {
  font-family: 'BasierCircle', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 56px;
  letter-spacing: -3%;
  color: var(--text-primary);

}

p {
  font-family: 'BasierCircle', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

li {
  font-family: 'BasierCircle', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  color: var(--text-secondary);
}

ul {
  list-style-type: none;
}



/* LINKS */
/* unvisited */
a:link {
  font-family: 'BasierCircle', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px; 
  text-decoration-line: underline;
  color: var(--text-primary);
}

/* visited */
a:visited {
  font-family: 'BasierCircle', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px; 
  text-decoration-line: underline;
  color: var(--text-primary);
}

/* hover */
a:hover {
  font-family: 'BasierCircle', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px; 
  text-decoration-line: none;
  color: var(--text-primary);
}

/* selected */
a:active {
  font-family: 'BasierCircle', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px; 
  text-decoration-line: none;
  color: var(--text-primary);
}


@media (max-width: 960px) {

  .main-container {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .section {
    grid-column: span 1;
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .left {
    grid-column: span 1;
  }

  .right {
    grid-column: span 1;
    row-gap: 16px;
  }

  .one-forth {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .one-forth-item {
    grid-column: span 1;
  }

  .slideshow-section {
    grid-column: span 1;
    overflow: hidden;
  }

  .slideshow img {
    height: 320px;
    border-radius: 16px;
    margin-right: 16px;
  }

  .avatar {
    width: 48px;
    height: 48px;
  }

  .separator {
    grid-column: span 1;
    height: 1px;
    border: 0px;
    background-color: var(--border-tertiary);
    margin-top: 16px;
  }
  

  h1 {
    font-size: 32px;
    line-height: 40px;
  }
  
  p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
  }

  li {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0px;
  }

  a:active {
    font-size: 16px;
    line-height: 24px; 
  }

  a:link {
    font-size: 16px;
    line-height: 24px; 
  }
  
  a:visited {
    font-size: 16px;
    line-height: 24px; 
  }
  
  a:hover {
    font-size: 16px;
    line-height: 24px;  
  }
  




}