/*  Midsize */
@media only screen and (max-width: 960px)
{
    #projects
    {
        grid-template-columns: 50% 50% !important;
    }
    #header nav
    {
        width: 40% !important;
    }
    #sidebar
    {
        width:50% !important;
    }
}

/* Mobile */
@media only screen and (max-width: 600px)
{
    #sidebar
    {
        width:70% !important;
    }

    #projects
    {
        grid-template-columns: 100% !important;
    }

    #skillsDiv
    {
        flex-direction: column-reverse !important;
    }
    #skillsSection
    {
        width:100% !important;
    }

    #skillsImage
    {
        width:100% !important;
    }

    #headerTitleSmall
    {
        display:block !important;
    }

    #headerTitleBig
    {
        display:none !important;
    }
    #header
    {
        padding: 0 1.5rem !important;
    }
    h1 a
    {
        font-size: 1em !important;
    }
    .hideSmall
    {
        display:none;
    }
    #header nav
    {
        width: 30% !important;
    }
    #filters
    {
        width:65.5%;
    }

}

/* Desktop */
html, body
{
    padding:0;
    margin:0;
    width:100%;
    background-color: #101010;
}

h1, h2, h3, p, ul, a, li
{
    padding:0;
    margin:0;
    text-decoration: none;
    list-style: none;
}

header h1 a
{
    color:#1ABC9C;
    font-size: 36px;
    font-weight: 400;

}
header
{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:center;
    height:100px;
    background-color: #101010;
    border-bottom: 1px solid #1ABC9C;
    font-family: 'Dosis', sans-serif !important;
    padding: 0 4.5rem;
    position:sticky;
    top: -1px; 
    transition: 0.5s;
    z-index: 997;
    animation: 1s ease-out 0s 1 fadeIn;
}
header.isSticky
{
    height:60px;
    border-bottom:none;
    background-color: #181818;
}

#header nav
{
    width:25%;
}
#header nav ul
{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}

nav ul li a:hover
{
    color:#1ABC9C;
}

nav ul li a
{
    font-size: 20px;
    color:#444;
    font-weight:600;
}
#contactButton
{
    color:#ffffff;
    cursor:pointer;
}

#skillsDiv
{
    font-family: 'Open Sans', sans-serif !important;
    padding:60px 5%;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    background: linear-gradient(to bottom, #101010, transparent, #101010), url(https://jackmakesmail.com/images/portfolio/section-2.jpg) no-repeat center top / cover;
}

#skillsSection h2
{
    font-size: 3.6rem;
    color:#1ABC9C;
    margin-bottom: 3rem;
    padding-top: 3rem;
    font-family: 'Dosis', sans-serif !important;
    
}

#skillsSection h3
{
    font-size: 30px;
    font-weight: 600;
    color:#1ABC9C;
}
#skillsSection p
{
    font-size: 18px;
    color: #e4b7c0;
}

#skillsSection
{
    width:41.6666666667%;
    box-sizing: border-box;
}

#skillsImage
{

    width: 58%;
    display:flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#skillsImage img
{
    height: 330px;
    max-width:100%;
}
#skillsSection
{
    padding:0 0.75rem;
}
#projectsDiv
{
    background-color: #101010;
    padding:60px 5%;
}
#buttonsArea
{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom:3.5rem;
}

#filters
{
    display:flex;
    flex-direction: row;
    border: 1px solid #1ABC9C;
    border-radius: 5px;
    box-sizing: border-box;
    justify-items: center;
    align-items: center;
    height: 100%;
    margin:0;
    padding:0;
    overflow: hidden;
    flex-wrap: wrap;
    text-align:center;
}

#projects
{
    display:grid;
    grid-template-columns:25% 25% 25% 25%;
    animation: 1s ease-out 0s 1 fadeIn;
}

.skill
{
    padding:20px 0;
    position: relative;
    display: flex;
    flex-direction: row;
    z-index: 2;
}
#skillsImage img
{
    transition:all 0.4s ease;
    object-fit: scale-down;
}
#dev
{
    transition:all 0.4s ease;
}


#design
{
    transition:opacity 0.4s ease;
}


#tools
{
    transition:opacity 0.4s ease;
}


#education
{
    transition:opacity 0.4s ease;
}


.skill h3
{
    padding-bottom:10px;
}

.filter
{
    padding: 10px 20px;
    font-size: 22px;
    font-family: 'Dosis', sans-serif !important;
    font-weight: 500;
    color: #e4b7c0;
    height: 101%;
    cursor:pointer;
}
.filter a
{
    display: block;
    height: 101%;
}
.filter:hover
{
    color: #1ABC9C; 
}

.filter.active, .active.filter:hover
{
    color:#ffffff;
    background-color: #1ABC9C; 
    box-sizing: border-box;
    height: 101%;
}

.projectDescription
{
    padding:20px;
    font-family: 'Dosis', sans-serif !important;
}

.projectDescription h3 a
{
    color: #e4b7c0;
    font-size: 20px;
}
.projectDescription span
{
    color:#888;
    font-size:16px;
    font-weight: 400;
}

.projectImage
{
    position: relative;
    height:auto;
    overflow: hidden;
}
.projectImage a div
{
    overflow: hidden;
}
.projectImageImg
{
    width:100%;
    height:auto;
    box-sizing: border-box;
    display: block;
}

.overlay 
{
    position: absolute;
    opacity: 0; 
    width: 100%;
    height: 100%; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); 
    z-index: 2;
    overflow: hidden;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.overlay:hover
{
    opacity: 1;
    transition: 0.5s;
}
.overlayButtons
{
    
    
    display:flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    width:100%;
}
.overlayIcon
{
    display: flex;
    background-color:#1ABC9C;
    padding:10px 20px;
    border-radius: 30px;
    color:#ffffff;
    font-weight: 600;
    font-size: 18px;
}
.linkOverlay
{
    width:100%;
}

.projectDescription h3
{
    margin-bottom:5px;
}

.projectDescription h3 a:hover
{
    color: #1ABC9C; 
}

#phpFormResponse
{
    position:fixed;
    z-index: 9999;
    color:white;
    background-color: #1ABC9C;
    border-radius: 15px;
    height:50px;
    width:20%;
    padding:5px 1.5%;
    box-sizing: border-box !important;
    transition: right .4s ease;
    -webkit-transition: right .4s ease;
    -o-transition: right .4s ease;
    right: -100vw;
}
#phpFormResponse.open
{
    right: 2vw;
}

#sidebar
{
    position:fixed;
    z-index: 999;
    color:white;
    background:#101010;
    height:100vh;
    width:25%;
    padding:0 3%;
    box-sizing: border-box !important;
    right: -100vw;
    transition: right .4s ease;
    -webkit-transition: right .4s ease;
    -o-transition: right .4s ease;
}

#sidebar.open
{
    right: 0px;
}

#contactOverlay
{
    background:#000000a8;
    position:fixed;
    top:0;
    width:100%;
    height:100vh;
    z-index: 998;
    visibility: hidden;
    transition: visibility .4s ease, opacity .4s ease;
    opacity: 0;
}
#contactOverlay.open
{
    visibility:visible;
    opacity: 1;
}

#contactTitle
{
    margin: 25px 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase; 
    font-size: 15px;
    font-weight: 700;
    font-family: 'Dosis', sans-serif !important;
}

#contactParagraph
{
    font-family: 'Dosis', sans-serif !important;
    font-weight: 400;
    font-size: 1rem;
    border-bottom: solid #ffffff 1px;
    padding-bottom:30px;
}

#formTitle
{
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase; 
    font-size: 15px;
    font-weight: 600;
    font-family: 'Dosis', sans-serif !important;
}

.inputBox
{
    width: 100% !important;
    min-height: 38px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 8px 14px;
    font-size: 15px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 2px solid #DDD;
    border-radius: 0 !important;
    margin-bottom: 0.5rem !important;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline:none;
}
.inputBox:focus
{
    outline:solid rgba(167, 167, 167, 0.685);
}
.inputMessage
{
    width: 100% !important;
    min-height: 38px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 8px 14px;
    font-size: 15px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 2px solid #DDD;
    border-radius: 0 !important;
    margin-bottom: 0.5rem !important;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.inputMessage:focus
{
    outline:solid rgba(167, 167, 167, 0.685);
}

.submitButton
{
    padding: 7px 17px;
    font-size: 12px;
    line-height: 20px; 
    color: #FFF;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 20%);
    cursor: pointer;
    background-color: #1ABC9C;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
    white-space: nowrap;
    margin: 5px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    text-align: center;
    align-items: flex-start;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border-radius: 3px;
    box-shadow: inset 0 -3px 0 rgb(0 0 0 / 15%);
    border:none;
}

#quick-contact-form-botcheck
{
    display: none !important;
}

.fa-random
{
    font-size: 38px;
    color:#ffffff;
}
#rearange
{
    margin-right:20px;
    cursor: pointer;
}

.projectItem
{
    transition:all 0.4s ease;
    transform: scale(1);
    
}

.projectItem.animated
{

    transform: scale(0);

}

#headerTitleSmall
{
    display:none;
}

#sidbarHeader
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#closeSidebar
{
    display: inline-block;
    font-weight: 700;
    border:solid #1b1b1b 1px;
    background-color:#1b1b1b;
    width:38px;
    height:38px;
    font-size:30px;
    text-align: center;
    line-height: 1.3;
    font-family: 'Dosis', sans-serif !important;
}


  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
        opacity: 1;
    }
  }