body {
    font-family: sans-serif;
}

p {
    line-height: 1.5;
}

.container {
    display: flex;
    align-items: flex-start;
}
.container__half {
    width: 50%;
}
.header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    top: 0;
    left: 0;
    position: fixed;
    background-image: url('../images/nicole.jpg');
    background-size: cover;
    background-position: 25% 32%;
    background-color: orange;
}


.logo {
   
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    color: white;
    font-size: 1.5rem;
    align-items: flex-start;
}

.header__intro {
    background-color: rgb(255, 255, 255, .3);
    padding: 1.5rem;
    text-align: right;
    padding-left: 20%;
    color: white;
}

.header__intro__title {
    font-size: 1.3rem;
    font-weight: bolder;
    margin-bottom: 1rem;
}


.header__intro__subtitle {
    font-size: 0.8rem;
    font-weight: normal;
    font-style: italic;
    margin-left: 0.5rem;
}

.header__intro__excerpt {
    line-height: 1.3rem;
}


.menu {
    align-self: flex-end;
    color: white;
    text-shadow: 2px 2px 5px black;
}

.menu__link {
    margin-left: 1.5rem;
}

.menu__link:hover {
    text-decoration: underline;
}

.content {
    margin-left: 50%;  
    background-color: white;
}

.content__title {
    font-weight: bold;
    font-size: 1.5rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
}

.posts {
    display: flex;
    flex-wrap: wrap;
}

.post {
    border:1px solid #eaeaea;
    padding: 1.5rem;
    width: 50%;
}

.post__tag {
    background-color: grey;
    color: white;
    text-transform: uppercase;
    padding: 0.25rem;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    border-radius: 3px;
}

.post__tag--news {
    background-color: #98DC62;
}

.post__tag--work {
    background-color: #0766F0;
}

.post__tag--team {
    background-color: #DC5E53;
}

.post__title {
    margin: 1.5rem 0;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.3;
}

.post__infos {
    align-items: center;    
    flex-wrap: wrap;
    font-size: .8rem;    
    display: flex;
    
}

.post__avatar {
    width: 1rem;
}

.post__author {
    font-weight: bold;
    margin: 0 0.25rem; 
}

.post__date {
    color: rgba(0, 0, 0, 0.5);
}

.post__content {
    margin: 1.5rem 0;
}

.post__link {
    color: #007bff;
    font-weight: bold;
    text-decoration: underline;
    transition: color 200ms;
}

.post__link:hover {
    color: #0056b3;
}

