﻿.ms-madi-regular {
    font-family: "Ms Madi", cursive;
    font-weight: 400;
    font-style: normal;
}

.mrs-saint-delafield-regular {
    font-family: "Mrs Saint Delafield", cursive;
    font-weight: 400;
    font-style: normal;
  }
 
  .dm-serif-text-regular {
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
  }


body {
    margin: 0;
    padding: 0;
    background: rgb(121,9,115);
    background: linear-gradient(0deg, rgba(121,9,115,1) 0%, rgba(255,255,255,1) 27%, rgba(255,255,255,1) 92%, rgba(255,207,204,0.7259278711484594) 100%); 
    font-family: dm-serif-text-regular, sans-serif;
}

header {
    background-color: transparent;
    color: black;
    padding: 1rem;
    text-align: center;

}
h1 {
    text-align: center;
}
h2 {
    text-align: center;
}

.contact-info {
    text-align: center;
}
    header h1 {
        margin: 0;
        font-family: Mrs Saint Delafield, cursive;
        font-size: 80px;
    }
.logo-container {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    z-index: 100;
}

.logo {
    height: 50px;
    width: 50px;
    margin-left: 10px;
}


        nav ul li {
            display: inline;
            margin: 0 1rem;
        }

            nav ul li a {
                color: black;
                text-decoration: underline;
                font-family: Comic Sans MS;
            }
a:hover {
    text-decoration: none;
}
    #hero img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }

    #hero h1 {
        padding-bottom:-200px;
        text-align: center;
        font-family: Ms Madi, cursive;
        font-size: 40px;
    }
    

    main {
        padding: 2rem;
    }

    section {
        margin-bottom: 2rem;
    }
@media screen and (max-width: 768px) {
    .logo-container {
        position: static;
        top: auto;
        right: auto;
        justify-content: center;
        display: none; /* Hide the logos by default on small screens */
    }
}
    #services h2 {
        font-family: Ms Madi, cursive;
        font-size: 40px;
    }
    #services1 h2 {
        font-family: Ms Madi, cursive;
        font-size: 40px;
    }
    .liste-gauche{
        text-align: left;
    }

    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }

    #portfolio h2 {
        padding-top:40px;
        font-family: Ms Madi, cursive;
        font-size: 40px;
    }
.hexagon-container {
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

.hexagon-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transform: rotateX(90deg) translateZ(-130px) translateY(-200px);
    filter: blur(200px);
    z-index: -1;
}
.hexagon {
    position: relative;
    width: 200px;
    height: 230px;
    background-color: #fff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    transition: transform 0.3s, filter 0.3s;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

        .hexagon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: filter 0.3s;
        }

.hexagon-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;

}

    .hexagon:hover {
        transform: scale(1.1);
    }

        .hexagon:hover img {
            filter: blur(5px);
        }

        .hexagon:hover .hexagon-content {
            opacity: 1;
        }
.hexagon-container:hover .hexagon-shadow {
  transform: rotateX(90deg) translateZ(-130px) scale(1.2);
}
    form {
        display: flex; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

        form label {
            margin-top: 1rem;
        }

        form input, form textarea {
            padding: 0.5rem;
            margin-top: 0.5rem;
        }

    #contact h2 {
        padding-top: 40px;
        font-family: Ms Madi, cursive;
        font-size: 40px;
    }
.contact-form {
    border: 2px solid rgb(121,9,115) linear-gradient(67deg, rgba(121,9,115,1) 0%, rgba(255,108,98,1) 57%);
    ; /* Couleur et épaisseur du cadre */
    padding: 20px; /* Espace à l'intérieur du cadre */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Ombre pour un effet de profondeur */
    max-width: 400px; /* Largeur maximale du formulaire */
    margin: auto; /* Centrer le formulaire */
}

    .contact-form label {
        display: block;
        margin-bottom: 5px;
    }

    .contact-form input, .contact-form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .contact-form button {
        padding: 10px 20px;
        background-color: #007BFF;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        .contact-form button:hover {
            background-color: #0056b3;
        }

form button {
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgb(121,9,115);
    background: linear-gradient(67deg, rgba(121,9,115,1) 0%, rgba(255,108,98,1) 57%);
    border: none;
    cursor: pointer;
}


    footer {
        background-color: #333;
        color: #fff;
        text-align: center;
        padding: 1rem;
    }
