
:root {
  --app-height: 100%;
}
:root { background-attachment: fixed; }
body{
margin: 0;
padding: 0;
overflow-x: hidden;
overflow-y: scroll !important;

width: 100vw;
}

.overflowx-hidden{
    overflow-x:hidden;
}   
@font-face {
    font-family: AmazonEmber;
    src: url(fonts/Amazon-Ember-Medium.ttf);
  }
@font-face {
font-family: Montserrat-ExtraLight;
src: url(fonts/Montserrat-ExtraLight.ttf);
}
@font-face {
    font-family: Montserrat-Bold;
    src: url(fonts/Montserrat-Bold.ttf);
}
/* Amazon Banner*/
#AWS {
    position: fixed;
    top: 0;
    background-color: #232f3eee;
    font-family: "Montserrat-ExtraLight", sans-serif;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 100;
  }
  #aws-text {
    margin-left: 50px;
    display: flex;
    align-items: center;
  }
  #aws-text h2 {
    font-family: AmazonEmber, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 2rem;
    border: none;
    margin: 0;
    width: auto;
    color: #ddd;
  }
  #awsLogo {
    width: 59px;
    height: 35px;
    margin-left: 50px;
    border-radius: 6px;
  }
  #close {
    margin-right: 50px;
    background-color: #ddd;
    width: 25px;
    text-align: center;
    line-height: 25px;
    border-radius: 2px;
    outline: none;
    user-select: none;
    cursor: pointer;
  }
  #close:hover {
    background-color: gray;
  }

/*Banner*/
#banner{
    display: flex;
    flex-wrap: wrap;
    /* fix this later */
    justify-content: space-between;
    align-items: baseline;
    align-content: flex-start;
    margin-right: 50px;
    margin-left: 50px;
    margin-top: 5px;

    /* gap: 10px 100px; */
    position: fixed;
    top: 0px;
    padding-bottom: 5px;
    z-index: 10000;
}

/*Main Text Font*/
.text{
    text-align: center;
    flex-shrink: 1;
    font-family: 'Montserrat-ExtraLight', sans-serif;
    color: white;
}
/* Image and Circles */
.parallax{
    background-image: url("images/mars.png");
    background-color: #000000;
    height: 100vh;
    /* min-height: -webkit-fill-available; */
    /* min-height: 100vh;
    height: 100%;
    min-height: -webkit-fill-available; */

    height: var(--app-height);
    /* max-width: 100%;  */
    
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    margin: 0;
    display: block;
    z-index: -100;
}
#paratext{
  position: fixed;
  z-index:0;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translate(-50%,-50%);
  padding: 0 100px;

  text-align: center;
}
#circleline{
    position: absolute;
    /* Create the circle */
    width: 70vh;
    max-width: 90vw;
    height: 70vh;
    max-height: 90vw;
    border-radius: 35vh;

    /* Style it */
    background-color: rgba(127, 255, 212, 0);
    /* border: 1px solid white; */


    display: flex;
    /* center horizontally */
    justify-content: center;
    /* center vertically */
    align-items: center;

    /* Get to center */
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%,-50%);
}
#circleout{
    width: 68vh;
    max-width: 88vw;
    height: 68vh;
    max-height: 88vw;
    border-radius: 34vh;

    /* background-color: rgba(225, 225, 225, 0.18); */
    position: absolute;
}
#circleinner{
    width: 64vh;
    max-width: 84vw;
    height: 64vh;
    max-height: 84vw;
    border-radius: 32vh;

    /* background-color: rgba(225, 225, 225, 0.18); */
    position: absolute;

    /* Center div */
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    
}
#circletext{
    width: 80%;
    height: 80%;

    font-size: 3vh;

    /* Center text */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}

/* Navigation Bar */
#navbar{
    z-index: 1000;
    padding-top: 0.5em;
    display: flex;
    justify-content: center;
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    background-color: rgb(0, 0, 0);
}
.nav-link:hover{
    color: red;

}
.nav-tabs .nav-link{
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
}
.nav-link:focus{
  color: red;
  border-top-left-radius: 0rem;
  border-top-right-radius: 0rem;
  outline: none;
}
.nav-tabs {
    border-bottom: 4px solid #ffffff;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
}
/* Body of the tab */
#overall{
    z-index: 999;
    display: flex;
    flex-direction: column;
    position: relative;
}
.main{
    z-index: 999;
    padding-bottom: 5em;
    display: flex;
    flex-direction: column;
    /* margin-top: 100px; */
    padding-left: 10vw;
    padding-right: 10vw;
    width: 100vw;
}
.topmargin{
    padding-top: 5em;
}
.stars{
    background-image: url("images/stars.png");
    background-color: black;
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
}
.backgroundblur{

    padding: 2em;
    background-color: rgba(51, 51, 51, 0.4);
    border-radius: 4px;
}
.textbody{
    /* color: black; */
    font-size: 1.1em;
    text-align: left;
    text-indent :2em;
}
.caption{
  font-size: 0.85em;
}

/* Image in text */
.figureleft{
  float: left;
  margin-top: 1.25em;  
}
.figureright{
  float: right;
  margin-top: 1.25em;  
}

.imageleft{
    margin-right: 2em;
    max-width: 15em;
    border-radius: 0.5em;
    border:1px solid white;
}
.imageright{
  margin-left: 2em;
  max-width: 15em;
  border-radius: 0.5em;
  border:1px solid white;
}
.textlabelleft{
  transform: translate(-1em, 0);
  margin-top: 0;
  font-size: 0.85em; 
  margin-bottom: 1em;
}
.textlabelright{
  transform: translate(1em, 0);
  margin-top: 0;
  font-size: 0.85em; 
  margin-bottom: 1em;
}

/* Map */
.tab-content{
  background-image: url("images/stars.png");
}
.center{
  display: flex;
  justify-content: center;
  align-items: row;
}
.layoutpage{
}
#layout{
    /* flex: auto; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 80vw;
    margin-bottom: 5em;
    /* margin-right: 200px; */
    /* background-image: url("images/layouttest.svg"); */
}
#map{
    margin-top: 1em;
    max-width: 90%;
    height: auto;
}

/* References */
.referencepage{
  display: flex;
  flex-direction: column;
}
.referencetitles{
  margin-top: 2em;
  font-size: 3em;
}
.reference {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 2rem;
    font-size: 1em;
}
.block{
  width: 100%;
  text-align: left;
  /* flex-shrink: 1;
  font-family: 'Montserrat-ExtraLight', sans-serif;
  color: white; */
  padding-left: 2em;
  text-indent: -2em;
  margin-top: 1.5em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.wordbreak{
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.referencelink{
  text-decoration: underline;     
  margin-top: 4em;
}
.link{
  color:white;
  text-decoration: none;
}
.link:hover{
  color:red;
}
.textlink{
  /* color:rgb(255, 255, 255); */
  color: rgb(255, 58, 58);  
  text-decoration: none; 
}
.textlink:hover{
  color: rgb(255, 58, 58);
} 

/* Timeline */
img {
    max-width: 100%;
  }
  
  .ag-format-container {
    width: 1160px;
    margin: 0 auto;
  
    position: relative;
  }
  
  .ag-timeline-block {
    padding: 100px 0;
  }
  .ag-timeline_title-box {
    padding: 0 0 30px;
  
    text-align: center;
  }
  .ag-timeline_tagline {
    font-size: 40px;
    color: rgb(84, 89, 95);
  }
  .ag-timeline_title {
    background-image: url(images/red.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
  
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    /* text-fill-color: transparent; */
    color: transparent;
  
    font-size: 80px;
  }
  
  .ag-timeline_item {
    margin: 0 0 50px;
  
    position: relative;
  }
  .ag-timeline_item:nth-child(2n) {
    text-align: right;
  }
  
  .ag-timeline {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  
    position: relative;
  }
  .ag-timeline_line {
    width: 2px;
    background-color: #393935;
  
    position: absolute;
    top: 2px;
    left: 49.75%;
    bottom: 0;
  
    overflow: hidden;
  
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  
  .ag-timeline_line-progress {
    width: 100%;
    height: 20%;
    background-color: rgb(188, 47, 47);
  }
  
  .ag-timeline-card_box {
    padding: 0 0 23px 50%;
    display: flex;
    align-items: center;
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
    padding: 0 50.5% 22px 0;
    justify-content: flex-end;
  }
  .ag-timeline-card_point-box {
    display: inline-block;
    margin: 0 14px 0 -28px;
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
    margin: 0 -28px 0 14px;
  }
  .ag-timeline-card_point {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;


    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid rgb(188, 47, 47);
    background-color: #1d1d1b;
  
    text-align: center;
    font-family: 'Montserrat-ExtraLight', sans-serif;
    font-size: 14px;
    color: #FFF;
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  .js-ag-active .ag-timeline-card_point {
    color: #ffffff;
    background-color: rgb(116, 24, 24);;
  }
  .ag-timeline-card_meta-box {
    display: inline-block;
  }
  .ag-timeline-card_meta {
    /* margin: 10px 0 0; */
    margin: 0 0 0;

  
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 28px;
    color: rgb(255, 255, 255);
  }
  .ag-timeline-card_item {
    display: inline-block;
    width: 45%;
    margin: -77px 0 0;
    background-color: #282828;
  
    opacity: 0;
  
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
  
    -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    -o-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    box-shadow: 0 0 0 0 rgba(0,0,0,.5);
  
    -webkit-transition: -webkit-transform .5s, opacity .5s;
    -moz-transition: -moz-transform .5s, opacity .5s;
    -o-transition: -o-transform .5s, opacity .5s;
    transition: transform .5s, opacity .5s;
  
    position: relative;
  }
  .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item {
    -webkit-transform: translateX(-200%);
    -moz-transform: translateX(-200%);
    -ms-transform: translateX(-200%);
    -o-transform: translateX(-200%);
    transform: translateX(-200%);
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
    -webkit-transform: translateX(200%);
    -moz-transform: translateX(200%);
    -ms-transform: translateX(200%);
    -o-transform: translateX(200%);
    transform: translateX(200%);
  }
  .js-ag-active.ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item,
  .js-ag-active.ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
    opacity: 1;
  
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  .ag-timeline-card_arrow {
    height: 18px;
    width: 18px;
    margin-top: 20px;
    background-color: #676767;

    /* background-color: #282828; */
  
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
  
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_arrow {
    margin-left: calc(-18px / 2);
    margin-right: calc(-18px / 2);
  }
  .ag-timeline_item:nth-child(2n) .ag-timeline-card_arrow {
    margin-left: -9px;
  
    right: auto;
    left: 0;
  }
  .ag-timeline-card_img {
    height: 100%;
    /* height: 360px; */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;

    display: block;

    width: 100%;
  }
  .ag-timeline-card_info {
    padding: 20px 30px;
  }
  .ag-timeline-card_title {
    display: none;
    margin: 10px 0 0;
  
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 28px;
    color: rgb(255, 255, 255);
  }
  .ag-timeline-card_desc {
    line-height: 1.45;
    font-family: 'Montserrat-ExtraLight';
  
    font-size: 16px;
    color: #FFF;
  }
  
  
  @media only screen and (max-width: 979px) {
    .ag-timeline_line {
      left: 28px;
    }
  
    .ag-timeline_item:nth-child(2n) {
      text-align: left;
    }
  
    .ag-timeline-card_box,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
      padding: 0 0 24px;
      justify-content: flex-start;
    }
    .ag-timeline-card_meta-box {
      display: none;
    }
    .ag-timeline-card_point-box,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
      margin: 0 0 0 8px;
    }
    .ag-timeline-card_point {
      height: 40px;
      line-height: 40px;
      width: 40px;
    }
    .ag-timeline-card_item {
      width: auto;
      margin: -65px 0 0 75px
    }
    .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
      -webkit-transform: translateX(200%);
      -moz-transform: translateX(200%);
      -ms-transform: translateX(200%);
      -o-transform: translateX(200%);
      transform: translateX(200%);
    }
    .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_arrow {
      right: auto;
      left: 0;
    }
    .ag-timeline-card_title {
      display: block;
    }
    .ag-timeline-card_arrow {
      margin-top: 12px;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .ag-format-container {
      width: 96%;
    }
  
    .ag-timeline-card_img {
      height: auto;
      width: auto;
    }
  }
  
  @media only screen and (max-width: 639px) {
    .ag-timeline_title {
      font-size: 60px;
    }
  
    .ag-timeline-card_info {
      padding: 10px 15px;
    }
    .ag-timeline-card_desc {
      font-size: 14px;
    }
  }
  
  @media only screen and (max-width: 479px) {
    .ag-timeline-card_point{
      font-size: 11px;
    }
  
  }
  @media (min-width: 480px) and (max-width: 767px) {
    .ag-timeline-card_point{
      font-size: 11px;
    }
  
  }
  
  @media (min-width: 768px) and (max-width: 979px) {
    .ag-timeline-card_point{
      font-size: 11px;
    }
    .ag-format-container {
      width: 750px;
    }
  
  }
  
  @media (min-width: 980px) and (max-width: 1161px) {
    .ag-format-container {
      width: 960px;
    }
  
  }

/* Footer */
#footerimage{
    background-image: url("images/earth.jpg");
    height: 65vh;
    /* background-attachment: fixed; */
    background-position: center;
    background-size: cover;
    width: 100vw;
    align-items: flex-end;
    position: absolute;
    z-index: -10;

}
#footer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 65vh;
    width: 100vw;
    /* margin-top: 5em; */
    gap:1em 3em;
    
    justify-content: center;
    /* align-items: center ; */
    align-content: flex-end;
}
#footerpadding{
    background-color: rgba(58, 58, 58, 0.725); 
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100vw;
    /* margin-top: 5em; */
    gap:1em 3em;
    
    justify-content: center;
    align-content: center;
    align-items: center;

    padding: 1em 2em 1em 2em;

}
.footerdiv{
    /* border-color: black;
    border-style: solid;
    border-width: 1px; */
    /* height: 100%; */
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0px 20px;
}
.logo{
    height: 30px;
    width: auto;
    opacity: 0.85;
}
h5.text{
  margin-bottom: 0;
}

/* Add */

.add {
  z-index: 999999;
  position: fixed;
  bottom: 5px;
  margin-left: 50%;
  transform: translate(-50%, 0);
  background-image: url("images/My_project.jpg");
  width: 750px;
  height: 150px;
  background-size: 100% 100%;
  border: 1px solid black;
}

.add img {
  float: right;
}

.add span {
  background: rgba(255, 255, 255, 0.7);
  color: #444;
  font-size: 10px;
  font-weight: bold;
  font-family: sans-serif;
  padding: 4px;
  border-radius: 0 0 3px 0;
  float: left;
}
.xandr-div {
  padding: 5px 10px 10px 10px;
  margin: 0px 0px 0px 3px;

  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  font-family: arial, helvetica, clean, sans-serif;
  text-align: left;
  border: 1px solid rgb(204, 204, 204);
  display: none;
}

.xandr-div img {
  width: 65px;
  margin: 12px 0px 0px -10px;
  vertical-align: text-top;
  float: left;
}

.xander-close {
  cursor: pointer;
  float: right;
  padding: 5px;
  font-size: 11px;
  color: rgb(0, 0, 0);
  font-family: arial, helvetica, clean, sans-serif;
  text-align: left;
}

.xandr-div .trust-arc {
  padding: 0px 15px;
  height: 100%;
  background: #f7f7f7;
  color: #a7a7a7;
  text-align: left;
  font-size: 12px;
  font-weight: 100;
  display: flex;
  margin: 0 !important;
}

.trust-arc img {
  vertical-align: middle;
  border: none;
  width: 60px;
  margin-top: 0;
  margin-left: 5px;
}

.xandr-div div {
  margin: 0px 0px 5px 65px;
  font-size: 11px;
}


@media screen and (max-width: 900px) {
  ul li div {
    width: 250px;
  }
  ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
}


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

@media only screen and (max-width: 550px){
#AWS{background-color: green;}
#aws-text{font-size: 10px;}
#awsLogo{margin-left: 25px;}
#banner{
    justify-content: center;
}
#circleline{
    width: 75vw;
    height: 75vw;
    border-radius: 37.5vw;
}
#circleout{
    width: 73vw;
    height: 73vw;
    border-radius: 36.5vw;
}
#circleinner{
    width: 69vw;
    height: 69vw;
    border-radius: 34.5vw;
}
#circletext{
    font-size: 3vw;
}

.imageleft{
  margin: 0 0 0 0;
  max-width: 100%;
}
.imageright{
  margin: 0 0 0 0;
  max-width: 100%;
}

.block{
  padding-left: 0;
  text-indent: 0;
}
.reference{
  align-items: center;
}
}