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

body {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
  background-color: white;
  padding: 10px 20px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.nav_ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.nav_ul li {
  cursor: pointer;
  margin: 0 5px;
  font-size:70%;
  font-weight: 500;
}
.nav_ul li:hover{
  text-decoration: underline;
}
#logo {
  height: 40px;
}

/* Hero section */
#micro_background {
  background: url("micro_background.avif") no-repeat center center/cover;
  color: black;
  text-align: center;
  padding: 100px 20px;
}

#micro_background h1 {
  font-size: 2.5rem;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}
#micro_background p {
  font-size: 1.2rem;
}
#one_person {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  color: white;
  background-color: rgba(63, 63, 228, 0.829);
  font-size: 1rem;
  margin-top: 10px;
}
#one_person:hover{
  background-color: rgba(63, 63, 228, 0.705);
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
#six_people a {
  /* margin-left: 20px; */
  color: black;
}

/* Box Section */
.boxed {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 40px 10px;
  gap: 20px;
}
.boxes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 200px;
  text-align: center;
}

.boxes p:hover{
  text-decoration: underline;
  cursor: pointer;
}

#box1{
    height: 45px;
    width: 45px;
    background-image: url('micro360.webp');
    background-size: 100%;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}
#box2{
    height: 45px;
    width: 45px;
    background-image: url('tablet.webp');
    background-size: 100%;
}
#box3{
    height: 45px;
    width: 45px;
    background-image: url('xbox.webp');
    background-size: 100%;
}
#box4{
    height: 45px;
    width: 45px;
    background-image: url('window11.webp');
    background-size: 100%;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

.boxes div {
  height: 100px;
  background-color: lightgray;
  margin-bottom: 10px;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 10px;
}
.card {
  width: 250px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
}
.card:hover{
  cursor: pointer;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}
.cardimage img {
  width: 100%;
}

/* Xbox section */
#xbox_series {
  background: url("xbox_series.jpg") no-repeat center center/cover;
  height: 100%;
  width: 100%;
  display: flex;
  position: relative;
  padding: 20% 20%;
  color: black;
  text-align: center;
  margin-bottom: 30px;
}
.xbox_material{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50px, -50px);
}

#shop_now {
  padding: 10px 20px;
  background-color: #107c10;
  border-radius: 5px;
  color: white;
  border: none;
  cursor: pointer;
}
#shop_now:hover{
  background-color: #107c10d8;
}

#for_business{
  padding-left: 0.8em;
}

/* Follow Section */
.follow_microsoft {
  text-align: center;
  margin: 40px 0;
}
.facetwiyou {
  width: 30px;
  cursor: pointer;
  margin: 10px 10px;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #f2f2f2;
  padding: 40px 10px;
}
.footer ul {
  list-style: none;
  width: 150px;
}
.footer ul li:hover{
  text-decoration: underline;
}
.footer_headings {
  font-weight: bold;
  margin-bottom: 10px;
}
.footer_copyright_bar {
  background-color: #e6e6e6;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  list-style: none;
  font-size: 0.9rem;
}

.footer_copyright_bar li:hover{
  text-decoration: underline;
}






