*,
*::after,
*::before {
  box-sizing: border-box;
}

:root {
  font-size: 15px;
}
#mainBay {
  width: 100%;
  margin: 0px;
  position: relative;
  top: 0px;
  max-width: 0px;
  min-height: 0px;
}

body {
  margin: 0;
  --color-text: #111;
  --color-bg: #f8ecde;
  --color-link: #b19e7f;
  --color-link-hover: #000;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: sofia-pro, sans-serif;
}

/* Grainy texture animation by Geoff Graham https://css-tricks.com/snippets/css/animated-grainy-texture/ */

main::before {
  animation: grain 8s steps(10) infinite;
  background-image: url(../img/noise.png);
  content: "";
  height: 300%;
  left: -50%;
  opacity: 0.6;
  position: fixed;
  top: -100%;
  width: 200%;
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -10%);
  }
  20% {
    transform: translate(-15%, 5%);
  }
  30% {
    transform: translate(7%, -25%);
  }
  40% {
    transform: translate(-5%, 25%);
  }
  50% {
    transform: translate(-15%, 10%);
  }
  60% {
    transform: translate(15%, 0%);
  }
  70% {
    transform: translate(0%, 15%);
  }
  80% {
    transform: translate(3%, 35%);
  }
  90% {
    transform: translate(-10%, 10%);
  }
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
}

a:hover,
a:focus {
  color: var(--color-link-hover);
  outline: none;
}

.frame {
  padding: 3rem 5vw;
  text-align: center;
  position: relative;
  z-index: 900;
  line-height: 1;
}

.frame__title {
  font-size: 1rem;
  margin: 0 0 1rem;
  font-weight: 400;
}

.frame__links {
  display: inline;
}

.frame__links a:not(:last-child),
.frame__demos a:not(:last-child) {
  margin-right: 1rem;
}

.frame__demos {
  margin: 1rem 0;
}

.frame__demo--current,
.frame__demo--current:hover {
  color: var(--color-text);
}

.menu {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 1vh 0 25vh;
  --marquee-width: 100vw;
  --offset: 20vw;
  --move-initial: calc(-25% + var(--offset));
  --move-final: calc(-50% + var(--offset));
  --item-font-size: 8vw;
  counter-reset: menu;
  color: ghostwhite;
}

.menu__item {
  color: ghostwhite;
  cursor: default;
  position: relative;
  padding: 0 3vw;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
section,
summary {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden] {
  display: none;
}
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
a:focus {
  outline: thin dotted;
}
a:active,
a:hover {
  outline: 0;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
mark {
  background: #ff0;
  color: #000;
}
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}
pre {
  white-space: pre-wrap;
}
q {
  quotes: "\201C""\201D""\2018""\2019";
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 0;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}
button,
input {
  line-height: normal;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
  vertical-align: top;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*,
*::after,
*::before {
  box-sizing: border-box;
}

:root {
  font-size: 14px;
}

html,
body {
  height: 100%;
}

body {
  --color-text: #252528;
  --color-bg: #afb6bc;
  --color-link: #252528;
  --color-link-hover: #252528;
  --color-menu-text: #252528;
  --color-bg-move: #afb6bc;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: fieldwork-hum, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  align-items: center;
}

.js main {
  overflow: hidden;
}

.cursor {
  display: none;
}

/* Page Loader */
.js .loading::before {
  content: "";
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
}

.js .loading::after {
  content: "";
  position: fixed;
  z-index: 100000;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.4;
  background: var(--color-link);
  animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
  to {
    opacity: 1;
    transform: scale3d(0.5, 0.5, 1);
  }
}

a {
  text-decoration: none;
  color: var(--color-link);
}

a:hover,
a:focus {
  color: var(--color-link-hover);
  outline: 0;
}

.frame {
  padding: 1rem;
  text-align: center;
  position: relative;
  z-index: 1000;
  grid-area: 1 / 1 / 2 / 2;
  align-self: start;
}

.frame__title {
  font-size: 1rem;
  margin: 0 0 1rem;
}

.frame__links {
  display: inline;
}

.frame__github,
.frame__links a:not(:last-child),
.frame__demos a:not(:last-child) {
  margin-right: 1rem;
}

.frame__demos {
  margin: 1rem 0;
}

.frame__demo--current,
.frame__demo--current:hover {
  color: var(--color-text);
}

.content,
.content__move {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  align-items: center;
  grid-area: 1 / 1 / 2 / 2;
  justify-self: center;
  position: relative;
  will-change: transform;
}

.content--first {
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}

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

.columns {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 100%;
  grid-gap: 1.5rem;
  padding: 0 8vw;
}

.column {
  position: relative;
  align-self: start;
  will-change: transform;
}

.column--bottom {
  align-self: end;
}

.column__img {
  width: 100%;
  display: block;
  opacity: 0.4;
  background-size: cover;
  background-position: 50% 50%;
  height: 25vw;
}

.column__img:nth-child(odd) {
  height: 30vw;
}

.column__img:not(:last-child) {
  margin-bottom: 1.5rem;
}

.menu {
  grid-area: 1 / 1 / 2 / 2;
  width: 100vw;
  height: 100vh;
  padding: 15vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.menu__item {
  display: flex;
  font-weight: 800;
  font-size: 16vw;
  line-height: 1.1;
  cursor: pointer;
  padding-bottom: 1rem;
  -webkit-text-stroke: 2px var(--color-menu-text);
  text-stroke: 2px var(--color-menu-text);
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  color: transparent;
}

.menu__item:hover {
  -webkit-text-fill-color: var(--color-menu-text);
  text-fill-color: var(--color-menu-text);
  color: var(--color-menu-text);
}

.item {
  position: relative;
}

.js .item {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  pointer-events: none;
}

.js .item--current {
  opacity: 1;
  pointer-events: auto;
}

.item__img {
  height: 300px;
  width: 100%;
  flex: none;
  background-size: cover;
  background-position: 50% 25%;
  opacity: 0.4;
}

.item__content {
  padding: 2rem;
  height: calc(100vh - 300px);
  overflow: auto;
}

.item__content-title {
  font-size: 2.5rem;
  margin: 0;
  line-height: 1.2;
  pointer-events: none;
}

.menu__item span,
.item__content-title span {
  display: inline-block;
  white-space: pre;
  pointer-events: none;
  will-change: transform;
}

.item__content-subtitle {
  font-weight: normal;
  margin: 0;
  font-size: 1.5rem;
}

.item__content-text {
  margin: 10vh 0 4rem 0;
  position: relative;
  line-height: 1.5;
}

.item__content-text::after {
  content: "";
  width: 2rem;
  height: 2px;
  position: absolute;
  background: currentColor;
  top: calc(100% + 3rem);
}

.item__content-back {
  cursor: pointer;
}

@media screen and (min-width: 53em) {
  .frame {
    position: fixed;
    text-align: left;
    z-index: 10000;
    top: 0;
    left: 0;
    display: grid;
    align-content: space-between;
    width: 100%;
    max-width: none;
    height: 100vh;
    padding: 3rem 4rem;
    pointer-events: none;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "title ..."
      "... ..."
      "links links";
  }
  .frame__title-wrap {
    grid-area: title;
    display: flex;
  }
  .frame__title {
    margin: 0;
    font-weight: normal;
  }
  .frame__links {
    grid-area: links;
    padding: 0;
    justify-self: end;
  }
  .frame a {
    pointer-events: auto;
  }
  .menu__item {
    font-size: 13vh;
  }
  .item {
    height: 100%;
    width: 100%;
    display: flex;
  }
  .item__img {
    height: 100%;
    width: 45%;
    background-position: 50% 50%;
  }
  .item__content {
    padding: 15vh 12vw 0 8vw;
    height: calc(100% - 12rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: visible;
  }
  .item__content-title {
    font-size: 5vw;
  }
  .item__content-subtitle {
    font-size: 2vw;
  }
  .item__content-text {
    margin-bottom: 0;
  }
}

@media (any-pointer: fine) {
  .cursor {
    display: block;
  }
  .cursor__inner {
    z-index: 9999;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    mix-blend-mode: difference;
    border-radius: 50%;
  }
  .cursor__inner--circle {
    width: 25px;
    height: 25px;
    border: 1px solid #fff;
  }
}

h1 {
  font-size: 44px;
  color: #6495ed;
  text-align: center;
  margin: 20px 0;
}

h3 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
}

.section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.section div {
  width: 16%;
  text-align: center;
  margin-bottom: 0;
}

.section div a {
  font-size: 30px;
  color: #000;
  text-decoration: none;
}

.section div a:hover {
  color: #6495ed;
}

.section div p {
  margin-top: 5px;
  font-size: 16px;
}

.highlight {
  font-weight: bold;
}
/* Remove any margin or padding that might create space */
.page-section,
.wp-caption {
  margin: 10px;
  padding: 0;
}
.wp-caption {
  text-align: center; /* Center the image and caption */
  max-width: 100%; /* Ensure responsiveness */
  display: block; /* Block layout */
  position: relative; /* Allows vertical positioning */
  top: -50%; /* Moves image upwards, adjust as needed */
}

.wp-caption img {
  max-width: 100%; /* Ensure the image is responsive */
  height: auto; /* Keep aspect ratio */
  margin-top: -10%; /* Remove top spacing */
}

.wp-caption-text {
  font-size: 14px; /* Caption size */
  color: #555; /* Dark grey text */
  margin-top: 0; /* No extra space */
}

/* Ensure no space between service section and image */
#services {
  margin-bottom: 0; /* Remove extra spacing */
}

/* Additional styles for the icon size */
.Service-icons {
  font-size: 50px; /* Make icons larger */
}

.portfolio-item {
  position: relative;
  background-color: transparent;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  gap: 20px;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5); /* Overlay for background color */
}

.portfolio-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: center;
  color: white;
}

.portfolio-caption-heading {
  font-size: 24px;
  font-weight: bold;
  background-color: transparent;
}

.portfolio-caption-subheading {
  font-size: 32px;
  margin-bottom: 15px;
  color: white;
}

.btn-transparent-white {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-transparent-white:hover {
  background-color: white;
  color: #333;
  border-color: #333;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.custom-btn {
  background-color: #5755b1;
  border-radius: 25px;
  /*Rounderedges*/
  transition: transform 0.2s ease;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
}

.custom-btn:hover {
  animation: bounce 0.6s infinite ease-in-out;
}
figure {
  position: absolute; /* Makes it float above other elements */
  top: 50%; /* Adjust as needed to place it in the middle */
  left: 50%; /* Centers it horizontally */
  transform: translate(-50%, -50%); /* Ensures perfect centering */
  z-index: 9999; /* Keeps it on top of everything */
  pointer-events: none; /* Prevents it from blocking clicks */
}

figure img {
  max-width: 100%; /* Ensures it remains responsive */
  height: auto;
}
/* Style the dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Change the icon color when hovered */
.Service-icons {
  transition: color 0.3s ease; /* Smooth color transition */
}

.Service-icons:hover {
  color: #6ad97b; /* Change color on hover */
}

.slider {
  position: relative;
  max-width: 80%;
  margin: auto;
  overflow: hidden;
}

.slide-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  justify-content: center;
  align-items: center;
}

.slide {
  flex: 0 0 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.slide img {
  width: 80%;
  max-width: 150px;
  height: auto;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
  border-radius: 50%;
  user-select: none;
}

.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 1);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
/* General Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, #fff, #fff);
  overflow: hidden;
}

.container {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-column {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0.4; /* Make images semi-transparent */
  z-index: 1; /* Place images behind the form */
}

.image-column .column__img1 {
  width: 120px; /* Set a fixed width */
  height: 120px; /* Set a fixed height */
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
  object-fit: cover; /* Ensure images maintain zoom and fill the space */
}

.form-column {
  position: relative;
  z-index: 2; /* Place form in front of images */
  background: #fff;
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
}

.wrapper .title-text {
  display: flex;
  width: 200%;
}

.wrapper .title {
  width: 50%;
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.slide-controls {
  position: relative;
  display: flex;
  height: 50px;
  width: 100%;
  overflow: hidden;
  margin: 30px 0 10px 0;
  justify-content: space-between;
  border: 1px solid lightgrey;
  border-radius: 5px;
}

.slide-controls .slide {
  height: 100%;
  width: 100%;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 48px;
  cursor: pointer;
  z-index: 1;
  transition: all 0.6s ease;
}

.slide-controls .slider-tab {
  position: absolute;
  height: 100%;
  width: 50%;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  background: linear-gradient(to right, #5755b1, #5755b1);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

input[type="radio"] {
  display: none;
}

#signup:checked ~ .slider-tab {
  left: 50%;
}

#signup:checked ~ label.signup {
  color: #fff;
  cursor: default;
  user-select: none;
}

#signup:checked ~ label.login {
  color: #000;
}

#login:checked ~ label.signup {
  color: #000;
}

#login:checked ~ label.login {
  cursor: default;
  user-select: none;
}

.form-container {
  width: 100%;
  overflow: hidden;
}

.form-inner {
  display: flex;
  width: 200%;
}

.form-inner form {
  width: 50%;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-inner form .field {
  height: 50px;
  width: 100%;
  margin-top: 20px;
}

.form-inner form .field input {
  height: 100%;
  width: 100%;
  outline: none;
  padding-left: 15px;
  border-radius: 5px;
  border: 1px solid lightgrey;
  border-bottom-width: 2px;
  font-size: 17px;
  transition: all 0.3s ease;
}

.form-inner form .field input:focus {
  border-color: #12e8f0;
}

.form-inner form .field input::placeholder {
  color: #999;
  transition: all 0.3s ease;
}

form .field input:focus::placeholder {
  color: #b3b3b3;
}

.form-inner form .pass-link {
  margin-top: 5px;
}

.form-inner form .signup-link {
  text-align: center;
  margin-top: 30px;
}

.form-inner form .pass-link a,
.form-inner form .signup-link a {
  color: #0e45dd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-inner form .pass-link a:hover,
.form-inner form .signup-link a:hover {
  text-decoration: underline;
}

form .btn {
  height: 50px;
  width: 100%;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

form .btn .btn-layer {
  height: 100%;
  width: 300%;
  position: absolute;
  left: -100%;
  background: linear-gradient(to right, #5755b1, #5755b1, #5755b1, #5755b1);
  border-radius: 5px;
  transition: all 0.4s ease;
}

form .btn:hover .btn-layer {
  left: 0;
}

form .btn input[type="submit"] {
  height: 100%;
  width: 100%;
  z-index: 2;
  position: relative;
  background: none;
  border: none;
  color: #fff;
  padding-left: 0;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}

.error-msg {
  color: red;
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

.invalid {
  border: 1px solid red;
}

.highlight {
  font-family: "Raleway", sans-serif;
  font-weight: bold;
}
/* ----------------------------------------------------------------------------------------------------------*/
