* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #cccccc;
}

.main-title-div {
    font-weight: 300;
    font-size: 2.5em;
    word-spacing: -4px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-transform: capitalize;
    width: auto;

}

.central-div {
    width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;

}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 250px);
    gap: 20px;
    grid-template-rows: repeat(2, 170px);
    width: auto;
    margin: auto;

}

.card {
    background-color: #1d1d1d;
    padding: 20px;
    border: 1.5px solid #292929;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    padding: 20px;
    
}

.card:hover {
    cursor: pointer;
    box-shadow: 0 0 10px #1a1a1a;
    transform: translateY(-1.5%);
    transition: .3s;
}

.card-title {
    text-transform: capitalize;
    font-size: 1.12em;
    font-weight: 600;
    color: white;
}

.card-content {
    color: #9e9e9e;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: .85em;
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    
}

.card-date {
    margin-bottom: 0;
    font-size: 0.75em;
    color: #777777;
}

div a {
    text-decoration: none;
    color:#cccccc;
    
}

.plus-container{
    height: 65px;
    width: 65px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #cacaca;
    border-radius: 32.5px;
    color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 47px;
    font-weight: 300;
    cursor: pointer;
    text-decoration: none;

}

.plus-container:hover{
    transform: scale(1.1);
    transition: .3s;
}

@media (max-width:575px) {
    .cards-container {
        display: grid;
        grid-template-rows: repeat(6, 140px);
        gap: 20px;
        grid-template-columns: 100%;
        width: 100%;
    }
    .card{
        height: 100px;
    }
    .central-div{
        width: 95%;
        margin: auto;
        margin-bottom: 20px;

    }
    
}
@media (min-width:575px) and (max-width:830px){
    .cards-container {
        display: grid;
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: repeat(2, 1fr);
        width: 100%;

    }
    .card{
        height: 130px;
    }
    .central-div{
        width: 95%;
        margin: auto;
        margin-bottom: 20px;

    }
}
