@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 1.2rem;
    /*position: relative;*/
}



/* Home section */

.home {
    width: 100%;
    height: 100vh;
    background-image: url('/assets/img/2.jpg');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Crée l'effet parallax */
}



.btn-primary:hover {
    color: #fff;
    background-color: #209cd8;
    border-color: #004085;
}

.btn:focus, .btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn:active, .btn-primary:active {
    background-color: #209cd8;
    border-color: #004085;
    box-shadow: none;
}

.btn:disabled, .btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background-color: #209cd8;
    border-color: #209cd8;
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #111;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
    }
    .nav div.media_button {
        display: block;
    }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}





@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: #111;
}






.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}
@media all and (max-width:700px){
	.myP {
		padding:2%;
	}
}

.ccmi-info {
    font-size: 1rem;
    padding-top:1%;
    padding-left:10%;
    padding-right:10%;
}

@media (max-width: 768px) {
    .ccmi-info {
        padding-top:1%;
        padding-left:10%;
        padding-right:10%;
    }
}

@media (max-width: 480px) {
    .ccmi-info {
        padding-top:1%;
        padding-left:2%;
        padding-right:2%;
    }
}

.points {
    font-size:2rem;
    font-weight: bold;
}
.pos-btn {
    position:absolute;
    margin-left:80%;
    margin-top:0;
}

@media (max-width: 768px) {
    .pos-btn {
        position:absolute;
        margin-left:70%;
        margin-top:0;
    }
}

@media (max-width: 480px) {
    .pos-btn {
        position:absolute;
        margin-left:70%;
        margin-top:0;
    }
}

.Header{
	width: 100%;
	height: 150px;
	background: #209cd8;
}
.Nav {
    background: #209cd8;
    text-align: center;
    height: 40px;
    border-bottom: 6px solid #963a51;
    position: sticky; /* Ajout de la propriété sticky */
    top: 0; /* Le menu sera collé en haut de la page */
    z-index: 1000; /* Optionnel : pour s'assurer qu'il soit au-dessus d'autres éléments */
}



/* Pour éviter que le logo dépasse le menu */

.Nav-list{
	margin: 0;
	padding: 0;
}
.Nav-listItem{
	list-style-type: none;
	display: inline-block;
	overflow: hidden;
}
.Nav-listAnchor, .Nav-movilBoton{
	text-decoration: none;
	color: white;
	line-height: 40px;
	padding: 1rem;
	transition: .3s;
}
	.Nav-listAnchor:hover{
		background: #963a51;
		color: #ffffff;
	}
.Nav-movilBoton{
	display: none;
}
.Nav-movilMenu > .Nav-listItem{
	background: #54758D;
	border-bottom: 1px solid #963a51;
}
.Nav-movilMenu > .Nav-listItem:first-child{
	border-top: 1px solid #e0d8ca;
}

@media (max-width: 639px) {
	.Nav-list{
		display: none;
	}
	.Nav-listItem{
		display: block;
	}
	.Nav-listAnchor:hover{
		background: transparent;
		color: white;
	}
	.Nav-movilBoton{
		display: inline-block;
		padding: 0;
	}	
}
@media (min-width: 640px) and (max-width: 980px){
	.Nav{
		height: 80px;
		border-bottom: 6px solid #963a51;
		overflow: hidden;
	}
}
@media (min-width: 640px) and (max-width: 834px){
	.Nav-listItem:nth-child(1){
		margin-left: 25%;
	}
	.Nav-listItem:nth-child(3){
		margin-right: 25%;
	}
}
@media (min-width: 835px) and (max-width: 980px){
	.Nav-listItem:nth-child(1){
		margin-left: 30%;
	}
	.Nav-listItem:nth-child(3){
		margin-right: 30%;
	}
}

.header-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%; /* Image responsive */
    height: auto;
}

/* Media query pour les écrans de 639px ou moins */
@media (max-width: 639px) {
    .header-image img {
        width: 100%; /* Redimensionnement à un tiers de la taille */
    }
}
