html {
    scroll-behavior: smooth;
}

header {
    position:fixed;
    width:100%;
    z-index:9999;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color:white;
}

footer {
    text-align: center;
    margin-bottom:1em;
    color:#365EAB;

}

main {
    z-index:1;
}

nav {
    padding:0 3em;
    height:70px;
    background-color:white;
}

button {
    border:none;
    padding:0;
}

h1 {
    font-size: 2.1875em;
    font-weight:bold;
    color:#365EAB;
}

a:visited {
    color:#365EAB;
}

a {
    text-decoration: none;
    color:#365EAB;
}

p {
    line-height:1.875em;
    color:#365EAB;
    font-size: 1em;
}

#PB_Logo {
    width:50px;
}


#hamburgermenu {
    justify-self: end;

}

.nav-contents-desktop {
    display:none;
}

.nav-contents-mobile {
    display:grid;
    grid-template-columns: 1fr 1fr;
    height:inherit;
    align-items: center;
}

.hamburger-inner, .hamburger-inner:before, .hamburger-inner:after {
    background-color: #365EAB!important;
}

#mobile-menu {
    display:none;
    background-color:white;
    height:350px;
    padding:0;
    /* position:absolute; */
    z-index:1;
    width:100%;
}

#mobile-menu > li > a:hover {
    color:#e87604;

}

#mobile-menu > li {
    display:block;
    padding:1em 1.2em 0 1.3em;
    font-size:2.1875em;
    font-weight:bold;

}

.aboutshortcut {
    cursor: pointer;
}

.galleryshortcut {
    cursor: pointer;
}

.contactshortcut {
    cursor: pointer;
}

.herointro {
    display:grid;
    padding:4.6em 3em 0 3em;
    grid-template-columns: 1fr;
    /* height:91.21706399vh; */
    height:100vh;
    background: rgb(235,235,235);
    background: radial-gradient(circle, rgba(235,235,235,1) 0%, rgba(222,222,222,1) 100%);
}

.graphic-img {
    display:none;
}

.name_and_position {
    align-self: center;
    /* justify-self: center; */
}

.intro-container{
    display:grid;
    grid-template-columns: 1fr;
    padding:0 3em;
    padding-top:5.625em;

}

.about-me > h1{
    margin-bottom: .3em;
}

.about-me p {
    margin-bottom:1em;

}

.skills {
    grid-template-columns: 1fr 1fr;
    display:grid;
    grid-column-gap: 2em;
    padding-top:5.625em;

}

.skills > h1 {
    grid-column:1 / span 2;
    margin-bottom: .7em;

}

.skills ul {
    list-style:disc;

}

.skills li {
    padding:.4em 0;
    color:#365EAB;
    list-style-position:outside;
}

.design-proccess-cont {
    padding:0 3em;
    padding-top:5.625em;

}

.process-cont {
    display:grid;
    grid-template-columns: repeat(2, 1fr);

}

.research, .plan, .design, .analyze{
    margin-top: 2em;
    border-radius: 50%;
    width:130px;
    height:130px;
    line-height: 130px;
    font-size:1em;
    background-color:#365EAB; 
    text-align: center;
    color:white;
    font-weight:600;
}

.plan, .analyze {
    /* justify-self: end; */
}

.gallery-container {
    padding:0 3em;
    padding-top:5.625em;
}

.gallery-container > h1 {
    margin-bottom:68px;
}

.gallery-contents {
    display:grid;
    grid-template-columns: 1fr;
    z-index:2;
}

.project {
    overflow:hidden;
    position:relative;
    width:100%;
}

.project:after {
    content:"";
    padding-bottom:100%;
    display:block;
}

.project a { 
    font-size:1.125em;
    width:inherit;
    position:absolute;
    top:50%;
    text-align: center;
    color:white;
    font-weight: bold;
}

.project a:hover {
    text-decoration: underline;
}

#targazon {
    background-image: url("/img/targ_title.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.hovertar{
    /* text-decoration: underline; */
    position:absolute;
    display:none;
    width:100%;
    height:100%;
    background: rgba(254, 150, 45, 0.9);

}

#nike-product {
    background-image: url("/img/nike-on-mac-and-iphone.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.hovernike{
    /* text-decoration: underline; */
    position:absolute;
    display:none;
    background: rgba(172, 172, 172, 0.9);
    width:100%;
    height:100%;
}

#cg-cat {
    background-image: url("/img/catalogue.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.hovercg{
    /* text-decoration: underline; */
    position:absolute;
    display:none;
    background: rgba(0,174,239,0.9);
    width:100%;
    height:100%;
}
/*
#cg-cat:hover:after {
    content: "";
    text-decoration: underline;
    background: rgba(0,174,239,0.9);
}
*/
.contact-container {
    padding:5.625em 3em;
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
}

.contact-container h1 {
    grid-row-gap: 1em;
    margin-bottom:68px;
    grid-column: 1/span 1;
}

.contact-container a {
    font-weight: bold;
    color:#365EAB;
}

.contact-container p {
    font-weight: bold;
    color:#365EAB;
}

.email-container {
    /* align-self: flex-end; */
    margin-bottom:3em;

}

.linkedin-container {
    /* align-self: flex-end; */
}

.linkedin-logo .email-icon {
    display:inline-block;
    width:100%;
    margin-bottom:.5em;
}

.email-icon img {
    height:60px;
    margin-bottom:.8em;
    /* margin-top:.8em; */
}

.linkedin-logo img {
    height:60px;
    margin-bottom:.8em;
}

@media only screen and (min-width:650px) { 
    .herointro {
        grid-template-columns: 1fr 1fr;
    }

    .graphic-img {
        display:inline-block;
        align-self: center;
        padding:0 2em 0 2em;
    }

    .process-cont {
        grid-template-columns: repeat(4, 1fr);

    }

    .plan, .analyze {
        justify-self: left;
    }

    .gallery-contents {
        grid-template-columns: 1fr 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr 1fr;
    }

    .contact-container h1 {
        grid-column: 1/span 2;
    }

    .email-container {
        margin-bottom: 0;
    }

}


@media only screen and (min-width:1080px) { 

    header {
        /* position:relative; */
    }

    nav {
        padding:0 6.875em;
    }

    h1 {
        font-size:4.375em;
        font-weight:bold;
    }


    .nav-contents-mobile {
        display:none;
    }

    .nav-contents-desktop {
        margin:0;
        /* width:70%; */
        display:grid;
        grid-template-columns:50% 1fr 1fr 1fr 1fr;
        list-style-type: none;
        height:inherit;
        align-items: center;
        /* justify-items:center; */
        
    }

    .nav-contents-desktop > li {
        color:#365EAB;
        font-size:1.25em;
        font-weight:500;
    }
    
    .nav-contents-desktop > li > a:hover {
        color:#e87604;
    }

    .homeshortcut {
        justify-self: end;
    }
    
    .aboutshortcut {
        justify-self: end;
    }
    
    .galleryshortcut {
        justify-self: end;
    }
    
    .contactshortcut {
        justify-self: end;
    }
    
    #mobile-menu {
        display:none;
    }
    
    #mobile-menu > li {
        display:none;
    }

    .herointro {
        padding:70px 9.8125em 0 9.8125em;
        /* height:91.21706399vh; */
        height:100vh;
        /* grid-template-columns: 40% 60%; */
    }

    .name_and_position {
        /* justify-self: right; */
    }

    .graphic-img {
        align-self: center;
        padding:0 2em 0 2em;
    }

    .intro-container {
        padding:0 9.8125em;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 8em;
        padding-top:5.625em;
        margin-bottom:0;
    }

    .skills {
        padding-top: 0;
        grid-template-rows: 121px auto;

    }

    .design-proccess-cont {
        padding:0 9.8125em;
        padding-top:5.625em;
    
    }

    .research, .plan, .design, .analyze{
        width:190px;
        height:190px;
        line-height: 190px;
        font-size:2em;
    }

    .gallery-container {
        padding:0 9.8125em;
        padding-top:5.625em;
    }

    .project a {
        font-size:2.5em;
    }
}
