* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
@font-face {
   font-family: 'MonumentGrotesk-Regular';
   src: url('../type/ABCMonumentGrotesk-Regular.woff');
   src: url('../type/ABCMonumentGrotesk-Regular.woff2');
}

@font-face {
   font-family: 'MonumentGrotesk-Mono';
   src: url('../type/ABCMonumentGroteskSemi-Mono-Regular.woff');
   src: url('../type/ABCMonumentGroteskSemi-Mono-Regular.woff2');
}

@font-face {
  font-family: 'AppleGaramond-Light';
  src: url('../type/AppleGaramond-Light.woff');
}

@font-face {
  font-family: 'AppleGaramond-LightItalic';
  src: url('../type/AppleGaramond-LightItalic.woff');
}

body {
  height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: #121212;
  color: #F2F1EF;
  max-width: 1750px;
  margin: 0 auto;
  overflow-x: hidden;
}
input {
  height: 12px;
  width: 12px;
  appearance: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  cursor: pointer;
}
.tri-state-toggle {
  display: flex;
  justify-content: center;
  align-content: flex-start;
  border-radius: 50px;
  margin: 0rem 1rem 0rem auto;
}
.info {
  position: relative;
  bottom: 0px;
  margin: 2rem;
}
.info-2 {
  position: relative;
  bottom: 0px;
  margin: 0rem 2rem 2rem 2rem;
}
@media only screen and (max-width: 629px) {
	.tri-state-toggle {
	    display: grid !important;
		margin-top: -6px;
	}
	
	.tog {
		padding: 6px 0px;
	}
	
	.tri-state-toggle  .circle {
		margin-top: 1.5px !important;
	}
}

.col-md-4 {
	width: 33%;
}

@media only screen and (max-width: 629px) {
	.col-md-4 {
	width: 100% !important;
	padding-bottom: 1.5rem !important;
	}
	
	.footer {
		display: block !important;
	}
}


#one {
  opacity: 1;
}
.circle {
  height: 14px;
  width: 14px;
  margin: 2px 8px 0 30px;
  border-radius: 20px;
  border: #F2F1EF solid 1px;
}
.dots {
  position: relative;
  bottom: 27.5px;
  left: .35px;
  letter-spacing: -0.75px;
  width: 20px;
  font-family: 'Inter';
  font-weight: 500;
}
.mobile-dots {
  bottom: 27.5px !important;
}
.tog {
  display: inline-flex;
}

.intro {
  display: flex;
}

.library {
	width: 100%;
	padding-bottom: 6px;
}
.library-caption {
	padding: 0 14px 22px 14px;
	line-height: 1.25 !important;
}
.footer {
  padding: 0.5rem 1.5rem 3rem 1.5rem;
  display: flex;
}
/* type styles */
/* h1 not yet used */
h1 {
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 20px;
}
@media only screen and (max-width: 629px) {
	h2 {
		font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 12px;
		font-weight: 400;
		max-width: 400px;
		line-height: 1.75;
		}
}
@media only screen and (min-width: 630px) {
	h2 {
		font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	    font-weight: 200;
		font-size: 24px;
		max-width: 750px;
		line-height: 1.75;
		}
	h7 {
    font-size: 16px !important;
	}
}
h3 {
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 8px;
    font-weight: 600;
    max-width: 700px;
    line-height: 2.5;
    letter-spacing: 2px;
}
h4 {
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 10px;
	line-height: 1.75;
}

h5 {
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 1.25;
	padding: 52px 16px 22px 16px;
	color: #ffffff;
}

h6 {
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
	font-size: 8px;
	line-height: 2;
	letter-spacing: 2px;
	text-transform: uppercase;
}

h7 {
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
    font-size: 10px;
	line-height: 1.5;
}

/* link hover states */
:root {
  --anchor-color: #F2F1EF;
  --anchor-before-bg-color: #F2F1EF;
}

.contact {
  color: var(--anchor-color);
  position: relative;
  text-decoration: none;
}

.contact::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--anchor-before-bg-color);
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .3s ease-in-out;
}

.contact:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}


/* selected text highlight */
::-moz-selection { /* Code for Firefox */
  color: #700909;
  background: #ff0b0b;
}

::selection {
  color: #700909;
  background: #ff0b0b;
}

.gradient-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none; /* Ensure the overlay doesn't block video controls */
			z-index: -1;
        }

button {
	width: 80px;
    height: 26px;
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-radius: 20px;
    border: 1px solid #F2F1EF;
    background-color: transparent;
    justify-content: center;
    align-items: center;
    color: #F2F1EF;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
@media only screen and (max-width: 629px) {
	span button {
		display: inline-block;
		transform: translateY(12px) !important;
	}
}

span button {
	display: inline-block;
    transform: translateY(4px);
}

span button:hover {
    background-color: #F2F1EF;
    color: #121212;
  }


/* Add your CSS styles for the lightboxes and overlay here */

/* Terminal */
.lightbox-container {
  flex-wrap: wrap;
}

/* Define different styles for each lightbox type */
.lightbox {
  width: 300px;
  min-height: 200px;
  margin: 10px;
  border: 1px solid #737373;
  border-radius: 12px;
  box-shadow: 6px 8px 13px rgba(0, 0, 0, 0.2);
  cursor: grab;
  position: absolute;
  background: white;
}

.lightbox-type-1 {
  background-color: rgba(0, 0, 0, 0.8);
  width: 60%; /* Initial width */
  min-width: 300px; /* Minimum width */
  max-width: 450px; /* Maximum width */
  height: 50%; /* Initial height */
  min-height: 100px; /* Minimum height */
  max-height: 350px !important; /* Maximum height */
  overflow: auto; /* Add scrollbars when content exceeds div dimensions */
  resize: both; /* Allow resizing both horizontally and vertically */
}

.lightbox-type-2 {
  background-color: rgba(255, 255, 255, 0.8);
  width: 60%; /* Initial width */
  min-width: 300px; /* Minimum width */
  max-width: 600px; /* Maximum width */
  height: 50%; /* Initial height */
  min-height: 100px; /* Minimum height */
  max-height: 400px !important; /* Maximum height */
  overflow: auto; /* Add scrollbars when content exceeds div dimensions */
  resize: both; /* Allow resizing both horizontally and vertically */
}

.lightbox-type-3 {
  background-color: rgba(255, 255, 255, 1);
  overflow-x: hidden !important;
  width: 60%; /* Initial width */
  min-width: 300px; /* Minimum width */
  max-width: 600px; /* Maximum width */
  height: 80%; /* Initial height */
  min-height: 300px; /* Minimum height */
  max-height: 600px !important; /* Maximum height */
  overflow: auto; /* Add scrollbars when content exceeds div dimensions */
  resize: both; /* Allow resizing both horizontally and vertically */
}

.lightbox-type-4 {
  background-color: rgba(0, 0, 0, 0.8);
  width: 60%; /* Initial width */
  min-width: 300px; /* Minimum width */
  max-width: 350px; /* Maximum width */
  height: 50%; /* Initial height */
  min-height: 200px; /* Minimum height */
  max-height: 400px !important; /* Maximum height */
  overflow: auto; /* Add scrollbars when content exceeds div dimensions */
  resize: both; /* Allow resizing both horizontally and vertically */
}

.lightbox-type-5 {
  background-color: rgba(255, 255, 255, 0.8);
  width: 60%; /* Initial width */
  min-width: 200px; /* Minimum width */
  max-width: 370px; /* Maximum width */
  height: 50%; /* Initial height */
  min-height: 100px; /* Minimum height */
  max-height: 300px !important; /* Maximum height */
  overflow: auto; /* Add scrollbars when content exceeds div dimensions */
  resize: both; /* Allow resizing both horizontally and vertically */
}

/* End of Typeform Redesign */

.popbanner {
  background-color: #F4F4F4;
  border-bottom: 1px solid #737373;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  padding: 8px;
  font-family: 'MonumentGrotesk-Regular', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 200;
  text-align: center;
  position: absolute;
  width: 100%;
}

.slug {
  margin: auto;
  position: relative;
  color: #000000 !important;
  margin: 0 20px;
}

/* Button Styles */
.red-btn {
  height: 14px;
  width: 14px;
  border-radius: 20px;
  border: 1px solid #D04E42;
  background-color: #ED6A5D;
  margin: 2px 10px;
  position: absolute;
  left: 0;
}

/* Interior Content */
.lightbox-content {
  width: 100%; /* Initial width */
  height: 100%; /* Initial height */
  overflow: auto; /* Add scrollbars when content exceeds div dimensions */
}

/* New Styles */
.services-content h4 {
  color: #ffffff;
  padding: 54px 14px 40px 14px;
}

.library-content {
  color: #000000;
  padding-top: 34px;
}

.library-header {
  padding: 10px 14px;
  text-align: center;
  color: #ff0b0b;
  background-color: #fff2db;
  border-bottom: 1px black solid;
  line-height: 1;
}

.library {
  width: 100%;
}

.library-caption {
  font-style: italic;
}

.gray {
  color: #BDBDBD;
}

.inquire-img-1 {
  width: 574px;
}

.inquire-img-2 {
  width: 600px;
  padding-top: 76px;
}

.inquire-iframe {
  width: 100%;
  height: calc(100% - 155px);
  mix-blend-mode: multiply;
  padding: 0px 22px;
}

.about-content h4 {
  color: #000000;
  padding: 54px 14px 40px 14px;
}

a.listen {
	color: #ffffff;
	text-underline-offset: 4px;
}

/* Ensure the lightbox is fully visible within the viewport */
.lightbox-visible {
  max-height: calc(100vh - 40px); /* Leave a small margin from the viewport */
  overflow-y: auto; /* Add vertical scrollbar if content exceeds height */
}

/* Bouncing CTA */
.bounce-preview {
    background-color: #121212;
    overflow: hidden;
    border-radius: 14px;
    margin: 0 1.5rem;
    height: 52vh;
    cursor: pointer;
    position: relative;
  }

.bounce-preview video {
    width: 100%;
	height: 101%;
	object-fit: cover;
	z-index: -1;
  }
  
  #bouncing-button {
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
    display: flex;
    width: 86px;
    height: 28px;
    border-radius: 20px;
    border: 1px solid #F2F1EF;
    background-color: transparent;
    position: absolute;
    justify-content: center;
    align-items: center;
    color: #F2F1EF;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: 
      horizontal 3.5s linear infinite alternate,
      vertical 2.2s linear infinite alternate;
    transition: all 0.3s ease;
	padding-top: 1px;
  }
  
  @keyframes horizontal {
    0% { left: 0px; }
    100% { left: calc(100% - 86px); }
  }
  
  @keyframes vertical {
    0% { top: 0px; }
    100% { top: calc(100% - 28px); }
  }
  
  #bouncing-button:hover {
    background-color: #F2F1EF;
    color: #121212;
    transform: scale(1.02);
  }

/* Clock */
.clock {
  height: 16px;
  color: #F2F1EF;
  font-weight: 300;
  font-size: 18px;
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 16.4px;
  display: flex;
  position: relative;
  width: 78px;
  overflow: hidden;
}

.est {
  color: #F2F1EF;
  font-size: 18px;
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 16.4px;
}

.clock::before, .clock::after {
  content: '';
  width: 92px;
  height: 3px;
  background: linear-gradient(to top, transparent, #121212);
  position: absolute;
  z-index: 2;
}

.clock::after {
  bottom: 0;
  background: linear-gradient(to bottom, transparent, #121212);
}

.clock > div {
  display: flex;
}

.tick {
  line-height: 11px;
}

.tick-hidden {
  opacity: 0;
}

.move {
  -webkit-animation: move linear 1s infinite;
          animation: move linear 1s infinite;
}

@-webkit-keyframes move {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-16px);
  }
}

@keyframes move {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-16px);
  }
}


/* PROJECT GRID STYLES */
.project-container {
  width: 100%;
  padding: .75rem 2rem 0rem 2rem;
}

.header {
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.tiles>.two-tiles {
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
}

.tiles>.two-tiles>.tile {
  display: flex;
  border-radius: 14px;
  height: 525px;
  max-height: 525px;
  background: #fff;
  overflow: hidden;
}

.cover {
  height: 525px;
  max-height: 525px;
}

.cover::before,
.cover.elisa::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.tile .cover .details {
  color: #F2F1EF;
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  position: absolute;
  left: 0;
  padding: 1.5rem;
  bottom: 0;
  z-index: 2;
}

.tile .cover .more {
  color: #F2F1EF;
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  position: absolute;
  right: 0;
  padding: 1.5rem;
  bottom: 0;
  z-index: 2;
}

.tile .title {
  font-size: 32px;
  color: #F2F1EF;
  font-family: 'AppleGaramond-LightItalic', Baskerville, "Times New Roman", "serif";
  z-index: 2;
  position: relative;
}

.featured {
    padding-bottom: 16px;
}

.tile .sub-text {
  font-size: 16px;
  line-height: 1.5;
  position: absolute;
  width: 80%;
  bottom: 4rem;
  color: #F2F1EF;
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
  z-index: 2;
}

.tile .upper-sub-text {
  font-size: 16px;
  line-height: 1.5;
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.5rem;
  width: 70%;
  max-width: 500px;
  color: #F2F1EF;
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
  z-index: 2;
}

@media only screen and (max-width: 629px) {
	.tile .sub-text {
	    font-size: 12px;
		font-weight: 400;
	}
	.tile .upper-sub-text {
	    font-size: 12px;
		font-weight: 400;
	}
}

.cover.elisa {
  background-image: url('../img/aod-case_elisa.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  position: relative;
}

.video-cover {
  position: relative;
  overflow: hidden;
}

.video-cover video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-title>div {
  text-align: center;
}

/* Grid System */
.col-4 {
	-ms-flex: 0 0 31%;
	flex: 0 0 31%;
	width: 31%;
}
.col-5 {
	-ms-flex: 0 0 40%;
	flex: 0 0 40%;
	width: 40%;
}
.col-6 {
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	width: 50%;
}
.col-7 {
	-ms-flex: 0 0 57%;
	flex: 0 0 57%;
	width: 57%;
}
.col-8 {
	-ms-flex: 0 0 67.5%;
	flex: 0 0 67.5%;
	width: 67.5%;
}
.col-12 {
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	width: 100%;
}

.p10 {
  padding: 1.5rem;
}

/* Media Queries */
@media only screen and (max-width: 629px) {
  .tiles > .two-tiles {
    flex-direction: column;
  }
  
  .two-tiles .tile + .tile {
    margin-left: 0px;
    margin-top: 26px;
  }
	
  .col-s-12 {
	-ms-flex: 0 0 100%;
	flex: 0 0 100% !important;
	width: 100% !important;
  }
  .container {
	width: 80%;
  }
}

@media only screen and (max-width: 800px) {
  .tile .upper-sub-text {
    width: 86% !important;
    bottom: 4rem !important;
    top: auto;
    right: auto;
    padding: 0px;
  }
}

.coming-soon-button {
  display: none;
  position: absolute;
  pointer-events: none;
  width: 120px;
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-radius: 20px;
  border: 1px solid #F2F1EF;
  background-color: transparent;
  justify-content: center;
  text-align: center;
  color: #F2F1EF;
  z-index: 4;
  font-size: 8px;
  line-height: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 10px;
}