@font-face {
    font-family: "Avenir light";
    font-weight: 140;
    font-style: normal;
    src: url();

}
@font-face {
    font-family: "Traviraj", serif;
    font-weight: 100;
    font-style: normal;
    src: url();
}

body {
    background-color: #f8f9f6;
    color: #ac2348;
    font-family: "Avenir light";
}

sup{
    line-height: 1;
}
.taviraj-extralight {
    font-family: "Taviraj", serif;
    font-weight: 200;
    font-style: normal;
  }
  




h2 {
    font-size: 40px;
    color: #014e4e;
    font-family: "Traviraj",serif;
    font-weight: 300;
    line-height: 1.2;

}

h3 {
    font-size: 8px;
    color: #ac2348;
    font-family: "Avenir light";
    font-weight: 400;
    text-align: end;
    


}





.header {
    display: grid;
    grid-template-columns: 1fr max-content max-content;
    justify-content: right;
    align-items: baseline;
    gap: 10px;
}



.header a {
    text-decoration: none;
    color: currentColor;
}

/* mobile */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    /*grid-template-rows: 100px 100px 100px; */
    justify-items: center;
    gap: 24px;
    justify-items: center;
    align-items: center;
}

/* tablette */
@media (min-width:640px){
    .grid{
        grid-template-columns: 1fr 1fr;
    }
}

/* desktop */
@media (min-width : 640px) {
    .grid{
        grid-template-columns: 1fr 1fr
    }
}


.grid img {
    transition: 0.3s ease-in-out;
}



.grid a {
    display: grid;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    text-decoration: none;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
}

.grid a img,
.grid a video,
.grid a span {
    grid-column: 1/-1;
    grid-row: 1/-1;

}


.grid a span {
    opacity: 0;
    transition: 0.3s ease-in-out;


}

.home .grid a:hover span {
    opacity: 1;
    z-index: 999;
}

.home .grid a:hover img {
    opacity: 0.5;
    transition: 0.3s ease-in-out;

}

.home .grid a:hover video {
    opacity: 0.5;
    transition: 0.3s ease-in-out;

}

img, video {
    max-width: 100%;
    height: auto;
}

