@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap");

:root {
  color-scheme: light dark;
  --white: white;
  --black: black;
  --bg-color: #fef3da;
  --bg-image: url("/static/img/background.jpeg");
  --gray: #6f6f6f;
  --filter-white: invert(0);
  --content-bg: rgba(0, 0, 0, 0.2);
  --overlay-bg: white;
  --hover-bg: white;
}

[data-theme="dark"] {
  --white: black;
  --black: white;
  --bg-color: #222222;
  --bg-image: url("/static/img/background-dark.jpeg");
  --gray: #b4b4b4;
  --filter-white: invert(1);
  --content-bg: rgba(255, 255, 255, 0.2);
  --overlay-bg: #222222;
  --hover-bg: rgba(100, 100, 100, 1);
}

html {
  height: 100%;
}

body {
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  height: 100%;
  margin: 0;
  margin: 0 20px;
  background-color: var(--bg-color);
}

* {
  font-family: "Inter", sans-serif;
}

#header {
  padding-top: 45px;
  position: relative;
  z-index: 9999;
}

.logo {
  width: 100px;
  filter: var(--filter-white);
  position: relative;
}

.header--secondary-container {
  margin-top: 15px;
  margin-right: -8px;
  width: fit-content;
}

.header--secondary {
  font-size: 30px;
  font-weight: 400;
  color: var(--black);
}

.header--primary {
  font-weight: 700;
  margin: 0;
  font-size: 40px;
  margin-bottom: 27px;
  color: var(--black);
  width: fit-content;
  line-height: 38px;
}

/* Deprecated! */
/* ---------------------------- */
/* .header--menu {
  margin: 0 10px;
}

.header--menu > a,
.header--menu > span {
  color: #6f6f6f;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 300;
}

.header--menu > span {
  margin-left: 5px;
} */
/* ---------------------------- */

.main {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 30px;
  margin-left: 35px;
  margin-right: 35px;
  max-width: 1973px;
  /* margin: 30px auto; */
}

.main--section-1 > h1,
.main--section-2 > h1,
.main--section-3 > h1,
.main--section-4 > h1,
.main--section h1 {
  line-height: 36px;
  font-size: 30px;
  font-weight: 400;
  margin: 0;
  margin-top: -6px;
  color: var(--black);
}

.main--section h1 {
  margin-bottom: 25px;
}

.main--section-1,
.main--section-2,
.main--section-3,
.main--section-4 {
  border-left: 1px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    to bottom,
    var(--black),
    rgba(0, 0, 0, 0)
  );
  padding: 0 20px;
  max-width: 400px;
  width: 100%;
  min-width: 0;
  color: var(--black);
}

.top-bar {
  border-left: 1px solid;
  border-image-slice: 1;
  /* border-width: 1px; */
  border-image-source: linear-gradient(
    to bottom,
    var(--black),
    rgba(0, 0, 0, 0)
  );
  padding: 0 10px;
  max-width: 135px;
  width: 100%;
  min-width: 0;
  color: var(--black);
  max-height: 50px;
  line-height: 20px;
}

.main--section {
  border-left: 1px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    to bottom,
    var(--black) 0%,
    var(--black) calc(100% - 100px),
    rgba(0, 0, 0, 0) 100%
  );
  padding: 0 0 0 29px;
  max-width: 900px;
  width: 100%;
  min-width: 0;
  color: var(--black);
}

.section--top-bar {
  display: flex;
  flex-direction: row;
  margin-bottom: -16px;
}

.section--top-bar h1 {
  flex: 1;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
}

.section--top-bar h1 span {
  font-size: 17px;
  margin-top: 10px;
  cursor: pointer;
}

.people-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-between;
}

.person {
  display: flex;
  flex-direction: row;
  min-width: 325px;
  align-items: center;
  cursor: pointer;
}

.person img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.person--detail {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  line-height: 25px;
  justify-content: center;
  font-size: 14px;
}

.person--detail h2 {
  margin: 0;
  font-size: 20px;
  line-height: 35px;
}

.meet-time {
  font-weight: 600;
}

footer {
  margin: 0;
  color: var(--black);
}

.footer-nav {
  font-size: 16px;
  font-weight: 300;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 15px;
}

.footer-nav a {
  color: #8a8a8a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--black);
}

.footer--copyright,
.footer--fun {
  margin: 0;
}

.footer--copyright {
  font-size: 17px;
  line-height: 22px;
}

#footer--mobile {
  display: none;
  font-weight: 500;
}

.footer--fun {
  font-size: 14px;
  margin-top: 10px;
  padding-bottom: 40px;
  color: #898989;
}

.section--content {
  margin-top: 15px;
  width: 100%;
}

.content--card {
  background-color: var(--content-bg);
  padding: 10px;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  margin-bottom: 10px;
}

.mb-30 {
  margin-bottom: 30px;
}

.d-block {
  display: block;
}

.polygon {
  -webkit-clip-path: polygon(100% 0, 0 50%, 100% 100%);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  background-color: var(--content-bg);
  width: 15px;
  height: 19px;
  position: absolute;
  transform: translateX(-24.7px) translateY(10px);
}

.date-dot {
  width: 14px;
  height: 14px;
  background-color: var(--black);
  border-radius: 50%;
  position: absolute;
  transform: translateX(-47px) translateY(12px);
}

.date-dot--inner {
  width: 7px;
  height: 7px;
  background-color: var(--white);
  border-radius: 50%;
  position: absolute;
  transform: translateX(3.5px) translateY(3.5px);
}

.card--date,
.card--summary {
  margin: 0;
}

.card--date {
  font-size: 13px;
  line-height: 16px;
}

.card--date-2 {
  min-width: 150px;
  position: absolute;
  transform: translateX(-204px) translateY(10px);
  text-align: right;
}

@media only screen and (max-width: 1250px) {
  .d-block {
    display: inline;
  }

  .card--date-2 {
    position: relative;
    max-width: max-content;
    transform: translateX(0) translateY(0);
    text-align: left;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 645px) {
  .top-bar {
    display: none;
  }

  .card--image {
    margin: 0 !important;
    margin-top: 20px !important;
    max-width: 100% !important;
    padding-bottom: 66.66667% !important;
  }
}

.card--date-hour {
  font-weight: 400;
}

.card--date-calendar {
  font-weight: 700;
}

.card--title {
  font-size: 23px;
  font-weight: 700;
  padding-bottom: 10px;
}

.card--summary {
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 21px;
}

.card--image {
  position: relative;
  padding-bottom: 47.66667%;
  max-width: 70%;
  margin: 0 auto;
  margin-top: 20px;
}

.card--image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* .image-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
} */

.under-construction-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  cursor: pointer;
  z-index: 99999;
}

#header {
  zoom: 0.95;
}

@media only screen and (max-width: 1120px) {
  .main {
    flex-wrap: wrap;
    row-gap: 20px;
    margin: 50px 10px 0;
  }
}

@media only screen and (max-width: 960px) {
  .main--section-1,
  .main--section-2,
  .main--section-3,
  .main--section-4 {
    max-width: 100%;
  }

  #footer--desktop {
    display: none;
  }

  #footer--mobile {
    display: block;
  }

  .footer--fun {
    font-size: 8px;
  }

  #header,
  .overlay-content {
    zoom: 0.8;
  }

  * {
    zoom: 0.9999999;
  }

  .switch--moon,
  .switch--sun {
    zoom: 1;
  }

  .overlay-content {
    margin-top: 10px;
  }

  .main {
    margin-top: 25px;
    zoom: 0.8;
  }

  .overlay-content {
    top: 300px !important;
    margin-top: 120px;
  }

  .filter {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 1) 90%,
      rgba(255, 255, 255, 0) 100%
    );
    height: 280px !important;
  }

  .switch--moon,
  .switch--sun {
    font-size: 18px !important;
    top: 1% !important;
  }

  /* .switch--moon {
    top: 10% !important;
  } */

  .under-construction-badge {
    width: 120px;
    height: 120px;
  }
}

.push-up {
  top: 150px !important;
}

.people-i-met {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 10px;
}

.people-i-met img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
}

.people-i-met > #additional-number {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--content-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 20px;
}

.card--people {
  padding: 0;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  height: 55px;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  align-items: center;
  max-width: 100%;
  flex-shrink: 3;
}

.card--people > img {
  border-radius: 50%;
  width: 55px;
  height: 55px;
}

.card--people > div > * {
  margin: 0;
}

.card--people > div {
  display: inline-block;
  max-width: calc(100% - 55px - 20px);
}

.card--people > div > .people--name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card--people > div > .people--review {
  font-size: 17px;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  column-gap: 10px;
  color: var(--gray);
  font-weight: 700;
  cursor: pointer;
  width: 100px;
  position: relative;
  z-index: 9999;
  height: 35px;
  user-select: none;
}

.menu-button-container:hover {
  color: var(--black);
}

.menu-button-container:hover .menu-button--line {
  background-color: var(--black);
}

.menu-button-container * {
  transition: all 300ms;
}

.menu-button-container > span {
  opacity: 1;
}

.menu-active > span {
  opacity: 0;
  transform: translateX(-15px);
}

.menu-active > .menu-button {
  transform: translateX(40px) scale(1.4);
}

.menu-active > .menu-button > .menu-button--line:nth-child(1) {
  transform: rotate(45deg) translateY(10.1px);
  height: 2px;
}

.menu-active > .menu-button > .menu-button--line:nth-child(2) {
  transform: rotate(-45deg) translateX(-7px) translateY(-3px);
  height: 2px;
  opacity: 0;
}

.menu-active > .menu-button > .menu-button--line:nth-child(3) {
  height: 2px;
  transform: rotate(-45deg) translateY(-10.1px);
}

.menu-button {
  width: 30px;
}

.menu-button--line {
  width: 100%;
  height: 3px;
  background-color: var(--gray);
  margin: 5px 0;
}

.overlay {
  height: 0;
  width: 100%;
  position: absolute;
  z-index: 9;
  left: 0;
  top: 0;
  transition: 0.5s;
  overflow: hidden;
}

.overlay-below {
  height: 0;
  width: 100%;
  position: fixed;
  z-index: 8;
  left: 0;
  top: 0;
  background-color: var(--overlay-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: height 0.5s;
  overflow: hidden;
}

.full-height {
  height: 100%;
}

.o-show {
  overflow: visible;
}

.overlay-content {
  position: relative;
  top: 275px;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  transition: all 500ms;
}

.filter {
  position: absolute;
  background: var(--overlay-bg);
  background: linear-gradient(
    180deg,
    var(--overlay-bg) 85%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 99;
  width: 100%;
  height: 310px;
  transition: all 0.5s;
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px 0;
  text-decoration: none;
  font-size: 27px;
  color: var(--gray);
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
  width: fit-content;
  margin: 0 auto;
  position: relative;
  line-height: 33px;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
  color: var(--black);
}

.overlay a:after {
  background: none repeat scroll 0 0 transparent;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: var(--gray);
  transition: all 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
  margin-top: 2.5px;
}
.overlay a:hover:after {
  width: 100%;
  left: 0;
  background: var(--black);
}

.typed-cursor {
  color: var(--black);
  font-size: 30px;
  font-weight: 400;
  opacity: 1;
  -webkit-animation: blink 0.7s infinite;
  -moz-animation: blink 0.7s infinite;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.version-number {
  font-size: 10px;
  color: gray;
  margin: 10px 0 20px;
  display: block;
}

.theme-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  user-select: none;
}

.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #767676;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}

.slider:before {
  background-color: white;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: 0.4s;
  width: 26px;
  z-index: 9;
}

input:checked + .slider {
  background-color: #3b7937;
}

input:checked + .slider:before {
  transform: translateX(26px);
  background-color: #fff;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch--moon,
.switch--sun {
  position: absolute;
  z-index: 1;
  transition: opacity 400ms;
  top: 10%;
  font-size: 22px;
  transition: all 400ms;
}

.switch--moon {
  left: 10%;
}

.switch--sun {
  right: 7%;
}

input:checked + .slider > .switch--sun {
  right: 20%;
  opacity: 0;
}

input:not(:checked) + .slider > .switch--moon {
  left: 20%;
  opacity: 0;
}

.people-details {
  border-radius: 50px;
  position: absolute;
  height: 55px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  max-width: 55px;
  transition-duration: 0.5s;
  transition-property: max-width, z-index, opacity;
  /* transition-delay: 100ms; */
  background-color: var(--hover-bg);
  z-index: 8;
  opacity: 0;
  box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.25);
}

.people-thumb {
  display: flex;
  flex-direction: row;
}

.people-details > img {
  float: left;
}

.people-thumb > img {
  z-index: -1;
}

.people-thumb img {
  position: relative;
  z-index: 0;
  transition-duration: 0.25s;
  transition-property: z-index;
}

.details {
  white-space: nowrap;
  padding: 5px 15px;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.details--name {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.details--summary {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray);
}

p {
  margin: 0;
}

.people-thumb > img:hover + .people-details,
.people-details:hover {
  max-width: 330px;
  position: absolute;
  opacity: 1;
}

#floating-footer-alert {
  position: fixed;
  z-index: 99999;
  bottom: 0;
  left: 0;
  right: 0;
  background: #e5e5e5;
  overflow: hidden;
  -webkit-box-shadow: 0 0 5px black;
  -moz-box-shadow: 0 0 5px black;
  box-shadow: 0 0 5px black;
  padding: 20px 40px;
}

#floating-footer-alert > * {
  color: #222222;
  margin: 0;
}

#floating-footer-alert > h3 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 20px;
}

#alert-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 30px;
}

#floating-footer-alert a {
  color: rgb(27, 77, 130);
  text-decoration: none;
  font-weight: 800;
}

#floating-footer-alert a:hover {
  text-decoration: underline;
}

#floating-footer-alert a:active {
  color: black;
}

.no-color {
  color: inherit;
  text-decoration: none;
  background-color: none;
}

.pointer {
  cursor: pointer;
}

.social-btn {
  width: 300px;
  padding: 15px 0 15px 0;
  border-radius: 100px;
  color: white;
  margin-bottom: 15px;
  transition: opacity 0.3s;
}

.social-btn:hover {
  opacity: 0.8;
}

#btn-facebook {
  background: linear-gradient(to bottom, #46b0f8, #166fda);
  border: none;
}

#btn-instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  border: none;
}

#btn-twitter {
  background: #1da1f2;
  border: none;
}

#btn-youtube {
  background-color: #f70900;
  border: none;
}

#btn-github {
  background-color: #14191e;
  border: none;
}

#btn-linkedin {
  background-color: #0077b5;
  border: none;
}

#btn-gmail {
  background-color: #d14836;
  border: none;
}

#btn-call {
  background-color: #25d366;
  border: none;
}

.input {
  width: 100%;
  padding: 5px;
  font-size: 16px;
  border-width: 0px;
  border-color: #cccccc;
  background-color: #ffffff;
  color: #000000;
  border-style: solid;
  border-radius: 6px;
  box-shadow: 0px 0px 3px var(--gray);
  margin-top: 10px;
}

.signature_box {
  border-width: 0px !important;
  border-color: #cccccc !important;
  border-style: solid;
  border-radius: 6px;
  box-shadow: 0px 0px 3px var(--gray);
  margin-bottom: 5px;
  background-color: white;
  width: 100%;
  height: 250px;
  margin: 10px 0;
}

.btn {
  font-size: 1.1em;
  font-weight: 400;
  text-align: center;
  height: 34px;
  line-height: 34px;
  background: var(--black);
  margin-top: 10px;
  color: var(--white);
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  width: 100%;
  display: block;
  cursor: pointer;
}

.btn:hover {
  background: var(--gray);
  color: var(--white);
}

/* Write for me page responsive styles */
.write-form-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px;
}

.write-form {
  background: var(--content-bg);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 250px;
}

.form-group.full-width {
  flex: 100%;
  min-width: 100%;
}

.form-label {
  display: block;
  color: var(--black);
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 14px;
  background: var(--overlay-bg);
  color: var(--black);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  cursor: pointer;
  font-size: 14px;
}

.radio-label input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #3498db;
}

.signature-container {
  margin-top: 8px;
}

.signature_box {
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  background: white;
  cursor: crosshair;
}

.signature-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.signature-btn {
  background: #3498db;
  border: none;
  border-radius: 28px;
  color: #ffffff;
  font-size: 14px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.signature-btn:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

.success-message {
  text-align: center;
  background: var(--content-bg);
  border-radius: 12px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 1200px) {
  .write-form-container {
    max-width: 100%;
    padding: 15px;
  }

  .write-form {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-group {
    min-width: 100%;
  }

  .radio-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .signature-buttons {
    justify-content: center;
  }

  .write-form {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .write-form-container {
    padding: 10px;
  }

  .write-form {
    padding: 10px;
  }

  .form-input {
    padding: 10px 12px;
  }

  .signature-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}
