/* Author: Jared Cullum */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root{
    --font-family: 'Roboto', sans-serif;
    --main-color: #05a081;
    --text-color: #fff;
    --bg-color: #eee;
    --bg-color-2: #333;
}
*{
    box-sizing: border-box;
}
body{
    font-family: var(--font-family) !important;
    background: var(--bg-color);
}

header{
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    text-align: center;
    background-color: var(--main-color);
}
.logo{
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    flex-grow: 1;
}
nav{
    flex-grow: 2;
}
nav ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    text-align: center;
}
nav ul li{
    flex-grow: 1;
    margin: 0 .4rem;
    position: relative;
}
nav ul li:hover{
    background-color: var(--bg-color-2);
}
nav ul li a{
    display: block;
    padding: 1.6rem 1rem;
    color: var(--text-color) !important;
    text-decoration: none !important;
    font-weight: 400;
    text-transform: uppercase;
}
#toggle, .label{
    display: none;
}

.home-1{
    padding-bottom: 40px;
    display: flex;
    flex-direction: row;
}
.portrait{
    height: 50vh;
    margin: 20px;
}
.text{
    margin: 0 20px 20px 20px;
}
.introduction{
    margin: 20px 100px 0 100px;
    text-align: center;
}
.button{
    padding: 5px 20px;
    border: none;

    color: var(--text-color);
    background: var(--main-color);
}
.button:hover{
    background-color: var(--bg-color-2);
}
.heroimage{
    position: relative;
    margin: 40px 100px 0 100px;
    padding: 5vh 35px;
    height: 70vh;

    background-color: var(--bg-color-2);
}
#particles-js{
    position: relative;
    height: 60vh;
    background-image: url(../images/Jared.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 30%;
}

.skills{
    padding: 50px 50px 30px 50px;

    
    display: flex;
    flex-direction: column;
}
.skills h2{
    margin-bottom: 20px;
}
.skills hr{
    border: 0;
    border-top: 1px solid var(--bg-color-2);
}
.lists{
    display: grid;
}
.list-row-1{
    grid-row: 1/2;
}
.list-row-2{
    grid-row: 2/2;
}


.my-works{
    padding: 50px 0;

    display: flex;
    flex-direction: column;
}
.grid{
    display: grid;
    justify-items: stretch;
}
.grid-row-1{
    grid-row: 1/2;
}
.grid-row-2{
    grid-row: 2/2;
}
.grid-item{
    margin: 20px;
    height: 30vh;
}
.item-1{
    background-image: url(../images/work1.jpg);
}
.item-2{
    background-image: url(../images/work2.jpg);
}
.item-3{
    background-image: url(../images/work3.jpg);
}
.item-4{
    background-image: url(../images/work4.jpg);
}
.back{
    padding: 10px 40px 0 40px;
    margin-top: 10px;
    margin-left: 10px;
}
.work-item{
    display: flex;
    flex-direction: column;

    margin-top: 40px;
    margin-bottom: 40px;
}
.photo-title{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;

    background-color: var(--bg-color-2);
}
.photo-title h1{
    margin: 25vh 20px 0 20px;
    margin-right: 20px;
    color: var(--text-color);
    text-align: center;
}
.work-item .text{
    text-align: center;
    margin: 40px 100px 40px 100px;
}

.contact-form{
    margin: auto;
    padding: 50px 0;
    width: 50%;
}
.contact-form h4{
    text-align: center;
}
#name, #phone, #email, #message{
    width: 100%;
}
footer{
    color: var(--text-color);
    background: var(--bg-color-2);
}
.copyright{
    padding: 20px;
    text-align: center;
}

.contact-confirmation{
    display: flex;
    justify-content: center;

    height: 75vh;
    margin-top: 40px;
}
.contact-confirmation .text{
    margin-top: 25vh;
}
.contact-confirmation img{
    height: 50vh;
    margin: 20px;
}

@media(max-width:972px){
    header{
        display: block;
    }
    .logo{
        display: flex;
        margin-left: 2rem;
    }
    nav ul{
        flex-direction: column;
        width: 100%;
        background: rgba(0,0,0,0.5);
        display: none;
    }
    nav ul li:hover{
        background-color: var(--bg-color-2);
    }
    .fa-bars {
        font-size: 1.6rem;
        color: var(--text-color);
        position: absolute;
        top: 1rem;
        right: .5rem;
        width: 2rem;
        z-index: 1;
    }
    .label{
        display: block;
        cursor: pointer;
    }
    #toggle:checked+ul{
        display: block !important;
    }

    .contact-confirmation{
        flex-direction: column;
    }
    .contact-confirmation .text{
        margin-top: 40px;
        text-align: center;
    }
    .contact-confirmation img{
        height: 50vh;
        margin: 0 20%;
    }
}