/*───────▄██████████████████▄───────
────▄███████████████████████▄─────
───███████████████████████████────
──█████████████████████████████───
─████████████▀─────────▀████████──
██████████▀───────────────▀██████─
███████▀────────────────────█████▌
██████───▄▀▀▀▀▄──────▄▀▀▀▀▄──█████
█████▀──────────────────▄▄▄───████
████────▄█████▄───────▄█▀▀▀█▄──██▀
████──▄█▀────▀██─────█▀────────█▀─
─▀██───────────▀────────▄███▄──██─
──██───▄▄██▀█▄──▀▄▄▄▀─▄██▄▀────███
▄███────▀▀▀▀▀──────────────▄▄──██▐
█▄▀█──▀▀▀▄▄▄▀▀───────▀▀▄▄▄▀────█▌▐
█▐─█────────────▄───▄──────────█▌▐
█▐─▀───────▐──▄▀─────▀▄──▌─────██▐
█─▀────────▌──▀▄─────▄▀──▐─────██▀
▀█─█──────▐─────▀▀▄▀▀─────▌────█──
─▀█▀───────▄────────────▄──────█──
───█─────▄▀──▄█████████▄─▀▄───▄█──
───█────█──▄██▀░░░░░░░▀██▄─█──█───
───█▄───▀▄──▀██▄█████▄██▀─▄▀─▄█───
────█▄────▀───▀▀▀▀──▀▀▀──▀──▄█────
─────█▄────────▄▀▀▀▀▀▄─────▄█─────
──────███▄──────────────▄▄██──────
─────▄█─▀█████▄▄────▄▄████▀█▄─────
────▄█───────▀▀██████▀▀─────█▄────
───▄█─────▄▀───────────▀▄────█▄───
──▄█─────▀───────────────▀────█▄──
──────────────────────────────────
▐▌▐█▄█▌▐▀▀█▐▀▀▌─█▀─█▀─▐▌▐▀█▐▀█─█─█
▐▌▐─▀─▌▐▀▀▀▐──▌─▀█─▀█─▐▌▐▀▄▐▀▄─█─█
▐▌▐───▌▐───▐▄▄▌─▄█─▄█─▐▌▐▄█▐─█─█▄█*/

/* AH, I SEE YOU'RE A MAN OF CULTURE AS WELL */


html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    font-size: 150%; /* rem */
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/********************************************** DIFFERENT STUFF **********************************************/
.barre {
    text-decoration: line-through;
}

.souligne {
    text-decoration: underline;
}

/******************************************************************************************************/
/********************************************** PAGE ONE **********************************************/
/******************************************************************************************************/

#page-one {
    background: radial-gradient(ellipse at center, rgba(249, 228, 234, 1) 0%, rgba(250, 225, 234, 1) 35%, #B7E8EB 100%);
    color: rgba(38, 38, 38, 0.9);
    overflow: hidden;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    letter-spacing: 6px;
    font-size: 1.9rem;
    text-align: center;
}

#page-one .presentation {
    overflow: hidden;
    font-size: 4.7rem;
    letter-spacing: .3rem;
    font-weight: 900;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

#name {
    background-color: rgba(1, 88, 140, 0.4);
}

#name:hover {
    cursor: pointer;
}

#name span {
    display: inline-block;
    position: relative;
    -webkit-transform: perspective(1000px) rotate3d(0,1,0,0deg);
    transform: perspective(1000px) rotate3d(0,1,0,0deg);
    -webkit-transition: -webkit-transform 0.5s, color 0.5s;
    transition: transform 0.5s, color 0.5s;
    -webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
    transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

#name:hover span {
    color: #fff;
    -webkit-transform: perspective(1000px) rotate3d(0,1,0,180deg);
    transform: perspective(1000px) rotate3d(0,1,0,180deg);
}

/*SUN*/

#sun {
    position: absolute;
    top: 10%;
    right: 15%;
    margin: auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    opacity: 0.9;
    box-shadow: 0 0 40px 15px white;
}

/*WAVES*/

#sea {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5%;
    width: 100%;
    background: #015871;
}

#wave-1, #wave-2 {
    position: absolute;
    top: -198px;
    width: 4000px;
    height: 198px;
    background: url("../img/wave.svg") repeat-x;
    transform: translate3d(0, 0, 0);
    animation: wave 10s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

#wave-2 {
    top: -175px;
    opacity: 1;
    animation: wave 10s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
}

@keyframes wave {
    0% {
        margin-left: 0;
    }

    100% {
        margin-left: -1600px;
    }
}

@keyframes swell {
    0%, 100% {
        transform: translate3d(0, -25px, 0);
    }

    50% {
        transform: translate3d(0, 5px, 0);
    }
}

/*ARROW-DOWN*/

#arrow-down {
    display: block;
    position: absolute;
    width: 40px;
    height: 60px;
    bottom: 5%;
    left: 50%;
    color: #fff;
    font-size: 1.8rem;
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

#arrow-down:hover {
    cursor: pointer;
}

@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -moz-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -moz-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -moz-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -moz-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

/******************************************************************************************************/
/********************************************** PAGE TWO **********************************************/
/******************************************************************************************************/

#page-two {
    background: -webkit-linear-gradient(to bottom, #015871 0%, #1e2430 100%);
    background: linear-gradient(to bottom, #015871 0%, #1e2430 100%);
    color: #c8d6e5;
    overflow: hidden;
}

#page-two h1 {
    display: table;
    font-size: 4.3rem;
    letter-spacing: -.15rem;
    word-spacing: 0.8rem;
    font-weight: 900;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    text-shadow: rgba(38, 38, 38, 0.9) 1px 0 20px;
    transition: color 250ms, text-shadow 250ms;
    position: relative;
    z-index: 0;
}

#page-two h1::after {
    position: absolute;
    z-index: -1;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    content: '';
    width: 85%;
    height: 4px;
    background-color: #343434;
    transition: all 250ms;
}

#page-two h1:hover {
    cursor: pointer;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 1);
}

#page-two h1:hover::after {
    height: 105%;
    width: 105%;
}

#page-two h2 {
    font-size: 1.7rem;
    font-family: "Roboto Mono", Arial, Helvetica, sans-serif;
    letter-spacing: -.15rem;
    word-spacing: 0.2rem;
    font-weight: 900;
    text-shadow: rgba(38, 38, 38, 0.9) 1px 0 20px;
}

#page-two svg {
    width: 100%;
    max-height: 60px;
}

.floor-is-lava {
    color: white;
}
#page-two .contact-link{
    text-decoration: none;
    color: white;
}

#page-two .contact-link i:hover{
    animation: bounce 1s infinite;
}

.floor-is-lava .container i {
    font-size: 1.9rem;
    vertical-align: middle;
    -webkit-transition: .3s time;
    -moz-transition: .3s time;
    -o-transition: .3s time;
    transition: .3s time;
}

.floor-is-lava .container a span {
    font-size: .9rem;
    font-family: "Roboto Mono", Arial, Helvetica, sans-serif;
    vertical-align: middle;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-40px);
        transform: translateY(-40px);
    }

    80% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}

#btn-mail, #btn-mail-2 {
    position: relative;
    right: 0;
    font-family: "Roboto Mono", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    color: white;
    background: none;
    cursor: pointer;
}

#btn-mail::before, #btn-mail::after, #btn-mail-2::before, #btn-mail-2::after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: '';
    border: 2px solid #fff;
    transition: transform .2s;
}

#btn-mail::before {
    transform: translate(-6px, -6px);
}

#btn-mail::after {
    transform: translate(6px, 6px)
}

#btn-mail:hover::before, #btn-mail:hover::after {
    transform: translate(0);
}

#page-two p {
    margin: 0.6rem 0 0;
    font-size: 0.9rem;
    font-family: 'Roboto Mono', Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
}

#page-two .box-left p {
    padding-left: 4rem;
}

#page-two .box-right p {
    padding-left: 3rem;
    padding-top: 2.5rem;
}

/******************************************************************************************************/
/******************************************** MEDIA QUERIES ********************************************/
/******************************************************************************************************/

/* Small devices (landscape phones, 544px and up) */
@media (max-width: 544px) {
    #page-one .presentation {
        font-size: 2.3rem;
        letter-spacing: -.2rem;
    }

    #page-one .carrousel {font-size: .8rem;}

    #page-two h1 {font-size: 2rem;}

    #page-two svg {opacity: 0}

    #page-two .box-left p {
        font-size: .6rem;
        padding-left: 20px;
        text-align: left;
    }

    #page-two .box-right p {
        font-size: .6rem;
        padding-left: 20px;
        text-align: left;
    }

    #page-two .row-sociaux i {
        font-size: 1.1rem;
    }

    #page-two .row-sociaux span {
        font-size: .6rem;
    }
}

@media (min-width: 544px) and (max-width: 768px) {
    #page-one .presentation {font-size:2.8rem;}

    #page-one .carrousel {font-size: 1.1rem;}

    #page-two h1 {font-size: 3rem;}

    #page-two #matrix-1 {display: none;}

    #page-two .main-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .col-mail {display: none;}

    .col-mail-2  {}

    #page-two .box-left p {
        font-size: .9rem;
        padding-left: 0;
        text-align: justify;
    }

    #page-two .box-right p {
        font-size: .9rem;
        padding-left: 0;
        text-align: justify;
    }

    #page-two .row-sociaux i {
        font-size: 1.6rem;
    }

    #page-two .row-sociaux span {
        font-size: .8rem;
    }
}
