@import url("https://use.typekit.net/jlg6aqa.css");

body {
    background: var(--color-bg--body);
    color: var(--color-text);
    font-family: craw-modern-urw, sans-serif;
    --color-text: #181a1e;
    --color-text-dark: #292a2c;
    --color-white: #1f1f1f;
    --color-bg--trans: transparent !important;
    --color-bg--body: rgb(255, 255, 255);
    --color-link: rgb(0, 80, 92);
    --color-link-hover: rgba(199, 221, 224, 0.57);
    --color-link-visited: rgba(0, 80, 92, 0.747);
    --color-link-active: rgb(41, 82, 88, .3);
    --color-box-shadow: rgb(41, 82, 88, .3);
}

/**/

/*selection de multiple texte avec souris*/
::selection {
    background: var(--color-link-active)
}

/*focus clic on*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:focus,
:focus {
    background: transparent;
    outline: none!important;
    border: none;
}

/*liens*/
a,
a:link {
    text-decoration: none;
    color: var(--color-text-dark);
    display: initial;
    transition: color 0.3s;
    cursor: crosshair;
}

a:visited {
    color: var(--color-text-dark);
    /*filter: invert();*/
}

a:hover {
    color: var(--color-link-active);
}

a:active {
    color: var(--color-text-dark);
}

/*spacing*/

.pad-1 {
    padding: 1em;
}

/*header*/
.header {
    position: fixed;
    width: calc(100% - 2em);
    z-index: 13;
    font-size: 12pt;
    display: flex;
    justify-content: space-between;
    padding: 1em
}

/*about overlay*/
.about {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 12;
    background-color: var(--color-bg--body);
    overflow-y: auto;
    overflow-x: hidden;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
}

.describe {
    font-size: 22pt;
    float: left;
    margin-top: 15vh;
    margin-left: 2vw;
    width: 90vw;
    height: 30vh;
    z-index: 6;
    color: black;
    height: auto;
    padding: 10px;
}

.experience {
    float: left;
    margin-top: 2vh;
    width: 45%;
    margin-right: 5vw;
    font-size: 15pt;
    margin-left: 2vw;
    height: auto;
    color: black;
    padding: 10px;
}

.describe a:hover,
.intern a:hover {
    font-style: italic;
}

.intern {
    float: left;
    margin-top: 2vh;
    width: 40%;
    /* font-family: Helvetica Neue; */
    font-size: 15pt;
    margin-left: 2vw;
    color: black;
    padding: 10px;
}

.describe,
.experience,
.intern {
    cursor: default;
}

@media all and (max-width: 768px) {

    .intern,
    .experience {
        width: auto;
    }
}

/*sections-sizing*/
.container {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
}

.wrapper {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
}

.wrapper.active {
    filter: blur(7px);
    transition: all 1s;
    -webkit-transition: all 1s;
}

#slider.swipe {
    overflow: hidden;
    visibility: hidden;
    position: relative;
    height: 100%;
    width: 100%;
}

.swipe-wrap {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
}

.swipe-wrap .swiper {
    float: left;
    width: 100%;
    position: relative;
    height: 100%;
    /* background: blue; */
}

.swipe-wrap .content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*buttons*/
button {
    background: none;
    border: none;
    outline: none;
}

.prev {
    position: absolute;
    left: 0;
    height: 100vh;
    width: 15%;
    top: 0;
    text-align: center;
    line-height: 100vh;
    font-size: 10pt;
    transition: all .5s;
    -webkit-transition: all .5s;
    cursor: url("https://jekeru.fr/assets/img/cursor.png"), ew-resize;
    z-index: 10;
}

.next {
    position: absolute;
    right: 0;
    height: 100vh;
    width: 15%;
    top: 0;
    text-align: center;
    line-height: 100vh;
    font-size: 10pt;
    transition: all .5s;
    -webkit-transition: all .5s;
    cursor: url("https://jekeru.fr/assets/img/cursor.pn"), ew-resize;
    z-index: 10;
}

@media all and (max-width: 768px) {

    .next,
    .prev {
        /* width: 50%; */
        display: none;
    }
}

/*tilt*/
@media all and (min-width: 769px) {
    .tilt {
        box-shadow: 0 3px 47px rgb(0 0 0 / 20%);
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: perspective(100%);
        transform: perspective(100%);
        position: relative;
        max-width: 96vh;
    }

    .grabbable {
        cursor: move; /* fallback if grab cursor is unsupported */
        cursor: grab;
        cursor: -moz-grab;
        cursor: -webkit-grab;
    }
    
     /* (Optional) Apply a "closed-hand" cursor during drag operation. */
    .grabbable:active {
        cursor: grabbing;
        cursor: -moz-grabbing;
        cursor: -webkit-grabbing;
    }
}