/*General css and --root*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html{
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}





/*CSS mobile version*/

/*Menu mobile version*/

.menuIcon.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 45px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}


.logo {
  padding-top: 5px;
  padding-bottom: 5px;
  width: 14vw;
  height: auto;
}

.maincontainer {
    padding-right: 5%;
    padding-left: 5%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: hidden;
    background: url(./img/hero-background.jpg) no-repeat;
    background-position: left;
    background-size: cover;
    background-attachment: fixed;
}

nav.subcontainer.logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.subcontainer.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    background: rgba( 255, 255, 255, 0 );
    /*backdrop-filter: blur( 8px );
    -webkit-backdrop-filter: blur( 8px );*/
}

.subcontainer.socials {
  display: none;
}

li {
  list-style: none;
}

h1 {
  font-size: 5em;
  font-family: "Montserrat";
  font-weight: 20vw;
  letter-spacing: -0.09em;
  margin-bottom: 30px;
  line-height: 0.8em;
}

p {
  font-size: 1em;
  line-height: 1.5em;
  font-family: "Montserrat";
}

.hamburger {
  z-index: 1;
  top: 1rem;
  right: 1rem;
  padding: 4px;
  margin-top: 1%;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.anchor{
  height: 80px;
}
.closeIcon.material-symbols-outlined {
  display: none;
  font-size: 10vw;
  z-index: 4;
}

.menu {
  position: fixed;
  transform: translateX(100%);
  transition: transform 1s;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background-color: white;
  margin: 0;
  list-style: none;
  padding-top: 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  align-content: center;
}

.p1 {
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 5%;
}

.showMenu {
  transform: translateX(0);
  transition: transform 1s;
  background-color: white;
  color: white;
  height: 100vh;
  overflow-y: hidden;
  margin: 0;
  z-index: 0;
}

.menuItem {
  text-decoration: none;
  color: #000000;
  font-size: 3.8em;
  line-height: 1.3em;
  font-family: "Montserrat";
  font-weight: 900;
  letter-spacing: -0.09em;
}

.subcontainer.logo.sticky{
  position: fixed;
  width: 100%;
  display: flex;
  top: 0;
  right:0;
  left:0;
  padding-left: 5%;
  padding-right: 5%;
  z-index: 1000;
  box-shadow: 0 1px 2px rgb(0 0 0 / 30%);
  transition: all .2s ease-out;
  background-color: #ffff;
}


/*timeline mobile version*/
/*About*/
.about{
  padding-right: 5%;
  padding-left: 5%;
  margin-bottom: 15%;
}
p.align-right{
  margin-bottom: 15%;
}
/* Timeline CSS */
.list-items:nth-child(2n) {
  margin-top: 0px;
  display: flex;
  flex : 1;
  justify-content: space-between;
  flex-direction: row-reverse;
  width: 100%;
  padding: 0px;
  align-items: center;
}

.list-items {
  margin-top: 0px;
  margin-bottom: 15%;
  display: flex;
  flex : 1;
  justify-content: space-between;
  width: 100%;
  padding: 0px;
  align-items: center;
}

.flex-container {
  margin-left: 5%;
  margin-right: 5%;
  padding: 0;
}

.title-time {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0;
}

.side {
  width: 50%;
  text-align: center;
  padding-left: 20px;
}

.h-text {
  display: contents;
}

.timeline {
  padding: 0;
}

.date {
  width: 50%;
  text-align: center;
  font-weight: bold;
  /* padding-right: 20px; */
  top: 0;
  left: 0;
  font-size: 2.5rem;
  transform: translateX(0px) rotateZ(0deg);
}

.date1 {
  width: 50%;
  text-align: center;
  font-weight: bold;
  /* padding-right: 20px; */
  top: 0;
  left: 0;
  font-size: 2.5rem;
  transform: translateX(0px) rotateZ(0deg);
}

.h-text {
  display: contents;
  font-size: 1rem;
  font-weight: 500!important;
}
/*i removed padding: 0 100px;*/
li p {
  transform: translateY(-10px);
  opacity: 100;
  
}

.side p{
  font-weight: bold;
}

/*CSS desktop version with a media query at min 1000px*/

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

.projectbloc {
    display: flex;
    justify-content: center;
    margin-bottom: 4em;
    padding-left: 2em;
    padding-bottom: 5em;
    gap: 1em;
    align-items: center;
  }
.p1 {
    float: left;
    width: 50%;
    height: auto;
    text-align: left;
  }
.p2 {
    float: right;
    width: 50%;
    height: auto;
  }

.menu{
  display: contents;
}
.hamburger{
  display: none;
}
.menuItem {
  text-decoration: none;
  color: #000000;
  font-size: 1.3em;
  line-height: 1.3em;
  font-family: "Montserrat";
  font-weight: 400;
  letter-spacing: -0.09em;
  padding-left: 0px;	
}
.menu >li:first-child{
  margin-left: 50%;
}
section {
    padding-right: 5%;
    padding-left: 5%;
  }

.subcontainer.hero {
    padding-top: 8%;
  }
.hero p {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 2fr 1fr;
  gap: 150px;
}

.logo {
  padding-top: 10px;
  padding-bottom: 5px;
  width: 140px;
  height:auto;
}

.about{
  padding-right: 5%;
  padding-left: 5%;
  margin-bottom: 0%;
}

  .timeline {
    display: block;
    margin-top: 300px;
    grid-template-columns: 40% auto;
    justify-content: center;
  }

  .flex-container {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }
  .list-items {
    margin-top: 0px;
    position: relative;
    width: 100%;
    padding: 0px;
  }

  li p {
    transform: translateY(-10px);
    opacity: 0;
    /*padding: 0 100px;*/
    margin: 10px;
    transition: 1.5s;
  }

  .h-text {
    display: none;
  }

  .align-right{
text-align: right;
padding-left: 35%;
padding-right: 5%;
  }
.anchor{
  height: 75px;
}
  .date {
    position: absolute;
    top: -165px;
    left: 16%;
    opacity: 0;
    transition: 1.5s;
    font-size: 3rem;
    font-weight: 900;
    transform: translateX(0px) rotateZ(-90deg);
  }

  .timeline-line {
    background: rgb(228, 228, 228);
    width: 100%;
    height: 4px;
    border-radius: 12px;
    position: relative;
    justify-self: end;
  }

  .timeline-point {
    width: 15px;
    height: 15px;
    top: -40px;
    left: 40%;
    transition: 1.5s ease;
    border: none;
    position: absolute;
    border-radius: 50%;
    background: rgb(228, 228, 228);
  }

  .tm-pointxl {
    width: 15px;
    height: 15px;
    top: -40px;
    left: 40%;
    transition: 1.5s ease;
    border: none;
    position: absolute;
    border-radius: 50%;
    background: rgb(228, 228, 228);
  }

  .timeline-innerline {
    position: absolute;
    background: #000;
    width: 0%;
    height: 4px;
    top: 0%;
    left: 0%;
    transition: 1s linear;
    border-radius: 999px;
  }
  .about{
    padding-right: 0%;
    padding-left: 0%;
  }
  .side {
    width: 100%;
    text-align: center;
  }

  .side p:nth-child(1) {
    font-size: 1rem;
    font-weight: 600;
  }

}





/*CSS for the form with a media query at 850px*/














/* footer css mobile 1st */
.projcontainer {
  display: flex;
  flex-direction: column;
  background-color: #f3f3f3;
  padding-right: 5%;
  padding-left: 5%;
}

.project {
  background-color: #f3f3f3;
padding-top: 10%;
}

.joincontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12%;
  background-color: #f3f3f3;
}

.join {
  background-color: #f3f3f3;
}

.joinsubcontainer {
  background-color: #ffff;
  width: 80%;
  margin-top: 5px;
  height: 200px;
  text-align: center;
  padding-left: 5%;
  padding-right: 5%;
}

.contact {
  text-align: center;
  margin-top: 10%;
  padding-right: 5%;
  padding-left: 5%;
}

#white {
  background-color: #ffffff;
  color: #000;
  border: 1px solid black;
}

.footer {
  text-align: center;
}

.subcontainersocials li {
  list-style-type: none;
  
}

.subcontainersocials {
  display: flex;
  padding-left: 0;
  flex-direction: row;
  justify-content: space-around;
}


.logofoot {
  padding-top: 4%;
  width: 15vw;
  height: auto;
  margin-top: 50px;
  margin-bottom: 10px;
}

.footer div {
  margin-bottom: 20px;
}

.imgtree {
  width: 100%;
  padding:0;

}

h4 {
  margin-bottom: 0px;
  font-weight: normal;
}

.imgstep {
  margin-top: 20px;
  height: 75px;
  width: 100px;
}
.joincontainer {
  font-weight: bold;
}
.joincontainer p {
  margin-top: 20px;
}


/* CSS FOR THE POP-UP FORM BELOW (INVISIBLE UNTIL BUTTON CLICKED)*/

.topcont {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* border:#003b00 solid 2px; */
}

.openButton {
    margin-top: 10%;
    margin-bottom: 10%;
    height: 6vh;
    width: 200px;
    color: white;
    border: none;
    background-color: #000000;
    cursor: pointer;
}

.mainPopup {
  position: relative;
  text-align: center;
  width: 100%;
}

.close {
  font-size: 40px;
  color: #000000;
  font-weight: 300;
  display: inline-block;
  transform: rotate(45deg);
  cursor: pointer;
  position: absolute;
  top: -1%;
  right: 3%;
}

.formPopup {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 10vh;
  padding-left: 32vw;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50p;
  animation: open 0.5s forwards;
}

@keyframes open {
  0% {
    transform: translate(0%, 0%) scale(1);
  }

  50% {
    transform: translate(0%, 0%) scale(1.2);
  }

  100% {
    transform: translate(0%, 0%) scale(1);
  }
}

#formContainer2 {
  margin-top: 20vh;
}

.formContainer {
  position: relative;
  padding: 1rem;
  max-width: 350px;
  margin-left: -25%;
  margin-right: 25%;
  margin-top: 75px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 15px;
  position: relative;
  border-radius: 0px 0px 0px 0px;
  border-width: 0px 0px 0px 0px;
}

.formContainer input {
  width: 90%;
  padding: 10px;
  margin: 0px 0 10px 0;
  border-style: solid;
  border-color: #000000!important;
  border-radius: 1px 1px 1px 1px;
  border-width: 1px 1px 1px 1px;
}

.formContainer input:focus {
  background-color: #F4F4F4;
  outline: none;
}
.modal-h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #000000!important;
  font-weight: 900;
}

.formContainer .btn {
  padding: 12px 20px;
  cursor: pointer;
  width: 60%;
  margin-top: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  color: #FEFFFF!important;
  background-color: #000000;
  border-radius: 0px 0px 0px 0px;
  border-width: 0px 0px 0px 0px;
}

.formContainer .btn:hover{
	background-color:rgba(0,0,0,0.80);
}

.formContainer .cancel {
  background-color: #000000;
}

.formContainer .cancel:hover{
	background-color:rgba(0,0,0,0.80);
}

#message {
  font-size: 1.2rem;
  padding: 10px;
}

.formContainer .btn:hover,
.openButton:hover {
  opacity: 1;
}

a:visited {
  color: rgb(0, 0, 0)
}

a {
  text-decoration: none;
  color: rgb(0, 0, 0)
}

/* Desktop Version Footer */

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


.closeIcon.material-symbols-outlined {
    display: flex;
    position: absolute;
    font-size: 10vw;
    z-index: 9;
  }

  .formContainer {
    max-width: 500px;
    margin-top: 50px;
    margin-left: 0%;
    margin-right: 0%;
  }


  .joincontainer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-right: 5%;
    padding-left: 5%;
  }

  #joinus{
    padding-right: 0;
    padding-left: 0;
  }

  .joinsubcontainer {
    flex-basis: 1;
    min-width: 32%;
  }

  .imgstep {
    margin-top: 50
    px;
  }

  .joinsubcontainer p {
    margin-top: 75px;
  }

  .joincontainer div{
   height: 50vh;
   width: 30%;
  }

 #white:hover{
    background-color:none;
  }

  .openButton {
    width: 250px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .openButton:hover{
    background-color:rgba(0,0,0,0.80);
  }
  #bottomButton{
    margin-top: 7em;
    margin-bottom: 7em;
  }
  h4 {
    margin-top: 100px;
  }

  .subcontainersocials {
  margin-top: 10%;
  }
  .formContainer input {
    width: 60%;
}

/* .project, .join, .contact, .footer{
  margin-left: -50px;
  margin-right: -50px;
} */

/* End of Desktop Version Footer */

@media screen and (max-width: 999px) {
  /* .formPopup {
    padding-left: 25%;  
  } */



  .closeIcon.material-symbols-outlined {
    display: flex;
    position: absolute;
    font-size: 10vw;
    z-index: 9;
  }

    /* Timeline mobile*/

    .flex-container {
      display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        align-content: stretch;
      }
  
  
    .h-text {
      display:contents;
    }
    
    .timeline {
      padding: 0;
  }
  
    .timeline-line {
      display:none;
    }
    
    .timeline-point {
      display: none;
  
    }
    .date {
      top: 0;
      left: 0;    
      font-size: 3.2rem;
      transform: translateX(0px) rotateZ(0deg);
    }
  
    .date1 {
      top: 0;
      left: 0;
      font-size: 3.2rem;
      transform: translateX(0px) rotateZ(0deg);
    }
  
    .timeline-line {
      display: none;
    }
  
    .timeline-point {
      display: none;
    }
  
    .h-text {
      display: contents;
      font-size: 1rem;
    }

    .menuItem {
      text-decoration: none;
      color: #000000;
      font-size: 5em;
      line-height: 1.3em;
      font-family: "Montserrat";
      font-weight: 900;
      letter-spacing: -0.09em;
    }    
}

}
@media screen and (min-width: 500px) and (max-width:1000px) {
  .formContainer {

    margin-left: 0%;
  }
}