/*
    TODO:
    - Change Fonts differing between each layout
    - so far, 2nd merge/push looks decent for mobile, recall back if necessary
    - link previews
*/

/*Placeholder*/
img.placeholder{
    margin-top: 2rem;
    width:5rem;
    height:5rem;
}

/*Global Layout Styling*/
.flex-class{
    display: flex;
    flex-direction: column;
    align-items: center;
}

body {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #FFFFFF;
}

h2{
    text-align: left;
    font-weight: normal;
    font-size: 1.1rem;
}

section{
    padding: .2rem;
}

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

/* TODO: turn into a class and allow link preview and information of projects */
a:hover{
    color: burlywood;
}

.fade-out{
    transition: all 1.5s ease;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.fade-in{
    transition: all 2.5s ease;
    opacity: 100;
    height: 0;
    overflow: visible;

}



/* ------------------------------------------------------------------------------------ */
/*Mobile Stylings*/
#main-container {
	width: 80%;
	margin-left: auto;
    margin-right: auto;
    
}

header {
    margin-top: 1rem;
    padding: .2rem;
    padding-left: 4%;
    padding-right: 4%;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #c594ab;
    color: #FFFFFF;
}

ul{
    list-style-type: none;
    padding: 0;
    font-size: .8rem;
}

ul.block-sect{
    display: block;
    border-radius: .2rem;
    margin-left: 4rem;
    margin-right: 4rem;
    padding: .8rem;
    background-color: rgb(201, 180, 180);
}

li{
    margin: 1rem;
}

li.general-info-list{
    margin: .05rem;
    letter-spacing: .05rem;
}

.heading-null{
    margin: 1rem;
    padding: 1rem;
    border-radius: .2rem;
    text-align: center;
}

button {
    padding: .7rem .9rem;
    font-size: .9rem;
    margin: 4px 2px;
    margin-top: 5rem;
    margin-left: 80%;
    border: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    background-color: #8a6880;
    color: white;
}

footer {
	font-size: .70rem;
    text-align: center;
}

/* SIDE-PORTFOLIO */
header.side-portfolio{
    background-color: #94afc5;
    color: #FFFFFF;
}
ul.side-portfolio{
    display: block;
    border-radius: .2rem;
    margin-left: 4rem;
    margin-right: 4rem;
    padding: .8rem;
    background-color: rgb(181, 180, 201);
}
button.side-portfolio{
    background-color: #68818a;
}


/* ------------------------------------------------------------------------------------ */
/*Tablet Stylings*/
@media only screen and (min-width: 481px){
    header {
        margin: 3rem;
        margin-top: 2.3rem;
        margin-bottom: 1rem;
        padding: .2rem;
        width: 100%;
        text-align: center;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    section{
        margin: 10rem;
        margin-top: 0;
        padding: .2rem;
        width: 100%;
        text-align: center;
        display: inline-block;
    }

    footer {
        margin-top: 15rem;
        font-size: .70rem;
        text-align: center;
    }
}

/* ------------------------------------------------------------------------------------ */
/*Desktop Stylings*/
@media only screen and (min-width:769px){
    img.placeholder{
        width:40rem;
        height:20rem;
    }

    header {
        margin: 3rem;
        margin-top: 1.2rem;
        margin-bottom: 1rem;
        padding: .2rem;
        width: 48.063rem;
        text-align: center;
        
        
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    li{
        margin: 1rem;
    }

    ul{
        list-style-type: none;
        padding: 0;
        font-size: .8rem;
    }
    
    section{
        margin: 10rem;
        margin-top: 0;
        margin-bottom: 4.5rem;
        padding: .2rem;
        width: 29rem;
        text-align: center;
        display: inline-block;
    }

    ul.general-info-list{
        margin-left: 3.4rem;
        text-align: left;
    }
    li.general-info-list{
        margin: .05rem;
        letter-spacing: 0rem;
    }
    
    footer {
        margin-top: 2rem;
        font-size: .70rem;
        text-align: center;
    }

    button {
        padding: .7rem .9rem;
        font-size: .9rem;
        margin: 4px 2px;
        margin-left: 80%;
        border: none;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        background-color: #8a6880;
        color: white;
    }
}