@font-face {
  font-family: dm_sans;
  src: url(/assets/fonts/DM_Sans/static/DMSans-Regular.ttf);
}
@font-face {
  font-family: anton;
  src: url(/assets/fonts/Anton/Anton-Regular.ttf);
}

:root {
  color-scheme: light dark;
  font-size: 14px;
  --primary--clr: hsla(217, 100%, 51%, 1);
  --lightNeutral: hsla(0, 0%, 100%, 1);
  --secondary--clr: hsla(180, 95%, 40%, 1);
  --accent--clr: hsla(78, 98%, 40%, 1);
  --neutral--bg: hsla(0, 0%, 95%, 1);
  --darkNeutral--bg: hsla(210, 10%, 23%, 1);
  --mainText--clr: #21262c;
  --secondaryText--clr: hsla(210, 10%, 45%, 1);
  --header--border: 1px solid hsla(0, 0%, 96%, 1);
  --sectionWidth: 1200px;
  --cssDebug1: 2px solid red;
  --cssDebug2: 2px solid green;
  --margin: 5rem;
  --danger--clr: hsla(5, 80%, 45%, 1);
  /* --margin--bottom: 5rem; */
  /* --padding--bottom: 5rem; */
  --section--padding: 5rem;
  --text--margin: 1rem;
  --btn--margin: 2.5rem;
  --white--text: #fff;
  --text--clr2: hsla(0, 0%, 88%, 1);
  --radius10: 10px;
  --radius3: 3px;
}

.dark--mode {
  --mainText--clr: #fff;
  --secondaryText--clr: hsla(0, 0%, 88%, 1);
  --body--bg: hsla(0, 0%, 0%, 1);
  --neutral--bg: hsla(217, 30%, 6%, 1);
  --lightNeutral: hsla(0, 0%, 0%, 1);
  --header--border: 1px solid hsla(0, 0%, 8%, 1);
  --pd--border: rgba(255, 255, 255, 0.09);
}

.light--mode {
  --body--bg: #fff;
  --primary--clr: hsla(217, 100%, 51%, 1);
  --secondary--clr: hsla(180, 95%, 40%, 1);
  --accent--clr: hsla(78, 98%, 40%, 1);
  --neutral--bg: hsla(0, 0%, 96%, 1);
  --darkNeutral--bg: hsla(210, 10%, 23%, 1);
  --lightNeutral: hsla(0, 0%, 100%, 1);
  --mainText--clr: #21262c;
  --secondaryText--clr: hsla(210, 10%, 45%, 1);
  --header--border: 1px solid hsla(0, 0%, 96%, 1);
  --pd--border: rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  font-family: dm_sans;
  text-decoration: none;
  list-style-type: none;
  font-size: 14px;
}

/* Testing start */

.blg--sec,
.newSec--con {
  margin-top: 7rem;
  position: relative;
  width: calc(100% - 80px);
  /* border: var(--cssDebug1); */
  height: 860px;
  margin: 0 auto;
  padding: 60px 20px;
  border-radius: var(--radius10);
}

/* Testing end */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: anton;
}
h1 {
  font-size: 55px;
}

h2 {
  font-size: 38px;
  font-weight: 400;
}
hgroup {
  & h2 {
    color: var(--mainText--clr);
  }
  & p {
    color: var(--secondaryText--clr);
  }
}
img {
  display: block;
}
.highlight {
  font: inherit;
  font-weight: 900;
  /* font-style: oblique; */
  display: inline-block;
  vertical-align: baseline;
  color: var(--secondary--clr);
}
body {
  min-height: 100dvh;
  width: 100%;
  font-family: dm_sans;
  color: var(--mainText--clr);
  background: var(--body--bg);
}

section {
  margin: 0 auto;
  width: var(--sectionWidth);
  height: auto;
}

.lucide--icon {
  height: 30px;
  width: 30px;
  color: var(--white--text);
}
.page--con {
  margin-top: 4rem;
}
.outer--section.outer--overlay {
  background: var(--neutral--bg);
}

.section--title {
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  font-size: 14px;
  color: var(--secondary--clr);
  /* font-weight: 700; */
}

.primary--btn {
  padding: 1.1rem 1.7rem;
  border-radius: 8px;
  letter-spacing: 1px;
  background-color: var(--primary--clr);
  color: var(--white--text);
  /* font-weight: 600; */
  display: inline-block;
  text-transform: capitalize;
}
.secondary--btn {
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 3px;
  letter-spacing: 1px;
  background: var(--secondary--clr);
  /* border:  2px solid var(--white--text); */
  color: var(--white--text);
  /* outline: 2px   solid var(--secondary--clr);
  outline-offset: 5px; */
}

.icon--box1 {
  width: 300px;
  border-radius: 10px;
  /* border: var(--cssDebug1); */
  background: var(--neutral--bg);
  padding: 2rem 1.5rem;
  & .iconBox--title {
    margin-top: 2rem;
    font-size: 18px;
  }
  & p {
    margin-top: var(--text--margin);
    color: var(--secondaryText--clr);
    font-size: 14px;
  }
}

.icon--con {
  background-color: var(--primary--clr);
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.page--title {
  color: var(--secondary--clr);
  letter-spacing: 1px;
  font-weight: 600;
}

label {
  display: block;
}

input {
  display: inline-block;
  font-size: 14px;
}
input:focus {
  border: 1px solid var(--accent--clr);
}
input::placeholder {
  font-size: 13px;
}

textarea {
  /* border: var(--cssDebug1); */
  width: 100%;
  resize: none;
  margin-top: 1rem;
}

.flex-2-col5248 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  & .left--col {
    flex-basis: 52%;
  }
  & .rht--col {
    flex-basis: 48%;
  }
}

.flex-2-col4852 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  & .left--col {
    flex-basis: 48%;
  }
  & .rht--col {
    padding-left: 3rem;
    flex-basis: 52%;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --mainText--clr: #fff;
    --secondaryText--clr: hsla(0, 0%, 88%, 1);
    --body--bg: hsla(0, 0%, 0%, 1);
    --neutral--bg: hsla(217, 30%, 6%, 1);
    --lightNeutral: hsla(0, 0%, 0%, 1);
    --header--border: 1px solid hsla(0, 0%, 8%, 1);
    --pd--border: rgba(255, 255, 255, 0.09);
  }
  /* 
@media (prefers-color-scheme: light){

:root {
  font-size: 14px;
  --primary--clr: hsla(217, 100%, 51%, 1);
  --lightNeutral: hsla(0, 0%, 100%, 1);
  --secondary--clr: hsla(180, 95%, 40%, 1);
  --accent--clr: hsla(78, 98%, 40%, 1);
  --neutral--bg: hsla(0, 0%, 96%, 1);
  --darkNeutral--bg: hsla(210, 10%, 23%, 1);
  --mainText--clr: #21262c;
  --secondaryText--clr: hsla(210, 10%, 45%, 1);
  --header--border: 1px solid hsla(0, 0%, 96%, 1);
  --sectionWidth: 1200px;
  --cssDebug1: 2px solid red;
  --cssDebug2: 2px solid green;
  --margin: 5rem;

  --section--padding: 5rem;
  --text--margin: 1rem;
  --btn--margin: 3rem;
  --white--text: #fff;
  --text--clr2: hsla(0, 0%, 88%, 1);
  --radius10: 10px;
  --radius3: 3px;
}
}  */
}

.input--required {
  display: inline-block;

  color: var(--danger--clr);
  font-size: 16px;
}

.fm_notify {
  display: inline-block;
  /* margin-top: 1rem; */
  color: var(--danger--clr);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* .test {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 0);
  width: 534px;
  height: 282px;
  z-index: 40;
} */

.scrollTopCon {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  right: 30px;
  bottom: 60px;
  border-radius: 100%;
  background-color: var(--primary--clr);
  z-index: 10;
  cursor: pointer;
  color: var(--white--text);
  opacity: 0;

  transition: opacity 1s ease-out;
}

@media screen and (max-width: 500px) {
  section {
    width: 100%;
  }
  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 32px;
  }

  .flex-2-col5248 {
    padding-right: 1rem;
    padding-left: 1rem;
    flex-direction: column-reverse;
    gap: 3rem;
    & .left--col {
      width: 100%;
    }

    & .rht--col {
      width: 100%;
    }
  }
  .flex-2-col4852 {
    padding-right: 1rem;
    padding-left: 1rem;
    flex-direction: column;
    /* border: var(--cssDebug1); */

    gap: 3rem;
    & .left--col {
      width: 100%;
    }

    & .rht--col {
      padding-left: 0;
      width: 100%;
    }
  }
}
