@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;700;900&display=swap');

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", "Prompt", sans-serif;
  font-size: 62.5%;
  font-size: 10px;
  scroll-behavior: smooth;
}

.nav {

  width: 100%;
  height: 65px;
  position: fixed;
  line-height: 65px;
  text-align: center;
  background-color: #22d322;
}

.nav div.logo {
  float: left;
  width: auto;
  height: auto;
  padding-left: 3rem;
}

.nav div.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 2.5rem;
}

.nav div.logo a:hover {
  color: #056405;
  transition: 0.3s;
}

.nav div.main_list {
  height: 65px;
  float: right;
}

.nav div.main_list ul {
  width: 100%;
  height: 65px;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav div.main_list ul li {
  width: auto;
  height: 65px;
  padding: 0;
  padding-right: 3rem;
}

.nav div.main_list ul li a {
  text-decoration: none;
  color: #fff;
  line-height: 65px;
  font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
  color: #056405;
  transition: 0.3s;
}


/* Home section */

.home {
  width: 100%;
  height: 100vh;
  background-image: url(https://scontent.fbkk8-4.fna.fbcdn.net/v/t1.15752-9/329419265_932352021118291_5623545194224720224_n.png?_nc_cat=100&ccb=1-7&_nc_sid=ae9488&_nc_eui2=AeFVO1rkNgV0gDF5e-88pTcs1aUmRMlVh9vVpSZEyVWH26GobbDjm9wtc69-QRkKHXSNgUMN1u9sshLP-sSWdu5s&_nc_ohc=TibxzWwyTX8AX_Gz86b&_nc_oc=AQmth_LXVILhTjyIjppxsTP7_2sgzPM0-gPSUTLEnDOr8paDkt5qHsSFASENjq4g5GY&_nc_ht=scontent.fbkk8-4.fna&oh=03_AdSW6laBOpUvUrBB7QzsSV6DYv38cGQIbHQU0NlCSGe1Eg&oe=64097DA9);
  background-position: center top;
  background-size: cover;
}

.navTrigger {
  display: none;
}

.nav {
  padding-top: 20px;
  padding-bottom: 20px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}


/* Media qurey section */

@media screen and (max-width: 540px) {
  .nav div.logo {
    display: none;
  }

  .nav div.main_list ul {
    padding-top: 50px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    margin: 0;
  }


}



@media screen and (max-width:1222px) {
  .navTrigger {
    display: block;
  }

  .nav div.logo {
    margin-left: 0px;
  }

  .nav div.main_list {
    width: 100%;
    height: 0;
    overflow: hidden;
  }

  .nav div.show_list {
    height: auto;
    display: none;
  }

  .nav div.main_list ul {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #22d322;
    /*same background color of navbar*/
    background-position: center top;
    transition: 0.3s;
  }

  .nav div.main_list ul li {
    width: 100%;
    text-align: right;
  }

  .nav div.main_list ul li a {
    text-align: center;
    width: 100%;
    font-size: 3rem;
    padding: 20px;
  }

  .nav div.media_button {
    display: block;
  }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
  cursor: pointer;
  width: 30px;
  height: 25px;
  margin: auto;
  position: absolute;
  right: 30px;
  top: 0;
  bottom: 0;
}

.navTrigger i {
  background-color: #fff;
  border-radius: 2px;
  content: '';
  display: block;
  width: 100%;
  height: 4px;
}

.navTrigger i:nth-child(1) {
  -webkit-animation: outT 0.3s backwards;
  animation: outT 0.3s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
  margin: 5px 0;
  -webkit-animation: outM 0.3s backwards;
  animation: outM 0.3s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
  -webkit-animation: outBtm 0.3s backwards;
  animation: outBtm 0.3s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
  -webkit-animation: inT 0.3s forwards;
  animation: inT 0.3s forwards;
}

.navTrigger.active i:nth-child(2) {
  -webkit-animation: inM 0.3s forwards;
  animation: inM 0.3s forwards;
}

.navTrigger.active i:nth-child(3) {
  -webkit-animation: inBtm 0.3s forwards;
  animation: inBtm 0.3s forwards;
}

@-webkit-keyframes inM {
  50% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes inM {
  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes outM {
  50% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes outM {
  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes inT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes inT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(9px) rotate(0deg);
  }

  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes outT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes outT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(9px) rotate(0deg);
  }

  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes inBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes inBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(0deg);
  }

  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

@-webkit-keyframes outBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes outBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(0deg);
  }

  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

.affix {
  padding: 0;
  background-color: #22d322;
}

.ContentHeader {
  text-align: center;
  font-size: 4rem;
}

.ContentParagraph {
  font-size: 20px;
}

@media all and (max-width:700px) {
  .myP {
    padding: 2%;
  }
}

@font-face {
  font-family: PromptBold;
  src: url(../assets/fonts/Prompt-Bold.ttf);
}

@font-face {
  font-family: Prompt;
  src: url(../assets/fonts/Prompt-Regular.ttf);
}

::-webkit-scrollbar {
  width: 10px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  background-color: #58b1e6;

  background-image: -webkit-gradient(linear, 0 0, 0 100%,
      color-stop(.5, rgba(255, 255, 255, .2)),
      color-stop(.5, transparent), to(transparent));
}

hr {
  width: 50vw;
  border: 1px solid rgb(221, 221, 221);
  margin-top: 35px;
}

.ContentContainer {
  padding: 0 10% 0 10%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr;
  grid-template-areas:
    "paragText paragImg";
  gap: 25px 25px;
}

.paragText {
  grid-area: paragText;
  font-size: 20px;
  text-align: justify;
  text-justify: inter-word;
}

.paragImg {
  grid-area: paragImg;
}

.paragImg img {
  border-radius: 5%;
  transition: box-shadow 0.3s ease-in-out;
}

.paragImg img:hover {
  box-shadow: rgba(0, 0, 0, 0.45) 0px 5px 15px;
}

@media screen and (max-width: 768px) {
  .ContentContainer {
    padding: 0 10% 0 10%;
    display: grid;
    grid-template-columns: 2fr 0fr;
    grid-template-rows: 1fr;
    grid-template-areas:
      "paragText paragImg";
    gap: 25px 25px;
  }

  .paragImg img {
    display: none;
  }
}

.contentContainer2 {
  font-size: 20px;
  padding: 35px 10% 0 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 25px 25px;
  grid-auto-flow: row;
  grid-template-areas:
    "img1 img2"
    "img3 img4";

  font-weight: bold;
  text-align: center;
}

.contentContainer2 img {
  border: solid 2px black;
  border-radius: 5%;
  transition: box-shadow 0.3s ease-in-out;
}

.contentContainer2 img:hover {
  box-shadow: rgba(0, 0, 0, 0.45) 0px 5px 15px;
}

.img1 {
  grid-area: img1;
}

.img2 {
  grid-area: img2;
}

.img3 {
  grid-area: img3;
}

.img4 {
  grid-area: img4;
}

.contentContainer3 {
  font-size: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;

  grid-template-areas:
    "img11 img22"
    "img33 img44"
    "img55 img55";
  ;
}

.img11 {
  grid-area: img11;
}

.img22 {
  grid-area: img22;
}

.img33 {
  grid-area: img33;
}

.img44 {
  grid-area: img44;
}

.img55 {
  grid-area: img55;
}

.codeBlock {
  width: 100%;
}

.CodeButton {
  border-radius: 15px;
  margin: 15px 0 0 0;
  padding: 15px 0 15px 0;
  display: block;
  text-align: center;
  color: white;
  background-image: linear-gradient(to right, rgb(71, 139, 167), rgb(64, 64, 190));
  text-decoration: none;
  font-weight: bold;
  font-size: 35px;
  width: 100%;
  transition: box-shadow 0.3s;
}

.CodeButton:hover {
  box-shadow: rgba(0, 0, 0, 0.45) 0px 5px 15px;
}

.contentContainerProfile {
  font-size: 20px;
  padding: 35px 10% 0 10%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 25px 25px;
  grid-auto-flow: row;
  grid-template-areas:
    "p1 p2 p3 p4";
}

.p1 {
  grid-area: p1;
}

.p2 {
  grid-area: p2;
}

.p3 {
  grid-area: p3;
}

.p4 {
  grid-area: p4;
}

.ProfileCard {
  transition:  0.3s;
  border-radius: 10px;
  background-color: white;
  border: solid 4px grey;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
  padding: 10%;

}

.ProfileCard img {
  border-radius: 15%;
  
  display: block;
  width:100%;
  margin: 0 auto 0 auto;
}

.ProfileCard:hover {
  box-shadow: rgba(0, 0, 0, 0.45) 0px 5px 15px;
  scale: 1.05;
}

@media screen and (max-width: 1024px) {
  .contentContainerProfile {
    font-size: 20px;
    padding: 35px 10% 0 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 25px 25px;
    grid-auto-flow: row;
    grid-template-areas:
      "p1 p2"
      "p3 p4";
  }
}