/* General */
* {
  box-sizing: border-box; 
}
html {
  scroll-behavior: smooth;
  margin: auto;
  text-align: center;
 }
 a, a:visited{
  color: white;
  text-decoration: none;
 }


body {
    background-color: black;
    margin: auto;
    font-family: 'Times New Roman';
    color: white;
/*    overflow: hidden; */
  }
  
  section {
    width: 100%;
    display: table;
    margin: 0;
    max-width: none;
    height: 85vh;
  }

  .section_arrows {
    width: 100%;
    display: table;
    margin: 0;
    max-width: none;
    height: 15vh;

  }

  .content {
    display: table-cell;
    vertical-align: middle;
  }

  .arrow {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: -webkit-fill-available;
    filter: invert(100%);
    rotate: 180deg;
  }

  .arrow:hover {
    transform: scale(1.1);
    transition: 0.5s;

  }




  /* General */
  .arrows_box {  display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 4vh 4vh;
    gap: 2vh 0%;
    grid-auto-flow: row;
    grid-template-areas:
      "up"
      "down";
      align-self: center;
      max-height: 10vh;
      bottom: 0;
      vertical-align: middle;

  }
  
  .up { grid-area: up; }
  
  .down { grid-area: down; }
  
  
  h1{
    font-size: 350%;
    font-family: 'Times New Roman', Times, serif;
  }

  p {
    font-size: 2vw;
    text-align: justify;
    margin: auto;
    max-width: 90vw;
  }



/* Title Page - Grid */

  .title_box {  display: grid;
    grid-template-columns: 30% 70%;
    grid-template-rows: 50%;
    gap: 0% 0%;
    grid-auto-flow: row;
    grid-template-areas:
      "logo text";
      align-items: center;
      margin: auto;
      margin-left: 10%;
      margin-top: 10%;
  }
  
  .logo { grid-area: logo; }
  
  .text {  display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "Main Main Main"
      "Main Main Main"
      "Sub Sub Sub";
    grid-area: text;
  }
  
  .Main { grid-area: Main; 
  text-align: left;
  font-size: 9vw;
  }
  
  .Sub { grid-area: Sub; 
  text-align: left;
  font-size: 5vw;

}

/* Title Page - Carousel */

.content-slider {
max-height: 5vh;
text-align: center;
margin-bottom: 6vh;}

.slider {
  overflow: visible;
  position: relative;
}

.mask {
  overflow: hidden;
  height: 8vh;
}

.slider ul {
  position: relative;
  max-width: 100%;
  margin: auto;
  margin-top: 0%;
  text-align: center;

}

.slider li {
  position: absolute;
  list-style: none;
  text-align: center;

}

.slider .quote {
  font-size: 4vw;
  font-style: italic;
}

.slider li.anim1 {
  -moz-animation: cycle 15s linear infinite;
  -webkit-animation: cycle 15s linear infinite;
  animation: cycle 15s linear infinite;
}

.slider li.anim2 {
  -moz-animation: cycle2 15s linear infinite;
  -webkit-animation: cycle2 15s linear infinite;
  animation: cycle2 15s linear infinite;
}

.slider li.anim3 {
  -moz-animation: cycle3 15s linear infinite;
  -webkit-animation: cycle3 15s linear infinite;
  animation: cycle3 15s linear infinite;
}

.slider li.anim4 {
  -moz-animation: cycle4 15s linear infinite;
  -webkit-animation: cycle4 15s linear infinite;
  animation: cycle4 15s linear infinite;
}

.slider li.anim5 {
  -moz-animation: cycle5 15s linear infinite;
  -webkit-animation: cycle5 15s linear infinite;
  animation: cycle5 15s linear infinite;
}

.slider:hover li {
  -moz-animation-play-state: paused;
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

@-moz-keyframes cycle {
  0% {
    top: 0px;
  }
  4% {
    top: 0px;
  }
  16% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  20% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  21% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  92% {
    top: -325px;
    opacity: 0;
    z-index: 0;
  }
  96% {
    top: -325px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}

@-moz-keyframes cycle2 {
  0% {
    top: -325px;
    opacity: 0;
  }
  16% {
    top: -325px;
    opacity: 0;
  }
  20% {
    top: 0px;
    opacity: 1;
  }
  24% {
    top: 0px;
    opacity: 1;
  }
  36% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  40% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  41% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-moz-keyframes cycle3 {
  0% {
    top: -325px;
    opacity: 0;
  }
  36% {
    top: -325px;
    opacity: 0;
  }
  40% {
    top: 0px;
    opacity: 1;
  }
  44% {
    top: 0px;
    opacity: 1;
  }
  56% {
    top: 0px;
    opacity: 1;
  }
  60% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  61% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-moz-keyframes cycle4 {
  0% {
    top: -325px;
    opacity: 0;
  }
  56% {
    top: -325px;
    opacity: 0;
  }
  60% {
    top: 0px;
    opacity: 1;
  }
  64% {
    top: 0px;
    opacity: 1;
  }
  76% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  80% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  81% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-moz-keyframes cycle5 {
  0% {
    top: -325px;
    opacity: 0;
  }
  76% {
    top: -325px;
    opacity: 0;
  }
  80% {
    top: 0px;
    opacity: 1;
  }
  84% {
    top: 0px;
    opacity: 1;
  }
  96% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  100% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
}

@-webkit-keyframes cycle {
  0% {
    top: 0px;
  }
  4% {
    top: 0px;
  }
  16% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  20% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  21% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  50% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  92% {
    top: -325px;
    opacity: 0;
    z-index: 0;
  }
  96% {
    top: -325px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}

@-webkit-keyframes cycle2 {
  0% {
    top: -325px;
    opacity: 0;
  }
  16% {
    top: -325px;
    opacity: 0;
  }
  20% {
    top: 0px;
    opacity: 1;
  }
  24% {
    top: 0px;
    opacity: 1;
  }
  36% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  40% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  41% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-webkit-keyframes cycle3 {
  0% {
    top: -325px;
    opacity: 0;
  }
  36% {
    top: -325px;
    opacity: 0;
  }
  40% {
    top: 0px;
    opacity: 1;
  }
  44% {
    top: 0px;
    opacity: 1;
  }
  56% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  60% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  61% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-webkit-keyframes cycle4 {
  0% {
    top: -325px;
    opacity: 0;
  }
  56% {
    top: -325px;
    opacity: 0;
  }
  60% {
    top: 0px;
    opacity: 1;
  }
  64% {
    top: 0px;
    opacity: 1;
  }
  76% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  80% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  81% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-webkit-keyframes cycle5 {
  0% {
    top: -325px;
    opacity: 0;
  }
  76% {
    top: -325px;
    opacity: 0;
  }
  80% {
    top: 0px;
    opacity: 1;
  }
  84% {
    top: 0px;
    opacity: 1;
  }
  96% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  100% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
}

.middle { grid-area: middle; }

@media screen and (max-width: 800px) {
  .carousel_ {
    grid-template-columns: 0.5fr 1fr 0.5fr;
  }

  .content-slider {
    margin-bottom: 0vh;}

  .tabset {
    font-size: 4vw;
    }
  p {
    font-size: 3vw;
  }
  .team_persons{
    display: none !important; 
  }
  .first_paragraph{
    display: none;
  }

}
@media screen and (min-width: 800px) {
  .team_individuals_mobile{
    display: none !important; 
  }
}


/* What we do - Table */
@media screen and (max-width: 800px) {
  .wa_we_do_table {  display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1% 5%;
    grid-auto-flow: row;
    grid-template-areas:
      "Trading_Systems"
      "Strategy-Porting"
      "Alpha_factor"
      "Statistical_Analasys"
      "Curated-Data_sets"
      "Data-Center-facilities";
      margin-left: 5%;
      width: 90%;
      margin-top: 1vh;


  }
  .Trading_Systems { grid-area: Trading_Systems; }
  .Strategy-Porting { grid-area: Strategy-Porting; }
  .Alpha_factor { grid-area: Alpha_factor; }
  .Statistical_Analasys { grid-area: Statistical_Analasys; }
  .Curated-Data_sets { grid-area: Curated-Data_sets; }
  .Data-Center-facilities { grid-area: Data-Center-facilities; }
  

}
@media screen and (min-width: 800px) {/* Desktop */
  .wa_we_do_table {  display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5% 5%;
    grid-auto-flow: row;
    grid-template-areas:
      "Trading_Systems Strategy-Porting Alpha_factor"
      "Statistical_Analasys Curated-Data_sets Data-Center-facilities";
    margin-left: 15%;
    width: 70%;
    margin-top: 3vh;
    margin-bottom: 1vh;

  }
  
  .Trading_Systems { grid-area: Trading_Systems; }
  
  .Strategy-Porting { grid-area: Strategy-Porting; }
  
  .Alpha_factor { grid-area: Alpha_factor; }
  
  .Statistical_Analasys { grid-area: Statistical_Analasys; }
  
  .Curated-Data_sets { grid-area: Curated-Data_sets; }
  
  .Data-Center-facilities { grid-area: Data-Center-facilities; }


  
  
}
.explain{
  text-align: CENTER; 
  font-size: 2vh; 
  width: 70%;	
  margin-top: 4vh; 
  MARGIN-BOTTOM: 5VH;
  }

/* Our Team */

    /* Desktop */

.team_persons {  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  grid-auto-columns: 1fr;
  gap: 0.1em 1em;
  grid-auto-flow: row;
  grid-template-areas:
    "um dois tres quatro";
    font-size: 3vh;
    max-width: 70vw;
    margin: auto;
}

.card{
  font-size: 1.5vw;
}

.um { grid-area: um; }

.dois { grid-area: dois; }

.tres { grid-area: tres; }

.quatro { grid-area: quatro; }

.team_individuals {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 4fr 1fr;
  grid-auto-columns: 1fr;
  gap: 0em 0em;
  grid-auto-flow: row;
  grid-template-areas:
    "name"
    "photo"
    "link";
    transition: all 0.9s ease 0s;
    font-size: 1.5vw;
}

.name { grid-area: name;
  height: 2vw;
  text-align: center;
  transition: all 0.9s ease 0s;
  font-size: 1.5vw;
 }

.photo { grid-area: photo;
  height: 16vw;
  width: 16vw;
  background-size: cover;
  transition: all 0.9s ease 0s;
  margin: auto;
  max-width: 95%;
  overflow: hidden;
  position: relative;
  filter: grayscale(1);

 }

.link { grid-area: link;
  color: black;
  transition: all 0.9s ease 0s;
  height: 2vw;
  font-size: 1.5vw;


 }

.team_individuals:hover .name{
  color: black;
  transform: scale(1.1);

}

.team_individuals:hover .photo{
filter: grayscale(0);
  transition: all 0.9s ease 0s;


}

.team_individuals:hover .link{
  transform: scale(1.1);
}

.team_individuals:hover{
  background-color: white;
  transition: all 0.9s ease 0s;

}

    /* Mobile */
    /* team_individuals_mobile */

.team_individuals_mobile {  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-auto-columns: 1fr;
  gap: 1em 0em;
  grid-auto-flow: row;
  grid-template-areas:
    "photo_mobile text_mobile";
    margin-bottom: 2vh;
    background-color: rgb(12, 12, 12);

}

.text_mobile {  display: grid;
  grid-template-columns: 1fr;

  /* grid-template-rows: 1fr 1fr; */
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "name_mobile"
    "position_mobile";
  grid-area: text_mobile;
  text-align: left;
}

.name_mobile { grid-area: name_mobile; }

.position_mobile { grid-area: position_mobile; 
  color: rgb(12, 12, 12);
}

.photo_mobile { grid-area: photo_mobile; 
  height: 30vw;
  width: 30vw;
  background-size: cover;
  transition: all 0.9s ease 0s;
  margin: auto;
  filter: grayscale(1);
}

.team_individuals_mobile:hover{
  background-color: white;
  color: black;
  transition: all 0.9s ease 0s;
  transform: scale(1.1);
}

.team_individuals_mobile:hover .photo_mobile{
  filter: grayscale(0);
}

/* Forms */

@media screen and (max-width: 800px) {
  form{
    margin-left: 10%;
    margin-right: 10%;
  }
}

@media screen and (min-width: 800px) {
  form{
    margin-left: 35%;
    margin-right: 35%;
  }
}

.form_cell {
  margin: 2vh;
  text-align: center;
}

form{
  background-color: black;  
  font-size: larger;
}

input{
  margin: 0.5vh;
  width: -webkit-fill-available; 
}

textarea{
  margin: 0.5vh;
  width: -webkit-fill-available;
}

button{
  background-color: white;
  cursor: pointer;
  color: #000;
  border: none;
  text-decoration: none;
  height: 3vh;
  font-weight: bolder;
  margin: 2%;
}
@media screen and (max-width: 800px) {
  button{
    width: 30vw !important;
  }
  }
@media screen and (min-width: 800px) {
    button{
      width: 12vw !important;
    }
    }


/* Forms background */

.wrapper {
  animation: scroll 300s linear infinite;
  background: url(./images/pattern.svg), black;
  background-size: 20%;
  background-blend-mode: soft-light;

}

@keyframes scroll {
   100%{
    background-position:0px -3000px;
  }
}

@media (prefers-reduced-motion) {
  .wrapper {
    animation: scroll 200s linear infinite;
  }
}

@media (min-width: 670px) {
  .title {
    font-size: 5rem;
  }
}

/* Forms background */
.footer_arrow{
  background: linear-gradient(0deg, rgba(0,0,0,1) 72%, rgba(44,44,44,1) 94%, rgba(44,44,44,1) 100%);

}
/* PopUp Teams */
.apperhover{
display: none;
transition: 1.0s;

}
.team_individuals:hover .apperhover{
  display: block;
  transition: 1.0s;

}

.disappear{
  display: block;
  transition: 1.0s;

  }
.team_individuals:hover .disappear{
    display: none;
    transition: 1.0s;

  }

  .team_individuals_mobile:hover .apperhover{
    display: block;
    transition: 1.0s;
  }