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

html {
  font-size: 62.5%;
  font-family: "Open Sans", sans-serif;
}

body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1.6rem;
}

img {
  max-width: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.backgroundContent {
  background-color: #f6f6f6;
}

header {
  background-image: url(../images/imageHeader.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 40rem;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 1.6rem 0;
}

header > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

header h1 {
  text-transform: uppercase;
  font-family: "Luckiest Guy";
  font-weight: 400;
  font-size: 5.2rem;
  word-break: keep-all;
  width: 30%;
  text-align: center;
}

header p {
  word-break: keep-all;
  width: 50%;
  text-align: center;
  font-weight: 400;
}

.containerButtons {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.buttonWindows {
  background: #fff;
  color: #23272a;
  font-weight: 400;
  width: 20rem;
  height: 4rem;
  border-radius: 2.8rem;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.buttonOpenDiscord {
  background: #23272a;
  color: #fff;
  font-weight: 400;
  width: 28rem;
  height: 4rem;
  border-radius: 2.8rem;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

main {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 300px 1fr 300px 300px 300px 500px 1fr;
  align-items: center;
  justify-items: center;
  margin: 4rem 0;
}

.contentSection h2 {
  font-weight: 800;
  font-size: 4rem;
  width: 45%;
  word-break: keep-all;
}

.contentSection p {
  font-weight: 400;
  width: 45%;
  word-break: keep-all;
}

section h1 {
  font-family: "Luckiest Guy";
  font-weight: 400;
  font-size: 4rem;
}

.contentSection {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.contentSection.sectionFind {
  align-items: center;
}

.sectionEnd {
  justify-items: center;
  align-items: center;
  grid-column: 1 / -1;
}

footer {
  background-color: #23272a;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10rem;
}

footer img {
  width: 23rem;
  height: 5rem;
}

@media screen and (max-width: 520px) {
  .containerButtons {
    gap: 2rem;
    justify-content: center;
  }

  .buttonWindows {
    width: 28rem;
  }
}

@media screen and (max-width: 1200px) {
  .contentSection h2 {
    width: 70%;
  }
}

@media screen and (min-width: 768px) {
  main {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

@media screen and (max-width: 380px) {
  main {
    align-items: flex-start;
    grid-template-rows: repeat(3, 30rem auto) 1fr;
    row-gap: 1.4rem;
  }

  .contentSection {
    padding: 0 0.8rem;
  }
  .contentSection h2,
  .contentSection p {
    width: 100%;
  }

  section h1 {
    font-size: 3.6rem;
  }

  .contentSection.sectionFind {
    grid-row: 4 / span 1;
  }
}
