
:root {
  --background: #060606;
  --background_img_desc: #060606CF;
  --primary: #efaa00;
  --navbar_icon: url("/media/icon_navbar.png");
  --footer_bg: url("/media/footer_bg.jpg");
  --landing_bg: url("/media/landing_banner.jpg");
  --landing_bg_icon: url("/media/landing_banner_bg.png");
  --landing_bg_icon_blend: lighten;
  --landing_bg_icon_filter: reset;
  --landing_box: rgba(0, 0, 0, 0.8);
  --invertable_filters: saturate(1);
  --band_end: url("/media/page_end_band.png");
  --footer_header: #fff;
  --footer_lesser: #929292;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #060606;
    --background_img_desc: #060606CF;
    --primary: #efaa00;
    --navbar_icon: url("/media/icon_navbar.png");
    --footer_bg: url("/media/footer_bg.jpg");
    --landing_bg: url("/media/landing_banner.jpg");
    --landing_bg_icon: url("/media/landing_banner_bg.png");
    --landing_bg_icon_blend: lighten;
    --landing_bg_icon_filter: reset;
    --landing_box: rgba(0, 0, 0, 0.8);
    --invertable_filters: saturate(1);
    --band_end: url("/media/page_end_band.png");
    --footer_header: #fff;
    --footer_lesser: #929292;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --background: #ddd3c8;
    --background_img_desc: #ddd3c8CF;
    --primary: #222;
    --navbar_icon: url("/media/icon_navbar2.png");
    --footer_bg: url("/media/footer_bg2.jpg");
    --landing_bg: url("/media/landing_banner2.jpg");
    --landing_bg_icon: url("/media/landing_banner_bg2.png");
    --landing_bg_icon_blend: difference;
    --landing_bg_icon_filter: saturate(0);
    --landing_box: rgba(221, 211, 200, 0.8);
    --invertable_filters: saturate(0) invert() brightness(0.8) contrast(1.7);
    --band_end: url("/media/page_end_band2.png");
    --footer_header: #000;
    --footer_lesser: #3c3c3c;
  }
}

@keyframes loading_transition {
  0% {opacity: 1.0;}
  100% {opacity: 0.0;}
}

@keyframes landing_buttons1 {
  0% {opacity: 0.0;}
  85% {opacity: 0.0;}
  100% {opacity: 1.0;}
}

@keyframes landing_buttons2 {
  0% {opacity: 0.0;}
  90% {opacity: 0.0;}
  100% {opacity: 1.0;}
}

@keyframes landing_header1 {
  0% {opacity: 0.0;}
  75% {opacity: 0.0;}
  100% {opacity: 1.0;}
}

hr {
  color: var(--primary);
  border-style: solid;
}

@scope(.navbar) {

  :scope {
    border-top: 4px solid var(--primary);
    height: 4em;
    position: sticky;
    top: 0px;
    width: calc(100% - 5em);
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, var(--background) 100%);
    z-index: 10;
    text-align: left;
    padding-left: 5em;
    margin-bottom: 3em;
  }

  a {
    background-color: var(--primary);
    color: var(--background);
    font-family: "Sarala", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.3em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    transition: all 0.2s;
    text-decoration: none;
  }

  a:not(:last-of-type) {
    box-shadow: inset -0.0em -0.8em 0.0em var(--primary);
  }

  a:last-of-type {
    border-bottom-right-radius: 0.3em;
    box-shadow: inset -0.8em -0.8em 0.0em var(--primary);
  }

  a:first-of-type {
    border-bottom-left-radius: 0.3em;
    margin-left: 0;
  }

  a:hover {
    color: var(--primary);
    background-color: var(--background);
    box-shadow: inset -0.2em -0.2em 0.0em var(--primary);
  }

  a:hover:not(:last-of-type) {
    box-shadow: inset -0.0em -0.2em 0.0em var(--primary);
  }

  .burger_link {
    display: none;
  }

  .navbar_icon {
    background-image: var(--navbar_icon);
    width: 1.2em;
    height: 1.175em;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    top: 0.2em;
  }

  .hamburger_items {
    display: inline-block;
  }

  @media only screen and (max-width: 700px) {
    :scope {
      width: calc(100% - 2em);
      text-align: center;
      padding-left: 1em;
      padding-right: 1em;
      margin-bottom: 3em;
      box-shadow: inset 0.0em 1.7em 0.0em var(--primary);
    }

    a {
      margin-left: 0;
      border-left: 1px solid var(--background);
      font-size: 1.0em;
    }

    a:not(:last-of-type) {
      box-shadow: inset -0.0em -0.8em 0.0em var(--primary);
    }

    a:last-of-type {
      border-bottom-right-radius: 0;
      box-shadow: inset -0.8em -0.8em 0.0em var(--primary);
    }

    a:first-of-type {
      border-bottom-left-radius: 0;
      border-left: 0px;
    }

    a:hover {
      color: var(--primary);
      background-color: var(--background);
      box-shadow: inset -0.2em -0.2em 0.0em var(--primary);
    }

    a:hover:not(:last-of-type) {
      box-shadow: inset -0.0em -0.2em 0.0em var(--primary);
    }
  }

  @media only screen and (max-width: 450px) {

    .hamburger_items {
      transform: translateY(calc(-100% - 3em));
    }

    :scope {
      position: fixed;
      top: calc(100vh - 2.5em);
      height: 3em;
      padding-top: 0.5em;
      box-shadow: inset 0.0em 2.7em 0.0em var(--primary);
    }

    .burger_link {
      display: block;
    }

    a {
      display: block;
      border-left: 4px solid var(--primary);
      border-right: 4px solid var(--primary);
      padding: 0.5em;
      width: calc(100vw - 4em);
    }

    a:first-of-type {
      border-left: 4px solid var(--primary);
      border-right: 4px solid var(--primary);
      border-top-left-radius: 0.5em;
      border-top-right-radius: 0.5em;
    }

    a:last-of-type {
      border-bottom-left-radius: 0.5em;
      border-bottom-right-radius: 0.5em;
      box-shadow: inset -0.0em -0.8em 0.0em var(--primary);
    }

    a:last-of-type:hover {
      box-shadow: inset -0.0em -0.2em 0.0em var(--primary);
    }

    input {
      height: 3em;
      padding: 0;
      margin: 0;
      opacity: 0;
      cursor: pointer;
      margin-top: -1em;;
      position: absolute;
      left: 0px;
      right: 0px;
    }

    i::before {
      width: 0;
      transform: translateX(-1em);
      pointer-events: none;
    }

    .checkbox_on {
      display: inline-block;
      color: var(--background);
    }

    .checkbox_off {
      display: none;
      color: var(--background);
    }

    input:checked ~ .checkbox_on {
      display: none;
    }

    input:checked ~ .checkbox_off {
      display: inline-block;
    }

    div:has(input:not(:checked)) ~ .hamburger_items {
      display: none;
    }

    div:has(input:not(:checked)) ~ i {
      display: none;
    }
  }
}

@scope(.filter_label) {

  :scope {
    background-color: var(--primary);
    color: var(--background);
    border-radius: 0.2rem;
    display: inline-block;
    cursor: pointer;
    margin: 0.25rem;
    font-family: "Sarala", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    padding: 0 0.5em;
    text-wrap: pretty;
    transition: all 0.2s;
    box-shadow: inset -0.0em -0.8em 0.0em var(--primary);
  }

  :scope:has(input[type="checkbox"]:not(:checked))  {
    opacity: 0.5;
    filter: saturate(0);
  }

  input[type="checkbox"] {
    display: none;
  }

  :scope:hover:has(input[type="checkbox"]:checked) {
    --transform: scale(110%);
    background-color: var(--background);
    color: var(--primary);
    box-shadow: inset -0.2em -0.2em 0.0em var(--primary);
    border-top-right-radius: 0.2em;
    border-bottom-right-radius: 0.2em;
  }

}

@scope(.filter_info_card) {
  :scope {
    display: none;
    border: solid var(--primary) 0.1rem;
    width: 100%;
    min-height: 14em;
    border-radius: 0.5em;
    background-color: var(--background);
    margin-bottom: 2rem;
  }

  h2.info_card_title {
    font-family: "Sarala", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    font-style: normal;
    padding: 1em;
    margin: 0;
  }

  img.info_card_image {
    text-align: left;
    float: left;
    max-width: min(100%, 14rem);
    background-image: var(--footer_bg);
    border-radius: 0.5em;
    margin-right: 1rem;
  }

  :scope p.info_card_content {
    font-size: 1rem;
    margin-top: 0;
    padding-top: 0;
  }

  :scope p.info_card_tags {
    margin: 0;
    padding: 0.0rem 0.5rem;
    text-align: right;
    font-size: 0.8rem;
    color: var(--background);
    background-color: var(--primary);
    display: inline;
    border-radius: 0 0.5rem;
    float: right;
  }

  @media only screen and (orientation: portrait) and (max-width: 600px) {
    img.info_card_image {
      width: 100%;
      max-width: 100%;
      border-radius: 0.5rem 0.5rem 0 0;
    }

    :scope p.info_card_tags {
      float: left;
      border-radius: 0;
      width: calc(100% - 1rem);
      margin-bottom: 1rem;
    }
  }

}

.loading_overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--background);
  pointer-events: none;
  opacity: 0.0;
  animation: 0.75s ease-out 0s 1 loading_transition;
}

html {
  scrollbar-color: var(--primary) #00000000;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

::selection {
  color: var(--background);
  background: var(--primary);
}

body {
  background-color: var(--background);
  padding: 0px;
  margin: 0px;
}

header {
  background-image: var(--landing_bg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  min-height: calc(100vh - 3em);
}

footer {
  width: 100%;
  background-image: var(--footer_bg);
  min-height: 10em;
  padding: 1em 0;
  padding-bottom: 0;
}

.main_content h1 {
  text-align: right;
  background-color: var(--primary);
  color: var(--background);
  font-family: "Sarala", sans-serif;
  font-weight: 700;
  font-style: normal;
  padding: 0 1em 0.25em 1em;
  margin: 0;
  margin-left: 1.25em;
  margin-bottom: 1em;
  display: inline-block;
  border-radius: 0 0 0.5em 0.5em;
  float: right;
}

.main_content .quote_content {
  width: calc(100% - 6rem);
  margin: 10rem 3rem;
}

.main_content blockquote p {
  background-color: var(--background);
  color: var(--primary);
  font-family: "Hind Madurai", sans-serif;
  font-weight: 200;
  text-align: center;
  font-size: 1.8rem;
  font-style: normal;
}

.main_content ul {
  color: var(--primary);
  background-color: var(--background);
  font-family: "Sarala", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: right;
  direction: rtl;
}

.main_content .portfolio_inline_list {
  font-weight: 400;
  text-align: left;
  margin-left: 2em;
  margin-right: 2em;
  direction: ltr;
}

.main_content .portfolio_inline_list .years {
  font-weight: 700;
  display: block;
  direction: ltr;
  --opacity: 50%;
  font-size: 0.8em;
}

.main_content ul li {
  padding-right: 0.25em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}

.main_content .half_list {
  width: calc(50% - 4em);
  display: inline-block;
}

.main_content ul li label {
  unicode-bidi: embed;
  direction: ltr;
}

.main_content ul li label i {
  margin-left: 0.5em;
}

.main_content .siteindex {
  text-align: left;
  direction: ltr;
  font-weight: 400;
  color: var(--primary);
  background-color: var(--background);
}

.main_content .siteindex li a {
  font-family: "Sarala", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: var(--primary);
  color: var(--background);
  text-decoration: none;
  padding-left: 0.5em;
  padding-right: 0.5em;
  text-wrap: pretty;
  display: inline-block;
  margin-left: 1px;
  transition: all 0.2s;
  box-shadow: inset -0.0em -0.8em 0.0em var(--primary);
}

.main_content .header_full {
  float: none;
}

.main_content h2 {
  text-align: left;
  color: var(--primary);
  font-family: "Sarala", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.main_content h3 {
  text-align: left;
  color: var(--primary);
  font-family: "Sarala", sans-serif;
  font-weight: 700;
  font-style: italic;
  padding-left: 0.5em;
}

.main_content h4 {
  text-align: left;
  color: var(--primary);
  font-family: "Sarala", sans-serif;
  font-weight: 700;
  font-style: italic;
  padding-left: 1em;
}

.main_content {
  max-width: 80em;
  margin-left: auto;
  margin-right: auto;
  min-height: 10em;
}

.content_section {
  margin: 1em calc(min(10vw, 5em)) 2em ;
  border-top: 4px solid;
  text-align: right;
}

.main_content > .content_section {
  border-color: var(--primary);
}

footer > .footer_center > .content_section {
  border-color: var(--footer_lesser);
  text-align: center;
}

.main_content .content_section p {
  color: var(--primary);
  padding: 1em;
  font-weight: 200;
}

.noborder {
  border-top: 0px solid;
}

.main_content a:not(:has(img)) {
  font-family: "Sarala", sans-serif;
  font-weight: 700;
  font-style: normal;
  background-color: var(--primary);
  color: var(--background);
  text-decoration: none;
  padding-left: 0.5em;
  padding-right: 0.5em;
  text-wrap: pretty;
  display: inline-block;
  margin-left: 1px;
  transition: all 0.2s;
  box-shadow: inset -0.0em -0.8em 0.0em var(--primary);
}

.main_content a .hidden_label {
  display: none;
}

.main_content a:hover:not(:has(img)) {
  box-shadow: inset -0.0em -0.2em 0.0em var(--primary);
  color: var(--primary);
  background-color: var(--background);
}

.main_content a:last-of-type:not(:has(img)) {
  box-shadow: inset -0.8em -0.8em 0.0em var(--primary);
  border-top-right-radius: 0.2em;
  border-bottom-right-radius: 0.2em;
}

.main_content a:hover:last-of-type:not(:has(img)) {
  box-shadow: inset -0.2em -0.2em 0.0em var(--primary);
  color: var(--primary);
  background-color: var(--background);
}

.main_content a:first-of-type:not(:has(img)) {
  border-top-left-radius: 0.2em;
  border-bottom-left-radius: 0.2em;
  margin-left: 0;
}

.main_content a.inactive_link {
  opacity: 0.25;
  font-weight: 300;
  color: var(--primary);
  background-color: var(--background);
  box-shadow: inset 0.0em -0.2em 0.0em var(--primary);
}

.main_content a.inactive_link:hover {
  opacity: 1.0;
}

.main_content a:last-of-type:not(:has(img)).inactive_link {
  box-shadow: inset -0.2em -0.2em 0.0em var(--primary);
  border-top-right-radius: 0.2em;
  border-bottom-right-radius: 0.2em;
}

.main_content a:hover:last-of-type:not(:has(img)).inactive_link {
  box-shadow: inset -0.2em -0.2em 0.0em var(--primary);
  color: var(--primary);
  background-color: var(--background);
}

.footer_box {
  width: 7em;
  display: inline-block;
  text-align: center;
  margin-left: 5em;
  margin-right: 5em;
}

footer .content_section {
  margin-bottom: 1em;
}

footer h3 {
  font-family: "Sarala", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--footer_header);
}

footer a {
  font-family: "Sarala", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--footer_lesser);
  transition: all 0.2s;
}

footer a:hover {
  color: var(--footer_header);
}

footer .footer_box a {
  font-size: 0.8em;
  display: block;
  text-align: left;
}

.footer_note {
  display: block;
  text-align: right;
  color: var(--footer_lesser);
  font-size: 0.8em;
  font-family: "Sarala", sans-serif;
  font-weight: 400;
  font-style: normal;
}

p {
  font-family: "Hind Madurai", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.2em;
  text-align: justify;
  margin-bottom: 1em;
}

.tooltip_text {
  pointer-events: none;
  opacity: 0.0;
  background-color: var(--background);
  min-width: 5em;
  border: 0.15em solid var(--primary);
  color: var(--primary);
  text-align: center;
  font-size: 0.8rem;
  font-family: "Sarala", sans-serif;
  font-weight: 400;
  font-style: normal;
  border-radius: 0.5em;
  padding: 0.5em;
  position: absolute;
  transform: translate(1em, 3em);
  z-index: 1;
  transition: opacity 0.2s;
}

.tooltip:hover .tooltip_text {
  opacity: 1.0;
}

.cv_section_reverse {
  display: flex;
  flex-direction: column-reverse;
}

.header_gradient {
  background: linear-gradient(0deg, var(--background_img_desc) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 100%);
  width: 100%;
  padding-top: calc(min(15vw, 10em));
  min-height: calc((100vh - 3em) - min(15vw, 10em));
}

.icon_wrapper {
  background-image: var(--landing_bg_icon);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  width: 100%;
  height: calc(min(40vw, 25em));

  text-align: center;
  display: block;
  align-items: center;
  justify-content: center;
}

.center_content {
  text-align: center;
  display: block;
  align-items: center;
  justify-content: center;
  top: 50%;
  position: relative;
  transform: translateY(-50%);
}

.landing_icon {
  mix-blend-mode: var(--landing_bg_icon_blend);
  filter: var(--landing_bg_icon_filter);
  height: 100%;
  width: calc(min(100%, 1024px));
  position: absolute;
  top: 0;
  left: calc((100% - min(100%, 1024px))/2);

}

.landing_center {
  border-radius: 0.5em;
  background-color: var(--landing_box);
  max-width: 80em;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(min(40em, 75vh) - 4px);
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
}

.landing_center h1 {
  color: var(--primary);
  text-align: right;
  padding-right: 4em;
  margin-top: 0;
  font-family: "Sarala", sans-serif;
  font-weight: 700;
  font-style: italic;
  animation: 3.7s ease-out 0s 1 landing_header1;
}

.landing_buttons_wrapper {
  text-align: center;
  display: block;
  align-items: center;
  justify-content: center;
  padding-top: 2em;
}

.landing_button {
  display: inline-block;
  background-color: var(--primary);
  font-size: 2em;
  padding: 0.125em 1.5em;
  border-radius: 0.5em;
  margin: 0.125em 0.25em;
  padding-left: 1.0em;
  padding-top: 0.0em;
  color: var(--background);
  transition: all 0.2s;
  box-shadow: inset -0.8em -0.8em 0.0em var(--primary);
  font-family: "Sarala", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.landing_button_anim1 {
  animation: 4s ease-out 0s 1 landing_buttons1;
}

.landing_button_anim2 {
  animation: 4.3s ease-out 0s 1 landing_buttons2;
}

.landing_button:hover {
  background: rgba(0, 0, 0, 0.0);
  box-shadow: inset -0.15em -0.15em 0.0em var(--primary);
  color: var(--primary);
}

.gallery_flex {
  display:flex;
  justify-content: center;
  flex-wrap: wrap;
  width: calc(100% - 2em);
  margin: 1em;
}

.thumb_embed {
  display: flex;
  padding: 1em;
  transition: all .2s;
}

.thumb_embed:hover .thumb_text {
  opacity: 0.0;
}

.thumb_embed:hover .thumb_title {
  opacity: 0.0;
}

.thumb_embed:hover {
  transform: scale(110%);
}

@media only screen and (orientation: portrait) and (max-width: 650px) {
  .thumb_embed form {
    width: 100%
  }
}

img.thumb {
  width: 14em;
  height: 14em;
  background-image: var(--footer_bg);
  border-radius: 0.5em;
}

img.thumb_small {
  width: 10em;
  height: 10em;
}

img.thumb + i {
  position: absolute;
  transform: translate(calc(-50% + 7rem), calc(-50% + 7rem));
  font-size: 5rem;
  color: var(--primary);
  opacity: 0;
  transition: opacity .2s;
  text-shadow: 0 0 2rem var(--background);
}

img.thumb_small + i {
  transform: translate(calc(-50% + 5rem), calc(-50% + 5rem));
}

img.thumb + i.invert {
  color: var(--background);
  text-shadow: 0 0 1rem var(--primary);
}

.thumb_filter:has(input[type="checkbox"]:not(:checked)) img.thumb + i.invert {
  text-shadow: 0 0 1rem var(--background);
}

img.thumb.invertable {
  filter: var(--invertable_filters);
}

.thumb_filter {
  filter: saturate(0);
  opacity: 0.6;
}

.thumb_filter:has(input[type="checkbox"]:not(:checked))  {
  transform: scale(80%, 80%);
}


.thumb_filter:has(input[type="checkbox"]:checked) {
  filter: saturate(1);
  opacity: 1.0;
}

.thumb_embed:hover img.thumb + i {
  opacity: 1;
}

.thumb_embed .thumb_text {
  position: absolute;
  color: var(--primary);
  font-size: 0.8rem;
  font-family: "Sarala", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0), var(--background_img_desc) 2em);
  padding: 1.5rem 0.75rem 0.5rem;
  margin: 0;
  transition: opacity .2s;
  transform: translate(0, -100%);
  width: calc(14rem - 1.5rem);
}

.thumb_embed .thumb_title {
  position: absolute;
  color: var(--primary);
  font-size: 0.8rem;
  font-family: "Sarala", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0), var(--background_img_desc) 2em);
  padding: 1.5rem 0.75rem 0.5rem;
  margin: 0;
  transition: opacity .2s;
  transform: translate(0, calc(-100% + 14rem));
  width: calc(14rem - 1.5rem);
}

.thumb_title.small {
  font-size: 0.85rem;
  transform: translate(0, calc(-100% + 10rem));
  width: calc(10rem - 1.5rem);
}

.thumb_embed form {
  height: 14rem;
  text-align: left;
  transition: all .2s;
  display: flex;
  flex-wrap: wrap
}

.thumb_filter form {
  height: 10rem;
}

.thumb_embed input[type="checkbox"] {
  padding: 0;
  margin: 0;
  opacity: 0;
  width: 14rem;
  height: 14rem;
  cursor: pointer;
  position: absolute;
}

.thumb_filter input[type="checkbox"] {
  width: 10rem;
  height: 10rem;
}

.thumb_embed .thumb_content {
  border: solid var(--primary) 0.1rem;
  min-height: calc(100% - 2.2rem);
  width: calc(100% - 16rem);
  display: none;
  transition: all .2s;
  margin: 0;
  border-radius: 0.5em;
  background-color: var(--background);
  position: relative;
  margin-left: 15rem;
  font-size: 1rem;
  transform: translate(0, -14rem);
}

.thumb_embed .thumb_content b{
  font-family: "Sarala", sans-serif;
  font-weight: 700;
}

input[type="checkbox"]:checked + .thumb_content {
  display: block;
}

.thumb_embed:hover:has( input[type="checkbox"]:not(.filter_selector_checkbox):checked ) {
  transform: scale(100%, 100%);
}

.extra_embed {
  width: calc(100% - 2em);
  height: calc(min(70vh, 40em));
  margin: 1em;
  background-image: var(--footer_bg);
  border-radius: 0.5em;
}

.extra_embed img {
  width: 100%;
  border-radius: 0.5em;
}

.image_embed {
  height: unset;
}

.image_embed a {
  display: flex;
}

.extra_embed iframe {
  height: 100%;
  width: 100%;
  border-radius: 0.5em;
}

.page_end {
  height: 8px;
  width: 100%;
  background-image: var(--band_end);
  margin-top: 2em;
}

@media only screen and (orientation: landscape) and (max-height: 800px) {
  .header_gradient {
    padding-top: 0;
    min-height: calc(100vh - 3em);
  }
  .icon_wrapper {
    height: calc(min(50vh, 20em));
  }
  .landing_center {
    min-height: calc(100vh - 3em);
  }
}

@media only screen and (orientation: portrait) and (max-width: 700px) {
  .header_gradient {
    padding-top: 0;
    min-height: calc(100vh - 5em);
  }
  .landing_center {
    min-height: calc(100vh - 5em);
  }
}

@media only screen and (max-width: 550px) {

  .landing_center h1 {
    font-size: 1.2rem;
    padding-right: 1em;
  }

  .main_content h1 {
    text-align: right;
    display: block;
    width: calc(100% - 2em);
  }

  .main_content .header_full {
    float: right;
  }

  .main_content a {
    padding-left: 0.35em;
    padding-right: 0.35em;
  }
}

@media only screen and (max-width: 1000px) {

  .main_content .half_list {
    width: calc(100% - 2em);
  }
}

@media only screen and (max-width: 700px) {

  .main_content .portfolio_inline_list {
    margin-left: 0em;
    margin-right: 0em;
  }

  .main_content h1 {
    font-size: 1.6em;
  }

  .footer_box {
    margin-left: 0em;
    margin-right: 0em;
    display: inline-block;
    padding-left: 30%;
    padding-right: 30%;
  }

  .header_gradient {
    min-height: calc(100vh - 2em);
  }

  .landing_center {
    min-height: calc(100vh - 2em);
  }
}

@media only screen and (max-width: 1024px) and (min-width: 700px) {
  .footer_box {
    margin-left: 2em;
    margin-right: 2em;
  }
}

@media only screen and (min-width: 2000px) {
  html {
    font-size: 1.5em;
  }
}
