@import "colors.css";
@import url("https://fonts.googleapis.com/css?family=Play&display=swap");
@import url("https://fonts.googleapis.com/css?family=Almarai&display=swap");
@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css?family=Galada&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "play";
  box-sizing: border-box;
}

body {
  background: var(--background-color);
  color: var(--text-color);
  transition: background 0.8s, color 0.8s;
  font-family: "Amiri", "play", "Roboto", "Galada", sans-serif;
}

/* ------------------------ section-1 ---------------------------------------------------- */
.section-1 {
  position: relative;
  background-color: var(
    --background-color9
  ); /* Fallback color in case the video doesn't load */
  margin: 0px 0 30px 0;
  height: 580px;
  opacity: 0.7;
}

.section-1 .container {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 100%;
}

.title-container {
  display: block;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.title-container h1 {
  font-size: 100px;
  font-weight: 800;
  letter-spacing: 5px;
  word-spacing: 5px;

  margin-bottom: 40px;
  overflow: hidden;
}
/* ------------------------ section-2 -------------------------------------- */
.section-2 {
  margin-left: auto;
  margin-right: auto;
  width: 1120px;
  padding: 25px 0px 10px 0px;
}
svg {
  width: 100%;
  margin: 0 auto;
}
.multiLineChar-title {
  color: var(--text-color);
  font-size: 25px;
}
#multiLineChar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#multiLineChar-container .chart {
  flex: 1 1 calc(50% - 20px); /* Each chart takes 50% width minus some margin */
  margin: 10px;
  max-width: 50%;
  box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

/* ------------------------- end -------------------------- */
@media only screen and (max-width: 767px) {
  /* ------------------------ section-1 ---------------------------------------------------- */
  .section-1 {
    margin: 0;
    height: 500px;
  }

  .title-container h1 {
    font-size: 50px;
    font-weight: 800;
    letter-spacing: 2px;
    word-spacing: 3px;
    margin-top: 80px;
    margin-bottom: 40px;
    overflow: hidden;
  }
  /* ------------------------ section-2 ------------------------------------ */
  .section-2 {
    height: auto;
    width: 100%;
    padding: 10px 0px 10px 0px;
  }

  .multiLineChar-title {
    font-size: 12px;
  }

  h3 {
    margin-bottom: 0;
  }

  #multiLineChar-container .chart {
    flex: 1 1 calc(100% - 20px); /* Each chart takes full width */
    max-width: 100%;
  }

  .chart {
    margin: 0px;
  }
}
