

/* main_grid_start */
.container {  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 0.9fr 1.1fr 1fr 1.6fr 0.4fr;
  grid-auto-rows: 1fr;
  gap: 0px 0px;
  height: 100vh;
  grid-auto-flow: row;
  grid-template-areas:
    "header header header header header"
    "main main main main main"
    "main main main main main"
    "main main main main main"
    "main main main main main";
}

.main { grid-area: main;
  height: auto;
}

.header { grid-area: header;
  background-color: black;
}
/* main_grid_end */

/* main_container_grid_start */
.main_container {  display: grid;
  grid-template-columns: 1fr 1.3fr 216.3px;
  grid-template-rows: 1fr 1fr 70px ;
  gap: 0px 0px;
  height: auto;
  grid-auto-flow: row;
  grid-template-areas:
    "main_content main_content nav"
    "main_content main_content nav"
    "footer footer footer";
}
.nav { grid-area: nav;
  background-color: grey;

  border-left: 2px solid;

}
.main_content { grid-area: main_content; 
  background-color: white;
  z-index: 2;
  border-top: 2px solid rgb(0, 0, 0);
  background-color: #00DAFF;
  border-bottom: 2px solid #00DAFF;
  border-left: #00DAFF 2px solid; 
}

.footer{ grid-area: footer;
  background-color: rgb(0, 0, 0);
}

.flex-container-footer{
  display: flex;
  flex-direction: row;
  height: 100%;
  justify-content: space-evenly;
  align-items: center;

}

a.pache{
  background-color: inherit;
  color: rgb(255, 255, 255);
  border: none;
}
a.pache:hover{
  background-color: inherit;
  border: none;
  text-decoration:underline;
  color: white;

}
/* main_container_grid_end */

.pl-dou-container1{
  display: flex;
  flex-direction: column;
}
.pl-dou-container2{
  display: flex;
  flex-direction: row;
}

/* header_container_grid_start */
.header_container {  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  height: 100%;
  grid-auto-flow: row;
  grid-template-areas:
    "name logo";
}
.logo { grid-area: logo;
  position: relative;
  bottom: 8px;
  top: 5px;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
}
.name { grid-area: name;
  display: flex;
  align-items: flex-end;
  color: #00DAFF;
  font-size: 90px;
  margin-left: 5%;
}

.header_container-home {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  height: 100%;
  grid-auto-flow: row;
  grid-template-areas:
    "name-home";
}

.name-home { grid-area: name-home;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* header_container_grid_start */
.logo-home{
  width: 50%;
}
/* mainconten_hof_grid_start */
.container_maincontent_hof{
display: grid; 
grid-template-columns: 1fr 1fr; 
grid-template-rows: 1fr; 
gap: 0px 0px; 
grid-template-areas: 
  "subject_1 subject_2"; 
}
.subject_1 { grid-area: subject_1; }
.subject_2 { grid-area: subject_2; }

/*maincontent_hof_grid_end*/


.card {
  box-shadow: 0 7px 11px 0 rgba(0, 0, 0, 0.2);
  max-width: 300px;
  color: white;
  width: 300px;
  object-fit: contain;
  text-align: center;
  border: #000 solid 3px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #1717e8;
}

.card img {
  height: 384px;
  width: 100%;
}


#images{
  object-fit:fill;
}

.images-program{
  margin-bottom: 2%;
  border: 2px solid darkblue;
  width: 25%;
  height: 30%;
  margin-left: 5%;
}
.images-silicon{
  width: 80%;
}

.title {
  color: rgb(247, 247, 247);
  font-size: 25px;
}

button {
  display: flex;
  border: none;
  outline: 0;
  padding: 10px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 25px;
  font-family: Agency FB;
  justify-content: center;
  position: relative;
  top: 18px;
  border: 2px solid black;

}

a {
  text-decoration: none;
  font-size: 22px;
  color: black;
}
#previous{

  background: none;
  border: none;
}
#previous:hover{
  text-decoration: underline;
  color: red;
}

a.More {
  display: flex;
  border: none;
  outline: 0;
  padding: 10px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: auto;
  font-size: 25px;
  font-family: Agency FB;
  justify-content: center;
  position: relative;
  top: 18px;
  border: 2px solid black;
}

a.less{
  display:inline;
  border: none;
  outline: 0;
  padding: 0%;
  color: black;
  text-decoration: underline;
  text-align: center;
  cursor: pointer;
  width: auto;
  font-size: 25px;
  font-family: Agency FB;
  justify-content: center;
  position: relative;
}

a.less:hover{
  background-color:#00DAFF;
  color: red;
  border: none;
}


button:hover, a:hover {
  background-color: #00DAFF;
  color: rgb(0, 0, 0);
  border: rgb(0, 0, 0) 2px solid;
}
.alter{
  border: #04AA6D solid 2px;
  height: 300px;
  margin: 5%;
}

body{
  margin: 0;
  font-family: Agency FB;
}


.flex_container_nav{
  display: flex;
  height: 100%;
  flex-direction: column;
}

.flex_container_main_ver{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.flex_container_dou_hor{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.button{
  display: flex;
  color: rgb(23, 6, 100);
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: #0397cd;
  font-size: 140%;
  height: 100px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border-bottom: 2px solid black;
}

.button:hover {
  background-color: #000000;
  color: white;
}


h1{
  padding-left: 20px;
}
h3{
  font-size: 150%;
}
p1{
  padding-left: 20px;
  font-size: 120%;
}
.p12{
  font-size: 130%;
}
span{
  font-size: 120%;
}

.text{
  margin: 10px;
  letter-spacing: 0.015rem;
  font-size: 120%;
}

h2{
  font-size: 90%;
}

.article{
  display: flex;
  flex-direction: column;
  list-style: disc outside;
  margin: 0 0 24px;
  font-size: 120%;
  padding-left: 5%;
}

* {
  box-sizing: border-box;
  border-collapse: collapse;
}

body {
  background-color: #474e5d;
}

/*timeline-siliconvalley*/
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}


.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: rgb(0, 0, 0);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}


.container-1 {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}


.container-1::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}



.left {
  left: 0;
}


.right {
  left: 50%;
}


.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid rgb(8, 7, 7);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent rgb(0, 0, 0);
}


.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid rgb(0, 0, 0);
  border-width: 10px 10px 10px 0;
  border-color: transparent rgb(0, 0, 0) transparent transparent;
}


.right::after {
  left: -16px;
}


.content {
  padding: 10px 10px;
  background-color: white;
  border: 2px solid;
  position: relative;
  border-radius: 6px;
}

/*timeline-siliconvalley*/

/*timeline-programming*/
.timeline-5 {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}


.timeline-5::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: rgb(0, 0, 0);
  top: 0;
  bottom: 0;
  left: 31px;
  margin-left: -3px;
  height: 100%;
}


.container-5 {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
}

.container-5::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  left: 14px;
  background-color: white;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left-5 {
  left: 0;
}


.right-5 {
  left: 0%;
}


.left-5::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 58px;
  border: medium solid rgb(8, 7, 7);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent rgb(0, 0, 0);
}


.right-5::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 58px;
  border: medium solid rgb(0, 0, 0);
  border-width: 10px 10px 10px 0;
  border-color: transparent rgb(0, 0, 0) transparent transparent;
}

.content-5 {
  padding: 5px 10px;
  background-color: white;
  border: 2px solid;
  position: relative;
  border-radius: 6px;
}

/*timeline-programming*/
.main-content1{
  display: flex;
  flex-direction: column;
  padding-right: 10px;
}

.table{
  display: flex;
  justify-content: center;
  align-items: center;
  border-collapse: collapse;
  margin: 25px auto;
  width: 90%;
}

td, th {
  border: 2px solid rgb(0, 0, 0);
  text-align: center;
  padding: 5px;
  font-size: larger;
}
th{
  background-color: rgb(18, 152, 209);
}

#gif1{
  display: flex;
  align-items: center;
  border: black solid 5px;
  margin: 9px;
}


.sv-flex-trio{
  display: flex;
  flex-direction: column;
}

.sv-flex-image{
  display: flex;
  justify-content: center;
}





@media (max-width: 438px){

  .container {  display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 0.9fr 1.1fr 1fr 1.6fr 0.4fr;
    grid-auto-rows: 1fr;
    gap: 0px 0px;
    overflow: scroll;
    height: 100vh;
    grid-auto-flow: row;
    grid-template-areas:
      "header header header header header"
      "main main main main main"
      "main main main main main"
      "main main main main main"
      "main main main main main";
  }
  
  .main { grid-area: main;
  }
  
  .header { grid-area: header;
    background-color: black;
    border-bottom: none;
  }
  

  .flex_container_dou_hor{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .flex_container_nav{
    display: flex;
    height: 100%;
    flex-direction: column;
    border: none;
  }
  .main_container {  display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 100px 1.7fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "nav nav nav"
      "main_content main_content main_content"
      "footer footer footer";
  }
  
  .nav { grid-area: nav; 
    border: none;
  }
  
  .main_content { grid-area: main_content; }
  
  .footer{ grid-area:footer;
    background-color: rgb(0, 0, 0);
  }
  
  .flex_container_nav{
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-end;
    overflow: scroll;
  }
  .button{
    font-size: 150%;
    border-bottom: none;
    border-top:  2px solid #00DAFF;
    border-right: none;
    width: 100%;
    padding: 5px;
  }

  .header_container {  display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.7fr 80px;
    gap: 0px 0px;
    height: 134%;
    grid-auto-flow: row;
    grid-template-areas:
      "logo"
      "name";
  }
  
  .logo { grid-area: logo;
    position: relative;
    display: flex;
    padding-top: 0px;
    padding-bottom: 5px;
    border-radius: 15%;
    top: 5px;
  }
  
  .name { grid-area: name; 
    font-size: 250%;
    align-items: normal;
    padding-top: 13px;
  }

  .logo-home{
    width: 100%;
  }
  
  .timeline::after {
    left: 31px;
  }
  
    .content {
    left: 25px;
  }

    .container-1 {
      width: 100%;
      left: 31;
  }
    
    .container-1::before {
    left: 55px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }
  
    .left::after, .right::after {
    left: 15px;
  }
    
    .right {
    left: 0;
  }
  .pl-dou-container2{
    display: flex;
    flex-direction: column;
  }
  .images-program{
    margin-bottom: 2%;
    border: 2px solid darkblue;
    width: auto;
    height: 30%;
    margin-left: 5%;
  }

}