section {
  margin-bottom: 0;
  min-height: fit-content;
}

.hero-section {
  margin-bottom: 0;
}

.main-header {
  /* margin-top: 200px; */
  min-height: 70vh;
  padding-top: 200px;
  margin-bottom: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../../static/blob-green.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.main-header-content {
  padding: 0 5vw;
  text-align: center;
}

.main-header h2 {
  font-size: 1.8em;
}

@media screen and (min-width: 768px) {
  .main-header {
    margin-top: 50px;
    background-size: cover;
  }
}

@media screen and (min-width: 992px) {
  .main-header-content {
    padding: 0 15vw;
    text-align: center;
  }

  section {
    min-height: 80vh;
  }
}

h1 {
  padding-top: 0;
}

.routines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

.routine {
  width: 85vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.routine img {
  width: 100px;
  height: 100px;
}

.routine-content {
  /* background-color: var(--blue); */
  border-radius: 20px;
  padding: 20px;
}

.routine-content p {
  /* color: white; */
  position: relative;
  margin-bottom: 14px;
}

.routine-content p::before {
  position: absolute;
  content: "";
  top: 2px;
  left: -20px;
  width: 18px;
  height: 18px;
  /* background-color: var(--green); */
  background-position: center;
  background-repeat: no-repeat;
}

.download-container {
  width: 100vw;
  /* height: 160vh; */
  margin-bottom: 200px;
}

.blur {
  background-color: var(--green);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px;
  border: 3px dotted var(--green);
}

.download-rel {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}

.circle-div {
  background-color: var(--green);
  border-radius: 50%;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 65px;
}

#cd1 {
  background-color: var(--blue);
}

#cd2 {
  width: 340px;
  height: 340px;
}

#cd3 {
  width: 500px;
  height: 500px;
  background-color: var(--blue);
}

#cd1 p,
#cd3 p {
  color: white;
}

.day p::before {
  background-image: url("../../static/icons/sun2.png");
}

.night p::before {
  background-image: url("../../static/icons/moon2.png");
}

main {
  margin-top: 60px;
}

main h2 {
  font-size: 2.4rem;
  color: #333;
  text-align: center;
  transform: translateY(80px);
  font-family: "Lora", serif;
}

@media screen and (min-width: 700px) {
  main h2 {
    text-align: center;
  }
}

.routine h2 {
  font-size: 2rem;
  transform: translateY(0);
  margin-top: 20px;
  margin-bottom: 10px;
}

#circle-header {
  transform: translateY(-20px);
}

.magic-pattern {
  margin-bottom: 100px;
  width: 100vw;
  height: 100vh;
  padding-top: 20vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 1000 1000%22 xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cdefs%3E%3CclipPath id=%22a%22%3E%3Cpath fill=%22currentColor%22 d=%22M781 621q7 121-95.5 234.5t-230.5 29Q327 800 226.5 718T103 491.5q-23-144.5 70.5-270T401 199q134 103 301 47.5t119.5 99Q774 500 781 621Z%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3Cg clip-path=%22url(%23a)%22%3E%3Cpath fill=%22%23bbd80a%22 d=%22M781 621q7 121-95.5 234.5t-230.5 29Q327 800 226.5 718T103 491.5q-23-144.5 70.5-270T401 199q134 103 301 47.5t119.5 99Q774 500 781 621Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.magic-pattern-content div {
  background-color: white;
  /* width: 250px;
          min-height: 100px; */
  border-radius: 10px;
  padding: 10px;
  box-shadow: 8px 8px 18px 0px rgba(66, 68, 90, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parent {
  margin: auto;
  width: 90%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(12, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.div3 {
  grid-area: 1 / 1 / 2 / 2;
}
.div1 {
  grid-area: 3 / 1 / 5 / 2;
}
.div2 {
  grid-area: 6 / 1 / 11 / 2;
}

@media screen and (min-width: 992px) {
  .training-section,
  .coach-section,
  .studio-section,
  .school-section {
    min-height: fit-content;
    padding-bottom: 150px;
  }

  .training-circle,
  .studio-circle {
    width: 300px;
    height: 300px;
    margin-left: 200px;
    margin-top: -40px;
  }

  .coach-circle,
  .school-circle {
    width: 300px;
    height: 300px;
    margin-left: 20px;
    margin-top: -40px;
  }

  .training-circle img,
  .coach-circle img,
  .studio-circle img,
  .school-circle img {
    width: 300px;
    height: 300px;
  }

  .main-header {
    min-height: 90vh;
    padding-top: 0;
    margin-bottom: 0;
  }

  .routines {
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    align-items: start;
  }

  .routine {
    width: 40vw;
  }

  .magic-pattern {
    padding-top: 20vh;
    background-size: contain;
  }

  .parent {
    margin: auto;
    width: 60%;
    height: 62vh;
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: repeat(12, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }

  .div1 {
    grid-area: 2 / 6 / 7 / 11;
  }
  .div2 {
    grid-area: 8 / 2 / 13 / 12;
  }
  .div3 {
    grid-area: 1 / 1 / 6 / 5;
  }

  #circle-header {
    transform: translateY(240px);
  }

  .download-container {
    width: 100vw;
    height: 120vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 200px;

    /* background-image: url("../../static/blob-green.svg");
          background-repeat: no-repeat;
          background-position: center;
          background-size: cover; */
  }

  .blur {
    background-color: var(--green);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    border: 3px dotted var(--green);
  }

  .download-rel {
    width: 200px;
    height: 200px;
    margin: auto;
    position: relative;
    transform: translateX(-140px);
  }

  .circle-div {
    position: absolute;
    background-color: var(--green);
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 45px;
  }

  #cd1 {
    background-color: var(--blue);
    top: -70px;
    left: -180px;
  }

  #cd2 {
    width: 340px;
    height: 340px;
    top: 190px;
    left: -200px;
  }

  #cd3 {
    width: 500px;
    height: 500px;
    background-color: var(--blue);
    top: 10px;
    left: 190px;
  }

  main {
    margin-top: -200px;
    padding-top: 40px;
  }
}

@media screen and (min-width: 1050px) {
  .training-section,
  .coach-section,
  .studio-section,
  .school-section {
    padding-bottom: 100px;
  }
}

@media screen and (min-width: 1200px) {
  .training-circle,
  .coach-circle,
  .studio-circle,
  .school-circle {
    margin-top: 50px;
  }
}

/*------------------------------------------*/
/*------------------------------------------*/
/*------------------------------------------*/
/*------------------------------------------*/
/*------------------------------------------*/
/*------------------------------------------*/
/*------------------------------------------*/
/*------------------------------------------*/
/*------------------------------------------*/

svg path {
  stroke-width: 0.075em;
  color: transparent;
  stroke: #2b3338;
  stroke-dasharray: none;
}

#link-circle {
  stroke: transparent;
}

.link {
  width: 10rem;
  height: 10rem;
  display: inline-block;
  font-size: 3em;
  text-transform: uppercase;
  letter-spacing: 0.1175em;
  word-spacing: 0.3em;
  text-decoration: none;
}
.link__svg {
  width: 100%;
  height: auto;
  transform-box: fill-box;
  fill: #2b3338;
  stroke: #2b3338;
  stroke-width: 0.05em;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link__cloud {
  transform-origin: 50% 50%;
  animation: rotate normal infinite 60s linear;
  fill: rgba(255, 255, 255, 0.15);
}
.link__face,
.link__arrow {
  transform-origin: 50% 50%;
  transition: transform 0.15s cubic-bezier(0.32, 0, 0.67, 0);
}
.link:hover .link__face,
.link:hover .link__arrow {
  transform: scale(1.1);
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}
.link__arrow {
  stroke-width: 0.075em;
}
.link__text {
  animation: rotateReverse normal infinite 20s linear;
  transform-origin: 50% 50%;
}
.link:hover .link__text {
  animation-play-state: paused;
}
.link--alt {
  font-size: 1.15rem;
  letter-spacing: 0;
  word-spacing: 0;
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rotateReverse {
  to {
    transform: rotate(-360deg);
  }
}

#cd3 p{
  padding: 15px;
}