/* Header */
header {
  margin-bottom: 0;
}

/* Section */
.section {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1279px) {
  .section {
    padding: 0 16px 50px;
  }
}

@media (min-width: 1280px) {
  section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 80px;
  }
}

/* Home Section */
.home-section {
  padding: 36px 16px;
  margin: 0 0 50px;
  max-width: 100%;
  background-image: url("../assets/home/404/mobile/background.png");
  background-size: 100% 100%;
}

.home-section .container {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--container-gap);
  order: 1;
}

.home-section .title {
  font-size: var(--h1-font-size-mobile);
  font-weight: var(--h1-font-weight);
  line-height: var(--h1-line-height-mobile);
  text-align: left;
}

.home-section .content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-section .description {
  display: flex;
  flex-direction: column;
}

.home-section .summary {
  font-size: var(--font-size-mobile);
  font-weight: var(--font-weight-mobile);
  line-height: var(--line-height-mobile);
  text-align: left;
}

.home-section .content-image {
  width: 244px;
  height: 120.18px;
  align-self: center;
  background-color: transparent;
}

.home-section .content-image img {
  width: 244px;
  height: 120.18px;
  display: block;
}

.home-section .cta {
  margin-top: 14px;
}

.home-section .home-redirect-button {
  width: 100%;
  min-width: 276px;
  height: var(--btn-height-mobile);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-radius: var(--border-radius);
  border: none;
  background-color: #df0611;
  color: #ffffff;
}

.home-section .home-redirect-button span {
  font-family: Ubuntu;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  text-align: left;
}

@media (min-width: 1280px) {
  .home-section {
    order: 1;
    padding: 0;
    margin: 0 0 80px;
    max-width: 100%;
    background-image: url("../assets/home/404/desktop/background.png");
    background-size: 100% 100%;
  }

  .home-section .container {
    max-width: 1200px;
    height: 326px;
    flex-direction: row;
    gap: 60px;
    margin: 137px auto;
  }

  .home-section .content {
    justify-content: center;
    gap: 30px;
  }

  .home-section .title {
    font-family: Ubuntu;
    font-size: 80px;
    font-weight: 400;
    line-height: 104px;
    text-align: left;
  }

  .home-section .summary {
    font-family: Ubuntu;
    font-size: 32px;
    font-weight: 400;
    line-height: 38.4px;
    text-align: left;
  }

  .home-section .cta {
    margin-top: 30px;
  }

  .home-section .home-redirect-button {
    width: 276px;
    min-width: 276px;
  }

  .home-section .home-redirect-button:hover {
    background-color: #e71f3d;
  }

  .home-section .content-image {
    width: 650.43px;
    height: 326px;
    max-height: 326px;
  }

  .home-section .content-image img {
    width: 650.43px;
    height: 326px;
    max-height: 326px;
  }
}

/* Class Structure Section */
.class-structure-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--container-gap);
}

.class-structure-section .title {
  font-family: Ubuntu;
  font-size: 24px;
  font-weight: 400;
  line-height: 31.2px;
  text-align: left;
  color: #353535;
}

.class-structure-section .text-red {
  color: #DF0611;
}

.class-structure-section .class-structure-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.class-structure-section .class-structure-card {
  border-radius: 12px;
}

.class-structure-section .without-image {
  background-color: #f9f7f7;
  padding: 20px 16px;
}

.class-structure-section .with-image {
  background-color: transparent;
  padding: 20px 16px 0;
}

.class-structure-section .class-structure-card .content {
  display: flex;
  flex-direction: column;
  /*align-items: center;*/
  gap: 20px;
}

.class-structure-section .summary {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.class-structure-section .summary h3 {
  font-family: Ubuntu;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
  color: #353535;
}

.class-structure-section .summary p {
  font-family: Ubuntu;
  font-size: 16px;
  font-weight: 300;
  line-height: 20.8px;
  text-align: left;
  color: #353535;
}

.class-structure-section .content-image {
  width: 100%;
  max-width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 2px;
}

.class-structure-section .content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.class-structure-section .with-background-image-0 {
  background-color: #E6EAED;
}

.class-structure-section .with-background-image-3 {
  background-color: #E7EBE4;
}

.class-structure-section button {
  margin-top: 18px;
}

.class-structure-section button {
  width: 100%;
  height: var(--btn-height-mobile);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-radius: var(--border-radius);
  border: 1px solid #353535;
  background-color: transparent;
}

.class-structure-section button span {
  font-family: Ubuntu;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  text-align: left;
  color: #353535;
}

.class-structure-section .cta-link {
  margin-top: 18px;
}

.class-structure-section .cta-link {
  width: 100%;
  height: var(--btn-height-mobile);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-radius: var(--border-radius);
  border: 1px solid #353535;
  background-color: transparent;
}

.class-structure-section .cta-link span {
  font-family: Ubuntu;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  text-align: left;
  color: #353535;
}

@media (min-width: 1280px) {
  .class-structure-section .container {
    width: 1200px;
    gap: 60px;
  }

  .class-structure-section .title {
    font-family: Ubuntu;
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    text-align: left;
    color: #353535;
  }

  .class-structure-section .class-structure-panel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 36px;
  }

  .class-structure-section .class-structure-card {
    border-radius: 12px;
  }

  .class-structure-section .without-image {
    width: 376px;
    height: 250px;
    padding: 0px;
    border-radius: 12px;
  }

  .class-structure-section .with-image {
    width: 788px;
    height: 250px;
    padding: 0px;
    border-radius: 12px;
  }

  .class-structure-section .with-image .summary p {
    width: 340px;
  }
  
  .class-structure-section .class-structure-card .content {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding-right: 20px;
    gap: 0px;
  }
  
  .class-structure-section .summary {
    display: flex;
    flex-direction: column;
    padding: 20px 0px 0px 20px;
    gap: 16px;
  }
  
  .class-structure-section .summary h3 {
    font-family: Ubuntu;
    font-size: 24px;
    font-weight: 400;
    line-height: 31.2px;
    text-align: left;
    color: #353535;
  }
  
  .class-structure-section .summary p {
    font-family: Ubuntu;
    font-size: 16px;
    font-weight: 300;
    line-height: 20.8px;
    text-align: left;
    color: #353535;
  }
  
  .class-structure-section .content-image {
    width: 340px;
    height: 250px;
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .class-structure-section .content-image img {
    width: 340px;
    height: 250px;
  }

  .class-structure-section button {
    margin: auto 0 32px;
  }

  .class-structure-section button {
    width: 256px;
    height: var(--btn-height-mobile);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-radius: var(--border-radius);
    border: 1px solid #353535;
    background-color: transparent;
  }

  .class-structure-section button:hover {
    background-color: #ffffff;
  }
  
  .class-structure-section button span {
    font-family: Ubuntu;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    text-align: left;
    color: #353535;
  }

  .class-structure-section .cta-link {
    margin: auto 0 32px;
  }

  .class-structure-section .cta-link {
    width: 256px;
    height: var(--btn-height-mobile);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-radius: var(--border-radius);
    border: 1px solid #353535;
    background-color: transparent;
  }

  .class-structure-section .cta-link:hover {
    background-color: #ffffff;
  }
  
  .class-structure-section .cta-link span {
    font-family: Ubuntu;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    text-align: left;
    color: #353535;
  }
}
