/* variables */
:root { 
    /* color */
    --main: #F2C9DA;
    --white: #fff;
    --black: #000;
    --main_backgorund: #B7A5DD;
    --on_surface: #F9F7FD;
    --text-black: #2F2D34;
    --off_white: #FFFDFF;
    --background_gradient: linear-gradient(211deg, #F6EDF1 11.53%, #ECE9F3 85.17%);

    /* other */
    /* --project_cover_style: border-radius: 8px, width: 100%; */
}

/*font styles*/

body{
	display: flex;
	flex-direction: column;
	max-width: 1300px;
	justify-content: center;
	margin: auto;
	margin-top: 36px;
	font-family: 'Work Sans', sans-serif;
	font-weight: 400;
	font-size: 1em;
	font-style: normal;
	color: var(--text-black);
	background: var(--background_gradient);
	gap: 45px;
	align-content: center;
}


h1 {
    font-family: 'EB Garamond', serif;
    font-size: 3.2em;
    font-weight: 500;
    margin: 0px;
    margin-bottom: 30px;

    background: rgb(183, 165, 221, 0.4);
    line-height: 0.3;
    padding-bottom: 22px;
}

h1 {
    /* text-decoration: line-through rgba(223, 3, 21, 0.4);
    text-underline-offset: -30px;
    text-decoration-thickness: 35px; */
    
}

@media (max-width: 962px) {
    h1 {
        line-height: 1;

    }
}

h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.2em;
    font-weight: 300;
}

h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.2em;
    font-weight: 500;
}

h4 {
    font-family: 'Work Sans', sans-serif;
    font-size: 2em;
    font-weight: 700;
    margin: 0px;
}

h5 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    margin: 0px;
}

img {
    width: 100%;
    border-radius: 8px;
}


/* hyperlinks */

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    color: inherit;
}


/*object styles*/


/* home page */

.main_page {
    display: flex;
    gap: 36px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: row;
}

#intro {
    position: fixed;
    width: 30vw;
    max-width: 314px;
    flex: 1;
    margin-top: 50px;
}

@media (min-width: 970px) {}

#intro_empty {
    width: 30vw;
    max-width: 314px;
    flex: 1;
}

#project_menu {
    margin-top: 66px;
    max-width: 700px;
    flex: 1.6;
}

.project_item {
    display: flex; 
    flex-direction: row;
    margin-bottom: 64px;
}


.project_cover {
    width: 60%;
    display: block;
    object-fit: cover;
    max-width: 356px;
    height: 240px;
    border-radius: 8px;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.1);
    background-color: var(--off_white);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.project_description {
    width: 40%;
    margin-left: 24px;
    margin-top: 8px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    margin-top: 12px;
    font-size: 0.8em;
    gap: 8px;
}

.tags > div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    padding-right: 6px;
    padding-left: 6px;
    border: solid;
    border-width: 2px;
    border-color: var(--main_backgorund);
    border-radius: 8px;
    background: var(--off_white);
}


/* project page */

#header {
    justify-content: flex-end;
    display: flex;
    padding-left: 7.5%;
    padding-right: 7.5%;
}

#footer {
    justify-content: flex-end;
    display: flex;
    margin-top: 60px;
    padding-left: 7.5%;
    padding-right: 7.5%;
    height: 260px;
}

.nav_button {
    font-family: 'EB Garamond', serif;
    font-size: 2.2em;
    font-weight: 500;

    margin: auto;
    /*! margin-bottom: 45px; */
    line-height: 0.4;
    background: rgb(183, 165, 221, 0.4);
    padding-right: 25px;
    padding-left: 10px;
    padding-bottom: 14px;


}

.project_section {
    display: flex;
    margin: 16px 0;
    gap: 96px;
    padding-left: 7.5%;
    padding-right: 7.5%;
    justify-content: center;
}

.project_section_white {
    display: flex;
    gap: 72px;
    padding-left: 7.5%;
    padding-right: 7.5%;
    justify-content: center;

    padding-top: 45px;
    padding-bottom: 45px;
    background-color: var(--off_white);
}

.center {
    flex-direction: column;
    margin: 0;
    gap: 16px;
}


.project_intro {
    width: 60%;
    margin: auto 0;
}

.project_img {
    width: 48%;
    max-height: 600px;
    margin: auto 0;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

.project_single_img {
    width: 90%;
    max-height: 600px;
    margin: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

.wide_img {
    max-height: 35dvh;
    object-fit: cover;
}

.center_paragraph {
    width: 60%;
    margin: auto;
}

.project_vert_box {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: auto;
}

.img_row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 26px 0;

    overflow-x: hidden;
    overflow-y: hidden;
}

.same_div {
    margin: 16px 0;;
}


/* MOBILE */
@media only screen and (max-device-width : 900px){

body {
    width: 100% !important;
    font-size: 2em;
    }

.main_page {
    /*! width: 100vw; */
    margin: auto;
    }

#header {        
    display: none;
    }

#intro {        
    position: absolute;
    width: 100%;
    display: none;
    }

#intro_empty {        
    display: none;
    }

#project_menu {
    max-width: none;
    }

.project_item {
    flex-direction: column;
    gap: 32px;
    }

.project_cover {
    width: auto;
    max-width: none;
    height: auto;
    }

.project_description {
    width: auto;
    margin: auto;
    gap: 12px;
    }

.tags {
	font-size: 1em;
}

.tags > div {
	padding: 12px 14px 12px 14px;border-width: 5px;border-radius: 24px;
}
}