/* Global styles */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background-color: #025E73;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

header a {
    color: #F2CA80;
    text-decoration: none;
    margin-right: 20px;
}

/* Hero */
#hero {
    width: 100%;
    height: 350px;
    background-image: url('/hero.png');
    background-size: cover;
    background: linear-gradient(to bottom, #042F40, #025E73);
}
.hero-image {
    float: right;
}
#hero-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* three equal columns */
}

.grid-item.image {
  grid-column: 1; /* place in first column */
}

.grid-item.title {
  grid-column: 2; /* place in second column */
    font-family: 'Montserrat', sans-serif;
    color: #F2F2F2;
    font-size: 30pt;
    font-weight: 200; /* much thicker than the default font-weight of "bold" */
    text-align: left;
   
}

.grid-item.title h1 {
  filter: drop-shadow(2px 2px 4px #888888);
}

.grid-item.image2 {
  grid-column: 3; /* place in first column */
}

/* Call to action */
#call-to-action {
    background-color: gold;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Overview */
#overview {
    padding: 20px;
    text-align: center;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 80pt;
    font-weight: 900; /* much thicker than the default font-weight of "bold" */
    text-align: center;
       
    background: radial-gradient(circle at center, #F2CB05, #D97904); /* sets the radial gradient as the background */
    -webkit-background-clip: text; /* sets the background to be the text only */
    background-clip: text; /* for better cross-browser compatibility */
    color: transparent; /* hides the text color */
}
h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24pt;
    font-weight: Bold;
 text-align: center;
    }



/* Featured Projects */
#featured-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
  width: 90%;
  
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* blog post box */
#blog-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
   text-align: center;
   
}
.grid-item.titles {

  width: 80%;

}

.grid-item.content {
     width: 80%;
    align-content: center;
    border: 2px solid #000000; /* 2px solid black border */
    margin: 0 auto;
    background-color: #F2F2F2; /* Adding background color */
}

.grid-item.content p {
    margin: 20px;
    
}
.post-box {
 
  margin: 0 auto;


}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


#featured-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}




/* About Us */
#about {
    padding: 20px;
}

/* Blog */
#blog {
    padding: 20px;
    text-align: center;
}

#blog h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
}

#blog h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, #042F40, #025E73);
    color: #F2F2F2;
    text-align: center;
    padding: 20px;
}
footer a {
    color: #F2CA80;
    text-decoration: none;
    margin-right: 20px;
}
