
/*
Author: Ignace De Keyser
Version: 0.1
*/
/* Colours */
:root{
    --primaryColour: rgb(50, 89, 50);
    --secondaryColour: rgb(126, 126, 126);
    --tertiaryColour: rgb(228, 228, 228);
    --highlightColour: rgb(216, 233, 210);
    --highlightColour02: #f1b5b5;
}

@font-face{
    font-family:TW Cen MT;
	src: url("/fonts/Tw-Cen-MT.ttf"); /*location of fontfile */
    font-family:Annotate;
	src: url("/fonts/annotate_regular_v2.otf"); /*location of fontfile */

}	

html {
}

body{
    margin:0;
    color: var(--primaryColour);
    font-family:TW Cen MT;
    font-weight:normal;
}
h1, h2, h3, h4, h5, h6{
    margin: 0;
    font-weight:normal;
}

h1{
    font-family:Annotate;
    text-transform: uppercase;
    font-size: 3rem;
}


h5{
    font-size:1rem;
    color: var(--secondaryColour);;
}

img{
    /* makes sure images don't exceed their container and are centered*/
    object-fit: contain;
    display: block;
    box-sizing: border-box;
    width:100%;
    height:100%;
    object-position: 0% 0%;
    margin:0;
    padding:0;
}

p{
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
p img:last-child{
    margin-bottom: 0rem;
}

p:last-child{
    margin-bottom: 0rem;
}

a {
    color:inherit;
    text-decoration:inherit;
    background-color: var(--highlightColour);
}

del {
    background-color: var(--highlightColour02);
}

nav{
    font-size: 1.5rem;
}
ul{
    list-style-type: none;
    margin:0;
    padding:0;
}

/* page navigation css*/
.content-container{
    /* gives the site a nice border all around*/
    box-sizing:border-box;
    padding:3rem;
    padding-left: 10%;
    padding-right:10%;
    max-width: 100rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items:center;
    gap: 2rem;
    margin:auto;
}

header{
    color: var(--SecondaryColour);
    width:100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-end;
    height: fit-content;
}
.content{
    width:100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    height:100%;
    overflow: hidden;
}
.content div{
    flex: 1;
    height: 100%;

}
.content p{
    flex:1;
    font-size: 2rem;
}

footer{
    color: var(--SecondaryColour);
    width:100%;
    display: flex;
    justify-content: flex-end;
    text-align: right;
    height: fit-content;

}

@media only screen and (max-width: 750px) {
    .content-container {
        padding: 1rem;
        gap: 1rem;
        height: fit-content;
        overflow:scroll;
    }

    h1{
        text-transform: uppercase;
        font-size: 2rem;
    }
    .content{
        width:100%;
        display: block;
        height:100%;
        overflow: scroll;
    }

    .content p{
        flex:1;
        font-size: 1.4rem;
        margin-top:1rem;
        margin-bottom: 1rem;
    }

    img{
        /* makes sure images don't exceed their container and are centered*/

        object-position: 50% 50%;

    }
    .content div{
        flex: 1;
        height: auto;
    
    }

}
