/* RESET / GLOBAL */

@font-face {
  font-family: 'Outfit';
  src: url('/fonts/Outfit.ttf') format('truetype');
  font-weight: 100 900; /* Declare the weight range available */
  font-stretch: 75% 125%; /* Optional: declare the width range if supported */
  font-style: normal; /* Or italic if applicable */
}

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

#three-canvas {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: 2;
  pointer-events: none;
}


/* Ensure html and body take full viewport height */
html, body {
  font-family: 'Outfit', sans-serif;
  color: #333333;
  background-color: #F1F2EB;
  margin: 0;
  height: 100%;
}

/* Set body as flex container with column layout and full viewport height */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* .container is a flex container that expands to fill the remaining space */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* HEADER */
.site-header {
  padding: 1rem 0;
  z-index: 1;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 40px;
  margin-right: 0.5rem;
}
.logo span {
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
}

/* MAIN CONTENT */
main {
  flex: 1;
  padding: 2rem 0;
}
.intro-section h1 {
  font-size: 64px;
  font-weight: 400;
  margin-top: 200px;
  margin-bottom: 0.5rem;
  z-index: 3;

}
.intro-section p {
  font-size: 40px;
  font-weight: 400;
  color: #333333;
}
.intro-section a {
  color: #333;
  text-decoration: underline;
  transition: all 0.3s ease;
}
.intro-section a:hover {
  color: #C4181D;
  text-decoration: underline;
}

/* REFERENCES SECTION */
.references-section {
  margin-top: 4rem;
}
.references-section h2 {
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 25px;
}
.references-shapes {
  position: relative;
  height: 150px;
  width: 200px;
}
.shape {
  position: absolute;
  width: 100px;
  height: 100px;
  padding: 16px;
  border-radius: 8px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-origin: content-box;
  background-color: #00523A;
  color: white;
  transition: all 0.3s ease;
}

.shape:hover {
  background-color: #A9B978;
}

/* Tooltip styling for elements with a data-tooltip attribute */
.shape[data-tooltip] {
}

.shape[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 110%; /* Position tooltip above the shape */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: normal;
  text-wrap: balance;
  min-width: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

/* Show the tooltip on hover */
.shape:hover::after,
.shape:hover::before {
  opacity: 1;
  visibility: visible;
}


.shape--job1 {
  top: 0;
  left: 0;
  background-image: url('/references/ff-office.svg');
}

.shape--job2 {
  top: 0px;
  left: 128px;
  background-image: url('/references/WildeUndPartner.png');
}

.shape--degree1 {
  top: 0;
  left: 0;
  background-image: url('/references/WebsterVienna.svg');
  padding: 8px;
}

.shape--degree2 {
  top: 0px;
  left: 128px;
  background-image: url('/references/UniWien_white_A4.svg');
  padding: 8px;
}


/* ACADEMIA SECTION */
.academia-section {
  margin-top: 0px;
}
.academia-section h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Consent Modal Styles */
.consent-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 1rem;
  text-align: left;
  z-index: 9999;
  display: none;  /* Initially hidden */
}

.consent-modal-content {
  max-width: 600px;
  margin: 0 auto;
}

.consent-modal p {
  margin-bottom: 1rem;
}

#cookie-consent-form > div {
  margin-bottom: 0.75rem;
  text-align: left;
  display: inline-block;
  width: 100%;
}

#cookie-consent-form label {
  margin-left: 0.5rem;
}

.consent-buttons {
  margin-top: 1rem;
}

.consent-buttons button {
  padding: 8px 16px;
  margin: 0 8px;
  border: none;
  border-radius: 69px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#accept-all,
#save-consent,
#decline-consent {
  background-color: #333;
  color: #fff;
}

#accept-all:hover,
#save-consent:hover,
#decline-consent:hover {
  background-color: #A9B978;
  color: #333;
}


.privacy-section {
  max-width: 800px;       
  margin: 2rem auto;     
  padding: 1rem;          
  font-size: 1.125rem;    
  line-height: 1.6;       
  color: #333;          
}

.privacy-section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.privacy-section p {
  margin-bottom: 1rem;
}

.imprint-section {
  max-width: 800px;       /* Limits line length for better readability */
  margin: 2rem auto;      /* Centers the content and adds vertical spacing */
  padding: 1rem;          /* Provides inner spacing */
  font-size: 1.125rem;    /* Slightly larger font for legibility */
  line-height: 1.6;       /* Comfortable spacing between lines */
  color: #333;            /* High contrast text color */
}

.imprint-section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.imprint-section p {
  margin-bottom: 1rem;
}


/* FOOTER */
.site-footer {
  padding: 1rem 2rem;
  text-align: center;
  background-color: #F1F2EB;
}
.footer-nav a {
  margin: 0 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover {
  text-decoration: underline;
}
