/* 

--- 01 Typography

- Font sizes (px)

6px / 9px / 12px / 16px / 21px / 28px / 38px / 50px / 67px 

- Font weights

Default: 400
Bold: 700

- Line heights
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6
Large: 1.8

- Letter spacing
0.5px
0.75px

--- 02 COLORS

Primaries:

#2EC4B6
#FDFFFC
#011627

Accents:

#FF9F1C
#E71D36

Tints:

#D3F5F1
#FEFFFE
#A4D5FD

#FFECD1
#FAD2D6

Grays:

#70807E
#FCFDFC
#121517

#998E80
#8D777A

--- 05 SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 9px
Medium: 11px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: #011627;
  overflow-x: hidden;
  background-color: #fdfffc;
}

body {
  line-height: 1.5;
}

ul {
  list-style: none;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 3rem;
  margin-top: 1.5rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.5rem;
  font-variant: small-caps;
  color: #e71d36;
}

h3 {
  color: #ff9f1c;
  font-size: 1.3rem;
  margin-top: 1.3rem;
}

p {
  font-size: 1.3rem;
  margin-top: 0.75rem;
}

p:first-of-type {
  margin-top: 2rem;
}

strong {
  color: #ff9f1c;
}

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
  z-index: 999;
}

.icon-mobile-nav {
  height: 3.1rem;
  width: 3.1rem;
  color: #e71d36;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 5.9rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(46, 196, 182, 0.8);
  z-index: 888;
  box-shadow: 0 1.4rem 3.2rem rgba(112, 128, 126, 0.3);
}

.main-img {
  /* background-image: linear-gradient( */
  /*    to left bottom, */
  /*    rgba(34, 34, 34, 0.7), */
  /*    rgba(34, 34, 34, 0.7) */
  /*  ), */
  /*  url("../Main Image.jpg"); */

  background-image: linear-gradient(
      to left bottom,
      rgba(252, 253, 252, 0.1),
      rgba(252, 253, 252, 0.1)
    ),
    url("images/Main Image.jpg");
  background-size: cover;
  background-position: center;
}

.section-container {
  max-width: 80rem;
  padding: 3rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 3rem;
  row-gap: 9.6rem;
}

.hero-link-grid {
  display: grid;
  column-gap: 3rem;
  row-gap: 3rem;
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
}

.hero-text-box {
  background-color: #ffecd1;
  padding: 1.75rem;
  border-radius: 0.5rem;
}

.link-grid {
  display: grid;
  column-gap: 3rem;
  row-gap: 5rem;
  align-items: center;
  justify-items: center;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.pricing-grid--2-cols {
  grid-template-columns: 2fr 1fr;
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2ec4b6;
  padding: 1.3rem;
  position: relative;
  /* navbar shadow */
  box-shadow: 0 1.2rem 3rem rgba(112, 128, 126, 0.2);
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.header-nav-link:link,
.header-nav-link:visited {
  display: inline-block;
  background-color: #e71d36;
  border-radius: 0.8rem;
  padding: 0.75rem;
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fad2d6;
  transition: all 0.3s;
}

.header-nav-link:hover,
.header-nav-link:active {
  box-shadow: inset 0 0 0 0.5rem #fad2d6;
}

.logo {
  width: auto;
  height: 5rem;
}

.hero {
  border: 0.5rem solid #2ec4b6;
  border-radius: 0.5rem;
  padding: 1.75rem;
  box-shadow: 0 1.4rem 3.2rem rgba(112, 128, 126, 0.3);
  /* For a dark background */
  /* color: #fff; */
}

.sticky .hero {
  margin-top: 5.9rem;
}

.hero-link:link,
.hero-link:visited {
  font-size: 1.75rem;
  text-align: center;
  color: #ffecd1;
  transition: all 0.3s;
  background-color: #ff9f1c;
  border-radius: 50%;
  padding: 3rem 2rem;
  height: 15rem;
  width: 15rem;
  text-decoration: none;
  display: inline-block;
  overflow: hidden;
  text-overflow: hidden;
}

.hero-link:hover,
.hero-link:active {
  box-shadow: inset 0 0 0 0.5rem #2ec4b6;
}

.blogtitle-img {
  background-image: linear-gradient(
      to left bottom,
      rgba(252, 253, 252, 0.1),
      rgba(252, 253, 252, 0.1)
    ),
    url("images/Main Blog Image.avif");
  background-size: cover;
  background-position: center;
}

.title-box {
  background-color: #ffecd1;
  padding: 4rem;
  border-radius: 0.5rem;
  text-align: center;
}

.title-box h1 {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 3rem;
  margin-top: 1.5rem;
  color: #fff;
}

.article-link-image {
  border-radius: 0.5rem;
  width: 26rem;
  padding: 0.5rem;
}

.article-link-box:link,
.article-link-box:visited {
  border-radius: 0.5rem;
  width: 26rem;
  height: 17.6rem;
  transition: all 0.3s;
  /*BACKGROUND COLOR FOR EDITING CONTAINER*/
  /*background-color: #ff9f1c;*/
  display: inline-block;
}

.article-link-box:hover,
.article-link-box:active {
  box-shadow: inset 0 0 0 1rem #a4d5fd;
}

.article-title-image {
  border-radius: 0.5rem;
  width: 50%;
  display: inline;
}

.card {
  border: 0.3rem solid #2ec4b6;
  border-radius: 0.5rem;
  padding: 2rem 1.5rem 2rem 1.5rem;
  box-shadow: 0 1.4rem 3.2rem rgba(112, 128, 126, 0.3);
}

.card h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 3rem;
  margin-top: 0rem;
}

.card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0rem;
  font-variant: small-caps;
  color: #e71d36;
}

.card h3 {
  color: #ff9f1c;
  font-size: 1.3rem;
  margin-top: 0rem;
}

.card li {
  font-size: 1rem;
  line-height: 2rem;
}

.card li:first-child {
  font-size: 1rem;
  line-height: 2rem;
  margin-top: 1rem;
}

.pricing-card {
  border: 0.3rem solid #2ec4b6;
  border-radius: 0.5rem;
  padding: 2rem 1.5rem 2rem 1.5rem;
  box-shadow: 0 1.4rem 3.2rem rgba(112, 128, 126, 0.3);
}

.pricing-card h3 {
  color: #ff9f1c;
  font-size: 1.75rem;
  margin-top: 0rem;
}

.pricing-card li {
  font-size: 1.3rem;
  line-height: 3rem;
}

.pricing-card li:first-child {
  font-size: 1.3rem;
  line-height: 3rem;
  margin-top: 1rem;
}

.pricing-icon {
  color: #e71d36;
  margin-top: 0.75rem;
  flex-wrap: nowrap;
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
}

.card-box {
  margin: 2rem;
}

.list-item {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: flex-start;
}

.list-icon {
  color: #e71d36;
  margin-top: 0.5rem;
  flex-wrap: nowrap;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.FAQ-question {
  font-weight: 700;
}

.letter-highlight {
  color: #ff9f1c;
  font-weight: 700;
}

.link-box {
  margin: 3rem;
}

.course-link:link,
.course-link:visited {
  font-size: 1.75rem;
  text-align: center;
  color: #ffecd1;
  transition: all 0.3s;
  background-color: #ff9f1c;
  border-radius: 50%;
  padding: 3rem 2rem 3rem 2rem;
  height: 18rem;
  width: 18rem;
  text-decoration: none;
  display: inline-block;
  overflow: hidden;
  text-overflow: hidden;
}

.course-link:hover,
.course-link:active {
  box-shadow: inset 0 0 0 0.5rem #2ec4b6;
}

.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer-heading {
  grid-column: 1 / 4;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  font-variant: small-caps;
  color: #8d777a;
}

.footer-rule {
  border-top: 0.3rem solid #70807e;
  grid-column: 1 / -1;
  margin: 1rem 0rem 0rem 0rem;
  margin-bottom: 1.5rem;
}

.footer-text {
  grid-column: 1 / 2;
  font-size: 1rem;
  line-height: 1.75rem;
  color: #121517;
}

.icons-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.copyright {
  grid-column: 4 / -1;
  font-size: 1rem;
  line-height: 1.75rem;
  margin-top: 1rem;
  color: #121517;
}

.contact-form {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.submit-button {
  display: inline-block;
  background-color: #e71d36;
  border-radius: 0.6rem;
  padding: 0.6rem;
  text-decoration: none;
  border: none;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fad2d6;
  transition: all 0.3s;
  width: 10rem;
  height: 4rem;
  cursor: pointer;
  align-self: center;
}

.submit-button:hover,
.submit-button:active {
  box-shadow: inset 0 0 0 0.3rem #fad2d6;
}

input {
  width: 15rem;
  height: 2rem;
  padding: 1rem;
  font-size: 1rem;
}

.comment {
  padding: 0.6rem;
  font-size: 1rem;
  height: 15rem;
}

.form-invalid {
  outline: 2px solid red;
}

.block-text {
  margin: 1rem 2rem 2rem 1rem;
}

.block-images {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  margin: 1.5rem 1rem 1.5rem;
}

.med-block-images {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  margin: 1.5rem 1rem 1.5rem;
}

.large-block-images {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  margin: 1.5rem 1rem 1.5rem;
}

.block-images img {
  width: 26rem;
}

.med-block-images img {
  width: 32rem;
}

.large-block-images img {
  width: 40rem;
}
