@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Reenie+Beanie&display=swap");

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

html {
  scroll-behavior: smooth;
}

body {
  padding: 6vw;
  background-color: rgb(247, 247, 244);
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

header {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.title {
  font-size: 42px;
  white-space: nowrap;
  font-weight: 600;
}

.subtitle {
  max-width: 650px;
  font-size: 25px;
  font-weight: 400;
  margin-top: -4px;
}

.subsubtitle {
  max-width: 650px;
  font-size: 22px;
  font-weight: 450;
}

h3 {
  font-size: clamp(15px, 3vw, 100px);
  margin-top: 0.5em;
  color: blue;
  font-weight: 400;
}

h4 {
  color: rgb(37, 37, 37);
  margin-top: 10px;
  max-width: 750px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.4;
}

h6 {
  margin-top: 10px;
  max-width: 750px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.3;
}

ul {
  text-wrap: balance;
  margin: 25px 0 25px 0;
  padding: 0;
  list-style: none;
  font-family: "Reenie Beanie", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(30px, 4vw, 100px);
}

ul li {
  margin-bottom: 7px;
  line-height: 0.8;
}

a {
  text-decoration: none;
}

.gallery-wrapper {
  border-radius: 10px;
  overflow-x: auto;
  overflow-y: hidden;

  /* smooth scrolling on trackpads */
  -webkit-overflow-scrolling: touch;

  /* hide scrollbar (Firefox) */
  scrollbar-width: none;
}

/* hide scrollbar (Chrome, Safari, Edge) */
.gallery-wrapper::-webkit-scrollbar {
  display: none;
}

.gallery {
  margin-bottom: 30px;
  display: flex;
  gap: 20px;

  /* prevents items from wrapping */
  flex-wrap: nowrap;

  /* makes width adapt to content */
  width: max-content;
}

.gallery-item {
  flex: 0 0 auto; /* VERY important */
}

.gallery-item img {
  border-radius: 8px;
  max-width: 575px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

.location {
  padding-left: 6px;
  font-size: 12px;
  font-weight: 300;
}

.description {
  padding-left: 6px;
  font-size: 13px;
  font-weight: 500;
}

/* Contact section */

.contactSection {
  background-color: transparent;
  max-width: 1000px;
  display: flex;
  gap: 50px;
  margin: 40px 0px 10px 0px;
  box-shadow:
    0 0 0 1px oklch(0% 0 0 / 0.075),
    0 0.2em 0.1em -0.2em oklch(0% 0 0 / 0.075),
    0 0.4em 0.8em -0.4em oklch(0% 0 0 / 0.075),
    0 0.8em 1.6em -1.2em oklch(0% 0 0 / 0.075);
  border-radius: 6px;
  padding: 40px;
}

.contactSection__info,
.contactSection__text {
  line-height: 1.7;
  width: 50%;
}

.contactSection__signature {
  margin-top: 8px;
  height: 60px;
}

.portraitCard__image {
  height: 50px;
  border-radius: 200px;
}

.portraitCard {
  display: flex;
  gap: 12px;
  align-items: center;
}

.portraitCard__name {
  font-size: 17px;
  font-weight: 500;
  margin: 0;
  padding: 0;
}

.portraitCard__job {
  font-size: 12px;
  margin-top: -6px;
  font-weight: 300;
}

.portraitCard__siren {
  font-size: 10px;
  margin-top: -5px;
  font-weight: 300;
}

.contactSection__paragraph {
  text-wrap: pretty;
  line-height: 1.55;
  font-size: 17px;
  font-weight: 200;
  margin-bottom: 6px;
}

.contactSection__link {
  color: rgb(0, 0, 0) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: #a1a1a1; /* underline color */
}

.contactSection__link:hover {
  color: rgb(0, 0, 0) !important;
  text-decoration-color: #0040ff; /* underline color */
}

/* ??????? */

.section {
  margin-bottom: 10px;
}

/* Tab Styles */
.tabs-list {
  width: 500px;
  display: flex;
  gap: 0;
  list-style: none;
  background: #eeeeee;
  border-radius: 8px;
  margin-bottom: 24px;
  position: relative;
}

.tab-trigger {
  flex: 1;
  padding: 10px 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  color: #000000;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  white-space: nowrap;
  border-radius: 8px;
}

.tab-trigger:hover {
  color: #1d1d1f;
}

.tab-trigger.active {
  color: #1d1d1f;
}

/* Sliding background */
.tabs-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: white;
  border: 1px solid #bebebe;
  border-radius: 8px;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tab-content {
  display: none;
  animation: fadeIn 0.2s ease-in;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.galleryHeader {
  margin: 25px 0px 12px 0px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.galleryHeader__title {
  font-size: 17px;
  color: rgb(61, 61, 61);
  font-weight: 500;
}

.galleryHeader__hint {
  font-size: 12px;
  color: rgb(132, 132, 132);
  font-weight: 300;
}

.copyright {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 300;
  color: gray;
}
