*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding :0;
    list-style: none;
    text-decoration: none;
    color: unset;

    --color1: rgb(226, 40, 27);
    --color2: #ffad16;
    --color3: #e6e4e2;

    font-family: 'Rubik', sans-serif;

}

.hidden {
    display: none;
}

body {
    background-image: url(../images/fond.jpg);
    background-repeat: repeat-y;
    background-size: 100%;
}

/*------------------------------------------------------*/
.top-menu {
    display: flex;
    width: 100%;
    color: white;
}

.left {
    display: flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    width: 25%;
    transform: translateY(-10%);
}

.left a:first-child {
    margin: 4%;
}

.left img[alt="Logo Destru Guêpes"] {
    width: 90px;
    transition: all .2s ease-in-out;
}

.left img[alt="Logo Destru Guêpes"]:hover {
    transform: scale(110%);
} 
.title h1 {
    font-size: 27.5px;
    border-bottom: solid rgba(255, 255, 255, 0.8) 1px;
    padding-bottom: 4%;
    margin-bottom: 4%;
    
}

.title h2 {
    font-size: 17px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.8);
}

/*------------------------------------------------------*/
.center {
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: end;
    transform: translateY(-10%);

}
.menu {
    display: flex;
}

.menu>a {
    display: flex;
    height: 100%;
    text-align: center;
    font-size: 17px;
    font-weight: bolder;
    padding: 5px 12px;
    height: 25px;
    align-items: center;
    transition: 0.3s;
    text-decoration-color: transparent;
}

.menu>a:hover {
    color: var(--color2);
    text-decoration-color: var(--color2);
    text-decoration: underline;
    text-underline-offset: 30px;
}

.menu:not(:last-child) {
    border-right: solid rgb(255, 255, 255) 2px;
}

/*------------------------------------------------------*/
.custom-shape-divider-top-1689762879 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.right {
    display: flex;
    flex-direction: column;
    width: 20%;
    text-align: center;
    align-self: center;
    /*border: var(--color2) solid 10px;
    border-bottom-left-radius: 100px;
    border-right: none;
    border-top: none ;*/
    padding: 2.3%;
    margin: 0.7%; 
    background-color: rgba(255, 187, 62, 0.8);
    border: solid rgba(255, 187, 62, 0.9) 5px;
    animation: rightAnim 20s infinite linear;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}

@keyframes rightAnim {
    0% {
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }
    25% { 
        border-radius: 62% 38% 62% 38% / 65% 46% 54% 35%;
    }
    50% {
        border-radius: 50% 50% 40% 60% / 45% 35% 65% 65%;
    }
    75% {
        border-radius: 33% 67% 50% 50% / 68% 65% 35% 32%;		
    }
}



.phone {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin: 1%;
}

.right span:first-child {
    color: rgba(255, 255, 255, 0.8);
}

.phone span {
    font-size: 28px;
    font-weight: bolder;
}

.phone img[alt="Appel Logo"] {
    width: 18px;
    margin-right: 4%;
}

a.facebook, a.pagejaune {
    margin: 0 4%;
}

.pagejaune img, .facebook img {
    width: 40px;
    margin: 4% 0;
    transition: all .2s ease-in-out;
}

.pagejaune img:hover, .facebook img:hover {
    transform: scale(110%);
} 

.avis-moyen {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
    align-items: center;
    order: 4;
}

.avis-moyen>*:first-child {
    margin-right: 2%;
}
.avis-moyen>*:last-child {
    margin-left: 2%;
}

.avis-moyen img[alt="étoile avis google"] {
    width: 12px;  
    transform: translateY(-1.5px);
    margin-left: 0.4%;
}

.avis-moyen a:hover {
    color: rgb(69, 90, 204);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/*------------------------------------------------------*/

.footer {
    background-color: rgba(255, 255, 255, 0.2);
    border-top: solid 4px rgba(255, 255, 255, 0.4);;
    color: rgb(255, 255, 255, 0.85);
    font-size: 95%;
    bottom: 0;
}

.footer nav {
    display: flex;
    align-items: center;
}

.ul-footer {
    padding: 2% 15%;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.ul-footer h3 {
    padding-bottom: 8px;
    border-bottom: solid 1px rgb(255, 255, 255, 0.25);
    margin-bottom: 8px;
}

.ul-footer li {
    list-style: none;
}

.ul-footer a {
    text-decoration: none;
    color: rgb(255, 255, 255, 0.85);

}

.ul-footer a:hover {
    text-decoration: underline;
}

.footer>nav>img {
    position: absolute;
    width: 50px;
    left: 2%;
    align-self: center;
}

.ul-footer>ul:nth-child(2)>li:nth-child(2) {
    display: flex;
    width: 100%;
}

.ul-footer>ul:nth-child(2)>li:nth-child(2) a {
    margin-right: 15%;
}

.ul-footer>ul:nth-child(2)>li:nth-child(2) img {
    width: 30px;
}

.phone-menu {
    display: none;
}


@media screen and (max-width:1100px) {
    * {
        padding: unset;
        margin: unset;
    }

    body {
        background-image: url(../images/fond-phone.jpg);
    }

    .top-menu {
        display: flex;
        flex-direction: column;
    }
    
    .left {
        position: relative;
        top: 0;
        z-index: 5;
        display: flex;
        width: 100%;
        transform: translateY(0%);
        background-color: rgb(255, 181, 84);
        justify-content: space-around;
        padding: 2% 0;
        margin: 0;
    }
    
    .left a:first-child {
        margin: 0;
    }

    .left img[alt="Logo Destru Guêpes"] {
        width: 60px;
    }
    

    .title h1 {
        font-size: 150%;
        border-bottom: solid rgba(255, 255, 255, 0.8) 1px;
        padding-bottom: 2%;
        margin-bottom: 2%;
    }
    
    .title h2 {
        display: flex;
        font-size: 85%;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        justify-content: center;
    }

    .phone-menu {
        display: inline-block;
        cursor: pointer;
        width: 50px;
        align-self: center;
        padding-left: 10px;
    }
      
    .phone-menu  .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: rgb(255, 255, 255);
        margin: 6px 0;
        transition: 0.4s;
        padding-right: 0;
    }
      
    /* Rotate first bar */
    .change .bar1 {
        transform: translate(0, 11px) rotate(-45deg);
    }
        
    /* Fade out the second bar */
    .change .bar2 {opacity: 0;}
    
    /* Rotate last bar */
    .change .bar3 {
        transform: translate(0, -11px) rotate(45deg);
    }
    
    /*------------------------------------------------------*/
    .center {
        display: none;
        width: 100%;
        position: absolute;
        transform: translateY(0);
        height: 100%;
        background-color: rgb(255, 181, 84);
        z-index: 4;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .menu>a {
        display: flex;
        height: 100%;
        text-align: center;
        font-size: 17px;
        font-weight: bolder;
        padding: 10px;
        margin: 5px 0;
        height: 0;
        align-items: center;
    }
    
    .menu>a:hover {
        color: red;
        text-decoration: unset;
    }
    
    .menu:not(:last-child) {
        border-right: none;
    }
    
    /*------------------------------------------------------*/
    .custom-shape-divider-top-1689762879 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        line-height: 0;
    }
    
    .right {
        height: 60px;
        width: 100%;
        padding: 0;
        margin: 0; 
        background-color: unset;
        background-color: rgba(255, 181, 84);
        border: none;
        border-radius: unset;
        animation: unset;
        border-top: solid 2px rgba(255, 255, 255, 0.8);
        border-bottom: solid 2px rgba(255, 255, 255, 0.8);
        padding-top: 1px;
        display: flex;
        justify-content: center;
    }        
    
    .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: unset;
        margin: 0;
        width: 70%;
        margin: 0 15%;
        z-index: 2;
    }
    
    .right span:first-child {
        display: none;
    }
    
    .phone span {
        font-size: 18px;
        font-weight: bolder;
    }
    
    .phone img[alt="Appel Logo"] {
        width: 11px;
        margin-right: 2%;
    }

    .liens {
        position: absolute;
        width: 100%;
        z-index: 1;
        display: flex;
        justify-content: space-between;
    }
    
    a.facebook, a.pagejaune {
        transform: translateY(4%);
        margin: 0 7%;
    }
    
    .pagejaune img, .facebook img {
        width: 30px;
        margin: 0;
    }
    
    .avis-moyen {
        z-index: 2;
        width: 70%;
        margin: 0 15%;
        flex-wrap: nowrap;
        font-size: 12px;
        order: 0;
    }
    
    .avis-moyen>*:first-child {
        margin-right: 1%;
    }
    .avis-moyen>*:last-child {
        margin-left: 1.5%;
    }
    
    .avis-moyen img[alt="étoile avis google"] {
        width: 8px;  
        transform: translateY(0px);
    }
    
    /*------------------------------------------------------*/
    .footer {
        border-top: solid 2px rgba(255, 255, 255, 0.8);
        background-color: rgb(255, 181, 84);
    }

    .ul-footer {
        text-align: center;
        text-align: center;
        display: inline-block;
        padding-left: 5%;
        padding-right: 5%;
    }

    .ul-footer ul {
        padding: 8px 0;
    }
    .ul-footer ul:not(:first-child) {
        border-top: solid rgba(255, 255, 255, 0.25) 1px;
    }

    .ul-footer li {
        padding: 0;
        list-style: none;
        font-size: 11px;
    }

    .ul-footer h3 {
        margin-bottom: 0px;
        border-bottom: none;
        font-size: 13px;
    }

    .footer img[alt="Destru Guêpes Logo"] {
        display: none;
    }

    .footer .ul-footer ul:nth-child(2) li:nth-child(2){
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .ul-footer>ul:nth-child(2)>li:nth-child(2) a {
        margin: 0;
        padding: 0;
        position: relative;
        margin-right: 0;  
    }

    .ul-footer>ul:nth-child(2)>li:nth-child(2) a:first-child {
        transform: translateX(-15%);
    }

    .ul-footer>ul:nth-child(2)>li:nth-child(2) a:last-child {
        transform: translateX(15%);
    }

    .footer .ul-footer ul:nth-child(2) a img {
        width: 25px;
    }

    .ul-footer h3 {
        padding-bottom: 0px;
        margin-bottom: 5px;
    }

}