/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 6.4rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --hue:293;
  --primary-color: hsl(var(--hue), 58%,30%);
  --primary-color-alt:hsl(var(--hue),69%,34%);
  --primary-color-light:hsl(var(--hue),69%,66%);
  --primary-color-lighten: hsl(var(--hue),69%,92%);
  --secondary-color: hsl(198, 100%, 44%);
  --title-color: hsl(var(--hue),4%,15%);
  --text-color:hsl(var(--hue),4%,35%);
  --text-color-light:hsl(var(--hue),4%,55%);
  --body-color:hsl(var(--hue),0%,100%);
  --body-text-color: hsl (0,0,20);
  --container-color:#fff;
  --off-white: #fafafa;


  /* Secondary Colors */
  --secondary-color--2: hsla(32, 100%, 47%);
  --secondary-color--2-light: hsl(32, 100%, 67%);
  --secondary-color--2-lighten: hsl(32, 100%, 89%);
  
  --secondary-color--3:hsla(286, 57%, 25%);
  --secondary-color--3-light:hsla(286, 57%, 55%);
  --secondary-color--3-lighten:hsla(286, 57%, 89%);
  
  --secondary-color--4: hsl(87, 36%, 45%);
  --secondary-color--4-light: hsla(87, 36%, 62%);
  --secondary-color--4-lighten: hsla(87, 36%, 89%);

  --secondary-color--5: hsla(173, 100%, 39%);
  --secondary-color--5-light: hsla(173, 100%, 69%);
  --secondary-color--5-lighten: hsla(173, 100%, 89%);

  --secondary-color--6: hsl(340, 66%, 43%);
  --secondary-color--6-light: hsla(340, 66%, 69%);
  --secondary-color--6-lighten: hsla(340, 66%, 89%);

  /* Tertiary Color */

  --tertiary-color: hsla(41, 100%, 55%);

  /* Greys */
  --grey-color: hsl(0, 0%, 33%);
  --grey-color-dark: hsl(0, 0%, 20%);
  --grey-color-darken: hsl(0, 0%, 13%);

  /*========== Font and typography ==========*/
  /* By default .5rem = 8px | 1rem = 16px | 1.5rem = 24px | 2rem = 32px | 2.5rem = 40px | 3rem = 48px | 3.5rem = 56px */
  /* .5rem = 5px | 1rem = 10px */
  --body-font:'Inter', sans-serif;
  --header-font: 'Inter', sans-serif;
  --big-font-size:5.8rem;
  --h1-font-size: clamp(3rem, 1rem +10vh, 7rem);
  --h2-font-size:3.2rem;
  --h3-font-size: clamp(1.8rem, 2.5vh, 2.4rem);
  --normal-font-size:1.2rem;
  --small-font-size:1rem;
  --smaller-font-size:.8rem;
  
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-black:900;

  /* ======== Margin bottom ======== */
  --mb-0-8: .8rem;
  --mb-1-2: 1.2rem;
  --mb-1-6:1.6rem;
  --mb-2-4:2.4rem;
  --mb-3-2:3.2rem;
  --mb-4:4rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}


/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body, button, input, textarea{
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  margin: var(--header-height) 0 0 0;
  background-color: var(--body-color);
  color: var(--text-color);
   transition: .4s; /*This is for when transtioning over to dark mode */
}

button{
  cursor: pointer;
  border: none;
  outline:none;
}

h1,h2,h3,h4,h5,h6{
  font-family: 'Poppins', sans-serif;
  
}

h1,h2,h3{
  color: var(--title-color);
  font-weight: var(--font-bold);
  margin-block-end: 3rem;
  text-transform: capitalize;
}

h2{
    font-size: var(--h2-font-size);
}

h3{
    font-size: var(--h3-font-size);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

p{
  margin-block-end: 2.4rem;
}

img{
  width: 100%;
  height: auto;
  object-position: center;
  object-fit: cover;
}

/*========= THEME =========*/

/*========= Variables Dark Theme =========*/
body.dark-theme{
  --first-color-dark:hsl(var(--hue), 8%,20%);
  --title-color::hsl(var(--hue),4%,95%);
  --text-color:hsl(var(--hue),4%,75%);
  --body-color:hsl(var(--hue),8%,12%);
  --container-color:hsl(var(--hue),8%,16%);
}

/*========= Button Dark Theme =========*/
.change-theme{
  color:var(--title-color);
  font-size: 1.84rem;
  cursor: pointer;
}

.nav__btns{
  display: inline-flex;
  align-items: center;
  column-gap: 1.6rem;
}

/*=============== 
*
***NOW TO CHANGE SOME PARTS OF THE WEBSITE TO THE DARK THEME ***
*
===============*/
.dark-theme .scroll-header{
  box-shadow: 0 1px 4px hsla(var(--hue), 4%, 4%, .3);
}