*, *::before, 
*::after { 
    box-sizing: border-box; 
    } 

html, 
body {
    margin: 0;
    padding: 0;
    font-family: "Source Sans 3", sans-serif;  
}

/* ==== Header Section ===*/

.site-header, .logo-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-container ul{
    display: flex;
    justify-content: space-between;
    list-style-type: none; 
    gap: 1rem;
    padding-right: 1em;  
}

.logo-img{
    width: 30px;
    margin-left: 1.25em;
}

.logo-title{
   font-size: .94rem;
   font-weight: bold;
   color: #0E0E0E;
} 

nav a{
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    color: #090909;
}

/* ==== Hero Section ====*/

.hero {
  background-image: url("../images/hero-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  color: #FFFFFF;
  padding-left: 1.25em; 
  margin-bottom: .65em;  
}

.hero-date {
    font-size: .75rem;
    font-weight: 400;
    text-transform: uppercase;
    padding-top: 13em;
    margin-bottom: 0; 
}

.hero-link,
.hero-title {
     font-size: 2rem;
     font-weight: 700;
     margin-top: .4em;
     margin-bottom: .3em;
     line-height: 1;
     color: #FFFFFF;    
}

.hero-title :hover {
    color: #8DFF00;
}

.hero-preview {
    line-height: 1.3;
    padding-bottom: 2em;
}

/* ==== Blog Page (Hero Section) ====*/

 
.blog-hero {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1.25em;
}

.blog-date {
  padding-top: 1em;
}
    
.blog-title a{ 
  color: #151515;
  margin-bottom: 0; 
}

.blog-preview {
    margin-top: 0;  
}

.blog-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-bottom: 1.5em;
}

.recent-posts {
   text-align: center;
   margin-bottom: 1em;
}


/* ==== Main Section ===*/

main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3em;
    padding: 2em 1.25em 3em;  
}

.art-img {
    width: 100%;
    height: 250px;
    border-radius: 3px;
}

article * {
  margin: 0;
}


article .main-date {
    font-size: 885625;
    text-transform: uppercase;
    margin-top: .6em;
    margin-bottom: .7em;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5em;
}

h2 :hover {
    color: #8DFF00;
}

p .art-para {
    font-size: 1rem;
    line-height: 1.25;
    color: #505050
}

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

.nav-item :hover,
a :hover {
    color: #8DFF00;
}

footer {
    background: #202020;
    margin: 0 auto;
    text-align: center;
    padding: 2.3125em;
    color: #ECECEC;
}

.footer-title {
     font-size: .75rem;
     font-weight: 700;
     margin-bottom: 0;
}

footer p {
     font-size: .75rem;
     margin-top: 0;
}

/* ==== About Page (Hero Section) ====*/

.about-hero{
    padding: 1.25em;
    
}

.about-img {
    width: 182px;
    height: 182px;
    border-radius: 100px;
}

.about-title {
    font-size: 2.178rem;
}



/* ==== Media Queries ==== */


@media (min-width: 768px){
  /*= Header =*/  
 .logo-img{
    width: 34.25px;
    } 
    
  .logo-title{
    font-size: 1.375rem;
    } 
    
    nav a{
    font-size: 1rem;
    }
    
    .hero-text {
    width: 65%;
    padding-left: 1.25em;
    }
    
    .hero{
    padding-bottom: 1em;
    }
    
    .hero-date {
    font-size: 1rem;
    }
    
    .blog-title,
    .about-title,
    .hero-link,
    .hero-title {
     font-size: 2.5rem;
     }
     
     main{
     gap: 1.25em;
     padding: 1.75em 2em 5em;  
     grid-template-columns: repeat(9, 1fr);
     grid-template-areas: 
     "one one one two two two three three three"
    }
    
    .blog-one{
    grid-area: one;
    }
    
    .blog-two{
    grid-area: two;
    }
    
    .blog-three{
    grid-area: three;
    }
    
    .blog-hero{
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;   
 }
  
  .blog-img {
  width: 100%;
  height: auto;
  max-height: 100vh; 
}
   
    .flex{
        display: flex;
        justify-content: space-evenly;
        padding: 3em 1.25em 0;   
    }
    
 .flex-title {
    padding-left: 1em;
    margin-bottom: 0;
 }
 
  .flex-preview {
    margin-top: 0.4em;
    padding-left: 2.5em;
  }
    
    .about-preview{
        margin: 0 7em ;     
  }
   
   .about-img {
    width: 150px;
    height: 150px; 
 }       
    
}
   
