html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  font-family: 'MyFont', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #222222;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

@font-face {
  font-family: 'MyFont';
  src: url('fonts/ESAllianz-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MyFont';
  src: url('fonts/ESAllianz-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

#main-content {
  display: flex;
  width: 100vw;
  min-height: 100vh;
  box-sizing: border-box;
}

@media screen and (max-width: 570px) {
  #main-content {
    flex-direction: column-reverse;
  }
}

/* --- BOXES --- */
.box-1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100vh;
  overflow-y: auto;
  background: #fff;
  box-sizing: border-box;
  padding: 1rem;
  scrollbar-width: none;
}

@media screen and (max-width: 570px) {
  .box-1 {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: auto;
  }
}

.box-1::-webkit-scrollbar {
  display: none;
}

.social-link {
  text-decoration: none; 
  color: #222222;      
}

.social-link:hover {
  color: #111111;         
  text-decoration: none;  
}

.social-footer {
  margin: 1rem 0 0 0; 
  padding: 0; 
  width: calc(100% - 2rem); 
  text-align: left; 
}

.box-2 {
  margin-left: 50vw;
  width: 50vw;
  min-height: 100vh;
  background: #fff;
  box-sizing: border-box;
  padding: 0 1rem;
  border: none;
}

@media screen and (max-width: 570px) {
  .box-2 {
    margin-left: 0;
    width: 100%;
    min-height: auto;
  }
}

.project {
  padding: 1rem 0;
}

.project img {
  width: 100%;
  height: auto;
  display: block;
}

.project-close-button {
  font-family: Arial, Helvetica, sans-serif;
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  display: none;
  font-size: 22px;
}

@media screen and (max-width: 570px) {
  body.project-open .project-close-button {
    display: block; 
  }
}

.project-title {
  cursor: pointer;
  padding-left: 0;
  transition: padding-left 0.2s ease;
}

.project-title:hover {
  padding-left: 0.8rem;
}

.project-title.active-project {
  padding-left: 0.8rem;
  /* font-weight: 550;  Half-bold: halfway between 400 (normal) and 700 (bold) */
  /* color: #222; */
  color: rgb(55, 135, 247);
}

.section-title {
  font-weight: normal;
  transition: font-weight 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.section-title.active-section {
  /* font-weight: 550;  Half-bold */
  /* color: #222; */
 color: rgb(55, 135, 247);
}

#combined-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.extra-info-text {
  font-size: 1rem;
}

.extra-info-images,
.extra-info-embed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.extra-info-images img,
.extra-info-embed video,
.extra-info-embed iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
  display: block;
}

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

.indented a:visited {
  color: inherit;
}

.indented a:hover,
.indented a:focus {
  text-decoration: none;
  color: inherit;
}

.indented {
  margin-left: 0.8rem;
}

#combined-info:empty {
  display: none;
}