/* Style the top navigation bar */
.topnav {
    overflow: hidden;
    background-color: #333;
    margin-bottom: 5%;
    /* padding: .8em; */

  }

.topnav h1 {
    display: inline;
    margin: 5%;
    padding: auto;
}
  
  /* Style the topnav links */
  .topnav a {
    float: right;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  /* Change color on hover */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }

body {
    background-color: #636564;
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;

}

.title {
    margin: 1em;
    border: none;
    display: flex;
    justify-content: center;
    font-size: x-large;
    
}

.title h1 {
    border: 3px solid black;
    display: flex;
    padding: .5em;
    width: 50%;
    justify-content: center;


}

#scheme1 {
    height: 500px;
    width: 70%;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    border: 5px solid black;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

#scheme2 {
    height: 500px;
    width: 70%;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    border: 5px solid black;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 5%;
    margin-bottom: 5%;
}




.half1 {
    width: 30%;
    height: 300px;
    display: flex;
    text-align: center;
    margin: auto;

    justify-content: space-around;

}

.half2 {
    width: 30%;
    height: 400px;
    padding: 1em;
    margin: auto;
    border-left: 2px solid black;
}

.half3 {
    width: 30%;
    height: 200px;
    padding: 1em;
    margin: auto;
    border-left: 2px solid black;
    margin-bottom: 5em;
}

.half4 {
    width: 80%;
    height: 500px;
    padding: 1em;
    margin: auto;
    border-left: 2px solid black;
    margin-bottom: 5em;
}

.half5 {
    width: 80%;
    height: 500px;
    padding: 1em;
    margin: auto;
 
    margin-bottom: 5em;
}

.names {
    width: 20%;
    height: 100px;
    display: flex;
    text-align: center;
    margin: auto;

    justify-content: space-around;
}


footer {

    height:70px;
    width: 100%;
    background-color: #333;
    display: flex;
}

footer h3 {
    margin: 1.5em ;
}

#scheme3 {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 5em;

    margin: 5em 5%;
}

#scheme4 {
    display: flex;
    flex-direction: column;
   justify-content: center;
}

#scheme4 img {
    display: inline;
    transform: rotate(90deg);
   
}

#scheme4 .person1 {
    border: none;
}

.person1 {
    display: inline;
    text-align: center;

    padding: 1em;

}

.person1:nth-last-of-type(2n+1) {
    border-left: 2px solid black;
}

.person1:nth-last-of-type(2) {
    border-top: 2px solid black;
}

.person1 h2 {
    border: 3px solid black;
    width: 50%;
    margin-left: 25%;

    
}



.person1 img {
    display: flex;
    border: 3px solid black;
    border-radius: 10%;
    
}