/* ------------- include some fonts -------------*/
/* lato-regular - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local(''),
        url('./fonts/lato-v23-latin-regular.woff2') format('woff2'),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('./fonts/lato-v23-latin-regular.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* lato-700 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: local(''),
        url('./fonts/lato-v23-latin-700.woff2') format('woff2'),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('./fonts/lato-v23-latin-700.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-code-pro-regular - latin */
@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src: local(''),
        url('../fonts/source-code-pro-v21-latin-regular.woff2') format('woff2'),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('../fonts/source-code-pro-v21-latin-regular.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root {
    --col_light_blue: #B9CFE6;
    --col_blue: #005E90;
    --col_brown: #895B1E;
    --col_raisin_black: #30292F;
    --col_burgundy: #3E2A35;
    --col_light_grey: #e8e8e8;
    --col_grey: #696969;

    font-family: Lato, Arial, sans-serif;

}

/*-----------header section------------*/
#header {
    position: absolute;
    width: 100%;
    height: 25vw;
    top: 0;
    left: 0;
}

#header_img {
    filter: grayscale(25%);

    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
}

#header img {
    width: 100%;
}

#header #heading {
    position: absolute;
    right: 8%;
    top: 5vw;

    padding-right: 40px;
    padding-left: 200px;
    transform-style: preserve-3d;
    transition: .4s;

    border: solid var(--col_light_grey);
    border-width: 4px 6px 5px 4px;
    border-radius: 4% 95% 6% 95%/95% 4% 92% 5%;
    transform: rotate(-2deg);
}


#header #heading:hover {
    transform: translate(-80px, -20px) rotateY(-20deg) skewY(3deg)
}



#header h1 {
    position: relative;
    color: var(--col_burgundy);
}

#header h2 {
    position: relative;
    color: var(--col_grey);
    margin-top: -30px;
    margin-left: -160px;
    z-index: 1;
}




/*-----------content section------------*/
.content {
    background-color: var(--col_light_grey);
    border-right: 1.5px solid var(--col_grey);
    border-left: 1.5px solid var(--col_grey);

    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25vw;
    width: 70%;
    min-width: 900px;
    transform: translate(-50%, 0);
    left: 50%;
    position: absolute;
    z-index: -2;
}

body {
    font-size: 24px;
}

.content h1 {
    margin-left: 35px;
    margin-bottom: 0px;
}


.content .date {
    color: var(--col_grey);
    margin-bottom: -30px;
    margin-left: 15px;
    position: relative;
    display: inline-block;
}
.content .category {
    color: var(--col_grey);
    margin-left: 10px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.content .category:before{
    content: "(";
}
.content .category:after{
    content: ")";
}


.content h3 {
    margin-top: -5px;
    margin-bottom: 10px;
}

a{
    color: inherit;
    text-decoration: none;
}

hr {
    border: 0;
    height: 1.5px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    margin-bottom: 60px;
}

.blog_image_text{
    display:flex;
    flex-wrap: wrap;
}
.blog_image_text img{
    width: 15vw;
    height: 15vw;
    min-width: 200px;
    object-fit: cover;
    border-radius: 20px;

}
.content p{
    margin:0;
}
.blog_image_text .textPreview{
    margin-top: 0;
    margin-left: 55px;
    width: 50vw;
}

.content .blogPreview{
    margin: 80px auto;
}


/* ------------- blog post sections -------------*/




h2,h3,h4 {
    color: var(--col_burgundy);
}

p {
    text-align: justify;
}



#footer {
    position: relative;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    min-height: 160px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    border: 4px solid var(--col_grey);
    background-color: var(--col_light_blue);
    border-bottom: none;
    margin-top: 150px;
    margin-bottom: 0;
}

/* ------------- contact section -------------*/



#footer .contact_cont {

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 10px;
    padding-top: 25px;

}

#footer .col {
    width: 250px;
    min-width: 250px;
    text-align: center;
}



#footer .col div {
    padding: 0 auto 0 auto;
    height: 60px;
}

#footer img {
    height: 100%;
}

#footer a {
    color: black;
    text-decoration: none;
    text-transform: none;
}

#footer .text {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--col_space);
    font-weight: bold;
}


/* do some responsive updates on smaller screens*/

@media (max-width:1300px) {
    #header #heading {

        right: 6%;
        top: 3vw;
    }

    #header #heading:hover {
        transform: none;
    }

    #header h1 {
        font-size: 1.8em;
    }

    #header h2 {
        font-size: 1.2em;
    }
}

@media (max-width:1000px) {
    #content {
        border: none;
        padding-left: 80px;
        min-width: 0;
        width: auto;
        min-width: 80%;
        margin: 0;
        background-color: white;
    }

    h1 {
        font-size: 1.5em;
    }

    #content h2 {
        margin-top: 15px;
    }
    #content hr{
        margin-bottom: 15px;
    }
    #content #date{
        margin-bottom: -10px;
    }
    #content #tocImageSection{
        margin-left: 10%;
        margin-bottom: 0;
    }
    #content #mainImage{
        width: 90%;
    }
}
@media (max-width:850px) {

}