@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&family=Courier+Prime:ital@0;1&display=swap');

/*  Définir les constantes de couleur   */


/*  Pour le mode sombre     */


/*.theme-clair {
    --color-primary: #0060df;
    --color-secondary: #fbfbfe;
    --color-accent: #fd6f53;
    --font-color: #000000;
}

.theme-sombre {
    --color-primary: #17ed90;
    --color-secondary: #2a2c2d;
    --color-accent: #12cdea;
    --font-color: #ffffff;
}*/


/*  Scrollbar perso     */

::-webkit-scrollbar {
    width: 10px;
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    background: #00a7cc1f;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #003d63;
    background-image: -webkit-linear-gradient(45deg, #ffa41b4f 25%, transparent 25%, transparent 50%, #ffa41b4f 50%, #ffa41b4f 75%, transparent 75%, transparent)
}

::-webkit-scrollbar-thumb:hover {
    border-radius: 5px;
    background-color: #000839;
    background-image: -webkit-linear-gradient(45deg, #ffa41b 25%, transparent 25%, transparent 50%, #ffa41b 50%, #ffa41b 75%, transparent 75%, transparent)
}

p {
    font-family: 'Comfortaa', cursive;
    font-size: 20px;
    padding-top: 50px;
    padding-bottom: 50px;
    text-decoration: none;
    letter-spacing: 0px;
    margin: 0;
    color: #000;
    text-align: justify;
}

p.center {
    text-align: center;
}

p.scenario {
    font-family: 'Courier Prime', monospace;
    color: #000;
}

h1 {
    font-family: 'Comfortaa', cursive;
    text-decoration: none;
    letter-spacing: 0px;
    margin: 0;
    font-size: 60px;
    color: #000;
}

h1.blanc {
    color: #ffffff;
}

h2 {
    font-family: 'Comfortaa', cursive;
    text-decoration: none;
    letter-spacing: 0px;
    margin: 0;
    font-size: 45px;
    color: #000;
    line-height: 1.5;
}

h3 {
    font-family: 'Comfortaa', cursive;
    letter-spacing: 1.5px;
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    border-width: 0 0 2px 0;
    border-style: solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, #ffa41b, #000a39);
}

h4 {
    font-family: 'Comfortaa', cursive;
    text-decoration: none;
    letter-spacing: 0px;
    margin: 0;
    font-size: 20px;
    color: #ffa41b;
    /*text-decoration: underline overline #00a8cc;*/
    border-width: 0 0 2px 0;
    border-style: solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, #00a8cc, #e0f4f9);
}

sup {
    vertical-align: super;
    font-size: smaller;
    line-height: normal;
}

a {
    font-family: 'Comfortaa', cursive;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: 0px;
    position: relative;
    color: #000;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

a.menu {
    color: #ffffff;
}

a:before {
    content: '';
    height: 25%;
    width: calc(50% + 5px);
    position: absolute;
    bottom: 0;
    left: -5px;
    z-index: -1;
    background-color: #ffa41b;
    -webkit-transition: height 0.2s ease;
    transition: height 0.2s ease;
}

a:after {
    content: '';
    height: 25%;
    width: calc(50% + 5px);
    position: absolute;
    bottom: 0;
    right: -5px;
    background-color: #ffa41b;
    z-index: -1;
    -webkit-transition: height 0.2s ease;
    transition: height 0.2s ease;
}

a:hover:after,
a:hover:before {
    height: 100%;
}

a:active {
    color: #ffffff;
}

.menuTop a::before {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0px;
    bottom: -4px;
    background: #ffffff;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .4s cubic-bezier(1, 0, 0, 1);
}

.menuTop a::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0px;
    bottom: -4px;
    background: #ffffff;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .4s cubic-bezier(1, 0, 0, 1);
}

.menuTop a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
    letter-spacing: 0.1em;
}


/* ---------------------------------- */

html,
body {
    margin: 0;
    height: 100%;
    /*background-color: #ffffff;*/
}

.home {
    display: flex;
    /*background-image: url(../img/fond.svg);*/
    /*padding-top: 80px;*/
    height: 100%;
    background-attachment: fixed
}

.home h1 {
    color: #fff;
}

.home p {
    color: #fff;
}

.fa,
.fab,
.fad,
.fal,
.far,
.fas {
    line-height: 80px;
}

li {
    font-family: 'Comfortaa', cursive;
}

nav#topMenu {
    transition: 0.3s;
    height: 80px;
    padding-left: 30px;
    padding-right: 30px;
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    top: 0;
}

label.logo {
    vertical-align: top;
    font-family: 'Comfortaa', cursive;
    font-size: 30px;
    font-weight: 600;
    color: #ffffff;
    line-height: 80px;
}

nav ul {
    float: right;
    margin: 0;
    z-index: 99999;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    font-weight: 500;
    font-size: 17px;
}

#container .element p {
    padding-bottom: 0;
}

.contain .element p {
    padding-bottom: 0;
}

.menubtn {
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 0;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

.prefTheme {
    color: white;
    float: right;
    line-height: 81px;
    margin-right: 30px;
    margin-left: 15px;
    padding: 0;
    cursor: pointer;
}

.fa-moon,
.fa-sun {
    color: #ffffff;
    font-size: 30px;
    line-height: 80px;
    vertical-align: sub;
    cursor: pointer;
}


/*--------------------------*/

.content {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    margin: 30px;
    text-align: center;
    padding-top: 10%;
}

.content p {
    margin-top: 2%;
    line-height: 50px;
}

.contentImg {
    display: inline-block;
    vertical-align: top;
    /*width: 50%;*/
    margin: 30px;
    text-align: center;
    padding-top: 100px;
}

.contentImgAc {
    display: inline-block;
    vertical-align: top;
    width: 40%;
    margin: auto;
}

.btn {
    font-family: 'Comfortaa', cursive;
    font-size: 20px;
    text-transform: uppercase;
    padding: 15px 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: 0.3s all cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 0;
}

.btn:after {
    content: "";
    border-radius: 50px;
    position: absolute;
    transition: 0.3s all cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn1 {
    text-align: center;
    border-radius: 50px;
    color: #ffffff;
    border: 2px solid #ffffff;
    width: 34%;
    margin-right: 7.5%;
    margin-left: 7.5%;
    margin-top: 2%;
    padding: 15px;
    z-index: 0;
}

.btn1:hover {
    border-radius: 50px;
    background: #000839;
    color: #ffffff;
}

.btn2 {
    text-align: center;
    border-radius: 50px;
    color: #05aacd;
    border: 2px solid #05aacd;
    width: 100%;
    margin-top: 10%;
    padding: 15px;
    z-index: 0;
}

.btn2:hover {
    border-radius: 50px;
    background: #000839;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.scroll {
    position: absolute;
    max-width: 50px;
    opacity: 50%;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.imgscroll {
    max-width: fit-content;
    max-width: max-content;
}

section.intro,
.contenuTexte {
    padding: 10% 10% 0% 10%;
    line-height: 40px;
}

section.intro,
.contenuTexte h2 {
    text-align: center;
}

article.mainTexte {
    padding: 5%;
    line-height: 40px;
}

#container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 50px;
}

.contain {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 50px;
}

#container .element {
    padding-top: 0;
}

.contain .element {
    padding-top: 0;
}

#container2 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 0;
}

.contain {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 0;
}

.element,
.elementImg1 {
    width: 45%;
}

.elementImg2 {
    margin-top: 35px;
    margin-bottom: 35px;
    width: 100%;
}

.element ul {
    display: block;
}

.elementImg1 {
    /*background-color: black;*/
    margin-top: 35px;
    margin-bottom: 35px;
}

.boite {
    display: block;
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 45%;
    background-color: #00a7cc1f;
    border-radius: 10px;
    padding: 20px 20px;
    z-index: 0;
    overflow: hidden;
}

.boite:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 100%;
    right: 100%;
    background: #000839;
    height: 2px;
    width: 2px;
    border-radius: 30px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: -webkit-transform 0.5s ease-out;
    transition: -webkit-transform 0.5s ease-out;
    transition: transform 0.5s ease-out;
    transition: transform 0.5s ease-out, -webkit-transform 0.5s ease-out;
}

.boite:hover:before {
    -webkit-transform: scale(880);
    transform: scale(880);
}

.boite:hover p {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    color: #ffffff;
}

#particles-js {
    position: absolute;
    background-image: url(../img/fond.svg);
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
    background-color: transparent;
    background-attachment: fixed;
}

img.fit {
    width: 100%;
}

img.fit2 {
    width: 75%;
}

img.fit3 {
    width: 50%;
    vertical-align: middle;
}

video {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    background-color: rgb(0 10 57 / 55%);
    backdrop-filter: blur(3px);
}


/* Modal Content */

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}


/* The Close Button */

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#myBtn:hover {
    background-color: #000a39;
    color: #ffa41b;
    border: 2px solid #ffa41b;
}

#myBtn {
    background-color: #ffa41b;
    color: #000a39;
    border: 2px solid #000a39;
    margin-top: 20%;
}

.column-video {
    float: left;
    width: 33.33%;
}


/* Clear floats after the columns */

.row-video:after {
    content: "";
    display: table;
    clear: both;
}

table.GeneratedTable {
    width: 100%;
    background-color: #ffffff;
    border-collapse: collapse;
    border-width: 2px;
    border-color: #ffcc00;
    border-style: solid;
    color: #000000;
    margin-top: 7%;
}

table.GeneratedTable td,
table.GeneratedTable th {
    border-width: 2px;
    border-color: #ffcc00;
    border-style: solid;
    padding: 3px;
}

table.GeneratedTable thead {
    background-color: #ffcc00;
}

.modal {
    z-index: 1;
    display: none;
    padding-top: 10px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-hover-opacity {
    opacity: 1;
    filter: alpha(opacity=100);
    backface-visibility: hidden
}

.modal-hover-opacity:hover {
    opacity: 0.60;
    filter: alpha(opacity=60);
    backface-visibility: hidden
}

.close {
    text-decoration: none;
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: #000a39;
}

.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}