@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");
* {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}
body {
  max-width: 1800px;
  margin: auto;
}

:root {
  --regular-weight: 400;
  --medium-weight: 500;
  --bold-weight: 700;
  --balck-colour: #0f0e32;
  --purple-colour: #8f3afc;
  --pink-colour: #fd4186;
  --orange-colour: #ff7629;
  --yellow-colour: #febc14;
}
img {
  max-width: 100%;
}
main {
  margin: 0 100px;
}

h1 {
  font-size: 2.5rem;
  color: var(--balck-colour);
  font-weight: var(--bold-weight);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 1.3rem;
  color: var(--balck-colour);
  font-weight: var(--medium-weight);
}
h3 {
  font-size: 1.25rem;
  color: var(--purple-colour);
  font-weight: var(--medium-weight);
  margin-bottom: 1.13rem;
  text-transform: uppercase;
}
p {
  font-size: 1rem;
  font-weight: var(--regular-weight);
  color: var(--balck-colour);
  line-height: 1.9rem;
}
a {
  text-decoration: none;
}
a p {
  color: #0f0e32;
  text-transform: unset;
}
a:hover p {
  color: var(--purple-colour);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-text {
  margin-bottom: 60px;
}
.main-text p {
  margin-bottom: 1.25rem;
}
.main-text ul {
  padding-left: 2rem;
  margin-bottom: 1.25rem;
}
.main-text ul li {
  margin-bottom: 1rem;
}
header {
  margin: 50px 70px;
}
.logo {
  width: 15%;
  height: auto;
  max-width: 195px;
}
.cta {
  background-color: var(--pink-colour);
  text-align: center;
  padding: 0.5rem 1rem;
  width: 100px;
  text-decoration: none;
  color: #ffffff;
  font-weight: var(--bold-weight);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: center;
  margin-bottom: 5rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
}
.hero-image-wrapper {
  width: 90%;
  margin: auto;
}
.main-text {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}
p.signout {
  margin-bottom: 1.25rem;
}
.co-authors-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 60px;
}
footer {
  margin: 50px 70px;
}
footer p {
  font-size: 0.9rem;
  text-transform: uppercase;
  padding-right: 12px;
  border-right: #0f0e32 solid 1px;
  width: fit-content;
  line-height: 1rem;
}
.footer-nav-wrapper {
  display: flex;
  gap: 12px;
}
footer p:last-child {
  border-right: none;
}
@media only screen and (max-width: 1024px) {
  header {
    margin: 50px 60px;
  }
  .logo {
    width: 25%;
  }
  main {
    margin: 0 60px;
  }
  img {
    max-width: unset;
  }
  .hero {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .hero-image-wrapper {
    width: 100%;
    max-width: 500px;
    margin: auto;
  }
  .hero-text {
    max-width: 75ch;
    margin-right: auto;
  }
  footer {
    margin: 50px 60px;
  }
}
@media only screen and (max-width: 768px) {
  .main-text {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}
@media only screen and (max-width: 580px) {
  main {
    margin: 0 18px;
  }
  header,
  footer {
    margin: 20px 18px;
  }
  a p {
    font-size: 0.9rem;
  }
  .logo {
    width: 40%;
  }
  /* .hero-image-wrapper {
    height: 250px;
  } */
  .co-authors-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .footer-nav-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  footer p {
    border-right: none;
  }
}
/* @media only screen and (max-width: 1600px) {
  main {
    margin: auto;
  }
  header,
  footer {
    margin: 50px auto;
  }

  .hero {
    margin-bottom: 1rem;
  }
  .hero-image-wrapper {
    width: 70%;
  }
} */
