@import url(/Styles/Globals.css);

.bgimg-1 {
  background-image: url(/images//rainbowOverChurch.jpg);
  min-height: 700px;
  background-size: cover;
  opacity: .8;
}

.bgimg-2 {
  background-image: url(/images/open-bible.jpg);
  min-height: 543px;
  background-size: cover;
}

.bgimg-3 {
  background-image: url(/images/Love_Jesus.jpg);
  min-height: 543px;
}

.welcome {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  height: 100%;
  display: inline-block;
  padding-top: 10%;
  color: white;
  opacity: 1;
}

.churchMotto {
  font-size: xx-large;
  font-weight: lighter;
  font-style: italic;
  text-align: center;
  width: 100%;
  height: 100%;
  display: inline-block;
  padding-top: 3%;
  color: white;
  opacity: 1;
}

.contentSection { 
  padding-top: 7%;
  padding-bottom: 7%;
  background-color: rgba(221, 221, 221, 0.555);
  background-size: cover;
  text-align: center;
  max-width: 100%;
  height: auto;
}

.contentFlex {
  display: inline-flex;
}

img {
  border-radius: 8px;
}

.contentimg-1 {
  background-size: cover;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  max-width: 25%;
  height: auto;
  opacity: 1;
  border: 0;
  border-radius: 8px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

.eventsSection { 
  padding-top: 7%;
  padding-bottom: 7%;
  background-color: rgba(221, 221, 221, 0.555);
  background-size: cover;
  text-align: center;
  max-width: 100%;
  height: auto;
}

.eventsicon {

  font-size: 100px;
  max-width: 100%;
  height: auto;
  text-align: center;
  padding-bottom: 25px;
}

.calendar {
  color: #000;
  max-width: 100%;
  height: auto;
  text-align: right;
  border: 0;
}

.contentheader {
  font-size: xx-large;
  font-weight: bold;
  text-align: center;
  padding-bottom: 5%;
}

.title {
  font-size: large;
  font-weight: bold;
  text-align: center;
  padding-left: 10px 20px;
}

.time {
  padding: 5px 5px 5px 5px;    
  text-align: center;  
}

.latestMessage {
  padding-top: 10%;
  font-size: 40px;
  font-weight: bold;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-align: center;
  color: black;
  opacity: 1;
}

.latestMessagebtn {
  font-size:xx-large;
  text-align: center;
  opacity: 1;
  background-color: rgba(221, 221, 221, 0.555);
  padding: 15px 15px;
  border: 2px solid;
  border-color: #000;
  border-radius: 20px;
  cursor: grab;
}

.latestMessagebtn:hover {
  background-color: rgba(90, 129, 130, 0.623);
}

.latestMessage:after {
  cursor: grabbing;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 740px) {
  .contentFlex {
      display: inline-block
  }

  .contentimg-1 {
    max-width: 50%;
    height: auto;
  }

}

@media screen and (min-width: 740px) {

  .bgimg-1 {
    min-height: 1000px;
  }

}
  
 