:root {
    --blue: #3EA1DB;
    --blue-dark: #574AE8;
    --white: #FFF;
  
    --title: #313131;
    --text: #B6B6B6;
    
    --linear: linear-gradient(90deg, #574AE8 0%, #3EA1DB 100%);
}

@font-face {
    font-family: 'inter-medium';
    src: url(fonts/Inter-Medium.ttf)
    format('truetype');

    font-family: 'inter-regular';
    src: url(fonts/Inter-Regular.ttf)
    format('truetype');

    font-family:'lexendDeca';
    src: url(fonts/LexendDeca-Regular.ttf)
    format('truetype');
}

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

body{
    font-family: 'lexendDeca';
    background: #f3f5f7;
    margin: 0 auto;
}

header {
    min-height: 25vh;
    background: linear-gradient(to right, #574ae8, #3ea1db);
    padding: 40px;
    margin-bottom: 100px;
}

#container{
    margin: 0 auto;
    width: 71%;
}

#container-nav{
    display: flex;
    justify-content: space-between;
    font-size: 25px;
    color: var(--white)
}

#container-nav a{
    text-decoration: none;
    color: #fff;
    margin-bottom: 30px;
}

#search-bar{
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

#search-bar input{
    width: 100%;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-family: 'lexendDeca';
    border: none;
    outline: none;
    padding-left: 10px;
}

::placeholder{
    opacity: 0.5;
    font-size: 18px;
    color: var(--white);
    font-family: 'lexendDeca';
}

#search-bar i{
    color: #fff;
    height: 17px;
    padding: 24px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

main{
    width: 67%;
    margin: 0 auto;
}

.post{
    height: auto;
    margin-bottom: 50px;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0px 0px 10px 0px rgba(19, 19, 31, 0.05);
}

.post-bar{
    display: flex;
    justify-content: space-between;
    padding: 25px 25px 20px 25px;
}

.date{
    color: var(--text);
    font-size: 16px;
}

.heart-icon{
    cursor: pointer;
}

.post h1{
    margin: 0 25px 10px 25px;
    color: var(--title);
    font-size: 26px;
    font-style: normal;
}

.post p{
    color: var(--text);
    margin: 0 25px;
    line-height: 25px;
    padding-bottom: 25px;
}