/*variables:  visual identity/branding colors*/

:root {
    --body-color: black;
    --feature-color1: #aa69a2;
    --feature-color2: #039281;
    --feature-color3: #F46554;
    /*#F95738*/
    --text-color: rgb(241, 241, 241);
    ;
}

.pre-footer {
    height: 20%;
}

.covervideo {
    position: absolute;
    left: 0;
    top: 0;
    width: 200vw;
    height: 100vh;
    object-fit: cover;
    z-index: -100000;
}

.big {
    width: 30em;
}

.role{
  padding-bottom: 1.2em;
}
.bx{
  color: white !important;
}
.footer{
  padding: 30vh;

  text-align: center;
}
.corner {
    z-index: 100000000000000000000000;
    width: 10.5%;
    position: absolute;
    right: 0vw;
    bottom: 0;
}

.background-colour {
    background-color: var(--body-color);
}

body {
    color: var(--text-color);
    background-color: var(--body-color);
}


/* * means apply those styles to all elements*/

* {
    /*  font-family: "bahnschrift", sans-serif;*/
    font-family: "bahnschrift";
    margin: 0;
    padding: 0;
    color: var(--text-color);
    scroll-behavior: smooth;
    /*Smooth: scrolls in a smooth fashion using a user-agent-defined timing function over a user-agent-defined period of time. */
    box-sizing: border-box;
    /*If you set box-sizing: border-box; on an element, padding and border are included in the width and height:*/
    scroll-padding-top: 2rem;
}

.page {
    width: 100%;
    height: 100%;
    min-width: 100%;
    z-index: -1000;
}

.first-panel {
    padding-top: 5%;
    background-color: none;
}


/*
.panel {
    display: flex;
    flex-direction: row;
    width: 90%;
    height: 100vh;
    max-height: 100vh;
    min-width: 100vh;
    justify-content: space-between;
    align-items: center;
    margin: 0 5% 0 5%;
}*/

.textfeature1 {
    color: var(--feature-color1);
}

.textfeature2 {
    color: var(--feature-color2);
}

.textfeature3 {
    color: var(--feature-color3);
}

.cover-flex {
    max-width: 65%;
    width: fit-content;
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    transform: translate(-27.5vw, -25vh);
    max-height: 50vh;
    z-index: 100;
    left: 40vw;
    top: 50vh;
    column-gap: 3%;
}

.col {
    width: fit-content;
    height: 30vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offsetflex{
  display: flex;
 justify-content:space-between;
}
.education{
  max-width: 40%;
}
.roles{
  padding-top: 10%;
  min-width:30%;
}

.coltable{
  width: 25%;

}
.table{
  flex-wrap: wrap; /* allows them to wrap on smaller screens */
  display: flex;
}
.coltable {
  flex: 1; /* distribute evenly in the flex container */
  margin: 10px;
  padding: 5px;
  border-radius: 10px;
  text-align: left;
  transition: all 0.3s ease; /* <-- must be on the base class */
  transform-origin: center;
  opacity: 0;
}
.coltable {
  position: relative;
  z-index: 1;
}

.coltable:hover {
  transform: scale(1.1) !important;
  background-color: red !important;
  color: white !important;
}

table:hover{
    transform: scale(1.1) !important;
  background-color: red !important;
  color: white !important;
}

.table{
  column-gap: 30px;
}

.coverimage {
    object-fit: contain;
    max-height: 90%;
    max-width: 90%;
    z-index: 105;
    border-radius: 100%;
}

img {
    max-width: 90%;
    max-height: 90%;
}

.largeimage {
    max-width: 90%;
    max-height: 90%;
}

.bottom-justified {
    justify-content: end;
    align-items: end;
}

.center-justified {
    align-content: center;
    justify-content: center;
}

.flexcol {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    row-gap: 3em;
    height: 100%;
    width: 100%;
}

.internal-cover-flex {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: space-between;
    height: 100%;
}

.top-item {
    display: flex;
    align-items: flex-end;
    /* Align content to the bottom edge of the top item */
    justify-content: center;
    height: 50%;
    /* Ensure the bottom of this item aligns with the center */
    /* For demonstration */
    width: 100%;
    /* Optional: Match parent width */
    padding-bottom: 10px;
}

.bottom-item {
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
    /* Align content to the top edge of the bottom item */
    justify-content: center;
    height: 50%;
    /* Ensure the top of this item aligns with the center */
    /* For demonstration */
    width: 100%;
    /* Optional: Match parent width */
}

.smallerh1 {
    font-size: 3.5em;
}

.right-aligned {
    text-align: right;
}

h2 {
    margin: 0;
    padding: 0;
    font-size: 3em;
}


h3 {
    font-size: 1.3em;
 /*   text-transform: uppercase;*/
    margin: 10px 0 10px 0;
}

p {
    font-size: 1.2em;
    line-height: 1.2;
}

.narrow-message {
    max-width: 60%;
}


/* width 

::-webkit-scrollbar {
    width: 20px;
}*/


/* Track 
 ::-webkit-scrollbar-track {
    background-color: var(--feature-color2);
}*/


/* Handle

 ::-webkit-scrollbar-thumb {
    background: var(--text-color);
} */


/*Nav Bar*/


.nav_container {
    display: flex;
    background-color: black;
    color: inherit;
    align-items: center;
    padding-top: 0rem;
    justify-content: space-between;
    width: 100%;

    position: fixed;
    top: 0;
    flex-direction: row;
    z-index: 1000000;
}

.links {
    display: flex;
    background-color: none;
    color: var(--text-color);
    align-items: center;
    justify-content: space-between;
    min-width: 20%;
    z-index: 1000000;
    padding-left: 30px;
    padding-right: 50px;
}

.socials {
    width: 15%;
    padding-left: 0px;
    padding-right: 30px;
    padding: 0.4em;
    display: flex;
    background-color: none;
    justify-content: left;
    color: inherit;
    align-items: center;
    font-size: 2em;
    right: 0;
}

.socials img {
    height: 65px;
}

.nav_active {
    color: var(--light-feature-color1) !important;
    font-weight: 700;
}

.nav_item,
a {
    text-decoration: none;
    font-weight: 1000;
    color: var(--text-color);
}

.nav_item:hover {
    color: var(--light-feature-color3);
    transition: 0.3s all linear;
    transform: scale(1.1);
}

.project:hover{
    transition: 0.3s all linear;
    transform: scale(1.1);
}
.buttons {
    display: flex;
    justify-content: center;
    padding: 2em;
    font-size: 3em;
}

.buttons button {
    border: none;
    font-size: 0.5em;
    background-color: var(--feature-color2);
    padding: 0.3em;
    border-radius: 5%;
}

.gallery {
    margin: 2em;
}

.transparent-cover {
    background-color: #b0212184;
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw;
    opacity: 0;
    height: 100vh;
    z-index: 50;
}

body {
    overflow-x: hidden;
}

.bx{
  font-size: 1.5em;
}

.cover {
    left: 0%;
    top: 0%;
    position: relative;
    background-color: inherit;
}


.intro-line{
  padding: 0.3em;
  padding-left: 1em;
}
.left-spine{
  position: fixed;
  left: 0;
  top: 0;
  width: 1vw;
  height: 100vh;
}
.section{
  margin-top: 1em;
}
.box,
.box2 {
    display: block;
    font-size: 2.4em;
    color: black;
}

.comparisonSection {
    position: relative;
    padding-bottom: 56.25%;
    /* to maintain aspect ratio (responsive!) */
}

.comparisonImage {
    width: 100%;
    height: 100%;
}

.afterImage {
    position: absolute;
    overflow: hidden;
    top: 0;
    transform: translate(100%, 0px);
}

.afterImage img {
    transform: translate(-100%, 0px);
}

.comparisonImage img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}


/*
.panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}*/



.circular-img {
    width: 90vh;
    height: 90vh;
    object-fit: cover;
    border-radius: 100%;
    position: relative;
    top: 0%;
}

.top {
    width: 110vh;
    position: absolute;
    top: 64px;
    right: 30px;
}

h1 {
    margin: 0;
    padding: 0;
    padding-bottom: 20px;
    color: var(--text-color);
    line-height: 0.8;
    font-size: 5.2em;
    font-weight: bolder;
    text-transform: uppercase;
}



.branch {
    position: absolute;
    width: 30vw;
    height: 3px;
    border: #000000 dashed 3px;
    opacity: 0;
    transform-origin: left center;
    will-change: transform, opacity;
}


/* Position and angle each branch */

.branch1 {
    top: 60vh;
    transform: rotate(1deg) translateX(100px);
    right: 50%;
}

.branch2 {
    top: 1000vh;
    transform: rotate(1deg) translateX(-100px);
}

.branch3 {
    top: 180vh;
    width: 40vh;
    transform: rotate(1deg) translateX(100px);
}

.branch4 {
    top: 200vh;
    transform: rotate(1deg) translateX(-100px);
}


/* Add a transition to help the branches move in/out smoothly */

.branch {
    transition: opacity 0.5s ease, transform 0.5s ease;
}


/*
.panel {
    width: 100%;
    height: 100%;
    z-index: -100;
    position: absolute;
    left: 0;
}*/


.container {
    display: flex;
    height: 100vh;
    width: 200vw;
    /* Width to accommodate two panels side-by-side */
}

.container-50,
.container-backwards-50 {
    display: flex;
    height: 100vh;
    width: 200vw;
    /* Width to accommodate two panels side-by-side */
}

.breathe:hover {
    transition: opacity 1.7s ease, transform 1.3s ease;
    transform: scale(1.05);
}



.container-backwards-50 {
    left: -100vw;
    background-color: none;
    /* Width to accommodate two panels side-by-side */
}

.panel {
    flex: 0 0 100vw;
    height: 100vh;
}

.static-panel {
    height: 100vh;
}






.credits {
    display: flex;
    max-width: 95vw;
    bottom: 50vh;
    column-gap: 3vw;
    flex-direction: row;
    align-items: center;
    position: absolute;
    right: 105vw;
    bottom: 50vh;
    border-left: white solid 3px;
    border: 10%;
}

.credits-bottom {
    display: flex;
    max-height: 45vh;
    max-width: 65vw;
    top: 50vh;
    column-gap: 3vw;
    flex-direction: row;
    align-items: baseline;
    position: absolute;
    right: 120vw;
}



.bottom {
    bottom: 0;
}





.circle-4 {
    background-color: var(--text-color);
    width: 10vh;
    height: 10vh;
    transform: translate(-2.5vw, -2.5vw);
    left: 25vw;
    top: 50vh;
    z-index: 100000000000000;
    position: absolute;
    border-radius: 100%;
}

.horizontal {
    width: 40vw;
    height: 3px;
    background-color: pink;
}
.yellow{background-color: rgb(0, 0, 0);}
.blue{background-color: rgb(0, 0, 0);}
.green{background-color: rgb(0, 0, 0);}



.publications-container{
  
 

    top: 10vh;
    margin: 10vh;;

}
.white {
    background: rgb(253, 253, 255);
}

.red {
    background: red;
}

.purple {
    background: none;
}



.leftline {
    width: 90vw;
    border-left: 3px solid var(--text-color);
    border-bottom: 3px solid var(--text-color);
    height: 100vh;
    top: 0vh;
    left: 5%;
    position: relative;
    background-color: inherit;
    border-radius: 0 0 0 3em / 3em;
}



.list {
    max-width: 25vw;
}

.publication-item {
  padding: 1em;
  border-bottom: 1px solid #ccc;
}
.publication-item .title {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.2em;
}
.publication-item .authors {
  color: #7a7a7a;
  margin-bottom: 0.4em;
}
.publication-item .abstract {
  font-size: 0.95em;
  margin-bottom: 0.4em;
}
.publication-item .journal,
.publication-item .conference {
  font-style: italic;
  color: #666;
}
.publication-item .year {
  color: #999;
}

 .pub-tag {
  color: var(--feature-color3);
  border: var(--feature-color3) 1px solid;
  width: fit-content;
  border-radius: 3%;
    padding: 4px 10px;
  margin-bottom: 0.5em;
  border-radius: 4px;
}



.minititlecard {
  opacity: 0;
  transform: scale(0.8);
  display: inline-block;
}


.toggle-abstract {
  background-color: var(--feature-color2);
  color: white;
  border: none;
  padding: 4px 10px;
  margin-bottom: 0.5em;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
}

.toggle-abstract:hover {
  background-color: #00a305;
}

.circularimage{
     object-fit: cover;
    max-height: 100%;
    max-width: 100%;
      width: 100%;
  height: 100%;
    z-index: 105;
    border-radius: 100%;
    background-color: inherit;

}

.smallerfeature{
      width: 10vw;
  height: 10vw;
}
.projects-section {
  max-width: 90vw;
  display: flex;
  margin: 0 auto;
  padding: 20px;
  align-items: top;
}

.project {
  margin-bottom: 50px;
  padding: 20px;
  background-color: #1b1b1b9a;
  border-radius: 1%;
  padding: 20px;

}
.project{
  display: flex;
  row-gap: 1em;
}
.projectimage{
   aspect-ratio: 1 / 1;
   width: 20vw;
max-width:50vw !important;
min-width: 20vw;
}

.vertical{
  flex-direction: column;
}

.vertical .projectimage {
  /* styles go here */
  min-width: 50vw;
  aspect-ratio: auto;
}

.vertical .projectinfo {
   min-width: 100%;
   margin: 0;
}
.topmargin{
  margin-top: 10em;
}
.bottommargin{
  margin-bottom: 10em;
}
.YTAspect{

 aspect-ratio: 16/9;
}


h4{
  margin: 1em;
}

.featurecolor1{
    color:var(--feature-color1);
}
.featurecolor2{
    color:var(--feature-color3);
}
.featurecolor3{
   color: #c8d603;
}

.featurecolor4{
   color:#00a592
}



.halfwidth{
  width: 50%;
}

.middle-align{
  text-align: center;
}

.right-align{
  text-align: right;
}

.titlecards{
  min-width: 80%;
  display: flex;
  justify-content: left;
  column-gap: 3em;
}
.minititlecard{
  height: 13vh;
}

.video{
  position: relative;
}
.smallertext{
  font-size: 90%;
}
ul{
   list-style-type: none;
   padding:0.5em;
}
.projectinfo{
  margin: 1.5em;
}

.video-container {
  margin: 20px 0;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.tag {
  display: inline-block;
  background-color: #eee;
  color: #000000;
  padding: 5px 10px;
  margin-top: 10px;
  border-radius: 5px;
  font-size: 0.9em;
}

.image-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 15px;
}
.coverimage {
    object-fit: contain;
    max-height: 17vw;
    max-width: 17vw;
    z-index: 105;
    border-radius: 100%;
    background-color: inherit;
}

.introdiv{
    display: flex;
    justify-content:space-around;
    align-items: center;
    column-gap: 1em;
    background-color: inherit;
    height: 100vh;
    padding-left: 10%;
        padding-right: 10%;

}

.main{
    padding-left: 12vw;
    padding-right: 12vw;
}

.text{
  background-color: inherit;
 
}

.section{
    min-height: 80vh;
    min-width: 50vw;
}



/*p {

  border-top: 2px dashed;
  border-color: rgb(229, 229, 229) !important;
  margin:0; padding: 30px;
}



p:nth-child(even) {
  border-left: 2px dashed;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  margin-right: 30px; 
  padding-right: 0;
}

p:nth-child(odd) {
  border-right: 2px dashed;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  margin-left: 30px; 
  padding-left: 0;
}

p:first-child {
  border-top: 0;
  border-top-right-radius:0;
  border-top-left-radius:0;
}

p:last-child {
  border-bottom-right-radius:0;
  border-bottom-left-radius:0;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


.timeline {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: #006E51;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.container {
  padding: 15px 30px;
  position: relative;
  background: inherit;
  width: 50%;
}

.container.left {
  left: 0;
}

.container.right {
  left: 50%;
}

.container::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: calc(50% - 8px);
  right: -8px;
  background: #ffffff;
  border: 2px solid #006E51;
  border-radius: 16px;
  z-index: 1;
}

.container.right::after {
  left: -8px;
}

.container::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  top: calc(50% - 1px);
  right: 8px;
  background: #006E51;
  z-index: 1;
}

.container.right::before {
  left: 8px;
}

.container .date {
  position: absolute;
  display: inline-block;
  top: calc(50% - 8px);
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #006E51;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.container.left .date {
  right: -75px;
}

.container.right .date {
  left: -75px;
}

.container .icon {
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 9px 0;
  top: calc(50% - 20px);
  background: #F6D155;
  border: 2px solid #006E51;
  border-radius: 40px;
  text-align: center;
  font-size: 18px;
  color: #006E51;
  z-index: 1;
}

.container.left .icon {
  right: 56px;
}

.container.right .icon {
  left: 56px;
}

.container .content {
  padding: 30px 90px 30px 30px;
  background: #F6D155;
  position: relative;
  border-radius: 0 500px 500px 0;
}

.container.right .content {
  padding: 30px 30px 30px 90px;
  border-radius: 500px 0 0 500px;
}

.container .content h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: normal;
  color: #006E51;
}

.container .content p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}
*/
@media (max-width: 767.98px) {
  .timeline::after {
    left: 90px;
  }

  .container {
    width: 100%;
    padding-left: 120px;
    padding-right: 30px;
  }

  .container.right {
    left: 0%;
  }

  .container.left::after, 
  .container.right::after {
    left: 82px;
  }

  .container.left::before,
  .container.right::before {
    left: 100px;
    border-color: transparent #006E51 transparent transparent;
  }

  .container.left .date,
  .container.right .date {
    right: auto;
    left: 15px;
  }

  .container.left .icon,
  .container.right .icon {
    right: auto;
    left: 146px;
  }

  .container.left .content,
  .container.right .content {
    padding: 30px 30px 30px 90px;
    border-radius: 500px 0 0 500px;
  }
}