/* ALL FONTS */

/* Page titles */
h {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 25pt;
  line-height: 25px;
}

/* 'Next' Buttons */
h2 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 20pt;
}

/* Subheaders / topic headers */
h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: medium;
  font-size: 18pt;
}

/* Call-out headings */
h4 {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 12pt;
  height: 8px;

}


/* Body text */
p {
  font-family: "Inter", serif;
  font-weight: 450;
  font-size: 10pt;
  line-height: 18px;
}

/* Link buttons text */
p2 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 10pt;
  text-decoration: underline;
}

/*--------------------------------------------------------------*/
/* 'NEXT' BUTTON*/

.next {
  background-color: #3A312D;
  margin-top: 60px;
  position: relative;
  color: white;
  border-radius: 16px;
  padding: 5px 24px;
  cursor: pointer;
  margin-left: -70px;
  left: 50%;
  bottom: 50px;
  width: 150px;
  border: none;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
}

.next:hover {
  background-color: #C5E7B6;
  color: black;
}

/*--------------------------------------------------------------*/
/* PURPLE LINK BUTTON*/


.link {
  background-color: #F2DFF9;
  border-radius: 18px;
  padding: 22px 22px;
  position: relative;
  top: 10px;
  cursor: pointer;
  bottom: 50px;
  border: none;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.05);
}

.link:hover {
  background-color: #3a312d;
  color: white;
}

.fa-solid,
.fas {
  padding-left: 10px;
}

/*--------------------------------------------------------------*/
/* INLINE TEXT LINK*/
.inlink a {
  padding-bottom: 1px;
  text-decoration: none;
  color: #000;
  box-shadow: inset 0 -4px 0 #F2DFF9;
  transition: background-color .25s ease-out;
}

.inlink a:hover {
  background-color: #F2DFF9;
  padding-top: 2px;
  box-shadow: none;
}

/*--------------------------------------------------------------*/
/* YELLOW ACTIVITY BOX*/

.activity {
  background-color: #FFE902;
  margin: 0 auto;
  margin-top: 25px;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
}

/*--------------------------------------------------------------*/
/* BOX CONTAINER*/

body {
  margin: 0;
  padding: 0;
  background-color: #91C28D;
}

.container {
  background-color: white;
  min-height: 600px;
  width: 1000px;
  margin: 0 auto;
  margin-top: 10px;
  padding-left: 1em;
  padding-right: 1em;
  box-sizing: border-box;
  border-radius: 18px;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

/*--------------------------------------------------------------*/
/* COLUMNS OF CONTENT */

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-height: 530px;
}

.left {
  width: 65%;
}

.right {
  width: 23%;
  padding-right: 23px;
}

.column {
  float: left;
  padding-left: 23px;
}

.definition {
  background-color: #E2EE8C;
  margin: 0 auto;
  margin-top: 5px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  border-radius: 16px;
  padding-bottom: 7px;
}

/*--------------------------------------------------------------*/
/*NAVIGATION BAR STYLING*/

.navbar .navdiv {
  height: 100px;
  width: 1000px;
  margin: 0 auto;
  margin-top: 45px;
  padding-left: 3em;
  padding-right: 3em;
  box-sizing: border-box;
  position: relative;
  border-radius: 18px;
  background-color: #C5E7B6;
  align-items: center;
  z-index: 2;
  display: flex;
  justify-content: center;
}

/*LOGO*/
.logo img {
  margin-left: -15px;
  width: 334px;
  height: 33px;
  display: block;
}


/*SEARCH BAR*/
.searchBar {
  visibility: hidden;
  width: 20%;
  display: flex;
  position: relative;
  margin-left: 140px;

}

#searchQueryInput {
  width: 100%;
  height: 2.8rem;
  border-radius: 0.7rem;
  padding: 0 3.5rem 0 1.5rem;
  font-size: 0.8rem;
  font-family: "Inter", serif;
}

#searchQuerySubmit {
  width: 3.5rem;
  height: 2.8rem;
  margin-left: -2.5rem;
  margin-right: 3rem;
}

#searchQuerySubmit:hover {
  cursor: pointer;
}

/*LEFT AND RIGHT BUTTONS*/

.btn {
  background-color: inherit;
  border: #caddbd;
  color: black;
  border-radius: 9px;
  cursor: pointer;
  width: 49px;
  margin-left: -15px;
  margin-right: 30px;
  padding: 15px;
  padding-left: 10px;
}

.btn:hover {
  background-color: #ADD29C;
  width: 49px;
  margin-left: -15px;
  margin-right: 30px;
  padding: 15px;
  padding-left: 10px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.08);
}

/*DROPDOWN MENU*/
.dropbtn {
  background-color: #C5E7B6;
  color: black;
  padding: 16px;
  font-size: 16px;
  border: none;
  width: 150px;
  border-radius: 18px;
  margin: auto;
  font-family: DM Sans;
  font-weight: 600;
}

.dropdown-content {
  margin-left: -105px;
  padding-top: 8px;
  margin-top: 5px;
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border-radius: 18px;
  animation: rotateMenu 400ms;
  transform-origin: top center;
}

@keyframes rotateMenu {
  0% {
    transform: rotateX(-90deg)
  }

  70% {
    transform: rotateX(20deg)
  }

  100% {
    transform: rotateX(0deg)
  }
}

.dropdown-content a {
  color: white;
  padding: 10px 10px;
  text-decoration: none;
  display: block;
  border-radius: 18px;
  margin: 5px;
  font-family: DM Sans;
  font-size: 11pt;
  margin-left: 11px;
  margin-right: 11px;
  line-height: 15px;
}

/* dropdown links colour on hover */
.dropdown-content a:hover {
  background-color: #F2DFF9;
  color: black;
  padding: 10px 10px;
  margin-left: 11px;
  margin-right: 11px;

}

/* Show  dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
  background-color: #3A312D;
}

/* Change  background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  border-radius: 18px;
  background-color: #3A312D;
  color: white;
}