* {
  box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #000000;
  font-family: Arial, Helvetica, sans-serif;
}
p {
  margin: 0;
  padding: 0;
}
.wrapper {
  display: grid;
  grid-template: 80px 300px 1fr / minmax(0px, 1fr) 992px minmax(0px, 1fr);
}
header {
  grid-area: 1 / 1 / 2 / 4;
  background-color: #efefef;
}
.header-inner-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 992px;
  height: 100%;
  margin: 0 auto;
}
.logo {
  margin: auto 0;
  font-size: 1.6rem;
  font-weight: bold;
}
nav {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  width: 400px;
}
nav > ul {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-evenly;
}
.nav-link {
  color: #000000;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  width: 200px;
  height: 50px;
  text-align: center;
  padding: 10px;
  transition: background-color 0.3s, color 0.3s;
}
.nav-link:hover {
  background-color: rgb(0, 0, 0);
  color: #ffffff;
}
/* .nav-link > a {
  width: 100%;
  height: 100%;
} */
.home-hero {
  grid-area: 2 / 1 / 3 / 4;
  background-image: url("https://images.pexels.com/photos/269948/pexels-photo-269948.jpeg");
  background-size: cover;
  background-position: center 70%;
}
.home-main {
  grid-area: 3 / 2 / 4 / 3;
}
.feature-sync-title {
  font-size: 40px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
  color: #efefef;
}

@keyframes feature-animation {
  0% {
    box-shadow: 0px 0px 0px 0px rgba(130, 130, 0, 0.785);
  }
  50% {
    box-shadow: 0px 0px 20px 10px rgba(255, 255, 0, 0.5);
  }
  100% {
    box-shadow: 0px 0px 0px 0px rgba(130, 130, 0, 0.785);
  }
}

.feature-sync {
  width: 50%;
  height: 250px;
  margin: 0 auto;
  background-image: url("https://images.pexels.com/photos/296322/pexels-photo-296322.jpeg");
  background-size: cover;
  background-position: center 100%;
  border-radius: 10px;
  animation: feature-animation 2s ease-in-out infinite;
}
.feature-sync-blur {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  border-radius: 10px;
  padding: 20px;
  border: 2px solid rgb(78, 0, 121);
}
.feature-sync-blur > * {
  color: #efefef;
  text-align: center;
}
.feature-sync-caption {
  font-size: 2rem;
  margin-top: 10px;
  margin-bottom: 20px;
}
.feature-sync-para {
  font-size: 1.3rem;
}
.pricing-table {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 20px;
  margin-bottom: 50px;
}
.pricing-title {
  font-size: 40px;
  text-align: center;
  margin-top: 50px;
  color: #efefef;
}
.pricing-card {
  border: 2px solid black;
  border-radius: 10px;
  margin-top: 20px;
  padding: 30px;
  width: 300px;
  background-color: rgb(46, 46, 46);
  color: #efefef;
}
.pricing-card-title {
  font-size: 2rem;
  font-weight: bold;
}
.pricing-card-price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
}
.pricing-card > ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}
.pricing-card > ul > li {
  margin-bottom: 5px;
}
.join-us-wrapper {
  grid-area: 4 / 1 / 4 / 4;
  background-color: #00a7de;
  height: 350px;
  width: 100%;
}
.join-us {
  max-width: 992px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #efefef;
}
.join-us-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 55px;
}
.join-us-para {
  font-size: 1.5rem;
}

.profile-wrapper {
  display: grid;
  grid-template: 80px 100% / minmax(0px, 1fr) 992px minmax(0px, 1fr);
}
.profile-main {
  grid-column: 2;
  display: grid;
  grid-template-rows: 100px 25vh auto 1fr;
  grid-template-columns: 1fr 1fr;
  background-image: url("https://images.pexels.com/photos/431722/pexels-photo-431722.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.page-title {
  font-size: 2rem;
  font-weight: bold;
  color: #efefef;
  align-self: center;
  justify-self: left;
}
.profile-page-title {
  background-color: rgba(0, 0, 0, 0.7);
  margin: 10px;
  border-radius: 10px;
  display: flex;
}
.profile-description {
  grid-row: 2;
  grid-column: 1 / 3;
  color: #efefef;
  font-size: 1.7rem;
  margin: 10px;
  align-self: center;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 10px;
}
.profile-section {
  margin: 20px 0;
  width: 95%;
  height: 180px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(46, 46, 46, 0.9);
}
#profile-lights-section {
  grid-row: 3;
  justify-self: center;
  align-self: center;
}
#profile-leagues-section {
  grid-row: 3;
  justify-self: center;
  align-self: center;
}

.profile-section-title {
  font-size: 24px;
  font-weight: bold;
  color: #efefef;
  margin-bottom: 15px;
}

.profile-dropdown {
  height: 35px;
  padding: 8px;
}

.smart-lights-dropdown {
  display: flex;
  align-items: center;
}

.test-button,
.add-light-button,
.edit-button {
  margin-left: 10px;
  padding: 8px;
  background-color: #00a7de;
  color: #efefef;
  border: none;
  cursor: pointer;
  height: 35px;
}
.profile-lights-description {
  grid-row: 4;
  grid-column: 1;
  color: #efefef;
  padding: 10px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  margin: 10px;
  border-radius: 10px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}
.profile-leagues-description {
  grid-row: 4;
  grid-column: 2;
  color: #efefef;
  padding: 10px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  margin: 10px;
  border-radius: 10px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.color-picker-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.popup-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.about-wrapper {
  display: grid;
  grid-template: 80px 100% / minmax(0px, 1fr) 992px minmax(0px, 1fr);
}
.about-main {
  grid-row: 2;
  grid-column: 2;
  display: grid;
  grid-gap: 10px;
  grid-template-rows: 100px repeat(4, 1fr);
  grid-template-columns: 1fr 1fr;
  color: #efefef;
}
.about-para {
  justify-self: center;
  align-self: center;
  padding: 20px;
}
.about-para-1 {
  grid-row: 2;
  grid-column: 1;
}
.about-image-1 {
  grid-row: 2;
  grid-column: 2;
  background-image: url("https://images.pexels.com/photos/1884576/pexels-photo-1884576.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  border-radius: 10px;
}
.about-para-2 {
  grid-row: 3;
  grid-column: 2;
}
.about-image-2 {
  grid-row: 3;
  grid-column: 1;
  background-image: url("https://images.pexels.com/photos/7425357/pexels-photo-7425357.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}
.about-para-3 {
  grid-row: 4;
  grid-column: 1;
}
.about-image-3 {
  grid-row: 4;
  grid-column: 2;
  display: grid;
  grid-gap: 10px;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(2, 1fr);
}
.sport-image-1 {
  grid-row: 1;
  grid-column: 1;
  background-image: url("https://images.pexels.com/photos/46798/the-ball-stadion-football-the-pitch-46798.jpeg?auto=compress&cs=tinysrgb&w=400");
  background-position: right 55%;
  background-repeat: no-repeat;
  background-size: 90%;
}
.sport-image-2 {
  grid-row: 1;
  grid-column: 2;
  background-image: url("https://images.pexels.com/photos/71103/basketball-sports-teams-players-71103.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
  background-position: center 40%;
  background-repeat: no-repeat;
  background-size: 90%;
}
.sport-image-3 {
  grid-row: 2;
  grid-column: 1;
  background-image: url("https://images.pexels.com/photos/2207/red-people-outside-sport.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
  background-position: center 30%;
  background-repeat: no-repeat;
  background-size: 90%;
}
.sport-image-4 {
  grid-row: 2;
  grid-column: 2;
  background-image: url("https://images.pexels.com/photos/6847470/pexels-photo-6847470.jpeg?auto=compress&cs=tinysrgb&w=400");
  background-repeat: no-repeat;
  background-size: 90%;
  background-position: center;
}
.about-para-4 {
  grid-row: 5;
  grid-column: 2;
}
.about-image-4 {
  grid-row: 5;
  grid-column: 1;
  display: grid;
  grid-gap: 10px;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(2, 1fr);
  background-image: url("https://images.pexels.com/photos/1201996/pexels-photo-1201996.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  border-radius: 10px;
}
@media screen and (max-width: 992px) {
  .wrapper {
    grid-template: 80px 200px 1fr / minmax(0px, 1fr) 100% minmax(0px, 1fr);
  }

  .home-hero {
    grid-area: 2 / 1 / 3 / 4;
    height: 150px;
    background-size: cover;
    background-position: center 75%;
  }

  .feature-sync {
    width: 75%;
  }
  .join-us-title {
    font-size: 2.5rem;
  }
  .join-us-para {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  .wrapper {
    grid-template: 80px 150px 1fr / minmax(0px, 1fr) 100% minmax(0px, 1fr);
  }

  .home-hero {
    grid-area: 2 / 1 / 3 / 4;
    height: 120px;
    background-size: cover;
    background-position: center 80%;
  }
  .header-inner-wrapper {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(6, 1fr);
  }
  .logo {
    grid-row: 1;
    grid-column: 2 / -2;
    justify-self: center;
    margin-top: 10px;
  }
  nav {
    grid-row: 2;
    grid-column: 2 / -2;
    justify-self: center;
  }

  .nav-link {
    font-size: 16px;
    width: 150px;
    height: 40px;
  }
  .nav-link:hover {
    background-color: #efefef;
    color: #000000;
  }

  .pricing-table {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    width: 75%;
  }

  .join-us-wrapper {
    height: auto;
    padding: 20px;
  }
  .join-us-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .join-us-para {
    font-size: 1rem;
  }
}
