
span {
    color: #e7ffc2;
}

body {
    margin: 0;
    --primary-color: rgb(205, 210, 255);
    --secondary-color: rgb(168, 208, 255);
    --tertiary-color: rgb(212, 232, 255);
    --primary-color-op50: rgb(205, 210, 255, 0.5);
    --text-color: rgb(230, 233, 255);
    --bg1: #2b313f;
    --bg2: #2f2e38;
    --bg3: #322e3a;
    color: #E6E9FFFF;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21,29,32,0.7);
    opacity: 1;
    /*border-top: 3px solid steelblue;*/
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(47, 47, 79, 0.4);
    backdrop-filter: blur(8px);
    z-index:10;
    .navbar {
        width: 70%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        div {
            display: flex;
            gap: 2em;
            font-size: 1.2rem;
        }
    }
    .navbar a:not(.beskarfox) {
        text-decoration: none;
        color: var(--tertiary-color);
        font-family: Eurostile, sans-serif;
        transition: 0.5s;
        &:after {
            display: block;
            content: '';
            position: relative;
            background-color: var(--secondary-color);
            left: 0;
            bottom: -2px;
            width: 0;
            height: 2px;
            transition: ease 0.3s;
        }
        &:hover:after {
            width: 100%;
        }
    }

    .beskarfox {
        text-decoration: none;
        color: var(--tertiary-color);
        display: flex;
        align-items: center;
        gap: 0.5em;
        font-size: 1.2rem;
        div {
            display: block;
            border: solid 2px var(--main-color);
            width: 30px;
            height: 30px;
            background: url("../img/Beskarfox_TW.png") no-repeat center center;
            background-size: cover;

        }
    }
    .navbar a:hover {
        color: var(--secondary-color);
    }
}

.section-bienvenue {
    position: relative;
    background: url("../img/NewYork.JPG") center no-repeat;
    font-family: Eurostile, sans-serif;
    background-size: 100%;
    object-fit: contain;
    width: 100%;
    height: 30em;
    display: flex;
    align-items: center;
    /*border-bottom: solid 3px;*/
    /*border-image: radial-gradient(white,#112051)1;*/
    &:after {
        position: absolute;
        content: "";
        background-color: #00000040;
        width: 100%;
        height: 6em;
    }
    .bvn-text {
        position: absolute;
        left: 25%;
        z-index: 2;
        width: 55%;
        word-break: keep-all;

        h1 {
            margin: 0;
            font-size: 2.5em;
            color: #f3ffe1;
            animation: fadeIn 1s ease-in-out;
            &:nth-child(2) {
                padding-left: 5%;
                animation: fadeIn 4s ease-in-out;
            }
        }
    }
    .filter {
        width: 100%;
        background-image: linear-gradient(0deg, var(--bg1), rgba(27, 27, 70, 0.1) 100%);
    }
}
.filter {
    z-index: 1;
    position: absolute;
    height: 100%;
    /*backdrop-filter: blur(1px);*/
    background-color: rgba(27, 27, 70, 0.2);
}
.section-presentation {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--bg1);
    width: 100%;
    height: auto;
    padding: 2em 0;
    .me {
        animation: fadeIn 1s ease-in-out;
        z-index: 2;
        width: 80%;
        box-sizing: border-box;
        color: white;
        border-radius: 15px;
        background-color: rgba(128, 128, 128, 0.2);
        overflow: hidden;
        div:first-child {
            display: flex;
            flex-direction: row;
            justify-content: space-evenly;
            align-items: center;
            padding: 4em 6em;
            gap: 2em;
            p {
                padding: 1em;
                text-align: center;
            }
        }
        .PhotoNath {
            display: block;
            background: url("../img/PhotoNath.png") no-repeat center center;
            background-size: contain;
            width: 256px;
            height: 256px;
        }
        hr {
            visibility: hidden;
            height: 3px;
            background-color: var(--primary-color);
            border: none;
            border-radius: 10px;
        }
        h2 {
            font-family: Alegreya, serif;
        }
        p {
            animation: fadeIn 2s ease-in-out;
            font-family: Poppins, sans-serif;
            font-size: 1.4rem;
            padding: 0;
        }
        div:nth-child(3) {
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 4em;
            background-color: rgba(42, 42, 48, 0.2);
            color: var(--tertiary-color);
        }
    }
}

.title {
    z-index: 2;
    background-color: #00000040;
    width: 100%;
    height: 4em;
    margin-top: 48px;
    margin-bottom: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    /*box-shadow: inset 0 7px 9px -7px rgba(0, 0, 0, 0.7);*/
    h2 {
        font-weight: normal;
        font-size: 2em;
        z-index: 1;
        padding: 9px 0;
        color: var(--secondary-color);
        border-bottom: var(--secondary-color) solid 3px;
    }
}

.section-parcours {
    position: relative;
    animation: fadeIn 2s ease-in-out;
    z-index: 2;
    background-color: var(--bg1);
    background-image: linear-gradient(180deg, var(--bg1), rgba(21, 71, 145, 0.1) 50%, var(--bg1));
    background: url("/Assets/img/Solana.png");
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 10em;
    /*border-top: 4px solid rgba(21, 71, 145, 0);*/
    /*border-image: radial-gradient(white,#112051)1;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    .filter{
        z-index: 1;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(25px);
        background-color: rgba(0, 0, 0, 0.1);
    }
}

.tabs-titles:nth-child(1){
    justify-content: normal;
}
.tabs-titles {
    z-index: 2;
    width: 70%;
    margin-top: 4em;
    padding: 1em 1em 0;
    background-color: #00000040;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-bottom: 1px solid ;
    border-color: var(--primary-color-op50);

    gap: 3em;
    .tab-title1{
        margin: 0 0.5em 0.5em;
    }
    .tabs-title{
        color: var(--primary-color);
        cursor: pointer;
        margin: 0;
        transition: ease 0.3s;
        &:after {
            display: block;
            content: '';
            position: relative;
            background-color: var(--secondary-color);
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            transition: ease 0.3s;
        }
        :not(.open)&:after {
            width: 0;
        }
        &:hover {
            color: #86c0ff;
            &:after {
                background-color: #86c0ff;
                width: 100%;
            }
        }
    }
}

.tabs-contents {
    z-index: 2;
    width: 70%;
    height: auto;
    padding: 2em 1em;
    background-color: #00000020;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    align-items: center;
    .tabs-content {
        padding: 1.5em;
        font-size: 1.2em;
        width: 100%;
        p{margin: 0}
    }
    .tabs-content:not(.open) {
        display: none;
    }
    span {
        color: var(--secondary-color);
        font-family: Consolas, serif;
    }
}

.section-parcours2 {
    display: flex;
    animation: fadeIn 1s ease-in-out;
    position: relative;
    z-index: 3;
    background-color: var(--bg1);
    background: url("https://media.licdn.com/dms/image/C4D1BAQHmjh__UdJotg/company-background_10000/0/1583766434554/brand_developpement_cover?e=2147483647&v=beta&t=9CGH32xG85nwOhnGBvtR00wOpIqbj8nAW4GsuYNSu_w");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0 14% 8%;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    .filter {
        width: 100%;
        z-index: -1;
        background-image: linear-gradient(135deg, rgba(100, 71, 63, 0.8), rgba(42, 42, 42, 0.8), rgba(42, 42, 42, 0.8));
    }
    h2 {
        margin: 4em 1em 2em;
        font-size: xx-large;
        a {
            font-family: "Comfortaa", sans-serif;
            font-weight: bolder;
            color: #b8d4ff;
        }
    }
    p {
        margin: 0 0 1em;
        font-size: large;
    }
    .btn {align-items: start;
        a {
        border-color: #70a9ff;
        color: #70a9ff;
            align-items: start;
        }
    }
    div {
        padding: 0 4em;
        display: flex;
        flex-direction: column;
        text-align: start;
        align-items: start;
    }
}

.section-competences {
    animation: fadeIn 3s ease-in-out;
    position: relative;
    z-index: 3;
    background-color: var(--bg2);
    background-image: linear-gradient(180deg, var(--bg2), rgba(33, 21, 145, 0.35) 50%, var(--bg2));
    padding-bottom: 10em;
    border-top: solid #80808020;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    h3 {
        font-weight: normal;
        margin: 1em 3em;
        text-align: center;
    }
    hr {
        height: 2px;
        width: 50%;
        border-radius: 10px;
        margin: 4em 0;
        background-color: rgba(211, 211, 211, 0.50);
        border: none;
    }
    .skill-list {
        display: flex;
        gap: 20px;
        padding: 0 2em;
        > .skill {
            width: 100%;
            text-decoration: none;
            color: inherit;
            /*border: 6px solid rgba(255, 255, 255, 0.1);*/
            cursor: pointer;
            position: relative;
            background-color: rgba(255,255,255,0.1);
            border-radius: 10px;
            /*padding: 1em 1.5em;*/
            overflow: hidden;
            transition: 1s;
            --mouse-x: 0px;
            --mouse-y: 0px;

            &:before, .skill-border {
                content: '';
                background: #333333;
                border-radius: 50%;
                width: 100%;
                height: 100%;
                position: absolute;
                left: var(--mouse-x);
                top: var(--mouse-y);
                transform: translate(-50%, -50%) scale(1.5);
                filter: blur(50px);
                opacity: 0;
                transition: opacity .5s;
            }
            &:hover:before, &:hover>.skill-border{
                opacity: 1;
            }
            &:before {
                background: radial-gradient(
                        400px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06),
                        transparent 50%
                );
                z-index: 3;
            }

            .skill-border{
                z-index: 1;
                background: radial-gradient(
                        800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.9),
                        transparent 50%
                );
            }

            img,svg {
                float: left;
                padding: 5px 0 10px;
            }

            h4 {
                font-family: Consolas, serif;
                font-size: 1.2em;
                text-align: center;
                margin: 0;
                padding-bottom: 0.8em;
                padding-top: 0.4em;
            }

            .skill-content {
                position: relative;
                background-color: rgba(33, 33, 59, 1);
                border-radius: inherit;
                margin: 1px;
                height: calc(100% - 2px);
                width: calc(100% - 2px);
                z-index: 2;
                > div {
                    display: flex;
                    align-items: center;
                    gap: 1em;
                    padding: 0.8em 0.8em;
                    div {
                        display: flex;
                        flex-direction: column;
                        align-items: flex-start;
                        h3 {
                            text-align: inherit;
                        }
                        * {
                            margin: 0.2em
                        }
                        .status {
                            font-family: Consolas, serif;
                            margin-top: 0.6em;
                            .e {
                                color: lightgreen !important;
                            }
                            .c {
                                color: aquamarine !important;
                            }
                            .p {
                                color: lightsalmon !important;
                            }
                        }
                    }
            }   }
        }
    }
    .language-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: min-content;
        gap: 15px;
        padding-top: 1em;
        a {
            color: white;
            font-style: normal;
            text-decoration: none;
            div {
                display: flex;
                align-items: center;
                padding: 1em 1.2em;
                background-color: rgba(33, 33, 59, 1);
                border: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 6px;
                transition: 0.5s;
                &:hover {
                    background-color: rgba(39, 39, 64, 1);
                    border: 1px solid rgba(255, 255, 255, 0.4);
                }
                svg,img {
                    width: 30px;
                }
                p {
                    font-family: Consolas, serif;
                    padding-left: 10px;
                    color: white;
                    margin: 0.5em 0;
                    font-size: 1.6em;
                }
            }
        }
    }
}


.section-projets {
    background-color: var(--bg3);
    background-image: linear-gradient(180deg, var(--bg3), rgba(66, 21, 145, 0.25) 50%, var(--bg3));
    padding-bottom: 10em;
    border-top: solid #80808020;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    >div:not(.title):not(:last-child){
        padding-bottom: 3em;
    }
    .projet1,.projet2 {
        width: 80%;
        display: flex;
        flex-direction: column;
        align-items: center;
        .tabs-content > p.btn a {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
    }
}

.section-footer {
    background-color: var(--bg3);
    padding: 0;
    border: solid #80808020;
    border-width: 4px 0 1px;
    box-shadow: inset 0 -10px 10px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    .main-footer {
        width: 70%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 2em !important;
        a {
            color: #e7ffc2;
            font-style: normal;
            text-decoration: none;
        }
        div:nth-child(1) {
            text-align: left;
        }
        div:nth-child(2) {
            text-align: right;
        }
    }
}


/*@media screen and (max-width: 1100px) {*/
/*    .section-competences {*/
/*        & .skill-list {*/
/*            flex-wrap: wrap;*/
/*        }*/
/*    }*/
/*}*/
@media (max-width: 1450px) {
    .title {
        height: 6em;
    }
    .tabs-titles,.tabs-contents,.section-competences>.h3 {
        width: 90% !important;
    }
    p,h4 {
        font-size: xx-large !important;
    }
    h2,h3{
        font-size: 3em !important;
    }
    .section-projets {
        .projet1, .projet2 {
            width: 100%;}}
    .section-bienvenue {
        height: 35em;
        & .bvn-text {
            left: 15%;
            margin-top: 4em;
            width: 80%;
            h1 {
                font-size: 3.5em;}}}
    .section-presentation {
        & .me {
            width: 90%;
            .PhotoNath {
                width: 310px;
            }
            div:first-child {
                padding: 2em 0;
                flex-direction: column;}}}
    .section-competences {
        & .skill-list {
            justify-content: center;
            flex-wrap: wrap;
            > .skill {
            flex-wrap: wrap;
            width: 40%;
        }}}
    .section-footer {
        .main-footer {
            align-items: normal;
            flex-direction: column;
            gap: 3em;
        }}
}
@media (max-width: 1250px) {
    .section-competences {
        & .skill-list {
            > .skill {
                flex-wrap: wrap;
                width: 75%; !important;}}}
}
@media (max-width: 1000px) {
    .header {
        & .beskarfox {
            div {
                width: 55px;
                height: 55px;
            }}
        height: 100px;
        a {
            font-size: xxx-large;
        }
        .navbar {
            width: 85%;
        }
    }
}