/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/**********************************************************************************/
/**********************************************************************************/
/*GENERAL*/
/**********************************************************************************/
/**********************************************************************************/

html {
  font-family: "Overpass", sans-serif;
  overflow-x: hidden;
}

/**********************************************************************************/
/**********************************************************************************/
/*NAV*/
/**********************************************************************************/
/**********************************************************************************/

.nav-div {
  display: flex;
  width: 100%;
  padding-top: 2rem;
  padding-inline: 6rem;
  align-items: center;
}

.logo-txt {
  font-family: "Ubuntu", sans-serif;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list {
  margin-left: 4rem;
}

.nav-items {
  color: white;
  text-decoration: none;
  cursor: pointer;
  margin-right: 2rem;
  font-size: 0.8rem;
}

.login-btn {
  margin-left: auto;
  color: white;
  background-color: transparent;
  border: none;
  margin-right: 2rem;
  cursor: pointer;
}

.signup {
  background-color: white;
  color: hsl(353, 100%, 62%);
  font-weight: 600;
  border: none;
  border-radius: 2rem;
  padding-inline: 2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  cursor: pointer;
}

/**********************************************************************************/
/**********************************************************************************/
/*HERO SECTION*/
/**********************************************************************************/
/**********************************************************************************/

.hero-bg {
  background-image: linear-gradient(
    160deg,
    hsl(13, 100%, 72%),
    hsl(353, 100%, 62%)
  );
  border-radius: 0 0 0 5rem;
  width: 100%;
  height: 30rem;
}

.hero-header {
  text-align: center;
  color: white;
  padding-top: 4rem;
  font-size: 4rem;
  font-weight: 400;
}

.hero-p {
  color: white;
  text-align: center;
  font-size: 1rem;
  font-weight: 200;
}

.hero-btns {
  display: flex;
  justify-content: center;
  padding-top: 4rem;
}

.start-btn {
  background-color: white;
  color: hsl(353, 100%, 62%);
  border: none;
  font-weight: 600;
  border-radius: 2rem;
  font-size: 1rem;
  padding-block: 0.6rem;
  padding-inline: 1rem;
  margin-inline: 1rem;
  cursor: pointer;
}

.learn-more-btn {
  background-color: transparent;
  color: white;
  padding-inline: 1.5rem;
  border: 1px solid white;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1rem;
  padding-block: 0.8rem;
  margin-inline: 1rem;
  cursor: pointer;
}

/**********************************************************************************/
/**********************************************************************************/
/*Feature SECTION*/
/**********************************************************************************/
/**********************************************************************************/

.feature-section {
  margin-top: 8rem;
}

.feature-section-div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 15rem;
}

.feature-heading {
  text-align: center;
  color: hsl(208, 49%, 24%);
  font-size: 2.2rem;
  font-weight: 500;
}

.feature-section-txt-div {
  margin-top: 7rem;
  width: 28rem;
}

.feature-header {
  color: hsl(208, 49%, 24%);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-p {
  color: hsl(207, 13%, 34%);
  font-size: 0.9rem;
}

.feature-section-img {
  position: absolute;
  margin-top: -5rem;
  margin-left: 10rem;
}

/**********************************************************************************/
/**********************************************************************************/
/*INFRASTRUCTURE SECTION*/
/**********************************************************************************/
/**********************************************************************************/

.infrastucture-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-image: linear-gradient(
    45deg,
    hsl(237, 17%, 21%),
    hsl(237, 23%, 32%)
  );
  border-radius: 0 8rem 0 8rem;
  margin-top: 20rem;
  margin-bottom: 10rem;
  height: 25rem;
  overflow: hidden;
}

.infrastructure-bg-img {
  margin-top: -30rem;
  margin-left: -12.5rem;
}

.infrastructure-img {
  position: absolute;
  margin-left: 10rem;
  margin-top: -4.5rem;
}

.infrastructure-txt {
  margin-top: 10rem;
  width: 50rem;
}

.infrastructure-heading {
  font-size: 3rem;
  font-weight: 400;
  color: white;
}

.infrastructure-p {
  line-height: 1.5;
  font-weight: 200;
  width: 40rem;
  color: white;
}

/**********************************************************************************/
/**********************************************************************************/
/*INFO SECTION*/
/**********************************************************************************/
/**********************************************************************************/

.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin-top: 10rem;
}

.info-txt {
  margin-top: 10rem;
}

.info-header {
  color: hsl(208, 49%, 24%);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.info-p {
  color: hsl(207, 13%, 34%);
  font-size: 0.9rem;
  width: 40rem;
}

.info-img {
  position: absolute;
  margin-left: -17rem;
}

/**********************************************************************************/
/**********************************************************************************/
/*FOOTER SECTION*/
/**********************************************************************************/
/**********************************************************************************/

.footer-div {
  margin-top: 25rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 27rem;
  border-radius: 0 5rem 0 0;
  background-color: hsl(240, 10%, 16%);
  padding-inline: 15rem;
  padding-top: 4rem;
}

.footer-heading {
  color: white;
  font-size: 2rem;
}

.footer-category {
  display: flex;
  flex-direction: column;
  height: 20rem;
  padding-top: 1rem;
}

.footer-sub-heading {
  color: white;
  font-weight: 500;
  margin-bottom: 2.3rem;
}

.footer-links {
  color: white;
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 100;
}
