body {
    font-family: "IBM Plex Sans", sans-serif;
    margin: 30px 0 0;
    line-height: 160%;
    font-size: 16px;
    color: white;
    padding: 0 2px;
}
a {
    transition: 0.5s linear;
    text-decoration: none;
}
h1 {
    font-family: "Jacques Francois", serif;
    font-size: 67px;
    color: #E21711;
    margin: 0 0px 7px 0;
}
h2 {
    font-family: "Instrument Serif", serif;
    font-size: 38px;
    line-height: 110%;
    margin: 0 0 20px;
    text-align: center;
}
h3 { 
    font-size: 28px; 
    text-align: center;
line-height: 120%;}
h4 { 
    font-size: 21px; 
    margin-bottom: 0; 
    text-align: center;
    margin-top: 20px;}

.credit__link{
    color: #415177;
    margin: 5px 10px;
}
.page__credit{
    padding: 50px 10%;
}
.credit__link:focus, .credit__link:hover{
    color: #FFDBDF;
}
.credit__title{
    color: #E21711;
}
p {
    margin: 5px 5px 5px 10px;
    max-width: 80ch;
}
img {
    width: 100%;
    display: block;
    border-radius: 20px;
}
.projet__title{
    margin: 20px;
}
.title__50 { 
    margin-left: 20px; 
    opacity: 0.5; }
.title__25 { 
    margin-left: 40px; 
    opacity: 0.25; }
.title__25--helloworld { 
    margin-left: 15px; }
.title__50--helloworld { 
    margin-left: 10px; }

.header {
    text-align: center;
    padding-bottom: 50px;   
    margin-top: 50px;
}
.header--index { 
    margin: 50px 2%; }
.header--helloworld h1 { 
    font-size: 59px; }
section { 
    padding: 10px 10%; }
.Indexdex--text, .description, .tab__content--active {
    background-color: #394865;
}
.Indexdex {
    padding: 50px 5%;
    margin: 0; }
.projet {
    position: relative;
    width: 95%;
    margin: 20px auto 50px;
    padding: 10px 0;
}
.projet__overlay {
    position: absolute;
    inset: 0;
    background-color: #E21711;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0);
    transition: 0.5s linear;
    text-align: center;
}
.projet:hover .projet__overlay { 
    transform: scale(1); }

.projet__link {
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 5px 10px;
    border-radius: 20px;
    color: #394865;
    width: fit-content;
    margin: 0 auto;
}

.projet__link:hover {
    background-color: #394865;
    color: white;
}

.btn {
    padding: 5px 25px;
    border-radius: 30px;
    background-color: #E21711;
    color: white;
    width: fit-content;
}
.btn:hover, .btn:focus { 
    background-color: #394865; }
.btn--accueil { 
    margin: 50px 20px; }
.btn--projet { 
    display: flex; 
    margin: auto; }
.title__dev{
    color: #394865;}
.tab__nav {
   display: flex;
   list-style: none;
   margin: 0 4%;
   padding: 0;
}
.tab__el {
   padding: 5px;
   border-radius: 15px 15px 0 0;
   background-color: #394865;
   border: 2px solid white;
}
.tab__el a { 
    color: white; }
.tab__content { 
    display: none; }
.tab__content a { 
    color: #A5EBF3; }
.tab__content a:hover { 
    color: #FFDBDF; }
.tab__content--active {
   display: block;
   padding: 20px;
   border-radius: 20px;
   margin-bottom: 20px;
}
.tab__el--active { background-color: #E21711; }
.police{
    line-height: 90%;
    margin: 0 ;
    margin-bottom: 10px;
}
.polices--Lobster { 
    font-family: "Lobster", sans-serif; }
.polices--Tinos { 
    font-family: "Tinos", serif; }
.polices--vastshadow { 
    font-family: "Vast Shadow", serif; }
.polices--gupter{
    font-family: "Gupter", serif;
}
.polices--english{
    font-family: "IM Fell English", serif;
}
.polices--italianate{
    font-family: "Italianate Regular";
}
.polices--worksans{
    font-family: "Work Sans", sans-serif;
}
.polices--jersey{
    font-family: 'Jersey 10';
}
.polices--roboto{
    font-family: "Roboto", sans-serif;
}
.polices--source{
    font-family: "Source Code Pro", monospace;
}
.design__1 p, .design p, .tab__containner--janus{ 
    text-align: center;
    margin: auto;}

.list__reseau{
    display: flex;
    list-style-type: none;
    justify-content: center;
    margin: 20px auto;
}
.reseaux__alberta{
    fill: #A5EBF3;
    transition: 0.5s;
    margin: 20px 10px;
}
.reseaux__alberta:focus, .reseaux__alberta:hover{
    fill: #FFACB7;
}
.BackToTop {
    position: fixed;
    inset: auto 0 0 auto;
    display: none; 
}
.BackToTop__icon {
    rotate: -90deg;
    fill: white;
    background-color: #E21711;
    border-radius: 50%;
    transition: 0.5s;
}
.BackToTop--show { 
    display: inline; margin: 1%; }
.prototype{
    border-radius: 0;
}

footer {
    background-color: #7E008F;
    color: #CAE7E7;
    padding: 20px 10px;
}
footer a { 
     
    color: white; }
footer a:focus, footer a:hover { 
    color: #415177; }
.footer__link--credits, .footer__link--mail{
    text-align: center;
}
.footer__link--mail{
    margin-left: 20%;
}
   .tab__containner p{
        text-align: center;
        margin: auto;
    }
@keyframes sortir--d {
    from { transform: translateX(0); 
        opacity: 1; }
    to { transform: translateX(50%); 
        opacity: 0; }
}
.sortir--d { animation: sortir--d 0.3s forwards; }

@keyframes entrer--g {
    from { transform: translateX(-50%); 
        opacity: 0; }
    to { transform: translateX(0); 
        opacity: 1; }
}
.entrer--g { animation: entrer--g 0.3s forwards; }

@keyframes sortir--g {
    from { transform: translateX(0); 
        opacity: 1; }
    to { transform: translateX(-50%); 
        opacity: 0; }
}
.sortir--g { animation: sortir--g 0.3s forwards; }
@keyframes entrer--d {
    from {
        transform: translateX(50%);
         opacity: 0; }
    to { 
        transform: translateX(0); 
        opacity: 1; }
}

.entrer--d { animation: entrer--d 0.3s forwards; }
@media(min-width : 800px){
    .header, .header--index, .header--helloworld{
        padding: 200px 100px ;
    }
    body{
        font-size: 19px;
    }
    h1, .header--helloworld h1{
        font-size: 80px;
    }
    h2{
        font-size: 45px;
    }
    h3{
        font-size: 34px;
    }
    h4{
        font-size: 25px;
    }
    .projet__title{
        margin: 10px;
    }
    .projet{
        margin-bottom: 0;
    }
    .Indexdex--projet{
        display: grid;
        grid-template-columns: 
        repeat(2, 1fr);
         padding: 0 5%;}
    .projet--somenews, .projet--redesign{
        grid-column: 2;}
    .projet--helloworld, .projet--codekit, .projet--janus{ 
        grid-column: 1;}
    h2{ grid-column: 1 / -1;}
    .index__text{
        margin: 15px auto; 
        width: fit-content;}
    }  
     .tab__containner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .tab__containner--janus{
        border-radius: 20px;
    }
     .img__design{
        grid-column: 1 / -1;
    }
        h2, h3, .text__groupe { 
        grid-column: 1 / -1; }
        
@media(min-width: 1200px) {
    .projet__title{
        margin: 25px;
    }
    .projet{
        padding: 0;
    }
    .Indexdex--text, .description,.design, .footer {
        display: grid;
        gap: 50px;
        padding: 10%;
    }
    .Indexdex--projet{
        padding-bottom: 50px;
        font-size: 22px;
    }
    .Indexdex--text{
         grid-template-columns: repeat(6, 1fr); }
    .description {
        grid-template-columns: repeat(7, 1fr);
        padding: 50px 150px;
        gap: 20px;
    }
    .footer, .design  {
        grid-template-columns: repeat(3, 1fr);
        margin: 0 ;
        padding: 0;
        column-gap: 5px;
        row-gap: 10px;
    }
 

    .index__text { 
        grid-column: 3 / 5; }
    .description__img { 
        grid-column: 1 / 5; 
        margin: auto; }
    .description__text { 
        grid-column: 5 / 8; margin: 15px; }
    .polices--Lobster{
        grid-column: 2; }

    .polices{
        margin-top: 0;
    }
    .text__taille, .police__position{
        margin: 0 5%;
    }
    .tab__containner--janus{
        text-align: center;
        margin: auto;
    }
    .storyboard, .prototype--1, .prototype--3 {
        grid-column: 1;
        display: flex;
        margin-left: auto;
    }
    body {
         font-size: 22px; 
        line-height: 170%; }
    h1, .header--helloworld h1 { 
        font-size: 123px; }
    h1 { 
        margin-bottom: 15px; }
    h2 { 
        font-size: 69px; 
        margin: 20px 0; }
    h3 { 
        font-size: 45px; }
    h4 { 
        font-size: 34px; 
        margin:0 auto;}
    .header { 
        padding: 200px 0 300px; }
    .title__50 { 
        margin-left: 40px; }
    .title__25 {
        margin-left: 80px; 
        margin-right: 0; }
    section { 
        padding: 50px 150px; }
    .tab__content--active {
         padding: 20px 40px; }

    .credit__link{
        display: flex;
        margin: auto;
    }
    .footer__link--mail{
        grid-column: 2/ 4;
        margin-left: 0;

    }
    .contacter{
        margin-bottom: 10px;
    }
    .footer__link--credits{
        grid-column: 2;
    }
    .cryto{
        grid-column: 2 /4;
        text-align: end;
    }
}