/*************** C S S  V A R I A B L E S ****************/

:root {
  --main-font: "Nunito Sans", sans-serif;
  --h2-h3-font: "Source Sans 3", sans-serif;
  --h1-font: "Source Sans 3", sans-serif;
  --h1-font-color: rgba(71, 69, 84, 1);
  --h2-font-color: rgba(172, 167, 203, 1);
  --font-color-p-first: whitesmoke;
  --clear-background-color: rgba(172, 167, 203, 1);
  --dark-background-color: rgba(71, 69, 84, 1);
  --box-shadow: 1px 2px 6px -1px rgba(0, 0, 0, 0.99);
  --text-shadow: px 0px 9px rgba(0, 0, 0, 0.45);

  /* --background-image-mixed: url(./assets/background.png), rgba(172, 167, 203, 1); */
}

@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,200&display=swap");

/*********** G O O G L E  F O N T *************/

/* Nunito sans for the main text*/
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,200&display=swap");

/* Source Sans 3 for h2 and h3(not Source Sans Pro on fonts.google.com */
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,200&family=Source+Sans+3:wght@500&display=swap");

/* Fria sans for h1*/
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@500&family=Nunito+Sans:opsz,wght@6..12,200&family=Source+Sans+3:wght@500&display=swap");

/**************** A L L  &  B O D Y ************************/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  scroll-behavior: smooth;
  font-family: var(--main-font);
  text-decoration: none;
  color: black;
}

/***********HOME SCROLL ************* */
.homeScroll {
  background-image: url(../images/background_big.png);
  opacity: 100%;
  height: 100vh;
  text-align: center;
  position: relative;
}

.homeScroll hgroup {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  padding-top: 140px;
}

.homeScroll h2 {
  font-size: 5rem;
  text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.45);
  letter-spacing: 16px;
  color: var(--font-color-p-first);
}

.homeScroll h3 {
  font-size: large;
  color: var(--font-color-p-first);
  letter-spacing: 6px;
  text-shadow: var(--text-shadow);
}

.homeScroll img {
  width: 46px;
  position: relative;
  top: 30vh;
  left: 1vw;
}

/******************** H E A D E R ************************/

/**************** M E N U  B U R G E R **************/
.nav-list-mobile {
  z-index: 998;
  position: fixed;
  left: -50vw;
  top: 50px;
  width: 25%;
  height: 60vh;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-color: var(--clear-background-color);
  transition: left 0.5s;
}

.nav-list-mobile a {
  z-index: 998;
  color: #f4f4f4;
  width: 25%;
}

.navbar-mobile i {
  width: 15%;
  z-index: 999;
  font-size: 40px;
  position: fixed;
  top: 10px;
  left: 15px;
  color: rgb(90, 76, 97);
}

.list-visible {
  left: 0;
  text-align: center;
  left: 80px;
  top: 50px;
  width: 55vw;
}

.icon-visible {
  color: #f4f4f4;
}

nav h2 {
  color: var(--h2-font-color);
  font-family: var(--h2-h3-font);
  text-shadow: 1px 1px 3px rgba(186, 154, 230, 0.16);
  padding-left: 285px;
  padding-top: 8px;
}

/* ******************* M A I N ******************************* */

/********** DESKTOP PART ************/
.headAboutCard,
.mindCards,
header p {
  display: none;
}

/* ********* H GROUP ****************/
main hgroup {
  text-align: center;
  padding: 16px;
}

main hgroup h1 {
  color: var(--h1-font-color);
  padding: 10px;
}

main hgroup p {
  color: var(--h2-font-color);
}

main hgroup h2,
hr {
  display: none;
}

/* ********** HOME CARD ************/
.homeGrid {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  grid-template-rows: repeat(6, 120px);
  grid-gap: 24px;
  margin: 10px;
  padding: 16px;
}

/* ********** ALL CARD ************/

.darkClass,
.clearClass {
  border-radius: 24px;
  padding-top: 16px;
  padding-left: 16px;
  font-size: small;
  box-shadow: 1px 2px 6px -1px rgba(0, 0, 0, 0.99);
  position: relative;
}

.darkClass p:first-of-type,
.clearClass p:first-of-type {
  color: var(--font-color-p-first);
}

.darkClass p:nth-last-of-type(2),
.clearClass p:nth-last-of-type(2) {
  margin-bottom: 3px;
}

.chevronRight {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.desktopPicture {
  display: none;
}

/**************** D A R K  H O M E  C A R D S  ************/
.darkClass {
  background-color: var(--dark-background-color);
  color: var(--h2-font-color);
}

.darkClass p:nth-child(2) {
  font-weight: bold;
  color: var(--h2-font-color);
}

.darkClass p:nth-child(3) {
  color: var(--clear-background-color);
}

/**************** C L E A R  H O M E  C A R D S  ************/
.clearClass {
  background-color: var(--clear-background-color);
  color: var(--h1-font-color);
}

.clearClass p:nth-child(2) {
  font-weight: bold;
  color: var(--dark-background-color);
}

/**************** A B O U T U S  C A R D ************/

.aPropos img {
  height: auto;
  position: relative;
  top: 7vh;
  left: 22vw;
}

.aboutUs {
  background-color: var(--dark-background-color);
  border-radius: 24px;
  padding-top: 16px;
  padding-left: 16px;
  font-size: small;
  box-shadow: 1px 2px 6px -1px rgba(0, 0, 0, 0.99);
}

.aboutUs p {
  color: var(--font-color-p-first);
  font-weight: bold;
}

/* *********** F O O T E R ***************************************/
footer {
  background-image: url(../images/background_big.png);
  opacity: 100%;
  height: 100vh;
  width: 100vw;
}

footer hgroup {
  margin: 24px;
  padding-top: 48px;
  text-align: justify;
}

footer h3 {
  color: var(--font-color-p-first);
  margin-bottom: 16px;
  font-size: x-large;
}

footer p:first-of-type {
  color: var(--h1-font-color);
  margin-bottom: 16px;
  font-weight: bold;
}

footer p:nth-of-type(2) {
  color: var(--font-color-p-first);
  margin-bottom: 6px;
}

footer p:nth-of-type(3) {
  color: var(--font-color-p-first);
  margin-bottom: 40px;
}

footer button {
  width: 40%;
  height: 40px;
  border-radius: 8px;
  border: none;
  margin-bottom: 16px;
  box-shadow: rgba(50, 50, 93, 0.3) 0px 13px 80px 25px,
    rgba(0, 0, 0, 0.9) 0px 0px 16px -5px;
  font-weight: bold;
}

footer button a {
  color: var(--clear-background-color);
  text-shadow: var(--text-shadow);
}

footer p:nth-of-type(4) {
  color: var(--font-color-p-first);
  margin-bottom: 6px;
}

footer p:nth-of-type(5) {
  color: var(--font-color-p-first);
}

.down {
  width: 46px;
  position: relative;
  top: 30vh;
  left: 43vw;
}
