/* projects ext info page reset all margins */
#projects_ext_info_css h1,
#projects_ext_info_css h2,
#projects_ext_info_css h3,
#projects_ext_info_css h4,
#projects_ext_info_css h5,
#projects_ext_info_css h6,
#projects_ext_info_css p,
#projects_ext_info_css a,
#projects_ext_info_css ul {
  margin: 0;
  padding: 0;
}

/* projects ext info page container main */
.projects_ext_info_container_main {
  display: grid;
  place-items: center;
  width: 100%;

  scroll-margin-top: calc(var(--variable_spacing_01) * 2.6);
}

/* projects ext info page container content */
.projects_ext_info_container_content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;

  width: calc(100% - 2 * var(--variable_spacing_01));

  border-radius: var(--variable_borderradius_03);
  margin-bottom: var(--variable_spacing_01);

  align-items: start; /* align items to the top of the grid */
  position: relative;
  z-index: 3;

  /* background gradient element 02 with border and inner shadow */
  background-color: var(--variable_color_gradient_01_gray_01);
  background-image:
          linear-gradient(205deg,
          var(--variable_color_gradient_01_gray_02) 25%,
          var(--variable_color_gradient_01_gray_03) 75%,
          var(--variable_color_gradient_01_gray_04) 100%);

  box-shadow:
          inset 0 0 10px var(--variable_color_gradient_01_gray_05),
          inset 0 0 0 1px var(--variable_color_gradient_01_gray_06);
}

/* projects ext info page left container */
.projects_ext_info_left_container {
  display: grid;
  grid-template-rows: auto 1fr auto; /* creates 3 rows */
  height: 100%; /* ensures the section takes up the full height */
  margin-right: var(--variable_spacing_01); /* adds space to the right for visual separation */
}

/* projects ext info page left top container */
.projects_ext_info_left_top_container {
  display: grid;
  align-self: start; /* keep top content at the top */
}

/* projects ext info page left bottom container */
.projects_ext_info_left_bottom_container {
  align-self: end; /* keep bottom content at the bottom */
}

/* projects ext info page right container */
.projects_ext_info_right_container {
  display: grid;
  grid-template-rows: auto 1fr auto; /* top content, flexible middle, button at the bottom */
  height: 100%; /* Full height of the container */
  margin-left: var(--variable_spacing_01); /* adds space to the left for visual separation */
}

/* projects ext info page right top container */
.projects_ext_info_right_top_container {
  align-self: start; /* keep top content at the top */
}

/* projects ext info page right bottom container */
.projects_ext_info_right_bottom_container {
  align-self: end; /* keep bottom content at the bottom */
}

/* projects ext info page learn more button */
.projects_ext_info_learnmore_button {
  display: inline-grid;
  grid-template-columns: auto auto;

  gap: calc(var(--variable_spacing_items_01) * 2);

  /* button type 02 background colors */
  background: linear-gradient(155deg,
  var(--variable_button_02_color_03) 0%,
  var(--variable_button_02_color_02) 25%,
  var(--variable_button_02_color_01) 100%);

  box-shadow:
          -10px 10px 40px var(--variable_button_02_color_04),
          inset 0 0 10px var(--variable_button_02_color_05),
          inset 0 0 0 1px var(--variable_button_02_color_05);

  backdrop-filter: blur(10px); /* apply blur */
  -webkit-backdrop-filter: blur(10px); /* safari support */

  padding: calc(2px + var(--variable_spacing_items_01) * 1) calc(2px + var(--variable_spacing_items_01) * 2);
  border-radius: var(--variable_borderradius_02);

  margin: var(--variable_spacing_01);

  text-align: center;

  color: var(--variable_color_offwhite); /* button text color */
  cursor: pointer;

  justify-content: center;
  align-items: center;
  white-space: nowrap;
  width: auto;
}

/* projects ext info page arrow icon */
.projects_ext_info_learnmore_button .arrow_icon {
  height: calc(var(--variable_spacing_items_01) * 2);
  width: calc(var(--variable_spacing_items_01) * 2);
  filter: brightness(0) invert(1);
}

/* projects ext info page container content item margin */
.projects_ext_info_container_content h1, h2, h3, h4, h5, h6, p, a, ul, li {
  margin: var(--variable_spacing_01);
}

/* projects ext info page media queries */
@media only screen and (max-width: 1100px) {
  /* projects ext info page container content */
  .projects_ext_info_container_content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    margin-bottom: var(--variable_spacing_01);
  }

  /* projects ext info page left container */
  .projects_ext_info_left_container {
    margin-right: 0;
  }

  /* projects ext info page right container */
  .projects_ext_info_right_container {
    margin-left: 0;
  }
}