@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Londrina+Outline&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rampart+One&family=Ubuntu:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Audiowide&family=Honk:MORF@15&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Honk:MORF@15&display=swap');
:root {
    --ecriture: #f1f1f1;
    --background: #04041c;
}
body {
    font-family: 'Orbitron', sans-serif;
    background-color: var(--background);
    transition: 0.2s;
    color: var(--ecriture);
    scroll-behavior: smooth;
    cursor: default;;
    
}
button.changeTheme {
    border-radius: 100px;
    cursor: pointer;
    margin-left: 1290px;
    margin-top: 20px;
    margin-bottom: 0px;
    padding: 10px;
    background: transparent;
    border: 2px solid var(--ecriture);
    color: var(--ecriture);
    display: flex;
    font-size: 20px;
    animation-name: slide-theme;
    animation-duration: 2s;
    transition: background-color,  .7s;
}
button.changeTheme:hover{
    color: #04041c;
    background-color: #dad7cd;
    
}
.page-one h1{
    margin-top: 0px;
    text-align: center;
    font-size: 45px;
    color: var(--ecriture);
    transition: 0.4s;
    cursor: default;;
    animation-name: h1-slide;
    animation-duration: 2s;
}
@keyframes h1-slide {
    from{
        margin-bottom: 100%;
        width: 300%;
    }
    to{
        margin-bottom: 3%;
        width: 100%;
    }
}
.page-one span{
     font-family: "Honk", system-ui;
    color: #a42e06;
    font-size: 60px;
}
del{
    color: var(--ecriture);
}
.card{
    cursor: default;;
}
.first{
    border: 2px solid #7a7ae9;
    width: 300px;
    border-radius: 10px;
    margin-right: 150px;
    margin-left: 100px;
    transition: 0.4s;
    box-shadow: 1px 1px 9px var(--ecriture);
    position: relative;
    transition: transform .4s;
   
}
.first::before{
    content: 'Disponible';
    margin-left: 10px;
    background-color: #21cb2f;
    color: var(--ecriture);
    border-radius: 5px;
    padding: 4px;
    position: absolute;
    transform: rotate(-20deg);
    
}
.first h1{
    text-align: center;
    font-size: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}
.first h3{
    text-align: center;
    font-size: 24px;
    color: #7a7ae9;
}
.first:hover{
    transform: scale(1.1);
    box-shadow: 2px 2px 15px var(--ecriture);
}

.second{
    border: 2px solid white;
    width: 300px;
    border-radius: 10px;
    transition: transform .4s;
    margin-right: 150px;
    transition: 0.4s;
    box-shadow: 1px 1px 9px var(--ecriture);
}
.second::before{
    content: 'Non disponible';
    margin-left: 10px;
    background-color: #e71717;
    color: white;
    border-radius: 5px;
    padding: 4px;
    position: absolute;
    transform: rotate(-20deg);
    
}

.second h1{
    text-align: center;
    font-size: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    
}
.second h3{
    text-align: center;
    font-size: 24px;
    color: var(--ecriture);
}
.third{
    border: 2px solid #ee8484;
    width: 300px;
    border-radius: 10px;
    transition: transform .4s;
    margin-right: 150px;
    transition: 0.4s;
    box-shadow: 1px 1px 9px var(--ecriture);
}
.third::before{
    content: 'Disponible';
    margin-left: 10px;
    background-color: #21cb2f;
    color: var(--ecriture);
    border-radius: 5px;
    padding: 4px;
    position: absolute;
    transform: rotate(-20deg);
    
}

.third:hover{
    transform: scale(1.1);
    box-shadow: 2px 2px 15px var(--ecriture);
}
.third h1{
    text-align: center;
    font-size: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}
.third h3{
    text-align: center;
    font-size: 24px;
    color: #ee8484;
}

.card{
    display: flex;
}


.project h1{
    text-align: center;
    margin-top: 90px;

    font-size: 45px;
}

.project img{
    width: 140px;
    height: 140px;
    transition: 0.3s;
    transition: transform .3s;
}
.project img:hover{
    transform: scale(1.1);
}
.gif{
    text-align: center;
}
img{
    background-color: rgba(0, 0, 0, 0.847);
    border-radius: 10px;
}
.contact{

    margin-bottom: 50px;
}
.contact h1{
    font-size: 40px;
    text-align: center;

} 
.contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    font-size: 20px;
    font-family: 'Arial';
    cursor: pointer;
    color: var(--ecriture);
    text-decoration: none;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 100;
}
.contact a span{
    border: 2px solid var(--ecriture);
    border-radius: 7px;
    padding: 10px;
    padding-left: 25px;
    padding-right: 25px;
    transition: background-color .5s;
}
.contact a span:hover{
    background-color: var(--ecriture);
    color: var(--background);
    border: 2px solid var(--ecriture);
}

footer p{
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 110px;
    padding: 0;
}


@media screen and (max-width: 1175px) {
    header{
        text-align: center;
    }
    .card{
        display: block;
        justify-content: center;
        align-items: center;
    }
    .first{
        margin-left: 400px;  
        margin-bottom: 70px;
    }
    .second{
        margin-left: 400px;
        margin-bottom: 70px;
    }
    .third{
        margin-left: 400px;
        margin-bottom: 70px;
    }
    button.changeTheme{
        margin-left: 1060px;
    }
    
}
@media screen and (max-width: 765px){
    header{
        text-align: center;
    }
    .first{
        margin-left: 200px;
    }
    .second{
        margin-left: 200px;
    }
    .third{
        margin-left: 200px;
    }
    button.changeTheme{
        margin-left: 320px;
    }
}
@media screen and (max-width: 500px){
    header{
        text-align: center;
    }
    .first{
        margin-left: 100px;
    }
    .second{
        margin-left: 100px;
    }
    .third{
        margin-left: 100px;
    }
    button.changeTheme{
        margin-left: 200px;
    }
}

@media screen and (max-width: 460px){
    header{
        text-align: center;
    }
    .first{
        margin-left: 50px;
    }
    .second{
        margin-left: 50px;
    }
    .third{
        margin-left: 50px;
    }
    button.changeTheme{
        margin-left: 200px;
    }
}
@media screen and (max-width: 415px){
    header{
        text-align: center;
    }
    .first{
        margin-left: 30px;
    }
    .second{
        margin-left: 30px;
    }
    .third{
        margin-left: 30px;
    }
    button.changeTheme{
        margin-left: 150px;
    }
}