@font-face {
  font-family: "American Typewriter";
  src: url('/font-family/AmericanTypewriter-Light-02.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "American Typewriter";
  src: url('/font-family/AmericanTypewriter-01.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "American Typewriter";
  src: url('/font-family/AmericanTypewriter-Semibold-04.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "American Typewriter";
  src: url('/font-family/AmericanTypewriter-Bold-03.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}


* {
  box-sizing: border-box;
}

h5 {
  font-size: 1.1em;
  font-weight: 700;

}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: American Typewriter;
  background-color: #fdfdfd;
}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-top: 5vh;
  margin-left: 2vw;
  margin-right: 2vw;
}

h1,
h2,
h3,
h4,
p,
a {
  margin: 0;
}

/* ::-webkit-scrollbar { display: none; } */

h1 {
  font-size: 8vh;
  font-weight: 500;
  text-transform: lowercase;
}

h2 {
  margin: 0.25rem 0em 0.25rem 0em;
  font-size: 2.5rem;
  font-weight: 300;
}

h3 {
  margin: 0;
  font-size: 2em;
  font-weight: 100;
}

h4 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
}


strong {
  font-weight: 400;
}

.page-header {
  align-self: flex-end;
  margin-bottom: 3.8rem;
  margin-top: 2rem;
  text-align: right;
}

.subtitle {
  color: #808080;
  font-family: 'Raleway';
  font-size: 1.375rem;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.grid-image {
  width: 50%;
}

p {
  font-size: 1em;
  font-weight: 300;
}


a {
  color: black;
  text-decoration: none;
}

ul {
  position: relative;
  /*not needed*/
  float: left;
  /*not needed*/
  margin: 0;
  padding-left: 1.75rem;

}

li {
  line-height: 2rem;
}

ul li img {
  display: flex;
  max-width: auto;
  height: 200px;
}

input[type="text"],
input[type="password"] {
  background: #ffffff;
  border: 1px dotted #808080;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 12px 24px;
}

#left {
  display: block;
  padding-right: 5em;
  position: sticky;
  overflow: visible;
  top: 2rem;
  width: 0rem;
}

#left:hover {
  cursor: pointer;
}

.content {
  margin-top: 100px;
}

#header {
  width: 100%;
  height: 20vh;
  margin-left: 10vw;
  margin-top: 5vh;
  margin-bottom: 10em;
  text-align: right;
}

#full_work {
  overflow-x: hidden;
}

#full_work a {
  text-decoration: underline;
}

#work {
  height: 100vh;
  padding-left: 25vw;
  padding-right: 10vw;
  width: 65vw;
  align-self: flex-end;
}

#work,
#full_work {
  animation: fadein 2s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#info {
	margin-left: 2vw;
	margin-right: 2vw;
	margin-top: 10vw;
}

#info p {
  line-height: 2em;
}

#info>a {
  display: block;
  font-size: .8em;
  color: black;
  line-height: 2em;
}

#info>a:hover {
  font-weight: 600;
}

#solution a {
  text-decoration: underline;
}

#solution a:hover {
  font-weight: 600;
}

.index-page nav {
  /* Only applies on index.html */
  min-width: 70px;
}

nav {
  min-width: 150px;
  position: sticky;
  top: 2rem;
  white-space: nowrap;
}

nav .index {
  min-width: 100px;
  position: sticky;
  top: 2rem;
  white-space: nowrap;
}

nav a {
  display: block;
  font-weight: 300;
  line-height: 3em;
}

nav a:hover,
.selected {
  font-weight: 600;
  color:  black;
}

.page-nav {
  margin-bottom: 3rem;
}

.page-nav a {
  line-height: 2em;
}

.page-nav .submenu .submenu-header {
  line-height: 2em;
}

.page-nav .submenu .submenu-item {
  line-height: 1.75em;
  margin-left: 1rem;
}

.page-nav .submenu .submenu-item {
  margin-bottom: 0.25rem;
}

.page-nav a,
.page-nav .submenu,
.page-nav .submenu-item,
.page-nav .extra-solution,
.page-nav .reflections {
  padding-left: 10px;
  /* increase by 5px from your normal (whatever normal is +5px) */
  margin-left: -5px;
  /* pull the link 5px to the left so the background starts before the text.*/
}

.submenu-block {
  margin-bottom: 0rem;
}

.submenu-header {
  font-family: 'Raleway';
  color: lightslategrey;
  font-weight: 500;
  font-size: .9em;
  font-variant: small-caps;
}

.inview {
  font-weight: 600;
  color: black;
}

.vertical {
  display: inline-block;
  white-space: nowrap;
  transform-origin: top right;
  transform: translate(-100%) rotate(-90deg);
  margin-top: 10px;
}




#pagenav {
  margin-bottom: 3em;
}

#pagenav a {
  font-size: .9em;
  line-height: 1.75em;
}

.two-column-layout>div:first-child {
  margin-right: 3rem;
}

.condensed-column {
  width: 50%;
}

.block-copy,
.block-copy-alt,
.image-copy {
  margin-bottom: 2rem;
}

.block-copy,
.block-copy-alt,
.image-copy {
  margin-bottom: 2rem;
}

.block-copy-alt2 {
  margin-bottom: .5rem;
}

.block-title {
  text-align: left;
  font-family: 'american typewriter';
  color: #4C93C3;
  font-size: 1.4em;
  line-height: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}


.block-title2 {
  color: #000000;
  display: flex;
  font-weight: 500;
  line-height: 1.75rem;
}

.block-link {
  text-decoration: underline;
}

.section-title {
  align-self: center;
  /*flex-start*/
  color: #000;
  font-family: 'american typewriter';
  font-size: 1.6em;
  font-weight: normal;
  line-height: 3rem;
  margin-bottom: -0.4rem;
  /*1rem*/
}



.section-title-challenges {
  align-self: left;
  /*flex-start*/
  color: #000;
  font-family: 'american typewriter';
  font-size: 1.4em;
  font-weight: normal;
  line-height: 3rem;
  margin-bottom: -0.4rem;
  /*1rem*/
}

.section-title-subheader {
  align-self: flex-end;
  color: lightslategray;
  font-family: 'raleway';
  font-size: 1.2em;
  font-weight: normal;
  line-height: 2rem;
  margin-bottom: -1rem;
  font-variant: small-caps;
}

.section-subheading {
  align-self: center;
  /*flex-start*/
  color: #000;
  color: #333;
  font-family: 'raleway';
  font-size: 1.1em;
  font-weight: 300;
  font-variant: lining-nums;
  margin-bottom: .4rem;
}

.block-text {
  font-weight: 400;
  line-height: 1.4rem;
}

ol {
  align-content: flex-end;
  list-style-type: inside;
  margin: 1rem 4rem 1rem 1rem;
  padding-left: 5%;
  line-height: 0.5rem;
}

li {
  margin-bottom: 1rem;
  margin-right: 1rem;
  line-height: 1.45rem;
}



.block-title-alt {
  color: #181818;
  font-weight: 400;
  line-height: 1.25rem;
  margin-bottom: 1.5rem;
}

.block-subtitle-alt {
  color: #181818;
  font-weight: 500;
  line-height: 1.25rem;
}

.grid-subtitle {
  color: #181818;
  font-weight: 300;
  line-height: 1.25rem;
}

.block-text-alt {
  color: #575757;
  font-weight: 200;
  line-height: 1.25rem;
  margin-bottom: .6rem;
}

.image-copy {
  align-self: center;
  color: #3F4C56;
  width: 70%;
}

.image-title {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 2rem;
  margin-bottom: 1rem;
}

.image-title2 {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 2rem;
  margin-bottom: 1rem;
}

.image-text {
  display: inline-block;
  font-style: italic;
  line-height: 1.55rem;
  padding-top: 0rem;
  padding-left: 0rem;
  padding-right: 0rem;
  margin-top: 0rem;
}



.arrow-list {
  list-style-type: none;
}

.arrow-list>li {
  display: grid;
  grid-template-columns: 20px auto;
  justify-content: start;
  align-items: top;
}

.arrow-list>li::before {
  content: "\2794";
  font-size: 1.5vh;
  color: #000;
}

#individual_project {
  display: flex;
  flex-direction: column;
}

#individual_project>div {
  margin-bottom: 0em;
}

#individual_project>video {
  margin-bottom: 7em;
}

#individual_project>div h2 {
  font-weight: 600;
  font-size: 2.5em;
  margin-bottom: 1em;
  margin-top: 1em;
}

#individual_project>div>p {
  width: 100%;
}

#individual_project b {
  font-size: 1.15em;
  font-weight: 600;
}

#individual_project h2 {
  width: 100%;
}

#individual_project video {
  width: 75%;
  align-self: center;
}

#overview img {
  width: 100%;
  object-fit: contain;
}

.attribute {
  font-size: .5em !important;
  color: #696969;
  margin-top: 1em;
}

#related_projects {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

.related_project {
  margin-right: 25px;
  line-height: 1.5em;
  width: 100%;
}

.related_project img {
  width: 100%;
  height: 7em;
  object-fit: cover;
  margin-top: 2em;
}

.related_project h1 {
  font-size: 1.5em;
  line-height: 1.5em;
  margin-top: .5em;
}

.related_project:hover {
  cursor: pointer;
}

.related_project p {
  font-weight: 300;
  font-size: .8em;
}

.related_project a {
  font-weight: 300;
  font-size: .8em;
}

.related_project a:hover {
  font-weight: 600;
}

#team_tools {
  display: flex;
}

#team_tools h2 {
  font-size: 1.75em !important;
  margin-bottom: 1em !important;
}

#team {
  width: 60%;
}

#tools p {
  font-size: 1em;
  line-height: 1.75em;
  font-weight: 200;
}

#team_stats {
  display: flex;
  flex-direction: row;
  line-height: normal;
  width: 100%;
}

#team_stats div {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#team_stats .number {
  font-size: 3.5em;
  font-weight: 600;
  line-height: 1em;
}

#team_stats .major {
  font-size: .9em;
  margin-bottom: 1.75em;
  font-weight: normal;
}

#team_stats p {
  font-size: 1em;
  line-height: 1.75em;
  font-weight: 200;
}

#documentation {
  margin-bottom: 5em;
}

#documentation a {
  margin-left: 1em;
}

hr {
  width: 30%;
  margin: 3em auto 3em auto;
  border-top: .25px solid rgba(0, 0, 0, 0.5);
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  font-size: .3em;
  margin: 5px;
  color: #DDDDDD
}

#top {
  display: none;
}

.card {
  background: white;
  border: 1px solid #4C93C3;
  border-radius: 16px;
  box-shadow: 10px 8px 8px rgba(76, 147, 195, 0.1);
  margin: 0 3rem;
  padding: 3rem;
}

@media only screen and (max-width: 1440px) {
  .condensed-column {
    width: 100%;
  }

  .image-copy {
    align-self: flex-start;
    padding-top: 3rem;
    padding-right: 7rem;
    width: auto;
  }
}

@media (min-width: 1440px) {

  .allinone-page .flex.banner-container.mb-20.bg-red.flex-column.solution-content.px-12 {
  max-width: 1200px; /* adjust the width as needed */
  margin: 0 auto; /* center the container horizontally */ 
  /* This media query will apply the styles only when the screen width is 1440px or larger. The max-width property sets the maximum width of the container, and the margin property centers the container horizontally.

  You can adjust the max-width value to a width that works best for your content. For example, you could set it to 1000px, 1100px, or any other value that makes the content easier to read on larger screens. */

  }

    .allinone-page #overview .flex.banner-container.mb-20.bg-red.flex-column.solution-content.px-12 {
    text-align: center;
  }


  .allinone-page #overview .block-title {
    display: block;
    margin: 0 auto;
    width: 100%
  }

   .allinone-page .wrapper {
    justify-content: center;
  } 

  .screen-row {
    display: flex;
    gap: 2rem;
    width: 100%;
  }

  .screen-img {
    flex: 1;              /* fills available space equally */
    height: auto;
    object-fit: cover;
    border-radius: 12px;
  }

  /* Optional: For the last 2 screens */
  .screen-row.last-two {
    align-items: stretch;
  }

  .screen-row.last-two .screen-img {
    height: 100%;         /* full height of parent */
  }

  .allinone-page #overview .block-title {
    justify-content: center;
  }
}


@media only screen and (max-width: 1280px) {
  .block-copy {
    padding: 0;
  }

  .card {
    margin: 0;
  }

  .two-column-layout {
    flex-direction: column;
  }

  .two-column-layout>div {
    margin-bottom: 2rem;
  }

  .two-column-layout>div:first-child {
    margin-right: 0;
  }

  .three-column-layout {
    flex-direction: column;
  }

  .three-column-layout>div {
    margin-bottom: 2rem;
  }
}

@media only screen and (min-height: 1000px) {

  h1 {
    font-size: 7vh;
  }
}

@media only screen and (max-width: 1000px) {
  .wrapper {
    flex-direction: column;
  }

  nav {
    margin-top: 50px;
  }

  #left h1 {
    font-size: 9vh;
  }

  .title {
    width: 100%;
  }

  #left {
    width: 100%;
    border-bottom: .25px solid rgba(0, 0, 0, 0.25);
  }

  /* Hide specific divs on small screens */
  .hide-on-mobile {
    display: none !important;
  }

  #info {
    position: fixed;
    top: 10vh;
    left: 2vw;
    margin: 0;
    padding: 0;
  }

  h2 {
    margin: 0.25rem 0em 0.25rem 0em;
    font-size: 1.5rem;
    font-weight: 300;
  }

  .page-header {
    align-self: flex-start;
    margin-bottom: 3.8rem;
    text-align: right;
  }

  .allinone .reveal-wrapper .image-grid  {
    display: flex;
  flex-direction: column;
  }

  .allinone .image-grid .image-stack {
     display: flex;
  flex-direction: column;
  }


  .block-text-alt {
    font-size: 0.9rem;
  }

  .project a {
  text-decoration: none;
  color: inherit;
  pointer-events: none; /* optional: disables clicking */
  cursor: default;
  }

  #project_link {
  text-decoration: none;
  color: inherit;
  pointer-events: none; /* optional: disables clicking */
  cursor: default;
  }

  .project_copy {
    width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .block-copy-alt,
  .block-text,
  li {
    line-height: 1.5rem;
  }

  .section-title {
    line-height: 2rem;
    margin-bottom: .2rem;
  }


  .flex {
    flex-direction: column;
  }

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

  .content {
    margin-top: 0;
  }

  .solution-content {
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
    border-radius: 16px;
  }

  /* //moved this to @media section in the base.css file for less than 1000px. duplicate otherwise.
.solution-content {
  padding-left: 6.5rem;
  padding-right: 6.5rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
  border-radius: 16px;
} */

  #full_work {
    margin: 0;
    padding: 0;
    padding-left: 210px;
    /* Width of nav + padding */
    padding-right: 0;
    width: auto;
  }

  #work {
    margin: 0;
    padding: 0;
    padding-left: 20vw;
    padding-right: 5vh;
    width: auto;
    height: 85vh;
  }

  #about {
    margin: 3vh;
    padding: 0;
    padding-left: 20vw;
    padding-right: 15vh;
    width: auto;
    height: 85vh;

  }

  .vertical {
    transform: none;
    margin-top: 0;
  }

  /* Stack on smaller screens */ 
  .stacked-layout {
    flex-direction: column;
    align-items: left;
  }

  .image-stack,
  .block-text {
    width: 100%;
    text-align: left;
  }

  .block-text {
    padding: 1rem;
  }

  .reveal-images-container {
    flex-direction: column;
    align-items: center;
  }

  .reveal-images-container .image-stack {
    width: 100%;
  }
}