@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/Poppins-Regular.ttf");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/Poppins-Bold.ttf");
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/Poppins-Black.ttf");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/Poppins-ExtraBold.ttf");
  font-weight: 800;
  font-display: swap;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: white;
}
body {
  margin: 0;
  font-family: Roboto, "Helvetica Neue", sans-serif;
}

h1 {
  font-family: "Poppins";
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: #6c757d;
}

h2 {
  font-family: "Poppins";
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.25;
}

h3 {
  font-family: "Poppins";
  font-size: 1.45rem;
  font-weight: 500;
}

p {
  font-family: "Poppins";
  font-size: 1.25rem;
  font-weight: normal;
  line-height: 1.5;
  color: #6c757d;
}

p.dark {
  color: #54595e;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4/5;
  background: url("/assets/images/hero-image.webp") no-repeat center center;
  background-size: contain;
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.slick-slide {
  margin: 0 15px;
}

.slick-list {
  margin: 0 -15px;
}

.action-button {
  background-color: #bd925c;
  border-radius: 15px;
  color: white;
  font-family: "Poppins";
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  border: none;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.action-button mat-icon {
  margin-left: 1.5rem;
}

h2 {
  font-family: "Poppins";
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.25;
}

.about-wrapper {
  width: 100%;
  padding-bottom: 4.5rem;
  padding-top: 1.5rem;
  background-color: white;
  /* background: url("/assets/images/background-about.webp"); */
  background-position-x: center;
  background-position-y: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-image {
  width: 100%;
  height: 100%;
  padding: 1rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(1.25rem);
  backdrop-filter: blur(1.25rem);
  --media-hightlight-padding: 1.5rem;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  /* Make it in the center vertically */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

@media screen and (max-width: 1200px) {
  .about-image img {
    width: 100%;
    border-radius: 15px;
    position: relative;
    display: block;
  }
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 50/9;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  background-size: cover;
}

#myVideo {
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .video-wrapper {
    aspect-ratio: 25/9;
  }

  #myVideo {
    object-fit: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
  }
}

@media screen and (max-width: 576px) {
  .video-wrapper {
    aspect-ratio: 16/9;
  }
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.service-image {
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(1.25rem);
  backdrop-filter: blur(1.25rem);
  --media-hightlight-padding: 1.5rem;
  position: relative;
}

.project-image-wrapper {
  aspect-ratio: 16/9;
  width: 100%;
}

.project-image-wrapper .project-image {
  width: 100%;
  height: 100%;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  background-size: 100% 100%;
  background-position: center;
  transition: 0.3s all ease;
}

.project-image-wrapper:hover .project-image {
  /* Zoom background image */
  background-size: 110% 110%;
}

/* Change cursor when hovering to .card */
.project-image-wrapper:hover {
  cursor: url("../assets/images/miscellaneous/cursor.png"), auto;
}

.animated-button {
  color: #74777f;
  font-family: "Poppins";
  border-radius: 5px;
  background-color: transparent;
  border: 1px solid #74777f;
  padding-left: 12px;
  padding-right: 12px;
  cursor: pointer;
  margin: 5px;
}

.animated-button.active {
  border: 1px solid #dae2f9;
  background-color: #dae2f9;
}

.animated-button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.animated-button span:before {
  content: "\2714";
  position: absolute;
  opacity: 0;
  top: 0;
  left: -20px;
  transition: 0.5s;
}

.animated-button.active span:before {
  opacity: 1;
  left: 0;
}

.animated-button.active span {
  padding-left: 25px;
}

.service-subtitle {
  font-family: "Poppins";
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.tech-stack__wrapper {
  width: 100%;
  display: flex;
  padding: 1rem;
  border-radius: 15px;
}

.tech-carousel {
  width: 100%;
}

.tech-carousel img {
  width: 100%;
  /* color filter to make the image black and white */
  filter: grayscale(100%);
  transition: 0.3s all ease;
}

.tech-carousel img:hover {
  filter: grayscale(0%);
  transition: 0.3s all ease;
}

.project-p {
  font-family: "Poppins";
  font-size: 1rem;
  line-height: 1.75rem;
  color: #333;
  font-weight: 400;
}
