/* Box sizing rules */
*,
*::before,
*::after {
  margin: 0;
  box-sizing: border-box;
}

:root {
  --section-space-100: 100px;
  --section-space-50: 50px;
  --space-1x: 40px;
  --space-05x: 20px;
  --space-2x: 80px;
  --purple-text-color: #fb2bfc;
  --dark-purple-color: #b746c0;
  --blue-color: #2b7cd0;
  --bg-light-blue: #e7f7ff;
  --light-blue-color: #e0edf5;
  --dark-color: #15161c;
  --red-color: #ff0000;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

b {
  color: var(--blue-color);
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  font-family: "Noto Sans";
  margin-block-end: 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 body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

.header {
  padding: 20px 0;
  background-color: var(--bg-light-blue);
}

.header__logos {
  display: flex;
  justify-content: space-between;
}

.header__logo {
  object-fit: contain;
  max-width: 180px;
}

.header__logo:first-of-type {
  height: 37px;
  filter: invert(40%) sepia(88%) saturate(811%) hue-rotate(178deg)
    brightness(89%) contrast(83%);
}

@media (max-width: 850px) {
  .header {
    padding: 0;
  }
  .header__logos {
    justify-content: center;
    gap: 20px;
  }
}

.hero-banner {
  padding-block: 15px;
  background-image: url("img/hero-image-bg-color.png");
  background-repeat: no-repeat;
  background-position: center right;
}
.hero-banner-bg-img {
  display: flex;
  align-items: center;
  background-image: url("img/hero-image-laptop.png");
  background-repeat: no-repeat;
  background-position: 95% 50%;
  background-size: 38vw;
  min-height: 650px;
  animation: laptop 1s ease-in;
}

@keyframes laptop {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}

.hero-banner-info {
  padding-block: 30px;
  max-width: 700px;
}

.hero-banner-info > *:nth-child(1) {
  margin-bottom: 50px;
  color: var(--dark-color);
}
.hero-banner-info > *:nth-child(2) {
  width: 80%;
  margin-bottom: 30px;
}
.hero-banner-info > *:nth-child(3) {
  padding-top: 100px;
  font-weight: 400;
  font-size: 24px;
}

.hero-banner-title {
  font-size: 100px;
  font-weight: 600;
  margin-block-start: 0;
}

.hero-banner-text {
  font-size: 24px;
  font-weight: 300;
}

@media (max-width: 850px) {
  .hero-banner-bg-img {
    background-image: unset;
  }
  .hero-banner-bg-img {
    min-height: auto;
  }
  .hero-banner-title {
    font-size: 32px;
  }
  .hero-banner-info > *:nth-child(3) {
    padding-top: 50px;
  }
}

.digital {
  padding-block: 50px;
  background: linear-gradient(
    135deg,
    rgba(242, 242, 242, 1) 50%,
    rgba(231, 247, 255, 1) 72%
    );
    animation: laptop 1s ease-in;
}

.digital-wrapper {
  display: flex;
  justify-content: space-between;
}

.digital-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 40px;
}

.digital__text-wrap {
  display: flex;
  width: 50%;

  max-width: 450px;
  flex-direction: column;
  justify-content: space-between;
}

.digital__text-wrap-white-bg {
  display: flex;
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  background-color: white;
}

.digital-img {
  width: 50%;
}

@keyframes digatal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}

@media (max-width: 850px) {
  .digital-wrapper {
    flex-direction: column;
  }
  .digital__text-wrap {
    width: 100%;
    max-width: 100%;
    gap: 60px;
  }
  .digital-img {
    width: 100%;
  }
}

.apps {
  padding-block: 100px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 51%,
    rgba(253, 253, 253, 1) 70%,
    rgba(242, 242, 242, 1) 92%
  );
}

.apps-title {
  margin-bottom: 50px;
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  color: var(--dark-color);
}

.apps-text {
  margin-bottom: 16px;
  text-align: center;
}

.apps-icons {
  display: grid;
  padding: 80px 50px;
  grid-template-columns: repeat(auto-fit, minmax(217px, 1fr));
  row-gap: 40px;
}

.apps-icons > * {
  text-align: center;
  place-self: center;
}

@media (max-width: 850px) {
  .apps {
    padding: 0;
  }
  .apps-icons {
    padding: 0;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

.promo__lower-info {
  counter-reset: footnotes;
}

[aria-describedby="footnote-label"] {
  counter-increment: footnotes;
  text-decoration: none;
  color: inherit;
  cursor: default;
  outline: none;
}

[aria-describedby="footnote-label"]::after {
  content: "" counter(footnotes) "";
  vertical-align: super;
  font-size: 0.5em;
  margin-left: 2px;
  text-decoration: none;
  cursor: pointer;
}

[aria-describedby="footnote-label"]:focus::after {
  outline: thin dotted;
  outline-offset: 2px;
}

[aria-label="Back to content"] {
  font-size: 0.8em;
}

.footnotes :target {
  color: white;
  background: var(--blue-color);
}

.promo {
  padding: 50px 30px;
  text-align: center;
  background-image: url("img/microsoft-grow-bg-color.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

.promo__upper-title {
  font-size: 60px;
  font-weight: 600;
}

.promo__upper-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.promo__upper-card {
  display: flex;
  padding: 30px 40px;
  flex-direction: column;
  gap: 20px;
  border-radius: 12px;
  text-align: left;
  background-color: white;
  box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 0.1);
}

.promo__upper-card-title {
  font-size: 24px;
}

.promo__lower {
  display: flex;
  padding-block: 50px;
  gap: 40px;
  text-align: left;
}

.promo__lower-title {
  font-size: 40px;
  font-weight: 600;
}

@media (max-width: 850px) {
  
  .promo__upper-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .promo__lower {
    display: flex;
    flex-direction: column;
  }
}

.diagrams {
  padding-block: 50px;
  background-color: #fafafa;
}

.diagrams__transition {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
}

.diagrams__transition-info {
  margin-bottom: 36px;
}

.diagrams__transition-title {
  font-size: 40px;
  font-weight: 600;
}

.diagrams__benefits {
  display: grid;
  padding: 60px;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  border-radius: 12px;
  background-color: #e7f7ff;
}

.diagrams__benefits-img {
  max-height: 225px;
  justify-self: center;
}

.diagrams__benefits-title {
  font-size: 40px;
  font-weight: 600;
}

@media (max-width: 850px) {
  .diagrams__transition {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .diagrams__benefits {
    grid-template-columns: 1fr;
  }
}

.assets {
  display: grid;
  padding-block: 60px;
  grid-template-columns: repeat(2, 1fr);
}

.assets-title {
  font-size: 40px;
  font-weight: 600;
}
.assets-subtitle {
  font-size: 24px;
  font-weight: 600;
  line-height: 38px;
}

.assets-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.assets-list-column > * {
  padding-bottom: 10px;
}

.assets-img {
  align-self: center;
}

@media (max-width: 850px) {
  .assets {
    grid-template-columns: 1fr;
  }
}

.footnotes {
  font-size: 12px;
  padding-block: 50px 25px;
  background-color: #fafafa;
}

.footnotes ol {
  padding: 0;
}

.footnotes-text {
  margin-bottom: 12px;
  padding-top: 80px;
}

.footer {
  padding-block: 30px;
  color: white;
  background-color: #15161c;
}

.footer-img {
  max-width: 180px;
}

/*Utility classes*/

.button {
  padding: 7px 20px;
  border: 1px #2a7cd0 solid;
  border-radius: 5px;
  background-color: var(--blue-color);
}

.button-pink {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 20px;
  background-color: #ff00bb;
  border: 1px #ff00bb solid;
}

.button a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  visibility: hidden;
  opacity: 0;
}
.container {
  margin-inline: auto;
  width: min(1206px, 100%);
}

@media (max-width: 850px) {
  .container {
    padding: 20px;
  }
}

.fz-100 {
  font-size: 100px;
}

.fw-300 {
  font-weight: 300;
}
.fw-400 {
  font-weight: 400;
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}
.fw-900 {
  font-weight: 900;
}

.mb-60 {
  margin-bottom: 60px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-16 {
  margin-bottom: 16px;
}
