@font-face {
  font-family: 'Work Sans';
  src: url('/font/WorkSans-VariableFont_wght.ttf') format('truetype');
}

/* Base styles */
:root {
  --main-bg: rgb(44, 50, 53);
  --text-color: white;
  --accent-color: #000;
  --side-margin: 3%;
}

body {
  margin: 0;
  background-color: var(--main-bg);
  background-color: var(--main-bg);
  color: var(--text-color);
  font-family: 'Work Sans', sans-serif;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.menu,
.logo {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  z-index: 1000;
}

.menu {
  top: 0;
  display: flex;
  gap: 10px;
  padding: 10px;
  font-size: 20px;
  font-weight: 100;
}

.menu span {
  color: var(--text-color);
}

.logo {
  bottom: 20px;
}

.logo img {
  height: 70px;
}

.page {
  position: relative;
  padding: 0;
}

.tall-image {
  width: 100%;
  height: 300vh;
  object-fit: cover;
}

.full-width,
.swappableImageContainer,
#swapImage,
#swapImageMobile {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
  position: relative;
}

.vertical-line {
  position: absolute;
  left: var(--side-margin);
  width: 1px;
  background-color: var(--text-color);
  bottom: 0;
  z-index: 1;
}

.offset-2 {
  top: 3%;
}

.full-top {
  top: 0;
}

.section-title {
  position: absolute;
  top: 3%;
  left: calc(var(--side-margin) + 10px);
  z-index: 2;
  margin: 0;
  padding: 0;
  font-size: 28px;
  font-weight: 300;
}

.split {
  display: flex;
  align-items: center;
  gap: 0px;
  padding: 40px;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split img {
  width: 50%;
  object-fit: contain;
}

.split video {
  width: 50%;
  object-fit: contain;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 50px;
}

.text-block,
.text-block-thin,
.text-block-home,
.text-block-contact {
  flex: 1;
}

.text-block {
  text-align: center;
  font-size: 28px;
  font-weight: 300;
}

.text-block-home {
  text-align: center;
  font-size: 32px;
  font-weight: 300;
}

.text-block-thin {
  font-size: 22px;
  font-weight: 100;
}

.text-block-tiny {
    font-size: 7px;
	font-weight: 300;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  height: 100vh;
}

.grid-item,
.column {
  display: flex;
  justify-content: center;
}

.grid-item {
  align-items: center;
}

.columns-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100vh;
}

.column,
.design-steps-column {
  align-items: top;
}

.design-steps-page-layout {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.design-steps-top-block {
  height: 10%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding: 20px;
  font-size: 26px;
  font-weight: 100;
  margin-left: var(--side-margin);
}

.design-steps-columns-block {
  height: 90%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-left: var(--side-margin);
}

.design-steps-column {
  display: flex;
  justify-content: left;
  flex-direction: column;
  padding: 20px;
  font-size: 22px;
  font-weight: 100;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  cursor: none;
  width: 80px;
  height: 80px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  will-change: transform;
}

#videoPlayer {
  display: block;
  margin: 0 auto;
  background-color: var(--accent-color);
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.overlay-text {
  position: absolute;
  top: 23%;
  left: 69%;
  color: var(--text-color);
  font-size: 18px;
  font-weight: 100;
  padding: 6px 12px;
  border-radius: 4px;
  pointer-events: none;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  width: 50%;
  margin: 0 auto;
  gap: 10px;
  padding: 20px;
}

form input,
form textarea,
form button {
  width: 100%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-color);
  font-size: 18px;
  text-transform: uppercase;
}

form button {
  cursor: pointer;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.social-links img {
  width: 40px;
  height: 40px;
}

/* Visibility control */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {

	.text-block {
	  font-size: 16px;
	}
	
	.text-block-thin {
	  font-size: 14px;
	  font-weight: 300;
	}
	
	.section-title {
	  top: 5%;
	  font-size: 22px;
	}
	
	.vertical-line {
	}

	.offset-2 {
	  top: 5%;
	}
	
	.menu {	 
	  font-size: 16px;
	  font-weight: 300;
	}
	
	.split {
	  padding: 10px;
	}
	
	.overlay-text {
	  top: 23%;
	  left: 68%;
	  font-size: 16px;
	  font-weight: 300;
	}

}
/* Mobile layout */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .menu {
    font-size: 12px;
    font-weight: 300;
  }

  .section-title {
    top: 3%;
    left: calc(7% + 10px);
    font-size: 20px;
    z-index: 1;
  }

  .vertical-line {
    left: 7%;
    width: 0.5px;

  }

  .text-block {
    font-size: 16px;
    margin-left: 7%;
  }
  
  .text-block-home {
    font-size: 24px;
    margin-left: 7%;
  }

  .text-block-contact {
    font-size: 14px;
    margin-left: 7%;
  }

  .text-block-thin {
    font-size: 14px;
    margin-left: 7%;
	font-weight: 300;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    margin-left: 7%;
  }

  .social-links img {
    width: 35px;
    height: 35px;
  }

  .offset-2 {
    top: 3%;
  }

  .split {
    flex-direction: column;
    padding: 10px;
  }

  .mobile-title {
    position: static;
    margin: 20px 10px;
    text-align: left;
  }

  form {
    width: 90%;
  }

  .screen-height {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .logo {
    bottom: 0;
  }

  .logo img {
	display: block;
    height: 60px;
  }
  
  .overlay-text {
	  top: 23%;
	  left: 65%;
	  color: var(--text-color);
	  font-size: 7px;
	  font-weight: 300;
	  pointer-events: none;
	}
	
	.image-wrapper {
	  position: relative;
	  display: inline-block;
	}
	
	#videoPlayer {
	  display: block;
	  width: 100%;
	  height: auto;
	  margin: 0 auto;
	}
	
	#videoMobile {
	  display: block;
	  width: 100%;
	  height: auto;
	  margin: 0 auto;
	}
	
}
