body {
    margin: 0;
    padding: 0;
    background-color: rgb(240, 236, 233);
}

header {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px;
    background-color: rgb(232, 232, 229);
    /* PROBLEM 1: Make the header stick to the top as you scroll */
    position: fixed;

}

.content {
    width: 800px;
    /* PROBLEM 2: Align the page content to the center of the screen */
    margin: 0 auto;

}

#image-banner {
    background-image: url('../img/sf_banner.png');
    background-size: cover;
    width: 100%;
    height: 460px;
}


#other-posts {
    overflow: hidden;
    margin-bottom: 100px;
}

.image-card, .image-card-color-overlay {
    width: 380px;
    height: 200px;
}

.image-card {
    display: inline-block;
    float: left;
    overflow: hidden;
    margin-right: 40px;
    /* PROBLEM 3: Give .image-card the appropriate position type */
    position: relative;

}

.image-card:last-child {
    margin-right: 0;
}

.image-card img {
    width: 100%;
    border-radius:6.5px;
}

.image-card-color-overlay {
    position: absolute;
    /* PROBLEM 4: Move the color overlay to cover the image properly */
    top: 0px;
    left: 0px;
    /* PROBLEM 5: What should the opacity be when there is no hover? */
    opacity: 0;
    transition: 0.3s;
    background-color: rgb(30, 0, 128);
   
}

.image-card:hover .image-card-color-overlay {
    /* PROBLEM 5: Pick an opacity for the blue hover effect */
    opacity: 0.25;
}

.image-card-text {
    /* PROBLEM 6: Similar to .image-card-cover-overlay, position the card text */
    position: absolute;
    color: white;
    bottom: 12px;
    left: 30px;
    font-size: 22px;
    opacity: 0.75;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 300;
    font-style: normal;
}


/* PROBLEM 7: Improve the typography and colors of this page! */

#title {
    color: rgb(62, 18, 163);
    font-family: "Protest Revolution", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 32.5px;
    
}

h1, h2, h3{
  
    font-family:'Times New Roman', Times, serif;
    font-style: normal;
  
}

h1{
    font-size: 32px;
    font-weight: 550;
    color:  rgb(33, 33, 34);
}

h2{
    font-size: 24px;
    font-weight: 300;
    color:  rgb(33, 33, 34)
    ;
}

h3{
    font-size: 20px;
    font-weight: 550;
    color:  rgb(62, 18, 163);
}

p {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.8;
    font-size: 16px;
    color: rgb(33, 33, 34);
}
