body
{
    margin:0px;
    padding:0px;
    background-color:#000000;
    image-rendering:optimizeQuality;
}

h1, h2, h3, p, a, body, button{
    font-family: "letter-gothic-recast";
    color:#000;
    margin:0px;
}

.c_box
{
    display:block;
    float:left;
    width:25px;
    height:25px;
    margin:1px;
    border:2px solid #131313;
    cursor: pointer;
    box-shadow: 6px 6px rgba(0, 0, 0, 0.5);
}

#logo
{
	display:block;
	width:100%;
	text-align:center;
	padding-top:100px;
}

#logo img
{
    max-width:380px;
}

#main
{
	display:block;
	width:100%;
	height:100%;
    background-color:#ff002a;
}

#color_box
{
    position:absolute;
    right:10px;
    top:10px;
    width:100px;
    height:80px;
}

#hero p{
    font-size:23px;
}

#news
{
    display:block;
    clear:both;
    width:100%;
    max-width:650px;
    margin-bottom:10px;
	padding-top: 50px;
}

#hero
{
    display:block;
    clear:both;
    width:100%;
}

#news_box
{
    padding:30px;
	max-width: 700px;
	margin:auto;
	text-align:center;
}

#hero_text
{
	display:block;
	max-width:760px;
	margin:auto;
	text-align:center;
}

#posts
{
	text-align:left;
}

#content
{
	display:block
    width:100%;
    padding-top:40px;
}

#news
{
    max-width:100%;
    width:100%;

}

.card{
    display:grid;
    grid-template-columns:220px 1fr;
    grid-template-areas:
        "date date"
        "image text";
    gap:20px;
}

.card h2{
    margin:0;
    font-size:1.6rem;
}


.date{
    grid-area:date;
    border-bottom:1px solid #000;
    font-size:17px;
    font-weight: bold;
}

.img_wrapper
{
    grid-area:image;
    max-width: 220px;
}
.img_wrapper img{
    width:100%;
    border: 1px solid #000;
    border-radius: 11px;
}

.text{
    grid-area:text;
    font-size: 18px;
    text-align: justify;
	    margin-bottom: 70px;
}

.buttons{

    margin-top:40px;
    text-align:center;

}

button{

    padding:12px 25px;
    margin:10px;
    border:none;
    background:#222;
    color:white;
    cursor:pointer;
    border-radius:5px;

}

button:hover{

    background:#444;

}

#footer
{
    display:block;
    float:left;
    width:100%;
    margin:50px 0px 1px 0px;
}

#footer_content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-left: 60px;
    margin-bottom: 20px;
    color:#d1d1d1;
    font-size:14px;
}

#footer_content a {
    color:#d1d1d1;
    font-size:14px;
}

.footer_box {
    flex: 1 1 200px;
    padding: 20px;
    font-size:15px;
}


@media (max-width: 768px) {


    #hero
    {
        text-align: justify;
    }

	#hero p{
		padding:0px 20px;
	}


    .card {

        grid-template-columns: 1fr;

        grid-template-areas:
            "title"
            "date"
            "text"
            "image";
    }

}

@media (max-width: 400px) {
	#logo img
	{
		width:90%;
	}
}
