@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300&display=swap');

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  /* font-family: 'Cormorant Garamond', serif; */
  background: #fff; 
  color: #333;
  line-height: 1.6;
}

ul {
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
}

h1, h2 {
  font-weight: 300;
  line-height: 1.2;
}

p {
  margin: 10px;
}

img {
  width: 100%;
}

#navbar ul {
  list-style: none;
}

/* Navbar */
.navbar {
  font-family: 'Cormorant Garamond', serif;
  display: flex; 
  align-items: center;
  /* justify-content: space-between; */
  background-color: #284667;
  /* background-color: #333; */
  color: #fff;
  opacity: 0.9;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0px;
  padding: 0 30px;
  transition: 0.5s;
  justify-content: left;
}

.navbar.top {
  background: transparent;
}

.navbar a {
  color: #fff;
  padding: 10px 20px;
  margin: 0 5px;
}

.navbar a:hover {
  /* border-bottom: #284667 2px solid; */
  border-bottom: #ffffff 2px solid;
  /* border-bottom: #28a745 2px solid; */
}

.navbar ul {
  float: right;
  display: flex;
  font-family: 'Open Sans', sans-serif;
}


.navbar .logo {
  /* float: left; */
  font-weight: 400;
}

/* brandmark */
img.logo-navbar {
  width: 2rem !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  
}

/* Header */
.hero {
  background: url('../images/exterior_summer.jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  
  /* color: #fAC200; */
  /* color: #284667; */
  color: #ffffff;
}

.hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 0 20px;
  border-radius: 5px;
}

.hero .content h1 {
    font-size: 35px;
    background: #284667;
    opacity: 0.8;
    padding: 10px 30px;
    border-radius: 5px;
}

.hero .content p {
    font-size: 18px;
    max-width: 600px;
    margin: 20px 0 30px;
    background: #284667;
    opacity: 0.8;
    padding: 10px 30px;
}

/* dark overlay on screen */
.hero::before {
  /* necessary empty string */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  
  /* gradient over top of hero background picture, height:30% see above */
  background: linear-gradient( rgba(40, 70, 110, 1), 
  /* background: linear-gradient( rgba(2, 132, 208, 1),  */
	rgba(0,0,0,0));
  
}
/* dark overlay on gathering screen */
.doctrine::before {
  /* necessary empty string */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  
  /* gradient over top of hero background picture, height:30% see above */
  background: linear-gradient( rgba(40, 70, 110, 1), 
  /* background: linear-gradient( rgba(2, 132, 208, 1),  */
	rgba(0,0,0,0));
  
}


.hero * {
  /* z-index: 0; */
  z-index: 1;
}

.hero.blog {
  background: url('../images/blog.jpg') no-repeat center center/cover;
  height: 30vh;
}

/* .hero.doctrine {
  background: url('../images/blog.jpg') no-repeat center center/cover;
  height: 30vh;
} */

/* image of pews above "gathering" page */
/* .hero.gathering {
  background: url('../images/home/gathering.jpg') no-repeat center center/cover;
  height: 30vh;
} */


/* Icons */
.icons {
  padding: 30px;
}

.icons h3 {
  font-weight: bold;
  margin-bottom: 15px;
}

.icons i {
  background-color: #284667;
  color: #fff;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 15px;
}

.cases img:hover {
  opacity: 0.7
}

.team img {
  border-radius: 25%;
}

/* Prayer form */
.callback-form {
  width: 100%;
  padding: 20px 0;
}

.callback-form label {
  display: block;
  margin-bottom: 5px;
}

.callback-form .form-control {
  margin-bottom: 15px;
}

.callback-form input {
  width: 100%;
  padding: 4px;
  height: 40px;
  border: #284667 1px solid;
  /* border: #f5f5f5 1px solid; */
}

.message {
  height: 80px;
}

.callback-form input:focus {
  outline-color: #284667;
  /* outline-color: #28a745; */
}

.callback-form .btn {
  padding: 12px 0;
  margin-top: 20px;
}




.post {
  padding: 50px 30px;
}

.post h2 {
  font-size: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: #ccc solid 1px;
}

.post .meta {
  margin-bottom: 30px;
}

.post img {
  width: 300px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 30px;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
}

.footer a {
  color: #fff;
  /* color: #fff; */
}

.footer a:hover {
  color: #fAC200;
  /* green - color: #28a745; */
}

.footer .social > * {
  margin-right: 30px;
}

/* Mobile */
@media(max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: 160px; 
    padding: 20px; 
  }

  .navbar a {
    padding: 10px 10px;
    margin: 0 3px;
  }

  /* icons and prayer requests, pastor's page, calendar */
.flex-items {
  flex-direction: column;
}
/* Who We Are picture, titile, text and cases photos (.flex-grid) stacking */
.flex-columns .column, .flex-grid .column {
  flex: 100%;
  max-width: 100%;
}

.team img {
  width: 70%;
}

}
