@font-face {
    font-family: 'Cookie';
    src: local('Cookie-Regular'),
        url('fonts/Cookie-Regular.woff2') format('woff2'),
        url('fonts/Cookie-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: local('Merriweather Light Italic'), local('Merriweather-LightItalic'),
        url('fonts/Merriweather-LightItalic.woff2') format('woff2'),
        url('fonts/Merriweather-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: local('Merriweather Light'), local('Merriweather-Light'),
        url('fonts/Merriweather-Light.woff2') format('woff2'),
        url('fonts/Merriweather-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Parisienne';
    src: local('Parisienne'), local('Parisienne-Regular'),
        url('fonts/Parisienne-Regular.woff2') format('woff2'),
        url('fonts/Parisienne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*, ::before,::after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body{
    width: 100%;
    height: 100vh;
    font-family: 'Cookie', cursive;
    background: #F8E1E6;
    color: #9F0531;
    
}
header{
    width: 100%;
     grid-area: header;
}
.parisienne-regular {
    font-family: "Parisienne", cursive;
    font-weight: 500;
    font-style: normal;
    font-size: 96px;
    text-align: center;

}
.background {
    height: 100vh;
    display: grid;
    justify-content: center;
    grid-template-rows: 1fr 7fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
    grid-template-areas: 
        "header header header header header"
        "main main main main main"
        "construct construct construct construct construct"
        ". footer footer footer .";
}
main {
    grid-area: main;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;   
}
main img{
    width: 100%;
    max-width: 600px;
    object-fit: contain;
}
.construct{
    grid-area: construct;
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100; 
    width: 100%;
    align-items: center;
    text-align: center;
    font-size: 54px;
}
footer{
    grid-area: footer;
    height: max-content;
    margin-bottom: 10px;
}
.footer{
    width: 100%;
    margin: 20px auto;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    font-size: 36px;
}
.footerGa{
    width: 600px;
    display: flex;
    justify-content: space-between;
    line-height: 60px;
}
div.logo{
    width: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
div.logo a{
    display: flex;
    align-items: center;
    text-decoration: none;
}
.footerGa img.Fb{
    width: 40px;
    height: 40px;
    border-radius: 5px;
    transition: transform 0.3s ease; /* Animation douce */
    transform-origin: center center; /* Point d’origine : le centre */
}
.footerGa img.Insta{
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease; /* Animation douce */
    transform-origin: center center; /* Point d’origine : le centre */
}
.footerGa img.Amazon{
    width: 42px;
    height: 42px;
    border-radius: 5px;
    transition: transform 0.3s ease; /* Animation douce */
    transform-origin: center center; /* Point d’origine : le centre */
}
.footerGa img.Fyctia{
    width: 40px;
    height: 40px;
    border-radius: 5px;
    transition: transform 0.3s ease; /* Animation douce */
    transform-origin: center center; /* Point d’origine : le centre */
}
.footerGa img:hover{
    transform: scale(1.2); /* Grossit à 110% */
}
.footerDr{
    line-height: 60px;
    font-size: 18px;
    display: flex;
    align-items: center;
}
/* Effet scintillement léger */
.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #FF9EBB;
  transform: rotate(45deg);
  animation: sparkleAnim 3s infinite;
}
.sparkle::before,
.sparkle::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #FF9EBB;
  border-radius: 50%;
}
.sparkle::before {
  top: -5px;
  left: 0;
}
.sparkle::after {
  top: 0;
  left: -5px;
}
@keyframes sparkleAnim {
  0% { transform: rotate(45deg) scale(0); opacity: 0; }
  50% { transform: rotate(45deg) scale(1); opacity: 1; }
  100% { transform: rotate(45deg) scale(0); opacity: 0; }
}
@media screen and (max-width:900px){

    .background {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "header"
            "main"
            "construct"
            "footer";
    }

}
@media screen and (max-width:620px){
    
    .parisienne-regular {
        font-size: 72px;
    }
    .construct{
        font-size: 36px;
    }
    .footer{
        font-size: 36px;
        margin: auto;
    }
    .footerGa{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 60px;
    }
}
@media screen and (max-width:450px){
    .background {
        grid-template-rows: 1fr 10fr 1fr 1fr;
    }
    .parisienne-regular {
        font-size: 56px;
    }
    .construct{
        font-size: 32px;
    }
}