@import "assets/css/navigation.css";
@import "assets/css/home.css";
@import "assets/css/show.css";
@import "assets/css/contact.css";
@import "assets/css/footer.css";
@import "assets/css/cv.css";
@import "assets/css/webdesign.css";
@import "assets/css/article.css";
@import "assets/css/prestation.css";

@font-face {
    font-family: 'Josefin Sans';
    src: url('/fonts/JosefinSans-Regular.ttf') format('truetype');
}

* {
    box-sizing: border-box;
    transition: 0.1s linear;
    transition-delay: 0.3s;
}

ul {
    list-style: none;
}
p{
    line-height: 1.3em;
    font-size: 1.1em;
    font-family: 'Josefin Sans';
    padding: 10px 0 20px;
    margin: 0;
    color: var(--black);
}
.margin-40 {
    margin: 40px 0 0
}
.np-ml20 {
    margin-left: 20px;
}
.min-height {
    min-height: 83.6vh;
}

:root {
    --color-primary: #1f648c;
    --color-primaryL: #38a7df;
    --color-primaryH: #B88F1B;
    --color-secondary: #8bd6ff;
    --white: #fff8f8;
    --black: #181A1A;
    --font-1: 'Josefin Sans', sans-serif;
    --font-signature: 'Kalam', cursive;
}

body {
    background-color: #ededed;
    font-family: var(--font-1);
    color: var(--black);
    padding: 0;
    margin: 0;
}

a,
a:active {
    text-decoration: none;
    color: var(--color-primaryL);
}

ul {
    margin: 0;
    padding: 0;
}

a:hover,
a:focus {
    color: var(--color-primaryH);
}

h1 {
    font-family: var(--font-1);
    font-size: 2.5rem;
    margin: 0 0 20px;
    text-align: center;
}
.np-text-center {
    text-align: center;
}
h2 {
    font-family: var(--font-1);

    font-size: 1.5rem;
    margin: 0 0 20px;
}

.np-container {
    width: 80%;
    max-width: 1200px;
    margin: 70px auto;

}

.np-d-flex {
    display: flex;
    flex-wrap: wrap;
}

.np-justify-content-around {
    justify-content: space-around;
}

.np-flex-c {
    flex-direction: column;
}

.np-btn {
    border-radius: 10px;
    padding: 10px 20px;
    display: block;
    border: var(--color-primary) solid 2px;
}

.np-btn:hover {
    border: var(--color-secondary)solid 2px;
}

.np-text-left {
    text-align: center
}

.np-mb-20 {
    margin-bottom: 20px
}

.button-navbar {
    display: none
}

.np-current-project h1 {
    font-size: 1.5em;
}

[class*="reveal-"] {
    opacity: 0;
    transform: translateY(-50px);
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-2.reveal-visible {
    transition: 1.3s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-3.reveal-visible {
    transition: 1.7s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-4.reveal-visible {
    transition: 2s cubic-bezier(0.5, 0, 0, 1);
}

@keyframes fadeIn {
    from {
        top: -10px;
    }

    to {
        top: 0;
    }
}
.revealCss{
    position: relative;
    top:0;
animation : fadeIn 1s ease-in-out;

}

@media print {
    * {
        -webkit-print-color-adjust: exact;
    }

    .np-cv {
        box-shadow: none
    }

    nav.navbar,
    .np-button-cv,
    footer {
        display: none
    }

    .np-container {
        width: 100%;
        margin: 0
    }

    .np-post {
        font-size: 15pt;
        -webkit-print-color-adjust: exact;
        padding: 24px;
        background: #38a7df;
        color: #fff;
        box-shadow: none;
    }

    .np-title-skills {
        font-size: 14pt;
        margin: 10px 0 5px
    }

    .np-skills h4 {
        font-size: 13pt;
        margin: 0 0 1px;
    }

    .np-skills ul {
        margin: 0 0 1px
    }

    .np-skills ul:last-child {
        margin: 0
    }

    .np-infos h2 {
        font-size: 13pt;
        margin: 0 0 10px;
        left: 40px
    }

    .np-skills ul,
    .np-infos {
        font-size: 9pt;
    }

    .np-cv-left {
        width: 34%
    }

    .np-infos li {
        margin: 0 0 -5px
    }

    hr {
        margin: 10px auto
    }

    .np-notion {
        margin: 0
    }

    .np-cv-right h1 {
        font-size: 20pt;
        margin: 0 0 5px
    }

    .np-cv-right section {
        margin: 0
    }

    .np-cv-right {
        width: 65%;
        padding: 0 0 0 10px
    }

    .np-cv-right section:first-child {
        margin: 0
    }

    .np-cv-right article {
        margin: 10px 0 10px 10px;
        font-size: 12pt;
    }

    .np-title-back div {
        top: 25px;
        left: 25px;
    }

    .np-title-back em {
        width: 80px;
    }

    .np-coor li {
        margin: 5px 0
    }

    .np-skills ul li {
        margin: 0 0 -1px
    }

}

@media screen and (max-width : 964px) {

    .np-cv-left {
        width: 33%;
    }

    .np-container,
    .np-d-flex-show.np-container {
        width: 100%
    }

    .np-cv-right {
        padding: 0 10px
    }

    .np-skills ul {
        min-width: 80px;
        width: 44%
    }

    .np-cv-right article {
        padding: 10px;
        margin: 0;
    }

    .np-cv-list-task {
        left: 20px
    }

    .np-infos h2 {
        left: 40px;
        width: 99%
    }

    .sociakNetwork {
        margin: 15px
    }

}

@media screen and (max-width : 600px) {
    .np-portail {
        margin: 100px auto 0;
    }
    .np-home-logo {

        width: 320px;

        margin: 0 auto;
        
    }

    .np-reseaux-sociaux-home {
        bottom: -64px;
    }

    .np-d-flex-show.np-container {
        width: 80%
    }
    .np-d-flex{flex-direction: column;}
    .np-img-show-project, .np-article-img, .np-article-text {
        width: 100%
    }
    .np-article-text { padding: 20px 10px}

    .np-text-show-project {
        width: 80%;
        margin: 0 auto
    }

    .button-navbar {
        display: block;
        position: relative;
        margin: 15px;
        font-size: 1em;
        padding: 15px;
        cursor: pointer;
        z-index: 999;
        border :none;
        background-color: var(--color-secondary);
    }

    .np-d-flex-show {
        flex-direction: column-reverse;
    }

    .navbar {
        display: none;
       
    }

    .navbar-open {
        display: block;
        position: absolute;
        top: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
        transition: 1s ease-in-out;
    }

    .navbar-open .navigation ul {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 10px
    }
    .navbar-open .navigation ul li {
        margin: 10px 0;
     }


}


@media screen and (max-width : 395px) {

    .np-container {
        margin: 10px auto;
    }
    .np-home-logo {

        left: -10px;
    }
    .np-cv {
        flex-direction: column;
    }

    .np-cv-left,
    .np-cv-right,
    .np-container,
    .np-img-show-project {
        width: 100%
    }

    .np-cv-right {
        padding: 0 10px
    }

    .np-cv-right article {
        padding: 10px;
        margin: 0;
    }

    .np-cv-list-task {
        left: 20px
    }

    .np-text-show-project {
        width: 95%
    }

    .np-home-developer {
        position: relative;
        top: 100px;
        left: -45px;
    }

    .np-home-portefolio {
        font-weight: bold;
        position: relative;
        left: 44px;
    }
}