* {
  padding: 0;
  box-sizing: border-box;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  overflow-x: hidden; /* Hide horizontal scrollbar */
}
/*START OF NAVBAR*/
.nav {
  background-color: #1c1616;
}
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  width: 100%;
  flex-wrap: wrap;
}
.nav__link {
  box-shadow: inset 0 0 0 0 #54b3d6;
  color: #54b3d6;
  padding: 0 0.25rem;
  margin: 0 -0.25rem;
  transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.nav__links a:nth-of-type(1):hover {
  color: #fff;
  box-shadow: inset 2.8em 0 0 0 #54b3d6;
}
.nav__links a:nth-of-type(2):hover {
  color: #fff;
  box-shadow: inset 4em 0 0 0 #54b3d6;
}
.nav__links a:nth-of-type(3):hover {
  color: #fff;
  box-shadow: inset 2.3em 0 0 0 #54b3d6;
}

.nav__link {
  color: white;
  padding-right: 40px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.img__logo1 {
  width: 300px;
  margin-left: 30px;
}
/*END OF NAVBAR*/

/*START OF HEADER*/
.main__container {
  display: flex;
  margin-left: 25px;
  flex-wrap: wrap;
  justify-content: space-between;
}
header h1 {
  text-align: center;
  margin-top: 20px;
}
header p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
}
/*END OF HEADER*/

/*START OF SECTION*/
.section__container {
  /* background: rgb(196, 93, 93); */
  border-radius: 10px;
  text-align: start;
  gap: 20px;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 70%;
}
.section__container a {
  text-decoration: none;
  color: black;
  transition: 0.5s ease;
  border-radius: 10px;
  height: 350px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}
.section__container a:hover {
  background-color: #3d2a2a80;
  transform: scale(1.08);
}
.section__container div h5 {
  font-size: 20px;
}
.section__container div h5,
p {
  padding-left: 5px;
}
.img__section {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}
/*END OF SECTION*/

/*START OF ASIDE*/
.aside___container {
  background-color: #1c1616;
  text-align: center;
  max-width: 350px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.aside___container div h4,
h2 {
  color: #fff;
}
.img__aside {
  max-width: 80%;
  border-radius: 10px;
  margin-top: 30px;
}
.aside___container a div {
  background-color: #1c1616;
  transition: 0.5s ease;
}
.aside___container div:hover {
  background-color: #301616;
}
.aside___container div:hover img {
  transform: scale(1.02);
}
/*END OF ASIDE*/

/*START FOOTER*/
.footer__container .container {
  background-color: #1c1616;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 6%;
  min-height: 70px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.footer__link {
  box-shadow: inset 0 0 0 0 #54b3d6;
  color: #54b3d6;
  padding: 0 0.25rem;
  margin: 0 -0.25rem;
  transition: color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.footer__link:hover {
  color: #fff;
  box-shadow: inset 220px 0 0 0 #54b3d6;
}
.footer__link {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
/*END FOOTER*/

@media (min-width: 2000px) {
  header h1 {
    font-size: 35px;
  }
  header p {
    font-size: 27px;
  }
  .section__container div h5 {
    font-size: 32px;
  }
  .section__container div p {
    font-size: 22px;
  }
  .section__container {
    grid-template-columns: 1fr 1fr;
  }
  .section__container a {
    height: 450px;
  }
  .img__section {
    width: 100%;
    height: 300px;
  }
  .aside___container {
    max-width: 550px;
  }
}

@media (max-width: 1303px) {
  .main__container {
    margin-right: 25px;
  }
  .section__container {
    width: 100%;
  }
  .aside___container {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .aside__title {
    grid-column: 1/3;
  }
  .aside__yoga {
    grid-column: 1/3;
  }
}

@media (max-width: 1024px) {
  .section__container {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 150px;
  }
  .section__container a:nth-of-type(9) {
    /*This is for the Yoga image fit better*/
    grid-column: 1/3;
  }
  .section__container a:nth-of-type(9) img {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .section__container {
    display: flex;
    flex-direction: column;
    gap: 150px;
  }

  .img__section {
    width: 100%;
    height: 400px;
    border-radius: 10px;
  }
  .aside___container {
    display: flex;
  }
}

@media (max-width: 624px) {
  .nav .container {
    justify-content: center;
    align-items: center;
  }
  .footer__container .container {
    justify-content: center;
    align-items: center;
  }
  .nav__link {
    padding-right: 10px;
  }
}

@media (max-width: 480px) {
  header h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
  }
  header p {
    margin-bottom: 10px;
    font-size: 17px;
  }
  .section__container {
    margin-bottom: 20px;
  }
  .section__container {
    gap: 10px;
  }
  .section__container a {
    height: 370px;
  }
  .section__container a:nth-of-type(9) img {
    width: 100%;
    height: 220px;
  }
  .img__section {
    width: 100%;
    height: 220px;
  }
  .img__logo1 {
    width: 250px;
    margin-left: 30px;
  }
}

@media (max-width: 330px) {
  .section__container {
    margin-bottom: 20px;
  }
  header h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
  }
  header p {
    margin-bottom: 10px;
    font-size: 17px;
  }

  .section__container {
    gap: 10px;
  }
  .section__container a {
    height: 300px;
  }
  .img__section {
    width: 100%;
    height: 150px;
  }
  .nav .container {
    justify-content: center;
    align-items: center;
  }
  .nav__link {
    padding-right: 10px;
  }
  .img__logo1 {
    width: 250px;
    margin-left: 30px;
  }
  .section__container a:nth-of-type(9) img {
    width: 100%;
    height: 150px;
  }
  .footer__container .container {
    justify-content: center;
  }
}
