@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,600);


html,
body {
    background-color: beige;



    font-family: arial;


}

h1 {

    /*margin: 10px auto;*/
     text-align: center;
    /*font-size: 500px;*/


    text-shadow: 0 1px 0 white, 0 1px 15px rgba(0, 0, 0, .2),
        0 2px 0 white, 0 3px 0 white,
        0 4px 0 white, 0 5px 0 white, 0 6px 0 white, 0 7px 0 white,
        0 8px 0 white, 0 9px 0 white, 0 10px 0 white, 0 11px 0 white,
        0 12px 0 white, 0 20px 30px rgba(0, 0, 0, .5);
    color: maroon;
  

    text-transform: uppercase;
    font-family: arial;
    font-weight: bold;
    transition: .5s;

}

.p-title {

    color: beige;
    font-family: arial;
    font-weight: bold;
    /* text-shadow: -1px 1px 14px rgba(255,0,0,0.99);*/

   /* text-transform: uppercase;*/

}

h1:hover {
    color: white;
    text-shadow: -1px -1px 20px rgba(0, 0, 0, 1);
}

.container {
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-around;
    position: relative;
    width: 100%;
}

.container section {
    width: 100%;
    height: 100vh;
    flex: 1;
    display: flex;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.container section:nth-child(1) .image {
    
    opacity: 1;
    background-attachment: inherit;
    background-size: cover; 
}


 @media(min-width: 1201px) {
	.container section:nth-child(1) .image {
			 background-image: url("../../imgs/first.jpg");
		}
     
     .mt {
         
         margin-top: 30px;
     }
	}

  @media(max-width: 1202px) {
	.container section:nth-child(1) .image {
			 background-image: url("../../imgs/im1.jpg");
		}
	}
	
  @media(max-width: 998px) {
	.container section:nth-child(1) .image {
			 background-image: url("../../imgs/im4.jpg");
		}
	}

@media(max-width: 988px) {
	.container section:nth-child(1) .image {
			 background-image: url("../../imgs/im5.jpg");
		}
	}

@media(max-width: 988px) {
	.container section:nth-child(1) .image {
			 background-image: url("../../imgs/im3.jpg");
		}
	}

.container section:nth-child(2) .image {
    background-image: url("../../imgs/2.jpg");
}

.container section:nth-child(3) .image {
    background-image: url("../../imgs/3.jpg");
}

.container section:nth-child(4) .image {
    background-image: url("../../imgs/4.jpg");
}

.container section:nth-child(5) .image {
    background-image: url("../../imgs/5.jpg");
}

.container section:nth-child(6) .image {
    background-image: url("../../imgs/6.jpg");
}

.container section:nth-child(7) .image {
    background-image: url("../../imgs/8.jpg");
}

.container section:nth-child(9) .image {
    background-image: url("../../imgs/9.jpg");
}

.container section:nth-child(8) .image {
    background-image: url("../../imgs/10.jpg");
}

.container section:nth-child(10) .image {
    background-image: url("../../imgs/11.jpg");
}

.container section:nth-child(11) .image {
    background-image: url("../../imgs/1.jpg");
}

.container section:nth-child(12) .image {
    background-image: url("../../imgs/8.jpg");
}


.container section .image {
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 500;
    opacity: 0.4;
}

.container section .stuff {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100%;
    width: 100%;
    max-width: 95%;
    justify-content: center;
    text-align: center;
    z-index: 1000;
    color: #e67e22;
    margin: 0 auto;
    /*font-size: 26px;*/
    position: relative;
}


.container section p {

    text-align: justify;

    color: white;

}

.container section .stuff img {
    width: 200px;
    text-align: center;
    align-items: center;
    align-content: center;

}

.container section .stuff h2 {
    /*font-size: 50px;*/
    color: rgba(225, 225, 225, .01);
    background-image: url("https://images.unsplash.com/photo-1499195333224-3ce974eecb47?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=2cf549433129d4227d1879347b9e78ce&auto=format&fit=crop&w=1248&q=80");
    background-repeat: repeat;
    -webkit-background-clip: text;
    animation: animate 15s ease-in-out infinite;
    text-align: center;
    text-transform: uppercase;
    font-weight: 30px;

}

@keyframes animate {

    0%,
    100% {
        background-position: left top;
    }

    25% {
        background-position: right bottom;
    }

    50% {
        background-position: left bottom;
    }

    75% {
        background-position: right top;
    }
}

.container section .stuff:before,
.container section .stuff:after {
    width: 100%;
    height: 1px;
    display: block;
    background-color: #d35400;
    content: "";
    margin: 30px 0;
}


.container section:nth-child(1) .stuff:before,
.container section:nth-child(1) .stuff:after {
    height: 0px;

}

.container section:nth-child(1) h1 {

   /* justify-content: flex-start;
    text-align: start;*/
    font-size: 50px;
}


.container section:nth-child(1) p {

   /* justify-content: flex-start;
    text-align: start;*/
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    color: inherit;
    text-decoration: underline;
}


.col-md-4 {

    margin-bottom: 25px;
}

.card {

    height: 100px;
    padding: 1em;
    border: none;
    outline: none;
    color: #2c3e50;
    position: relative;
    z-index: 0;
    border-radius: 10px;

}

.card h4 {
    font-size: 16px;
}

.card em {
    color: #cc2119;
    font-style: normal;
    font-size: 14px;
}

.card:hover h4 {
    color: #cc2119;

}

.card:hover em {
    color: #2c3e50;

}

.card:before {
    content: "";
    background: linear-gradient(45deg,
            #ff0000,
            #ff7300,
            #fffb00,
            #48ff00,
            #00ffd5,
            #002bff,
            #7a00ff,
            #ff00c8,
            #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}


.card:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    left: 0;
    top: 0;
    border-radius: 10px;
}






/* Desktop Navigation */
.navbar {
    padding: 0px;
    margin: 0px;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    color: #fff;


    white-space: nowrap;
    transition: 0.3s;
    font-size: 12px;
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 1px;
}

.nav-item .nav-link {

    background-color: rgb(0, 111, 184);
    margin: 3px;
    border-radius: 10px;
}

.nav-link:hover {

    background-color: rgb(182, 142, 82);
    color: black;
    margin: 3px;
    border-radius: 10px;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;


}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: black;
    letter-spacing: 3px;
}


.marron1 {
    background-color: rgb(182, 142, 82);
}

.marron2 {
    background-color: rgb(91, 61, 23);
}

.vert-fonce {
    background-color: rgb(17, 100, 51);
}

.blue {
    background-color: rgb(124, 166, 215);
}

.blue-fonce {
    background-color: rgb(0, 111, 184);
}

/**********************************/


.btn {
    padding: 0.5em 1em;
    background-color: #0ebac5;
    border: none;
    user-select: none;
    cursor: pointer;
    font-size: 20px;
    text-transform: uppercase;
    transition: all 0.5s linear;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.btn:hover::after,
.btn:hover::before {
    content: '';
    background: linear-gradient(90deg, #FC466B 0%, #3F5EFB 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;

    animation: move-right-side 1s ease infinite;
}

.btn:hover::before {
    background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);
    inset: 0;
    animation: move-left-side 1s ease infinite;
    z-index: -2;
}

.btn:hover {
    background-color: #fff;
    color: #00C9FF;
}

@keyframes move-right-side {
    0% {
        inset: 0.3em 0 0 0.3em;
        /*top | left */
    }

    33% {
        inset: 0 0.3em 0.3em 0;
        /*right| bottom*/
    }

    66% {
        /* top | right | bottom | left */
        inset: 1em 0 0 0.5em;
        /*top | right */
    }

    100% {
        inset: 0 1em 0.5em 0;
    }
}

/* Move left Side */

@keyframes move-left-side {
    0% {
        right: -1em;
        top: -0.5em;
    }

    33% {
        bottom: -1em;
        left: -0.5em;
    }

    66% {
        top: 0;
        right: -0.7;
    }

    100% {
        right: -1em;
        top: -0.5em;
    }
}






/*----------------------------------------------------*/

.listage {


    display: flex;
    align-items: center;
    justify-content: center;


}

.ul1 {
    padding: 0;
    list-style-type: none;
}

.li1 {
    /* font-size: 20px;*/
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 2em;
    font-family: sans-serif;
    text-transform: capitalize;
    position: relative;
    transition: 0.5s;
    /* margin: 0.8em;*/
    /* color: white;*/

    --c: white;
    color: var(--c);
    border: 0.3em solid var(--c);
    border-radius: 0.5em;

    margin-bottom: 10px;
    padding: 5px;
font-weight: bold;
    letter-spacing: 0.1em;
}

.li1::before,
.li1::after {
    content: '';
    position: absolute;
    /*width: 0.6em;
    height: 0.6em;
    background-color: gainsboro;
    border-radius: 50%;*/
    transition: 0.5s cubic-bezier(0.5, -0.5, 0.25, 1.5);
    top: calc(50% - 0.6em / 2);

}

.li1::before {
    left: 0;
    z-index: -1;
}

.li1::after {
    right: 0;
    z-index: -2;
}

.li1:hover {
    color: white;
    
}

.li1:hover::before,
.li1:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background-color: goldenrod;
}

.li1:hover::before {
    top: 0;
}

.li1:hover::after {
    right: -0.4em;
    filter: brightness(0.8);
}




/*--------------------------------------*/

.date {

    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.navd ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navd ul li {
    --c: white;
    color: var(--c);
    /*font-size: 15px;*/
    border: 0.3em solid var(--c);
    border-radius: 0.5em;
    width: 100%;
    height: 100%;
    /*text-transform: uppercase;*/
    font-weight: bold;
    font-family: sans-serif;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 3em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
    margin: 1em;
}

.navd ul li span {
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: var(--c);
    transform: translateY(150%);
    border-radius: 50%;
    left: calc((var(--n) - 1) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;
}

.navd ul li:hover {
    color: red;
}

.navd ul li:hover span {
    transform: translateY(0) scale(2);
}

.navd ul li span:nth-child(1) {
    --n: 1;
}

.navd ul li span:nth-child(2) {
    --n: 2;
}

.navd ul li span:nth-child(3) {
    --n: 3;
}

.navd ul li span:nth-child(4) {
    --n: 4;
}





/**************/

.overlay {

    background: rgba(255, 255, 255, 0.675);
    color: black;
    text-shadow: green;

    box-shadow: 0 0.75rem 2rem 0 rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.overlay > h2 {

    /*color: deepskyblue;*/
    padding-bottom: 2%;

}
