@font-face {
    font-family:"halo";
    src: url(fonts/halo.ttf);
}
@font-face {
	font-family:"halolisible";
    src: url(fonts/halo_lisible.ttf);
}



body {
    margin:0;
    background-image: url(img/halo_background.jpg);
	background-size: cover;
	background-attachment: fixed; 
	background-position: center;
    color: #e0e0e0;             
    font-family: "Calibri", sans-serif;
}

main {
	padding: 30px;
}

.main-content {
	background-color: #1a0a2e;
	padding: 22px;
	border-radius: 15px; 
	box-shadow: 0 0 40px rgba(0,0,0,0.8);  
	text-align: justify;
}
h1 {
    color: #b1c5dd;
	font-family: "halo";
}


header {
    background-image: url(img/halo_banner.jpg);
    background-size: cover; 
    background-position: center;
    display: flex;               
    justify-content: space-between;
    align-items: center;      
	height: 90px;      
    overflow: hidden;  
}
header a {
    color: #fff;               
    text-decoration: none;     
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
    font-size: 1.6rem;         
    padding: 10px;        
}
#logo {
    height: 200px;     
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
}
#navtopright img {
    height: 100px;
}
#navtopright {
	display: flex;
	align-items: center;
	padding: 0;
	margin: 0;
	align-self: stretch;
}
#navtopright a {
    padding: 0; 
}

#navtop {
    margin-left: 200px; 
	font-family: "halolisible";
}
header a:hover {
    background-color: transparent;
}
#navtop a:hover {
    background-color:rgba(180,180,180,0.2);
}




#hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}
#hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
#hero h2 {
    position: absolute;
    top: 10%;
    right: 10%;
	background-color: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255,255,255,0.5);
    color:  #1a0a2e;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin: 0;
}

.grid-contenu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:40px;
	padding: 30px;
}

.grid-contenu h2 {
	text-align: center;
    font-size: 2rem;    
    color: #4fc3f7;          
    margin-bottom: 15px;
}

.colonne-droite img {
	max-width: 100%;
	height: 150px;
	border-radius: 8px;
}

.colonne-droite {
	display: grid;
    place-items: center;
}


.video {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    margin: 20px auto;
}

.video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.text-video {
	text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;  
    color: #ffffff;
}



.main-content > h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #4fc3f7;
    font-family: "halolisible";
}
.contenu-texte p{
	margin: 0 auto 30px auto;
	font-size: 1.2rem;
	line-height: 1.7;
	box-shadow: 0 0 15px rgba(79,195,247,0.2);
}
.contenu-image {
	text-align: center;
	margin: 30px auto;
	max-width: 700px;
}

.contenu-image img {
	height: 100%;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.4);
}

.timeline {
    position: relative;
    width: 90%;
    margin: 40px auto;
	line-height: 1.7;
	box-shadow: 0 0 15px rgba(79,195,247,0.2);
}
.timeline::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        background-color: #4fc3f7;        
}
.evenement {
    width: 50%;
    margin-bottom: 50px;
}
.evenement.gauche {margin-left: 0;}
.evenement.droite {margin-left: 50%;}

.evenement .contenu {
	padding: 15px 20px;
	max-width: 500px;
    margin: 0 auto;
}
.evenement .contenu h3 {
	text-align: center;
	color: #4fc3f7;
	margin-top: 0;
}

.evenement .contenu p {
    margin: 0;
}




#intro, #technique, #multijoueur, #culturel, #generation {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px 20px;
    border-bottom: 1px solid rgba(79, 195, 247, 0.15);
    margin-bottom: 20px;
}
#intro img, #technique img, #multijoueur img, #culturel img, #generation img {
    width: 300px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0; 
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}
#intro div, #technique div, #multijoueur div, #culturel div, #generation div {
    flex: 1;
}
#technique, #culturel {
    flex-direction: row-reverse;
}
#intro h3, #technique h3, #multijoueur h3, #culturel h3, #generation h3 {
    color: #0b621b;
	font-size: 1.6rem;
    margin-top: 0;
}


.page-jeux .evenement .contenu {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}
.mcc {
	text-align: center;
	margin: 30px auto;
	max-width: 700px;
}

.mcc img {
	height: 100%;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.4);
}

.letrrine {
    font-size: 3rem;
    font-weight: bold;
    line-height: 0.1;
    margin-right: 5px;
    color: #4fc3f7;
    text-shadow: 0 0 10px rgba(79,195,247,0.6);
    font-family: "halo", sans-serif;
}

/*Footer*/
footer {
    display: flex;
    flex-direction: row;
	justify-content: space-between;
	align-items: center;
    background-color: #0b621b;
    color: #e0e0e0;
    padding: 15px 30px;
	margin-top: 20px;
}
.footer-text {
    text-align: center;
    margin: 0 auto;
    font-size: 1.4rem;
}
.home {
    align-self: center;
}
.icons {
    display: flex;
    justify-content: center;
    gap: 50px;
}
.home a,.icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.home img,.icons img {
    width: 30px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, transform 0.3s ease;
}
.home img:hover,.home img:active,.icons img:hover,.icons img:active {
    filter: brightness(0) invert(0.8);
    transform: scale(1.1);
}

/*responsive*/
@media screen and (max-width: 900px) {
    main {
        padding: 15px;
    }

    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        padding: 10px 0;
    }
    header h1 {
        font-size: 1.4rem;
    }
    #logo {
        height: 60px;
    }
    #navtop {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        align-items: center;
    }
    #navtopright {
        align-self: center;
    }
    #navtopright img {
        height: 60px;
    }



    #hero img {
        height: 220px;
    }

    #hero h2 {
        font-size: 0.9rem;
        top: 5%;
        right: 5%;
        padding: 5px 8px;
    }


    .grid-contenu {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 20px;
    }

    .grid-contenu h2 {
        font-size: 1.5rem;
    }

    .colonne-droite {
        display: block;
    }

    .colonne-droite img {
        width: 100%;
        height: auto;
    }


    .video {
        max-width: 100%;
    }

    .main-content > h2 {
        font-size: 1.8rem;
    }


    .contenu-texte p {
        font-size: 1rem;
    }

    .contenu-image img {
        width: 100%;
        height: auto;
    }

    .timeline {
        width: 100%;
    }

    .timeline::before {
        left: 8px;
    }


    .evenement {
        width: 90%;
        margin-left: 25px !important;
        margin-bottom: 30px;
    }

    .evenement .contenu {
        max-width: 100%;
    }

    .evenement .contenu h3 {
        font-size: 1rem;
        text-align: left;
    }




    #intro, #technique, #multijoueur, #culturel, #generation {
        flex-direction: column;
        gap: 15px;
        padding: 15px 10px;
    }
    #technique, #culturel {
        flex-direction: column;
    }
    #intro img, #technique img, #multijoueur img, #culturel img, #generation img {
        width: 100%;
        height: 180px;
    }
    #intro h3, #technique h3, #multijoueur h3, #culturel h3, #generation h3 {
        font-size: 1.3rem;
        text-align: center;
    }



    .mcc img {
        width: 100%;
        height: auto;
    }




    .grille-wireframes {
        flex-direction: column;
        align-items: center;
    }
    .grille-wireframes img {
        height: auto;
        width: 85%;
    }




    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }
    .footer-text {
        font-size: 1rem;
        margin: 0;
    }
    .icons {
        gap: 30px;
    }
}


/*CSS page information */
.info-auteur {
    margin-bottom: 40px;
    padding: 20px;
    border-left: 3px solid #4fc3f7;
}

.info-auteur a {
    color: #4fc3f7;
    text-decoration: none;
}

.info-auteur a:hover {
    text-decoration: underline;
}

.wireframes h3 {
    color: #4fc3f7;
    font-family: "halolisible";
    margin: 30px 0 15px 0;
}

.grille-wireframes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.grille-wireframes figure {
    margin: 0;
    text-align: center;
}

.grille-wireframes img {
    height: 300px;
    width: auto;
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 6px;
}

.grille-wireframes figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #4fc3f7;
}
