.session {
  background-color: var(--nerd-mustard);
  background-image: linear-gradient(to right, hsl(0deg 0% 0% / 15%), hsl(0deg 0% 0% / 15%) 20px, var(--nerd-mustard) 20px, var(--nerd-mustard));
  background-size: 40px 100%;
  border: 2rem solid var(--nerd-mustard);
  margin-block-start: -5px;
  overflow: clip;
  padding: 2rem;
  position: relative;
}
.session::before {
  background: url(../img/texture-3.png) repeat;
  background-size: 80%;
  content: "";
  mix-blend-mode: overlay;
  opacity: .7;
  pointer-events: none;
  position: absolute;
  top: -2rem;
  left: -2rem;
  height: calc(100% + 4rem);
  width: calc(100% + 4rem);
}

.session .flex-wrapper {
  align-items: flex-start;
  gap: 2rem;
}

.session-col-left {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.session h2 {
  color: black;
  font-size: 3.8rem;
  hyphens: manual;
  margin-block-start: 1rem;
}
.mapamundi {
  margin: 4rem 0 0 4rem;
  mix-blend-mode: multiply;
}
.session-col-right {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 700px;
}
.session-box {
  color: black;
  font-family: var(--title-font);
  line-height: 1;
  text-align: center;
}
.session-info-title {
  background-color: var(--nerd-yellow);
  clip-path: polygon(3% 6%, 96% 0%, 99% 95%, 0 96%);
  line-height: 1;
  margin: auto;
  padding: .5rem 0 .5rem 2rem;
  width: fit-content;
}
.session-info-title span {
  clip-path: polygon(3% 6%, 96% 0%, 99% 95%, 0 96%);
  margin: 0 1rem;
  padding: .5rem 1.5rem;
}
.INFRASTRUCTURE { background-color: var(--nerd-blue) }
.NERD { background-color: var(--nerd-purple); color: white; }
.DATASCIENCE-AI { background-color: var(--nerd-mustard) }
.MANAGEMENT { background-color: var(--nerd-lightblue) }
.SOFTSKILLS { background-color: var(--nerd-orange) }
.DEVELOPMENT { background-color: var(--nerd-red) }
.OPEN.SOURCE { background-color: var(--nerd-lightgreen) }
.KIDS { background-color: var(--nerd-mustard) }
.SECURITY { background-color: var(--nerd-dark-blue); color: white; }
.UX { background-color: var(--nerd-gray) }
.TESTING { background-color: var(--nerd-green) }

.session-info-title p { 
  color:black; 
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 -1rem 0 0;
}
.session-speaker h3 { margin: 1rem 0;}
.session-speaker h3 a { color: var(--nerd-dark-blue); transition: color .2s; }
.session-speaker h3 a:hover { color: black;}
.session-box .session-info {
  background-color: var(--nerd-mustard);
  box-shadow: inset 0px 0px 0px 15px #c16e00;
  clip-path: polygon(0.4% 1%, 99.15% 0.27%, 99.77% 100.09%, 0.96% 99%);
  max-width: 150ch;
  min-height: 110px;
  padding: 16px 32px;
  margin: 1.2rem auto;
}
.session-box .session-info:last-of-type { margin-block-end: 3rem; }
.session-box .session-info + .session-info {
  background: none;
  box-shadow: none;
}
.session-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.session-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-block-end: 3rem;
}
.session-tag {
  background-color: var(--nerd-yellow);
  font-weight: bold;
  margin: 0;
  font-size: 1.2em;
  padding: .3rem .5rem;
}
.session-box .session-info a { color: initial; }
.session-box .btn-wrapper .btn {
  padding: 1em;
  margin-top: 1em;
}

.session-info h3 { margin-block: -.1rem .2rem; }
.session-info p {
  font-family: var(--text-font);
  text-transform: none;
  font-size: 1.2rem;
  line-height: 1.3;
  opacity: .8;
  text-align: left;
}
.session-pic {
  background: #ff8e0082 url(../img/texture-paper.png) no-repeat center left;
  background-size: 504px;
  clip-path: polygon(-10px 5px, 500px 0px, 500px 292px, -13px 292px);
  filter: drop-shadow(2px 2px 3px #663a06);
  margin-top: 10%;
}
.session-pic-img {
  height: auto;
  padding: .8rem .5rem;
  max-width: 500px;
  width: 100%;
}
.caution {
  left: 0;
  top: 0;
  width: 80px;
}
.mapamundi {
  position: absolute;
  bottom: -2rem;
  right: 0;
  animation: opacityIn ease-out forwards;
  animation-timeline: view();
  animation-range: 0 50%;
  will-change: opacity;
}
.sponsor-logo-session {
  background-color: var(--nerd-yellow);
  clip-path: polygon(3% 6%, 96% 0%, 99% 95%, 0 96%);
  padding: 1rem 2rem;
  max-width: 15em;
  margin: 0 auto;
}

@media screen and (max-width: 64em) /* 1024 */ {
  .session h2 { font-size: 2.8rem;}
  .mapamundi {
    position: absolute;
    top: 10rem;
    right: 0;
    height: auto;
    width: 140px;
  }
  .caution { 
    position: absolute; 
    left: 0px;
    top: 0;
    width: 80px;
  }
}
@media screen and (max-width: 56.24em) {
  .session-wrapper {
      margin-block-start: 7rem;
  }
}
@media screen and (max-width: 40em) /* 600px */{
  .session { border-width: 1rem; padding: 2rem 0; }
  .session h2 { font-size: 2.4rem;}
  .mapamundi { display: none; }
  .session-col-right {
    gap: 1rem;
    justify-content: center;
  }
  .session-info-title {
    padding: .5rem; 
    width: 100%; 
  }
  .session-speaker h3 { font-size: 1.4rem; letter-spacing: 0; }
  .session-info-title span { display: block; }
  .session-pic { margin-top: 0; }
}
