/*
Created by: Tom Molitor
Created on: 12-23-2023

Update History:
| Date          | Author        | Description                                                           |
| ------------- | ------------- | --------------------------------------------------------------------- |
| 12-23-2023    | Tom Molitor   | Created the initial CSS file to work on the CSS Essential Training    |
| 12-26-2023    | Tom Molitor   | Added additional styling based on CSS Essential Training              |
| 01-14-2024    | Tom Molitor   | Added to repo                                                         |
*/

/*
Color Pallete:

    Pallete 1
    #4D5359: Dark Gray
    #6BAA75: Mint Green
    #B56576: Soft Maroon
    #D2D6EF: Hazy Sky
    #FCF7F8: Eggshell White

    Pallet 2
    #1D3557: Dark Blue
    #457B9D: Medium Blue
    #A8DADC: Light Blue
    #F1FAEE: Bluish White
    #E63946: Cherry Ice Cream Red
*/

/********************************
GLOBAL STYLES
********************************/
/*
    https://www.paulirish.com/2012/box-sizing-border-box-ftw/
*/
:root {
    --mintGreen: #6BAA75;
    --softMaroon: #B56576;
    --creamRed: #E63946;
    --darkBlue: #1D3557;
    --mediumBlue: #457B9D;
    --lightBlue: #A8DADC;
    --hazySky: #D2D6EF;
    --whiteBlue: #F1FAEE;
    --eggWhite: #FCF7F8;
    --darkGray: #4D5359;
}

html {
    box-sizing: border-box;
    font-size: 62.5%; /* set default to 10px */

}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
body {
    background: var(--eggWhite);
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-size: 1.5rem;
}
.content-wrapper {
    margin: 0 auto;
    padding: 30px;
    max-width: 900px;
}
h1, h2, h3, h4 {
    font-family: 'Hind', sans-serif;
    font-weight: 500;
    font-style: normal;
    margin: 10px 0;
}
h1 {
    font-size: 7rem;
    line-height: 1;
    color: var(--darkBlue);
}
h2 {
    font-size: 3.6rem;
    line-height: 1;
    color: var(--mediumBlue);
}
h3 {
    font-size: 2.4rem;
    color: var(--darkGray);
}
h4 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--darkGray);
}
ul {
    line-height: 1.5;
    margin-top: 5px;
}

/* links */

a {
    color: var(--mediumBlue);
}

a:hover {
    color: var(--softMaroon);
    text-decoration: none;
}

.btn {
    background: var(--mediumBlue);
    color: var(--eggWhite);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
    padding: 7px;
    border-radius: 8px;
}

.btn:hover {
    background: var(--softMaroon);
    background-size: cover;
    color: var(--eggWhite);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
    padding: 7px;
    border-radius: 8px;
}
/********************************
HOME
********************************/
.home {
    background: url(../images/bg-home-office-2.png) no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
}
.home .content-background {
   flex: 1 0 auto;
}
.content-bg {
    background-color: var(--eggWhite); 
    opacity: .95;
    margin-top: 75px;
    padding: 30px;
}
.content-bg h2 {
    color: var(--mediumBlue);
}
@media screen and (max-width: 650px) {
    .home .content-wrapper {
        padding: 10px;
    }
    .content-bg {
        padding: 20px;
    }    
}
/********************************
RESUME
********************************/
.resume header::before {
    background: url(../images/bg-home-office-studio-3.png);
    background-size: cover;
    background-position: center;
    content: "";
    display: block;
    height: 375px;
}
.content-wrapper h1 {
    color: var(--darkBlue);
}
.content-wrapper h2 {
    color: var(--mediumBlue);
}
.resume-section {
    margin-bottom: 25px;
}
.resume-section h2 {
    color: var(--mediumBlue);
    border-bottom: 2px dashed var(--darkBlue);
}
.download-link {
    position: fixed;
    top: 85px;
    left: 10px;
    font-size: 1.5rem;
}
.download-link:hover {
    position: fixed;
    background-color: var(--softMaroon);
    background-size: cover;
    top: 5px;
    left: 5px;
    font-size:1.5rem;
}
@media screen and (max-width: 1250px) {
    .download-link {
        position: absolute;
    }

}
@media screen and (max-width: 500px) {
    .resume header::before {
        height: 200px;
    }
    h1 {
        font-size: 5rem;
    }
    h2 {
        font-size: 2.6rem;
    }
} 

.project {
    /*border-bottom: 1px solid var(--hazySky);*/
    margin-bottom: 50px;
}
.work-item {
    margin: 30px 0;
}
.work-item .work-details {
    line-height: 1.5;   
}

.work-details p {
    margin: 0;
}

.work-summary p:first-child {
    margin-top: 0;
}

/* .work-summary {
    margin: 0;    
} */

/********************************
RESUME | Profile
********************************/

/********************************
RESUME | Projects
********************************/
.project-summary h3 {
    color: var(--darkGray);
}
.work-details h4 {
    color: var(--darkGray);
}
.work-summary h4{
    color: var(--darkGray);
}
.technologies h4 {
    color: var(--darkGray);
}
@media screen and (min-width: 840px) {
    .project {
        display: grid;
        grid-template-columns: 300px 1fr;
        column-gap: 20px;
    }
    .project h3 {
        margin-top: 0;
    }
}
@media screen and (min-width: 670px) and (max-width: 839px) {
    .project-wrapper {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        column-gap: 20px;
    }
    .project-item img {
       width: 100%; 
    }
}
@media screen and (max-width: 300px) {
    .project-details img {
        width:100%;
        margin-bottom: 10px;
    }
}

/********************************
RESUME | Work Experience
********************************/
.work-details h3, h4 {
    color: var(--darkGray);
}

.work-item {
    margin: 30px 0;
}
.work-details p {
    margin: 0;
}

@media screen and (min-width:820px) {
    .work-item {
        display: grid;
        grid-template-columns: 300px 1fr;
        column-gap: 20px;
    }
    .work-summary p:first-child {
        margin-top: 0;
    }
}
/********************************
RESUME | Educaton
********************************/
.education-details h3 {
    color: var(--darkGray);
}
.education-item {
    margin: 30px 0;
}
.education-item p {
    margin: 0;
}
/* Remove whe finding a better image */
.depaul {
    margin-top: -25px;
    margin-bottom: -25px;
}

@media screen and (min-width:820px) {
    .education-item {
        display: grid;
        grid-template-columns: 300px 1fr;
        column-gap: 20px;
    }

    .education-summary p:first-child {
        margin-top: 0;
    }
}

/********************************
JACK
********************************/

/* Positions the image container (needed to position the left and right arrows) */
/* .container {
    box-sizing: border-box;
    position: relative;
} */



@media screen and (min-width: 840px){
    .container {

        padding-left: 10%;
        padding-right: 10%;
    }
}

.jack-wrapper{
    padding-top: 80px;
}

/* Hides the images by default */
.jackSlides {
    max-height: 635px;
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -40px;
    color: var(--whiteBlue);
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 10px 10px 0;
    user-select: none;
    background-color: #4D5359;
    background-blend-mode: lighten;
    opacity: .8;
    -webkit-user-select: none;
}

/* position the "next button" to the right*/
.next{
    right: 10%;
    border-radius: 10px 0 0 10px;
}

/* Number text (1/9 etc) */
.numbertext{
    color: var(--whiteBlue);
    background-color: var(--darkGray);
    background-blend-mode: lighten;
    opacity: .8;
    font-size: 12px;
    margin-top: 80px;
    padding: 8px 12px;
    border-radius: 0 0 10px 0;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: var(--lightBlue);
    padding: 2px 16px;
    color: var(--whiteBlue);
}
.row{
    margin-top: 90px;
}

.row:after{
    content: "";
    display: table;
    clear: both;
}

/* nine columns side by side */
.column {
    float: left;
    width: 11.11%;
}

/* Add a transparency effect for thumbnail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover{
    opacity: 1;
}

/* Caption text */
.text{
    color:var(--whiteBlue);
    background-color: var(--darkGray);
    opacity: .8;
    background-blend-mode:lighten;
    font-size:15px;
    padding: 8px 12px;
    position: relative;
    bottom: 45px;
    width: 100%;
    text-align: center;
}



/********************************
HEADER
********************************/

.site-header {
    position: fixed;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    color: var(--eggWhite);
    /* background-color: var(--darkBlue); */
    background-image: linear-gradient(to top left, var(--lightBlue), var(--mintGreen));
    padding: 15px;
    z-index: 999;
}

.site-header h1, h2, h3, h4 {
    color: var(--eggWhite);
    align-content: center;
}


.site-header li{
    display: inline-block;
    list-style-type: none;
    align-items: center;
    height: auto;
    text-align: center;
}

@media screen and (min-width: 814px){
    .site-header {
        height: 75px;
    }
}

@media screen and (max-width: 813px){
    .site-header {
        height: 150px;
    }
}

/********************************
FOOTER
********************************/

footer {
    /*background: var(--darkGray);*/
    background-image: linear-gradient(to top left, var(--darkBlue), var(--darkGray));
    color: var(--eggWhite);
    z-index: 999;
    /* width: 100%; */
}

footer a {
    color: var(--lightBlue);
}

.socials {
    list-style-type: none; /* remove default bullet style */
    padding: 0;
}

.socials li {
    display: inline-block;
    margin-left: 10px;
}

.socials img {
    width: 32px;
}

.socials img:hover {
    opacity: 0.5;
}
@media screen and (min-width: 860px){
    footer {
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
    }
}
@media screen and (max-width: 859px){
    footer {
        display: flex;
        padding: 10px;
    }
}