/*CSS pour la Page index.html*/

@keyframes navBar{
    0%{
        width: 0vh;
    }
    10%{
        width: 100vh;
    }
    100%{
        width: 0%;
    }}
@keyframes opacity{
    0%{
        opacity: 0%;
    }
    100%{
        opacity: 100%;
        text-shadow: 20px 20px 20px black;
    }}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    cursor: url(lib/cursor.svg), auto;
}

body{
    margin: 0;
    color: rgb(255, 255, 255);
    background-image: url(lib/background.jpeg);
    background-size: cover;
    background-attachment: fixed;
    font-family: neulis-sans;
}
a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    cursor: url(lib/cursor.svg), auto;}
header{
    display: flex;
    flex-direction: column;
    height: 10%;
    color: rgb(255, 255, 255);
    font-family : Abril;
    background: linear-gradient(#00000074, #00000000);
    margin-bottom: 5vh;
    justify-content: center;
    align-items: center;
    margin: auto;}
h1{
    font-size: 10dvw;
    font-family: joly-display;
    margin-top: 0dvh;
    margin-bottom: 3dvh;
    width: fit-content;
    text-shadow: 20px 20px 20px rgba(0, 0, 0, 0.215);
    cursor: pointer;
}
nav{
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    font-family: neulis-sans;
    font-weight: 800;
    font-style: italic;
    font-size: 2vh;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.367);}
nav>div:hover{
    text-decoration: underline;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.454);}
main{
    display: flex;   
    width: 100%; 
    justify-content: space-around;
    height: 100%;
    text-shadow: 3px 3px 5px #0000006f;}
.column{
    width: 30%;
    height: 100%;
    position: relative;}
img, video{
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: 0.5s;
    margin: 3vh 0; 
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.099);
    cursor: pointer;}
.a{
    height: 75vh;
    object-fit: cover;}
.b{
    height: 50vh;
    object-fit: cover;}
.c{
    height: 25vh;
    object-fit: cover;}
.d{
    height: 160vh;
    object-fit: cover;}
.index-div{
    display: flex;
    text-align: center;}
.index-text{
    margin: auto;}
img:hover{
    filter: grayscale(0%);
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.336);}
video:hover{
    filter: grayscale(0%);
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.336);}
footer{
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.731));
    width: 100%;
    height: 20vh;
    margin-top: 5vh;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*CSS pour la Page contact.html*/

.main-info{
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-around;}
h2{
    text-align: center;}
.main-center-text{
    text-align: justify;
    width: 30vh;}
.justify-text{
    text-align: justify;}
.center-text{
    text-align: center;}
.reseau:hover{
    text-decoration: underline;}
.important{
    text-decoration: underline;
    font-weight: 800;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.143);}

/*CSS pour les projets*/

.projet-main{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: auto;}
.projet-main>img{
    height: 75vh;
    width: auto;
    object-fit: contain;}
.projet-text{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: justify;}
.projet-text>p{
    width: 40vh;}

@media screen and (max-width: 600px){  
    nav {
        position: fixed;
        top: 0;
        left: -50dvw;
        background-color: rgba(75, 75, 75, 0.542);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: start;
        gap: 2dvh;
        width: 40dvw;
        height: 100%;
        padding-top: 10dvh;
        padding-right: 1dvw;
        z-index: 1;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
        transition: all 0.5s ease-in-out;
    }
    nav div{
        min-width: 20dvw;
        height: fit-content; 
    }
    nav div a {
        text-shadow: none;
        text-align: right;
        font-size: 3dvw;
    }
    .bar{
        background-image: url(lib/nav.svg);
        height: 7dvw;
        width: 7dvw;
        z-index: 2;
        position: fixed;
        top: 3dvh;
        left: 8dvw;
        transition: all 0.5s ease-in-out;
    }
    .active{
        position: fixed;
        top: 0;
        left: 0;
    }
    .bar:hover{
        cursor: pointer;
    }
    .barActive{
        transform: rotate(90deg);
        transition: all 0.5s ease-in-out;
    }
    main{
        flex-direction: column;
        width: 80%;
        height: 100%;
        margin: auto;
    }
    .column {
        width: 100%;
    }
    .responsiveCard{
        height: 25vh;
    }
}