html {
  font: normal normal bold 65px/1.2em poppins-semibold,poppins,sans-serif !important;
}
header {
  background-color: white;
  position: fixed;
  width: 100%;
  height: 80px;
  z-index: 9999;
}


.navbar {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  min-height: 0px !important;
  text-align: end;
}

.moved_down_container {
    background-color: white;
    padding-top: 3%;
}
.after_general_election {
    padding-bottom: 2%;
    border: 2px solid black;
    border-radius: 5%;
    width: 25%;
}


#home{
  background-color: #FF4040;
  color: white;
  height: 77px;
  width: 15%;
  padding-top: 26px;
}

.homePicture {
  background-image: url("../resources/emiliano-bar-PaKHbtTDqt0-unsplash.jpg");
  background-size: 100% 650px;
  height: 565px;
  overflow: overlay;
}

#check {
  width: 17%;
  height: 77px;
  padding-top: 26px;
}

#aboutUs {
  height: 77px;
  width: 15%;
  padding-top: 26px;
  background-color: #FF4040;
  color: white;
}

#team {
  height: 77px;
  width: 15%;
  padding-top: 26px;
}

#donate {
  height: 77px;
  width: 15%;
  padding-top: 26px;
  background-color: #FF4040;
  color: white;
}

.navbar-brand {
  padding: 0% !important;
}

h3 {
  padding-right: 5%;
}

h5.card-title {
  color: red;
  font-size: x-large;
}

.btn {
  border-radius: 0%;
}

#checkEligibility {
  width: 469px !important;
  height: 76px !important;
}

h5.days {
  color: red;
  font-size: x-large;
}

.form-inline {
  width: 100%;
}

.grid-container {
  display: inline-grid;
  color: white;
  justify-content: stretch;
  margin-top: 10% !important;
  padding-left: 5%;
}

#free{
  font-size: 800%;
}

#ourVote{
  font-size: 800%;
}

#program{
  font-size: x-large;
  font-weight: normal;
}

#checkButton{
  padding-left: 0%;
}

#checkEligibility {
  font-size: x-large;
}

p.card-text {
  color: black;
  font-size: large;
}

.footer {
    padding-top: 5%;
    padding: 20px;
    text-align: center;
    background: #ddd;
}

div.partners {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
}

#homePageh1 {
  padding-left: 10%;
}

/* Twitter Icon */
.fa {
  font-size: 59px;
  text-decoration: none;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}
.fa-twitter {
  color: #55ACEE;
}

@media only screen and (max-width: 1900px) {
html {
  font: normal normal bold 65px/1.2em poppins-semibold,poppins,sans-serif;
}

.navbar {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  min-height: 0px !important;
}

#home{
  background-color: #FF4040;
  color: white;
}

#aboutUs {
  background-color: #FF4040;
  color: white;
}

#donate {
  background-color: #FF4040;
  color: white;
}

.navbar-brand {
  padding: 0% !important;
}

h3 {
  padding-right: 5%;
}

h5.card-title {
  color: red;
  font-size: x-large;
}

/*
.btn {
  border-radius: 0%;
}
*/

#checkEligibility {
  width: 469px !important;
  height: 76px !important;
}

h5.days {
  color: red;
  font-size: x-large;
}

Top left text
.top-left {
  position: absolute;
  top: 19%;
  left: 5%;
  color:white;
}

p.card-text {
  color: black;
  font-size: large;
}

.footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
    padding-top: 10%;
}

div.partners {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
}

#homePageh1 {
  padding-left: 10%;
}

Twitter Icon
.fa {
  font-size: 50px;
  text-decoration: none;
  margin-left: 25%;
}

.fa:hover {
    opacity: 0.7;
}
.fa-twitter {
  color: #55ACEE;
}

}

@media only screen and (max-width: 1280px) {
  #eventsContainer {
    width: 32% !important;
  }
  #check {
    width: 26%;
  }
  .grid-container {
    margin-top: 10% !important;
  }
}

@media only screen and (max-width: 1215px) {
  .col-sm-3 {
    width: 50%;
}

.navbar-brand{
  height: 75px;
}

#events{
  padding-left: 21%;
}

}

@media only screen and (max-width: 992px) {
  .navbar-brand {
    height: 90px;
  }
  .card {
    padding-left: 6%;
  }
  #eventsContainer {
    width: 45% !important;
  }
  #home {
    width: 15%;
}
#aboutUs {
    width: 15%;
}
#team {
    width: 10%;
}
#donate {
    width: 15%;
}
#check {
    width: 35%;
}
.grid-container {
  margin-top: 13% !important;
}

}

@media only screen and (max-width: 768px) {
  header {
    display: flex;
    flex-direction:  column;
    justify-content: space-between;
  }

  .float-left {
    display: none;
  }

  #events {
    padding-left: 6%;
  }

  .card {
    padding-left: 6%;
  }
  #eventsContainer {
    width: 50% !important;
  }
  .grid-container {
    margin-top: 16% !important;
  }

}

@media only screen and (max-width: 600px) {

  .navbar-brand img {
    display: none;
  }
  .navbar {
    text-align: start;
  }
  header {
    height: 113px;
  }
  .float-left {
    display: none;
  }
  .form-inline {
    margin-top: 1%;
  }

  img.card-img-top {
    display: none;
  }
  #eventsContainer.container {
    width: 64% !important;
  }

  #home {
    width: 16%;
  }
  #check {
    width: 39%;
  }
  #aboutUs {
    width: 16%;
  }
  #team {
    width: 13%;
  }
  #donate {
    width: 13%;
  }
  .grid-container {
    margin-top: 19% !important;
    /*position:relative;
    top: 150px;
    */
  }
    .moved_down_container {
        /*
    position:relative;
    top: 150px;
    */
    }
    .after_general_election {
        /*
    position:relative;
    top: 150px;
    */
    }
  .btn-lg {
    font-size: 17px !important;
  }
  .homePicture {
      height: 650px;
  }

.grid-item {
    line-height: 105%;
}


@media only screen and (max-width: 450px) {
  body {
    width: 136%;
  }
  header {
    width: 100%;
    height: 85px;
  }
  .btn-lg {
    padding: 0%;
  }
  #home {
    width: 16%;
  }
  #check {
    width: 30%;
  }
  #aboutUs {
    width: 20%;
  }
  #team {
    width: 13%;
  }
  #donate {
    width: 17%;
  }

  #checkEligibility {
    width: 446px;
    height: 66px;
  }
  .row {
    padding-top: 10%;
  }
  #eventsContainer.container {
    width: 89% !important;
  }
  div.partners {
    padding-left: 10%;
    flex-direction: column !important;
  }

}
