/* 
  Import Fonts 
*/
@font-face {
  font-family: "Hamlin-Regular";
  src: local("Arial"), url("/assets/fonts/Hamlin-Regular.otf");
  font-display: swap;
}

@font-face {
  font-family: "Hamlin-Light";
  src: local("Arial"), url("/assets/fonts/Hamlin-Light.otf");
  font-display: swap;
}

@font-face {
  font-family: "Hamlin-extra-bold";
  src: local("Arial"), url("/assets/fonts/Hamlin-ExtraBold.otf");
  font-display: swap;
}

@font-face {
  font-family: "Hamlin-bold";
  src: local("Arial"), url("/assets/fonts/Hamlin-Bold.otf");
  font-display: swap;
}

@font-face {
  font-family: "roxboroughcf-bold";
  src: local("sans-serif"), url("/assets/fonts/roxboroughcf-bold.otf");
  font-display: swap;
}

/*
  Variables
*/
:root {
  --white: #f7f7f7;
  --green: #7be2bc;
  --pink: #ce94e7;
  --navy: #1d3043;
  --black: #1c2435;
  --lin-green: linear-gradient(
    90deg,
    rgba(123, 226, 188, 0) 0%,
    rgba(123, 226, 188, 1) 12%,
    rgba(123, 226, 188, 1) 88%,
    rgba(123, 226, 188, 0) 100%
  );
}

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

html,
body {
  overflow: hidden;
  font-size: 16px;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: underline;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  transform: scale(1.5);
  z-index: -2;
}

.bg .bg-image {
  background-image: url("/assets/images/bg-image-c.webp"), url("/assets/images/bg-image-c.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
  height:100%;
  width: 100%;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 750px;
  width: 90%;
}

main .content-wrapper .image-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  font-size: 3em;
  color: var(--white);
  position: relative;
}

main .content-wrapper .image-wrapper h1 {
  font-weight: 100;
  font-family: "roxboroughcf-bold", Arial, sans-serif;
  margin-top: 152px;

  /* animation props */
  opacity: 0;
  transform: translate(-200%, 0);
}
main .content-wrapper .image-wrapper h2 {
  font-weight: normal;
  font-family: "Hamlin-Light", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.65em;
  letter-spacing: 0.65em;
  margin-top: -10px;

  /* animation props */
  opacity: 0;
  transform: translate(200%, 0);
}

main .content-wrapper .image-wrapper object {
  aspect-ratio: 1/1;

  /* animation props */
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 452px;
  z-index: 2;
}

main .content-wrapper .sub-heading-wrapper {
  margin-top: 80px;
  text-transform: uppercase;
  text-align: right;
  color: var(--pink);
  letter-spacing: 1.5pt;
}

.tag-line {
  font-weight: normal;
  font-size: 1.5em;
  font-family: "Hamlin-bold", Arial, sans-serif;
}
.tag-line span {
  position: relative;
  top: 10px;
  left: 10px;
  opacity: 0;
  animation: fade 400ms ease-in-out forwards;
}
@keyframes fade {
  0% {
    top: 10px;
    left: 10px;
    opacity: 0;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    top: 0px;
    left: 0px;;
    opacity: 1;
  }
}

.footer {
  width: 90%;
  max-width: 1600px;
  min-height: 50px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  color: var(--white);
  position: relative;
  z-index: 1;
  font-size: 11px;
  gap: 1em;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.footer div p {
  font-family: "Hamlin-light", Arial, sans-serif;
  transform: translateY(17px);
  letter-spacing: 1.3pt;
}

.footer div p strong {
  font-family: "Hamlin-extra-bold", Arial, sans-serif;
  font-weight: normal;
  color: var(--green)
}

.footer div {
  height: 17px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  main {
    height: calc(90vh - 78px);
  }

  main .content-wrapper .sub-heading-wrapper {
    font-size: 14px;
    margin-top: 22px;
  }
  .footer {
    flex-direction: column;
    padding-bottom: 2em;
  }

  main .content-wrapper .image-wrapper {
    font-size: 1.7em;
  }

  main .content-wrapper .image-wrapper object {
    width: 252px;
  }
}

@media screen and (max-width: 1024px) {
  main .content-wrapper .sub-heading-wrapper {
    margin-top: 30px;
    font-size: 14px;
  }
}

.wave-svg {
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
  top: -2%;
  left: 0;
}

#sineWaveGroup {
  transform: translateY(120px);
}

#line {
  stroke-width: 0;
  stroke: transparent;
}

.wave {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--green);
  z-index: 99;
}
