@import "https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap";

#how-strong-am-i {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1250px;
  margin: auto;
}

#main-powerlifting {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: auto;
  padding: 5rem 3rem;
  max-width: 1250px;
}

#menu {
  display: none;
}

#mobile-nav-container > nav {
  align-items: center;
  display: flex;
  flex-direction: column;
}

#mobile-nav-container > nav > a {
  background-color: #141414;
  border-bottom: 1px solid #222;
  color: #fff;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

#mobile-nav-container > nav > a:visited {
  color: #fff;
  text-decoration: none;
}

#what-is-powerlifting {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  gap: 3rem;
  height: fit-content;
  max-width: 1250px;
  margin: auto;
}

#faq {
  padding: 5rem 3rem;
  background-color: #141414;
}

.faq-content {
  max-width: 1250px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.faq-content h2 {
  font-size: 46px;
}

.dropdown {
  width: 80%;
}

.powerlifting-container {
  padding: 5rem 3rem;
  background-color: #141414;
}

.dropdown-title-container {
  padding: 1rem;
  background-color: #222;
  border-bottom: 1px solid rgb(68, 68, 68);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.dropdown-title-container:hover {
  cursor: pointer;
}

.dropdown-title-container img {
  width: 25px;
  height: 25px;
}

.dropdown :nth-child(1) {
  border-radius: 0.5rem 0.5rem 0 0;
}

.border-bottom {
  border-bottom: none;
  border-radius: 0 0 0.5rem 0.5rem;
}

.dropdown-content {
  padding: 1rem;
  background-color: #636363;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dropdown-content a {
  color: #0d0d24;
}

#compete {
  padding: 5rem 3rem;
  height: fit-content;
}

iframe {
  border: 1px solid white;
  border-radius: 0.5rem;
  width: 100%;
  height: 400px;
}

.compete-content {
  margin: auto;
  max-width: 1250px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

* {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
}

.box {
  align-items: center;
  background-color: rgba(41, 41, 41, 0.74);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.box > img {
  width: 100px;
}

.box h3 {
  font-size: 24px;
}

.box-container {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-evenly;
  margin: auto;
  width: fit-content;
}

.strong-container {
  background-color: #e7e7e7;
  height: fit-content;
  padding: 5rem 3rem;
}

.down-arrow {
  height: 100px;
  width: 100px;
}

.down-arrow img {
  height: 100%;
  width: 100%;
}

.hide {
  display: none;
}

.left-side {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1em;
  height: 100%;
  justify-content: center;
  width: 45%;
  max-width: 500px;
}

.left-side > button {
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

button {
  transition: all 0.5s ease-in-out;
  border: none;
  font-size: 14px;
}

button:hover {
  transform: scale(1.1);
  cursor: pointer;
  box-shadow: 0px 0px 10px rgb(128, 128, 128);
}

.left-side > h2 {
  font-size: 46px;
}

.left-side-strong {
  color: #000;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  justify-content: center;
  gap: 2rem;
  width: 45%;
}

.left-side-strong button {
  background-color: #0d0d24;
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  padding: 0.75rem;
  width: 30%;
}

.left-side-strong h2 {
  color: #0d0d24;
  font-size: 46px;
}

.plus {
  height: 80px;
  width: 80px;
}

.plus img {
  height: 100%;
  width: 100%;
}

.right-side {
  width: 50%;
}

.right-side > img {
  border-radius: 0.5rem;
  height: 100%;
  width: 100%;
}

.right-side-strong {
  color: #0d0d24;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
}

.right-side-strong a {
  color: #0d0d24;
  font-style: italic;
}

.right-side-strong h3 {
  font-size: 30px;
}

.right-side-strong img {
  width: 80%;
}

.total {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: fit-content;
  justify-content: space-between;
  text-align: center;
  width: 50%;
}

.total h3 {
  font-size: 30px;
}

.total img {
  height: 30%;
  width: 30%;
}

.what-is-powerlifting-title-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  width: 50%;
}

.what-is-powerlifting-title-container > h2 {
  font-size: 46px;
}

.left-side-compete {
  color: white;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  height: 100%;
  gap: 2rem;
  width: 45%;
  align-items: flex-end;
  text-align: right;
}

.left-side-compete ul {
  list-style: none;
}

.left-side-compete ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  justify-content: center;
}

.left-side-compete ul li img {
  width: 7.5%;
}

.right-side-compete {
  align-items: center;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  justify-content: center;
  width: 50%;
}

.left-side-compete h2 {
  color: white;
  font-size: 46px;
}

.left-side-compete button {
  background-color: #fff;
  border: none;
  border-radius: 0.5rem;
  color: #0d0d24;
  padding: 0.75rem;
  width: 30%;
}

.no-border {
  border-radius: 0;
}

.header-padding-bottom {
  padding-bottom: 1rem;
}

body {
  background-color: #0d0d24;
  color: #fff;
}

header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1rem 3rem 0 2.25rem;
}

header > img {
  height: 50px;
  width: 50px;
}

header > nav {
  display: flex;
  justify-content: space-between;
  width: 350px;
}

header > nav > a {
  color: #fff;
  text-decoration: none;
  transition: font-weight 0.5 ease-in-out;
}

header > nav > a:hover {
  font-weight: 700;
}

header > nav > p {
  color: #212131;
}

footer {
  padding: 3rem 1rem;
  background-color: #e7e7e7;
  color: rgb(119, 119, 119);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

footer img {
  width: 80px;
}

footer h4 {
  font-size: 30px;
  color: #0d0d24;
}

footer > nav {
  display: flex;
  gap: 1rem;
}

footer > nav > a {
  color: black;
  text-decoration: none;
  transition: font-weight 0.5 ease-in-out;
}
footer > nav > a:hover {
  font-weight: 700;
}

@media all and (max-width: 900px) {
  .box-container {
    gap: 0.5rem;
  }

  .left-side-strong button {
    width: 50%;
  }

  .left-side-compete button {
    width: 30%;
  }

  .compete-content {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .left-side-compete,
  .right-side-compete {
    width: 100%;
  }

  .left-side-compete {
    gap: 2rem;
    align-items: center;
    text-align: center;
  }
}

@media all and (max-width: 750px) {
  .box-container {
    flex-direction: column;
  }

  .box > img {
    width: 150px;
  }

  .box h3 {
    font-size: 32px;
  }

  #how-strong-am-i {
    flex-direction: column;
    gap: 2rem;
  }

  .left-side-strong,
  .right-side-strong {
    width: 100%;
  }

  .left-side-strong {
    align-items: center;
    text-align: center;
  }

  #compete {
    height: fit-content;
  }

  .left-side-compete {
    gap: 2rem;
    align-items: center;
    text-align: center;
  }

  iframe {
    height: 350px;
  }

  #main-powerlifting {
    flex-direction: column;
    gap: 2rem;
  }

  .left-side {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .right-side {
    width: 70%;
  }

  .right-side-strong img {
    width: 100%;
  }
}

@media all and (max-width: 660px) {
  .what-is-powerlifting-title-container,
  .total {
    width: 100%;
  }

  .right-side {
    width: 90%;
  }
  .left-side-compete button,
  .left-side-strong button {
    width: 50%;
  }
  .dropdown {
    width: 100%;
  }

  .left-side h2,
  .left-side-compete h2,
  .what-is-powerlifting-title-container h2,
  .left-side-strong h2,
  .faq-content h2 {
    font-size: 36px;
  }

  iframe {
    height: 275px;
  }
}

@media all and (max-width: 550px) {
  #menu {
    display: block;
  }

  #web-nav {
    display: none;
  }
  iframe {
    height: 200px;
  }
}

@media all and (max-width: 400px) {
  .left-side h2,
  .left-side-compete h2,
  .what-is-powerlifting-title-container h2,
  .left-side-strong h2,
  .faq-content h2 {
    font-size: 32px;
  }
}
