/* 






Global Styles/Utility Classes







*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans", sans-serif;
}

.container {
  max-width: 1600px;
  width: 90%;
  margin: auto;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.fa-solid,
.fa-regular,
.fa-brands {
  color: #262626;
}

.section-header {
  font-size: 37px;
  color: black;
  margin-top: 6rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* 







Header Navigation







*/

header {
  padding-top: 1rem;
}

.desktop-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav {
  display: flex;
  align-items: center;
}

.logo {
  width: 125px;
  padding-right: 1rem;
}

.nav-li {
  padding: 0 .5rem;
}

.nav-link {
  font-size: 13px;
  color: #262626;
  transition: border .1s ease-in;
}

.nav-link:hover {
  border-bottom: 2px solid black;
}

.nav-link i {
  padding-left: 3px;
}

.mobile-navigation {
  display: none;
}

.mobile-nav-menu {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}

.hamburger {
  background-color: white;
  border: none;
  cursor: pointer;
  padding-top: 5px;
}

.mobile-bar {
  background-color: #262626;
  height: 2px;
  width: 24px;
  margin: 5px 0px;
}

.mobile-nav-links-modal {
  display: none;
  background-color: #f2f2f2;
  width: 100%;
  margin-top: 1rem;
  border-bottom: 1px solid #262626;

}

.modal-nav-li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6e6e6;
  padding: 1rem;
}

.modal-nav-link {
  color: #262626;
  font-size: 15px;
}

/* Rotate Hamburger Bars on Click */

.mobile-bar.rotate-top {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-bar.rotate-middle {
  opacity: 0;
}

.mobile-bar.rotate-bottom {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* 




Ad Banner



*/

.ad-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  column-gap: .5rem;
  background-color: #9bf003;
  padding: 1.1rem 2rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.ad-link {
  font-size: 15px;
  font-weight: 600;
  color: black;
  transition: all .1s ease-in;
}

.ad-link:hover {
  text-decoration: underline;
  margin-right: 5px;
}

/* 




Top Showcase




*/

.showcase-container {
  background-image: url(img/copilot-pc-showcase-lite-version.avif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
}

.showcase-text-container {
  margin-left: 7rem;
  width: 40%;
}

.showcase-header {
  font-size: 37px;
  color: black;
  font-weight: 600;
}

.showcase-p {
  font-size: 16px;
  margin-top: 1rem;
}

.showcase-cta {
  background-color: #0067b8;
  color: white;
  padding: 10px;
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  transition: all .1s ease-in;
}

.showcase-cta:hover {
  background-color: #045ca5;
  box-shadow: -2px 2px 4px -3px rgba(38, 38, 38, 0.75);
}

.mobile-showcase-text-container {
  display: none;
}

/* 







Microsoft Icons







*/

.microsoft-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 8rem;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.icon-container img {
  width: 40px;
}

.microsoft-icon-link-text {
  color: #0067b8;
  text-decoration: underline;
  font-weight: 600;
}

/* 





Product Cards




*/

.product-cards {
  margin-top: 4rem;
  margin-bottom: 6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: center;
  column-gap: 1rem;
}

.p-card {
  max-width: 400px;
  height: 660px;
  font-size: 14px;
  position: relative;
  box-shadow: -2px 3px 61px -31px rgba(38, 38, 38, 0.75);
}

.p-card-img {
  width: 100%;
}

.p-card-text-container {
  padding: 2rem 1rem 1rem 1rem;
}

.promotion-text {
  background-color: #ffb900;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: black;
}

.p-card-header {
  font-size: 29px;
  color: black;
  font-weight: 500;
  margin-bottom: 1rem;
}

.p-card-text {
  line-height: 1.6;
}

.p-card-cta {
  background-color: #0067b8;
  color: white;
  padding: 10px;
  max-width: 200px;
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  transition: all .1s ease-in;
  position: absolute;
  bottom: 4%;
}

.p-card-cta:hover {
  background-color: #045ca5;
  box-shadow: -2px 2px 4px -3px rgba(38, 38, 38, 0.75);
}


/* 







Showcase 2





*/

.showcase-container-2 {
  background-image: url(img/xbox-controller-desktop.avif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
}

.mobile-showcase-text-container-2 {
  display: none;
}

/* 






Explore More Cards






*/

.explore-more-cards {
  margin-top: 1rem;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
  column-gap: 1rem;
}

.explore-card {
  max-width: 550px;
  height: 570px;
  position: relative;
  box-shadow: -2px 3px 61px -31px rgba(38, 38, 38, 0.75);
}

/* 





Showcase 3





*/

.showcase-container-3 {
  background-image: url(img/desktop-teamwork.avif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.showcase-text-container-3 {
  background-color: white;
  margin-left: 4rem;
  padding: 2rem;
  width: 600px;
  height: 350px;
  line-height: 1.5;
}

.mobile-showcase-text-container-3 {
  display: none;
}

/* 






Follow Microsoft





*/

.follow-microsoft {
  display: flex;
  align-items: center;
  margin-top: 7rem;
  column-gap: 1rem;
}

.social-icon {
  width: 35px;
}

/* 






Back to Top





*/

.back-top-top-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-right: 2rem
}

.back-to-top-btn {
  padding: 12px 30px;
  color: black;
  background-color: #d9d9d9;
  text-align: center;
  font-weight: 700;
  transition: all .1s ease-in;
}

.back-to-top-btn:hover {
  background-color: white;
  box-shadow: 1px 1px 17px -8px rgba(0, 0, 0, 0.75);
}

/* 




Footer





*/

footer {
  padding: 2rem 0rem;
  background-color: #f2f2f2;
}

.footer-nav-menus {
  display: flex;
  align-items: center;
  column-gap: 7rem;
  flex-wrap: wrap;
}

.bold-li {
  color: #616161;
  font-size: 16px;
  font-weight: 600;
}

.footer-menu li {
  padding: .5rem 0rem;
}

.footer-link {
  color: #616161;
  font-size: 10px;
  transition: all .1s ease-in;
}

.footer-link:hover {
  text-decoration: underline;
  color: #262626;
}

.footer-bottom-menus-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.bottom-menu {
  display: flex;
  align-items: center;
  column-gap: 1.3rem;
  flex-wrap: wrap;
}

/* 






Media Queries







*/

@media screen and (max-width: 1280px) {
  .desktop-navigation {
    display: none;
  }

  .mobile-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .showcase-container {
    background-image: url(img/tablet-showcase-pilot-lite.avif);
  }

  .showcase-text-container {
    display: none;
    margin-left: 0;
  }

  .mobile-showcase-text-container {
    display: block;
    padding: 2rem;
    box-shadow: -2px 2px 4px -3px rgba(38, 38, 38, 0.75);
  }

  .microsoft-icons {
    margin-top: 5rem;
  }

  .product-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .p-card {
    height: 640px;
  }

  .showcase-container-2 {
    background-image: url(img/xbox-controllers-v2.avif);
  }

  .mobile-showcase-text-container-2 {
    display: block;
    padding: 2rem 1rem;
  }
}

@media screen and (max-width: 900px) {
  .explore-more-cards {
    margin-bottom: 3rem;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 0rem;
    row-gap: 1rem;
  }

  .explore-card {
    max-width: 100%;
    height: 700px;
    position: relative;
  }

  .showcase-container-3 {
    background-image: url(img/mobile-teamwork.avif);
  }

  .showcase-text-container-3 {
    display: none;
  }

  .mobile-showcase-text-container-3 {
    display: block;
    padding: 2rem 1rem 1rem 1rem;
    box-shadow: 0px 9px 5px -9px rgba(0, 0, 0, 0.75);
    margin-bottom: 2rem;
  }

  .footer-nav-menus {
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: column;
    text-align: left;
  }

  .footer-bottom-menus-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: 3rem;
  }

  .bottom-menu {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    column-gap: 0rem;
    row-gap: 10px;

  }
}

@media screen and (max-width: 700px) {
  .showcase-container {
    height: 250px;
  }

  .showcase-header {
    font-size: 28px;
  }

  .product-cards {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 1rem;
  }

  .p-card {
    max-width: 100%;
    height: 100%;
  }

  .p-card-cta {
    position: static;
    margin-bottom: 1rem;
  }

  .showcase-container-2 {
    height: 285px;
  }

  .explore-card {
    height: auto;
  }

  .showcase-container-3 {
    height: 300px;
  }
}