body {
  margin: 0;
  /* background: white; */
  background: #fafafa;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  overflow-x: hidden;
}

.index-main-cont {
  display: flex;
  padding: 2em;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  margin-bottom: 25vh;
  
}

.sub-main-cont {  
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#child-1 {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#child-1 h2, #child-3 h2, #child-2 h2{
  color: #0f5ad4;
  text-transform: capitalize;
}

#child-1 p, #child-3 p, #chlid-2 p{
  text-align: center;
  font-size: 50px;
  width: auto;
  margin: auto;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

#child-2 {
  width: 30%;    
}


#child-1, #child-2, #child-3 {
  border-radius: 4px;
  box-shadow: 3px 6px 20px rgba(122, 122, 122, 0.3);
  padding: 1em;
  
}

#child-1 a {
  background: #0f5ad4;
  color: white;
  text-decoration: none;
  display: flex;
  margin: auto;
  width: fit-content;
  padding: 1em;
  border-radius: 1em;
  transition: 0.4s ease-in;
  text-transform: capitalize;
  box-shadow: 3px 6px 20px rgba(122, 122, 122, 0.3);
}

#child-1 a:hover {
  background: white;
  color: #0f5ad4;
}

#child-1 h2, #child-2 h2, #child-3 h2  {
  text-align: center;
  font-size: 20px;
}

#child-1 p, #child-2 p, #child-3 p {
  font-size: 15px;
  color: gray;
}

.head{
  background: hsl(217, 75%, 47%);
  padding: 40px;
  text-align: center;
  color: white;
  font-size: 20px;
  text-transform: capitalize;
}


form {
  border-radius: 5px;
  padding: 20px;
  width:50%;
  margin: auto;
  margin-bottom: 20vh;
}

.add-voter-cont form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.add-voter-cont form div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

input[type=text], input[type=password] {
  border: none;
  background-color: #e9e5e5;
  margin-left: auto;
  width: 50%;
  color:black;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
  padding: 12px;
  font-size: 14px;
}

.generic-form{
  margin: 20px;
  padding: 10px;
  font-size: 25px;
}

.button {
  background-color: hsl(217, 79%, 56%);
  color: white;
  font-size: 16px;
  padding: 16px 30px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
  text-align: center;
}

.button:hover {
  background-color:  hsl(217, 79%, 50%);
}


.info {
  font-size: 20px;
  text-align:center;
  font-weight: bold;
  color: #222222;
  opacity: 0.765;
  font-size: 1.5em;
}


#child-2 div {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  padding: 1em;
}

#child-2 div p {
  margin-left: 10px;
}

#child-3 {
  width: auto;
  margin-top: 2em;
}

#child-3 p {
  text-align: center;
}



.navigation {
  height: 70px;
  background: #0f5ad4;
}

.brand {
  position: absolute;
  padding-left: 10px;
  float: left;
  line-height: 70px;
  text-transform: uppercase;
  font-size: 1.4em;
}
.brand a, .brand a:visited {
  color: #ffffff;
  text-decoration: none;
}


article {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}


label {
  padding: 12px 12px 12px 0;
  display: inline-block;

}

.result-cont {
  /* background: rgb(206, 218, 237); */
  background-color: rgba(71, 126, 228, 0.474);
  /* opacity: 0.245; */
  padding: 1.2em;
  width: 50%;
  border-radius: 12px;
  margin: auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  height: 20px;
 text-transform: capitalize;
 box-shadow: rgba(0,0,0,0.24) 0px 3px 8px !important;
 border: 1px solid blue !important;
}

.closer {
  cursor: pointer;
  margin-left: auto;
  width: fit-content;
  font-size: 2em;
  font-weight: bolder;
  
}

.message {

  text-align: center; 
}

.img-wrapper{
  width: 30vw;
  height: 30vw;
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0px;
  margin: -20px 35vw;
  /* box-shadow: ; */
}

.img-wrapper img{
  width: 100%;
  position:relative;
  display: flex;
}
