@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --poppins: "Poppins", sans-serif;
  --clr-dark: #2b2b2b;
  --clr-light: #ffff;
  --clr-light-green: #d7ded7;
  --clr-primary-green: #e1e6e0;
  --h1: 90px;
  --h2: 33px;
  --h3: 24px;
  --h4: 16px;
  --h5: 12px;
  --h6: 10px;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
  scroll-behavior: smooth;
  list-style: none;
}

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  color: var(--clr-dark);
  font-family: var(--truculenta);
  font-size: 1.6rem;
  overflow-x: hidden;
  line-height: 1.4;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

article,
aside,
footer,
header,
nav,
section,
time {
  display: block;
}

a {
  text-decoration: none;
}
img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 150rem;
  margin: 0 auto;
  padding: 0 5rem;
}

/* HEADER */
.header {
  position: sticky;
  background-color: transparent;
  z-index: 9999;
  transform: translateY(5rem);
}
.header__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.header__nav {
  display: flex;
  gap: 10rem;
}

.header__wrapper h3 {
  font-weight: 700;
}
.header__nav li a {
  color: var(--clr-dark);
  font-size: var(--h4);
  margin-right: 5rem;
}

/* HOME BANNER */
.homeBanner {
  background: url(./img/banner.png);
  display: flex;
  height: 100vh;
  width: 96vw;
  margin: 0 auto;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-bottom: 1rem;
}

.homeBanner h1 {
  font-size: var(--h1);
  font-weight: 500;
}

.homeBanner__wrapper span {
  display: inline-block;
  position: relative;
  background-color: var(--clr-dark);
  width: 3rem;
  height: 0.3rem;
  left: 1rem;
  bottom: 1rem;
}
/* MOBILE RESPONSIVE FOR HEADER */
.header .toggle__menu span {
  background-color: var(--clr-dark);
  width: 3rem;
  height: 0.6rem;
  display: block;
  border: 2px solid var(--clr-dark);
  border-radius: 1rem;
  transition: all ease 0.5s;
}

.header .toggle__menu {
  display: none;
}

@media screen and (max-width: 520px) {
  .header .toggle__menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .header {
    position: fixed;
    width: 100%;
  }
  .header__nav {
    position: fixed;
    flex-direction: column;
    top: 0;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: var(--clr-primary-green);
    width: 100%;
    height: 100vh;
    margin-top: 25rem;
    transform: translateY(-14rem);
    z-index: 99;
    right: -100%;
    transition: all 0.5s ease;
  }

  .header__nav.open {
    right: 0;
  }
  .header img {
    width: 10rem;
  }
  .toggle__menu.open span:first-child {
    transform: translate(0, 10px) rotate(225deg);
    transition: all ease 0.5s;
  }
  .toggle__menu.open span:nth-child(2) {
    opacity: 0;
    transition: all 0.5 ease;
  }
  .toggle__menu.open span:last-child {
    transform: translate(0, -11.5px) rotate(-225deg);
    transition: all 0.5s ease;
  }
}
/* HOME LATEST ARTICLES */
.latestArticle {
  padding: 20rem 0;
  background-color: var(--clr-light-green);
  gap: 5rem;
  text-align: center;
}

.latestArticle__title h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--h3);
  font-weight: 500;
  color: var(--clr-dark);
  padding-bottom: 1rem;
}

.latestArticle span {
  content: " ";
  display: inline-block;
  position: relative;
  background-color: var(--clr-dark);
  width: 10rem;
  height: 0.3rem;
  left: 1rem;
  bottom: 1rem;
}

.latestArticle__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 5rem;
  justify-items: center;
  align-items: center;
}

.cards {
  width: 40rem;
  height: 50rem;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.card__details p {
  padding-top: 5rem;
  margin-left: 5rem;
  margin-right: 5rem;
  display: flex;
  justify-content: center;
  text-align: center;
}
/* MOBILE RESPONSIVE FOR CARDS */

@media screen and (max-width: 520px) {
  .latestArticle__wrapper {
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    display: grid;
    justify-items: center;
    justify-content: flex;
    gap: 5rem;
  }
}

/* HOME ABOUT */
.homeAbout {
  padding: 5rem 0;
  background-color: var(--clr-light);
}

.homeAbout__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.homeAbout__wrapper h2 {
  font-size: var(--h3);
  text-align: center;
  color: var(--clr-dark);
  font-weight: 700;
  padding: 2rem;
}

.homeAbout__wrapper img {
  width: 190vw;
  height: 80vh;
  object-fit: auto;
}

.homeAbout__wrapper p {
  text-align: justify;
  max-width: 55rem;
  margin: 5rem auto;
}

.homeAbout__text {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
}
/* MOBILE RESPONSIVE ABOUT */

@media screen and (max-width: 520px) {
  .homeAbout__wrapper {
    display: block;
    margin: 3rem;
  }
  .homeAbout__wrapper img {
    width: 100vw;
    height: 20vh;
    object-fit: auto;
    align-items: center;
  }
  .homeAbout__wrapper {
    max-width: 100rem;
  }
}

/* SUBSCRIBE */
.subScribe {
  padding: 5rem 0;
  background-color: var(--clr-light-green);
}

.subScribe__wrapper h2 {
  font-size: var(--h2);
  display: flex;
  justify-content: center;
  text-align: center;
}
.subScribe__wrapper p {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 1rem;
}

.subScribe__wrapper {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 2rem;
}

form input {
  width: 40%;
  height: 5rem;
  border: var(--clr-light);
  background-color: var(--clr-light);
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
  margin-bottom: 3rem;
}
/* MOBILE RESPONSIVE SUBSCRIBE */

@media screen and (max-width: 520px) {
  form input {
    width: 40%;
  }
  form .btn {
    padding: 1rem 15rem;
  }
}
/* FOOTER */
.footer {
  padding: 3rem 0;
  background-color: var(--clr-light);
  color: var(--clr-light);
}
.footer__wrapper {
  display: flex;
  border-color: var(--clr-dark);
  align-items: center;
  justify-content: space-between;
}

.footer__wrapper p {
  color: var(--clr-dark);
  gap: 1rem;
}
/* MOBILE RESPONSIVE FOOTER */
@media screen and (max-width: 520px) {
  .footer__wrapper {
    flex-direction: column;
    gap: 5rem;
    flex-direction: column-reverse;
  }
  .footer {
    padding-bottom: 5rem;
  }
}

/* REAPETABLE PATTERN */
.btn {
  background-color: transparent;
  border: var(--clr-dark);
  padding: 1rem 2rem;
  color: transparent;
}
.btn.bg--light {
  background-color: var(--clr-primary-green);
  border: 1px solid var(--clr-dark);
  color: var(--clr-dark);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.btn.bg--light:hover {
  background-color: var(--clr-light);
  color: var(--clr-dark);
}
.social {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.social li a {
  color: var(--clr-dark);
}
