:root {
  --white: #ffffff;
  --red: #ec2228;
  --dark-gray: #606161;
  --gray: #343434;
  --black: #171717;

  --partners-section-bg-color: #e8e8e8;
  --partners-section-text-color: #a3a3a3;

  --schedule-phone-background-color: var(--gray);
  --schedule-body-background-color: #f2f2f2;

  --week-grid-background-color: var(--gray);
  --week-grid-text-color: #a3a3a3;

  --black-chatbox-width: 80%;
  --black-chatbox-max-width: 737px;
}

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/Jost.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
}

@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-Bold.woff2") format("woff2"),
    url("/assets/fonts/Lato-Bold.woff") format("woff");
  font-weight: bold;
}

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

html {
  /* fonts and base changes go here */
  font-family: "Jost", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.body {
  position: relative;
}

.hero {
  /* display: flex; */
  /* justify-content: space-between; */
  display: block;
}

.main-left {
  min-height: 100vh;
  width: 100%;
  margin: auto;
  background-image: url("/assets/img/background-fe.jpg");
}

.main-right {
  background-color: var(--black);
  padding: 5rem 0;
}

.text-white {
  color: var(--white);
}

.text-red {
  color: var(--red);
}

.text-black {
  color: var(--black);
}

.text-dark-gray {
  color: var(--dark-gray);
}

.text-gray {
  color: var(--gray);
}

.bg-white {
  background-color: var(--white);
}

.bg-red {
  background-color: var(--red);
}

.bg-dark-gray {
  background-color: var(--dark-gray);
}

.bg-gray {
  background-color: var(--gray);
}

.bg-black {
  background-color: var(--black);
}

.fw-500 {
  font-weight: 500;
}

.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  padding: 1rem;
  background-color: white;
  z-index: 100;
  border-bottom: 1px solid var(--partners-section-text-color);
}

.navbar-div-wrapper {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-around;
  /* gap: 5rem; */
}

.navbar-div-wrapper a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gray);
}

.header-title-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.black-chatbox {
  width: var(--black-chatbox-width);
  max-width: var(--black-chatbox-max-width);
}

.black-chatbox-body {
  display: flex;
  flex-direction: column;
  justify-content: center;

  width: 100%;
  height: 540px;
  padding: 1.5rem;
  gap: 1.5rem;
  overflow: hidden;
}

.black-chatbox-header {
  display: flex;
}

.black-chatbox-header .header-left {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.black-chatbox-header .header-left img {
  max-width: 15rem;
}

.black-chatbox-header .header-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 0.75rem;
  padding: 1rem 0;
}

.black-chatbox-header .header-right h1 {
  font-size: 2rem;
}

.black-chatbox-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  max-width: 92%;

  width: 100%;
}

.container {
  width: 100%;
  min-height: 100vh;
  max-width: 1270px;
  overflow: hidden;
  margin: auto;
  padding: 5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.iff-nl-logos {
  display: flex;
  align-items: center;
  margin: 2rem 0;
}

.logo {
  max-height: 100%;
  max-width: 100%;
}

.iff-nl-logos .x {
  margin: 0 2.5rem;
}

.iff-nl-logos-outer {
  max-width: var(--black-chatbox-max-width);
  width: var(--black-chatbox-width);
}

.partners-section {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  width: var(--black-chatbox-width);
  max-width: var(--black-chatbox-max-width);

  margin-bottom: 3rem;
  padding: 1.5rem 0;

  background-color: var(--partners-section-bg-color);
}

.partners-section .column {
  display: flex;
  justify-content: center;
}

.partners-section .column img {
  max-width: 2rem;
}

.partners-section .partners-text {
  align-items: end;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  color: var(--partners-section-text-color);
}

.red-button-div {
  display: none;
}

.red-button-body {
  display: flex;
  justify-content: end;
  align-items: center;

  padding: 1.5rem;
}

.schedule-phone {
  /* height: 100vh; */
  width: 100%;
  margin: auto;

  border: 1rem solid var(--schedule-phone-background-color);
  background-color: var(--schedule-phone-background-color);

  overflow: scroll;
}

.schedule-header {
  background-color: var(--black);
  color: var(--white);
  width: 100%;

  padding: 2rem;
}

.schedule-header .schedule-title {
  display: flex;
  justify-content: space-between;
}

.schedule-header .week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 0.5rem;

  margin-top: 2rem;
}

.schedule-header .week-grid .cell {
  padding: 1rem;

  background-color: var(--week-grid-background-color);
  color: var(--week-grid-text-color);
}

.schedule-header .week-grid .cell.active {
  background-color: var(--red);
  color: var(--white);
}

.schedule-header .week-grid .cell .day {
  display: flex;
  justify-content: center;

  margin-bottom: 0.5rem;
}

.schedule-header .week-grid .cell .date {
  display: flex;
  justify-content: center;
}

.schedule-body {
  background-color: var(--schedule-body-background-color);
  background-color: var(--dark-gray);

  padding: 2rem;
}

.schedule-body .date-heading {
  text-align: center;
}

.date-heading-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.session,
.not-session {
  margin: 2rem 0;
}

.not-session {
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--gray);
  padding: 1.5rem;

  font-weight: 600;
}

.not-session .timings-wrapper {
  width: auto;
}

.not-session .body {
}

.not-session .body.bg-red {
  background-color: var(--red);
}

.not-session .body .title {
}

.not-session .body .mic {
  margin-top: 1.5rem;
}

.not-session .time,
.session .time {
  background-color: var(--black);
  color: var(--white);

  padding: 1.5rem;
}

.session .body {
  background-color: var(--gray);

  font-weight: 500;
  padding: 1.5rem;
}

.session .body .heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;

  margin-bottom: 1.5rem;
}

.session .body .title {
  color: var(--red);

  font-weight: 600;
}

.sessions-wrapper .who {
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.session .body .mic {
  /* margin-bottom: 1rem; */
}

.session .body .crown {
  /* margin-bottom: 1rem; */
}

.session .session-pill {
  background-color: var(--red);
  color: var(--white);
  padding: 0.5rem 1rem;
  flex-shrink: 0;
  /* margin-right: -2.5rem; */

  border-radius: 24px;
}

.session .inner-body {
  display: flex;
  justify-content: space-between;
}

.session .picture {
  align-self: end;
  /* margin-right: -1.5rem; */
  /* margin-bottom: -0.25rem; */
}

.mic,
.crown,
.title,
.time {
  display: flex;
  align-items: center;
}

.sessions-div-wrapper .mic-icon,
.sessions-div-wrapper .clock-icon,
.sessions-div-wrapper .crown-icon {
  margin-right: 1rem;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.x {
  height: 14px;
}

.time {
  display: none;
}

.sessions-div-wrapper {
  background: #171717;
  width: 100%;
  padding: 5rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.sessions-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.session-element {
  max-width: 800px;
  width: 100%;
  height: 500px;
  background-color: var(--red);
  clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 4% 95%, 7% 6%);

  display: flex;
  flex-direction: column;
  padding: 2rem 5rem;
  gap: 1.5rem;

  position: relative;
}

.session-element .session-pill-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.session-element .session-pill-wrapper kbd {
  font-size: 1rem;
  font-weight: 600;
}

.timings-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.timings-wrapper svg {
  width: 16px;
  height: 16px;
}

.timings-wrapper kbd {
  font-size: 0.9rem;
  font-weight: 500;
}

.session-element .session-pill {
  background-color: var(--black);
  color: var(--white);
  padding: 0.5rem 1rem;
  flex-shrink: 0;
  align-self: flex-start;

  border-radius: 24px;
}

.session-element .session-speakers {
  width: 100%;
  display: flex;

  gap: 1.5rem;
}

.session-element .red-button {
  max-width: 75%;
}

.session-element img {
  position: absolute;
  bottom: 0;
  right: 2rem;
  z-index: -1;

  width: 10rem;
}

.middle-session-element {
  background-color: var(--white);
  clip-path: polygon(100% 0%, 10% 0%, 0% 100%, 95% 95%, 93% 5%);
  color: var(--gray);

  align-items: flex-end;
  text-align: right;
}

.middle-session-element h2 {
  color: var(--red);
}

.middle-session-element p {
  color: var(--dark-gray);
}

.middle-session-element .session-speakers {
  justify-content: flex-end;
}

.middle-session-element .session-pill {
  align-self: flex-end;
}

.middle-session-element .timings-wrapper {
  justify-content: flex-end;
}

.middle-session-element a {
  width: 100%;
}

.middle-session-element img {
  left: 2rem;
}

.middle-session-element .red-button-body h3 {
  color: var(--white);
}

.middle-session-element svg.red-button path {
  width: 100%;
  fill: var(--red);
}

.foe-div-wrapper {
  width: 100%;
  height: 120px;
  /* height: 100%; */
  overflow: hidden;
}

.foe-div-wrapper img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.podcast-playlist-wrapper {
  margin: 0 auto;
  max-width: 900px;
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.footer-div-wrapper {
  position: relative;
  background-image: url("./assets/img/rectangle.svg");
  width: 100%;
  padding: 5rem;
}

.footer {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-title-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-title-wrapper img {
  height: 7rem;
}

.footer-title-wrapper p {
  font-size: 1.5rem;
}

.footer .iff-nl-logos {
  justify-content: center;
}

.footer-register-btn {
  width: 100%;
}

.footer-register-btn img {
  width: 100%;
  height: 100%;
}

.footer-partners-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-partners-wrapper img {
  max-width: 8rem;
}

.footer-partners-div {
  width: 100%;
  padding: 1rem;
  background-color: var(--partners-section-bg-color);
  color: var(--partners-section-text-color);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-contact-div {
  width: 100%;
  height: 7rem;

  display: flex;
  justify-content: space-between;
}

.footer-contact-div a {
  color: var(--dark-gray);
  font-weight: 500;
}

.footer-contacts {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-contacts img {
  height: 60px;
  width: 60px;
}

.left-contact {
  align-items: flex-start;
}

.right-contact {
  align-items: flex-end;
}

.footer img.footer-bg-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contributors-wrapper {
  color: var(--gray);
  font-weight: 500;
}

.contributors-div {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Speakers Page */

.speakers-wrapper {
  width: 100%;
  min-height: 100vh;
  background: #171717;
  color: var(--white);
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 12rem 2rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5rem;
  text-align: left;
}

.page-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.page-title {
  font-size: 2.5rem;
}

.page-description {
  font-size: 1.25rem;
  max-width: 900px;
}

.speakers-grid-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.speakers-session-wrapper {
  width: 300px;

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.speaker-session {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.speaker-session h4 {
  width: 100%;
}

.active {
  background-color: var(--gray);
}

.speaker-session:hover {
  background-color: var(--gray);
}

.speaker-session .session-pill {
  background-color: var(--red);
  color: var(--white);
  width: max-content;
  background-color: var(--red);
  color: var(--white);
  padding: 0.3rem 0.75rem;
  flex-shrink: 0;

  border-radius: 24px;
}

.speakers-grid-wrapper {
  width: 100%;
}

.speakers-grid-panel {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.speakers-grid-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.speakers-grid-item-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.speakers-grid-item:nth-child(odd) .speakers-grid-item-img {
  clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 4% 95%, 7% 6%);
}

.speakers-grid-item:nth-child(even) .speakers-grid-item-img {
  clip-path: polygon(100% 0%, 10% 0%, 0% 100%, 95% 95%, 93% 5%);
}

.speaker-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.speaker-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.speaker-designation {
  font-size: 1.1rem;
  color: var(--week-grid-text-color);
}

.display-none {
  display: none;
}

.display-shown {
  display: grid;
}

.sessions-wrapper {
  width: 100%;
  min-height: 100vh;
  background: #171717;
  color: var(--white);
}

.sessions-wrapper .timings-wrapper kbd {
  font-size: 1rem;
}

.sessions-wrapper .timings-wrapper svg {
  color: var(--white);
}

@media screen and (max-width: 1366px) {
  .hero {
    display: block;
  }

  /* .main-right {
    background-color: var(--black);
    padding: 5rem 0;
  } */

  /* .schedule-phone {
    margin: auto;
  } */

  .schedule-header {
    width: 100%;
  }

  .week-grid {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .footer-div-wrapper {
    padding: 4rem;
  }

  .speakers-wrapper {
    height: auto;
  }

  .page-wrapper {
    padding: 8rem 2rem;
  }

  .speakers-grid-wrapper {
    flex-direction: column;
  }

  .speakers-session-wrapper {
    flex-direction: row;
    width: 100%;

    overflow-x: auto;
  }

  .speaker-session {
    width: max-content;
  }
}

@media screen and (max-width: 768px) {
  .navbar-div-wrapper a {
    font-size: 1rem;
  }

  .sessions-div-wrapper {
    padding: 3.5rem;
  }

  .session-element {
    clip-path: none;
    padding: 2rem;
    gap: 1rem;
    height: auto;
  }

  .footer-div-wrapper {
    padding: 3.5rem;
  }

  .container {
    padding: 1rem;
  }

  .page-wrapper {
    padding: 6rem 2rem;
    gap: 3rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-description {
    font-size: 1.1rem;
  }

  .speakers-grid-wrapper {
    flex-direction: column;
  }

  .speakers-grid-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .black-chatbox,
  .iff-nl-logos-outer,
  .partners-section {
    width: 100%;
  }

  .black-chatbox-svg {
    min-height: 414px;
    width: 100%;
  }

  .schedule-phone {
    width: 100%;
  }

  .iff-nl-logos {
    display: flex;
    justify-content: space-between;
  }

  .partners-section {
    grid-template-columns: 1fr 2fr;
    margin-bottom: 1rem;
    margin-top: 1rem;
  }

  .logo {
    object-fit: contain;
    max-height: 50px;
  }

  .x {
    display: none;
  }

  .schedule-header .week-grid .cell {
    padding: 0.5rem;
  }

  .sessions-div-wrapper {
    padding: 2rem;
    gap: 2rem;
  }

  .footer-div-wrapper {
    padding: 2rem;
  }

  .sessions-div-wrapper svg.red-button {
    max-width: 100%;
    width: 100%;
  }

  .session-element {
    padding: 1.5rem;
  }

  .session-element .session-speakers {
    flex-direction: column;
    gap: 0.5rem;
  }

  .middle-session-element .session-speakers {
    justify-content: flex-end;
  }

  .middle-session-element .session-speakers .mic,
  .middle-session-element .session-speakers .crown {
    justify-content: flex-end;
  }

  .not-session {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .foe-div-wrapper {
    height: 80px;
  }

  .footer {
    gap: 1rem;
  }

  .footer-title-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact-div {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }

  .footer-contacts {
    gap: 1rem;
  }

  .right-contact {
    align-items: flex-start;
  }

  .footer .iff-nl-logos {
    justify-content: space-between;
  }

  .page-wrapper {
    padding: 5rem 2rem;
    gap: 2rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .page-description {
    font-size: 1rem;
  }

  .speakers-grid-panel {
    grid-template-columns: repeat(1, 1fr);
  }

  .speaker-session {
    width: 220px;
  }
}

@media screen and (max-width: 480px) {
  .logo {
    object-fit: contain;
    max-height: 30px;
  }

  .session .body .heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .session .inner-body {
    flex-direction: column;
  }
}
