/*-----------------------------------*\
  #require.css
\*-----------------------------------*/

/**
 * TABLE OF CONTENT
 *
 * Custom properties..............Global variables
 * Reset..........................Removed browser default style
 * Typography.....................Typography style
 * Reused.........................Reused classes
 * Preloader......................Preload style
 * Header.........................Header style
 * Footer.........................Footer style
 * Media queries..................Responsive for all devices
 */

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Jersey+25&display=swap");

.jersey-25-regular {
  font-family: "Jersey 25", sans-serif;
  font-weight: 400;
  font-style: normal;
}

:root {
  /**
   * colors
   */
  --eerie-black: hsl(0, 0%, 31%);
  --davys-gray: hsl(0, 0%, 92%);
  --white_a80: hsla(0, 0%, 100%, 0.8);
  --white_a75: hsla(0, 0%, 69%, 0.75);
  --white_a10: hsla(0, 0%, 100%, 0.1);
  --jet_a10: hsla(0, 0%, 22%, 0.1);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --jet: hsl(0, 0%, 22%);
  --button: hsl(0, 0%, 48%);
  --medium-grey: hsl(0, 0%, 48%);
  --section-heading: hsl(0, 0%, 77%);
  --navbar-color: hsl(0, 0%, 94%);
  /**
   * typography
   */
  /* font-family */
  --ff-roboto: "Roboto Mono", monospace, "Source Code Pro", monospace;
  --ff-ibmplex: "IBM Plex Mono", monospace;
  --ff-source: "Source Code Pro", monospace;

  --fs-45: 4.5rem;
  --fs-38: 3.8rem;
  --fs-32: 3.2rem;
  --fs-27: 2.7rem;
  --fs-26: 2.6rem;
  --fs-22: 2.2rem;
  --fs-20: 2rem;
  --fs-18: 1.8rem;
  --fs-17: 1.7rem;
  --fs-14: 1.4rem;
  --fs-12: 1.2rem;

  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * shadow
   */

  --shadow: 0 2px 2px hsla(0, 0%, 22%, 0.08);

  /**
   * border radius
   */

  --radius-50: 50px;
  --radius-pill: 100px;
  --radius-circle: 50%;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li {
  list-style: none;
}

a,
img,
span,
label,
button,
ion-icon {
  display: block;
}

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

img {
  height: auto;
}

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

button {
  cursor: pointer;
}

input,
textarea {
  width: 100%;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

/* change the typeface here */
html {
  font-family: var(--ff-roboto), monospace, sans-serif !important;
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--davys-gray);
  color: var(--eerie-black);
  font-size: 1.6rem;
  line-height: 1.48;
  overflow: hidden;
  cursor: url("../Pointer/Pointer_Ellipse.png"), auto;
}

body.loaded {
  overflow: visible;
}

:focus-visible {
  outline-offset: 4px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 84%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 1%, 79%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 35%);
}

/*-----------------------------------*\
  #TYPOGRAPHY
\*-----------------------------------*/

.headline-lg {
  font-size: var(--fs-45);
}

.headline-md {
  font-size: var(--fs-38);
}

.headline-sm {
  font-size: var(--fs-32);
}

.title-lg {
  font-size: var(--fs-27);
}

.title-md {
  font-size: var(--fs-26);
}

.title-sm {
  font-size: var(--fs-22);
}

.body-lg {
  font-size: var(--fs-20);
}

.body-md {
  font-size: var(--fs-18);
}

.body-sm {
  font-size: var(--fs-17);
  letter-spacing: 0.5px;
}

.label-lg {
  font-size: var(--fs-14);
}

.label-md {
  font-size: var(--fs-12);
}

/**
 * font weight
 */

.headline-lg,
.headline-sm,
.title-lg,
.title-md,
.title-sm,
.label-lg {
  color: var(--black);
  font-weight: var(--fw-600);
  line-height: 1.2;
}

.body-lg {
  font-weight: var(--fw-500);
}

.headline-md {
  font-weight: var(--fw-600);
  color: var(--section-heading);
  display: flex;
  justify-content: left;
  word-break: break-all;
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 16px;
}

.section {
  padding-block: var(--section-padding);
}

.w-100 {
  width: 100%;
  //border: 2px solid rgb(129, 129, 129);
}

.section-title {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 30px;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.banner-gif {
  display: flex;
  gap: 24px;
  width: 48px;
  height: 48px;
}
/**
 * grid
 */
.grid {
  padding-top: 50px;
  display: grid;
  background-image: linear-gradient(to right, #e1e1e1 1px, transparent 1px),
    linear-gradient(to bottom, #e1e1e1 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.text-center {
  text-align: center;
  font-size: 15px !important;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.has-bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

u {
  text-decoration-color: var(--jet);
  text-underline-offset: 0.3em;
  text-decoration-thickness: 0.1em;
}

/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--medium-grey);
  display: grid;
  place-items: center;
  background-image: url("./components/soupy_preloader.gif");
  background-size: 100px 100px; /* Adjust the size as needed */
  background-repeat: no-repeat;
  background-position: center;
  z-index: 6;
}

.preloader.loaded {
  display: none;
}

/* .preloader-circle {
  background-image: url('./components/soupy_preloader.gif');
  background-repeat: no-repeat;
  background-position: center; 
  border: 8px solid transparent;
  border-block-color: var(--white);
  border-radius: var(--radius-circle);
  animation: loading 1s linear infinite;
}

@keyframes loading {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}    */

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn {
  display: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-block: 16px;
  z-index: 4;
  transition: var(--transition-1);
}

.header.active {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-toggle-btn {
  color: var(--jet);
  font-size: 3.8rem;
}

.navbar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--navbar-color);
  border-block: 2px solid var(--jet);
  transition: 0.25s var(--cubic-out);
  transition-delay: 0.15s;
  transform: scaleY(0);
  transform-origin: top;
  visibility: hidden;
}

.navbar.active {
  transform: scaleY(1);
  visibility: visible;
  transition-duration: 0.5s;
  transition-delay: 0s;
  margin-top: 10px;
}

.navbar > * {
  opacity: 0;
  transition: var(--transition-1);
}

.navbar.active > * {
  opacity: 1;
  transition-delay: 0.4s;
}

.navbar-item:not(:last-child) {
  border-block-end: 1px solid var(--jet);
}

.navbar-link {
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 16px 15px;
  transition: var(--transition-1);
  background-color: transparent; /*change the color of the navbar*/
}

.navbar-link:is(:hover, :focus-visible, .active) {
  color: var(--medium-grey);
  background-color: transparent; /*change the color of the navbar*/
}

.navbar-link:focus,
.navbar-link:active {
  background-color: transparent; /* Ensure background is transparent */
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--jet);
  color: var(--white_a75);
  border-top: 1px solid var(--white_a10);
  /* padding-block: 18px;  */
}

.social-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1em;
  align-items: center;
  padding-top: 1em;
}

.social-link {
  font-size: 1.8rem;
}

.social-link:is(:hover, :focus-visible) {
  color: var(--white);
}

.signature {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  padding-top: 20px;
  margin-top: 1em; /* Add some space above the signature */
  padding-bottom: 20px;
}

/*-----------------------------------*\
  #MEDIA QUEREIS
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {
  .title-lg {
    --fs-27: 3.5rem;
  }
}

/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {
  /**
   * TYPOGRAPHY
   */

  .headline-lg {
    --fs-45: 5.5rem;
  }

  .headline-md {
    --fs-38: 4rem;
  }

  .title-md {
    --fs-26: 2.9rem;
  }

  /**
   * REUSED STYLE
   */

  .section {
    padding-top: 80px;
  }

  /* .section-title { margin-block-end: 40px; } */

  /**
   * FOOTER
   */

  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 25px;
  }

  .social-list {
    margin-block-end: 0;
  }
}

/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {
  /**
   * TYPOGRAPHY
   */

  .headline-md {
    --fs-38: 5rem;
  }

  .title-lg {
    --fs-27: 4rem;
  }

  .title-sm {
    --fs-22: 2.4rem;
  }

  /**
   * REUSED STYLE
   */

  /* .section-title { margin-block-end: 60px; } */

  /**
   * HEADER
   */

  .nav-toggle-btn {
    display: none;
  }

  .navbar,
  .navbar.active,
  .navbar > * {
    all: unset;
    display: block;
  }

  .navbar-list {
    display: flex;
  }

  .navbar-item:not(:last-child) {
    border-block-end: none;
  }

  .navbar-link {
    position: relative;
  }

  .navbar-link::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: right;
    width: 80%;
    height: 2px;
    background-color: var(--medium-grey);
    transition: transform var(--transition-1);
  }

  .navbar-link:is(:hover, :focus-visible, .active)::after {
    transform: translateX(-50%) scaleX(1);
    transform-origin: left;
  }

  .header .btn {
    display: block;
  }
}

/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {
  /**
   * TYPOGRAPHY
   */

  .headline-lg {
    --fs-45: 7rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1240px;
    width: 100%;
    margin-inline: auto;
  }
} /**
*PROGRESS BAR
*/
#progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: var(--jet);
  z-index: 5;
  transition: width 0.5s ease;
}
