main > section:nth-child(2){
    background-color: #7572B2;
}

.serviceText{
    position: relative;
    width: 55%;
    color: white;
    height: fit-content;
    padding: var(--marge);
    line-height: 1.5rem;
}

h3{
    padding: 0 3vw;
    text-align: center;
}

.linkContact{
    position: relative;
    width: 55%;
    color: white;
    height: fit-content;
    padding: 0vw 7vw 3.3vw 7vw;
    font-weight: 600;
    font-size: 1rem;
}

.boxFlyer{
    height: 80%;
    width: 42%;
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#siteVitrine,
#logo,
#carteDeVisite{
    border: none;
    border-radius: 25px 0 0 25px;
    box-shadow: -5px 11px 10px rgba(0, 0, 0, 0.20);
    outline: none;
    font-family: 'Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #252436;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 30%;
    cursor: pointer;
    border: solid 3px white;
}

#textSV, 
#textLogo, 
#textCDV{
    font-size: .8rem;
    padding: 0px 5vw;
    opacity: 0;
    line-height: 1.3rem;
}

.boxFlyer > div:nth-child(1){
    background-color: #50b5bb;
}

.boxFlyer > div:nth-child(3){
    background-color: #89c167;
}

.boxFlyer > div:nth-child(4){
    background-color: #ee7185;
}

.ninja{
    display: none;
}

.fakeLogo{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: -1;
    height: 30%;
    width: 100%;
    background: linear-gradient(#9CFFC7, #7DC7FF);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px 0 0 25px;
    font-family: 'Spartan', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: #252436;
}

#clickClose{
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* _________________JS Style ____________________ */

.full{
    position: absolute;
    width: 100%;
    pointer-events: none;  
    animation: fullFlyer .7s ease forwards;  
}

.SVPosi{
    top: 0;
    left: 0;
}

.logoPosi{
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.CDVPosi{
    bottom: 0;
    left: 0;
}

@keyframes fullFlyer{
    0%{
        height: 30%;
    }
    100%{
        height: 100%;
    }
}

.reduire{
    position: absolute;
    bottom: 0;
    right: -1px;
    border: solid 1px white;
    border-radius: 25px 0 0 0;
    color: #fef186;
    font-size: 1rem;
    padding: 1vw 2vw;
    display: block;
    transition: .5s ease;
    animation: reduce 2s ease forwards; 
}

@keyframes reduce{
    0%{
        opacity: 0;
    }
 
    100%{
        opacity: 1;
    }
}

.inner{
    overflow: hidden;
    animation: appear 2.5s ease forwards;  
    height: 0%;
}

@keyframes appear{
    0%{
        opacity: 0;
        height: 0%;
    }
 
    100%{
        opacity: 1;
        height: 60%;
    }
}

.closeFlyer{
    animation: closeFlyer .5s ease forwards;
}

@keyframes closeFlyer{
    0%{
        height: 100%;
    }

    100%{
        height: 30%;
    }
}

/*_____ Responsive 480px -> 959px _____*/

@media screen and (max-width: 959px){
    .boxFlyer{
        position: relative;
        width: 100%;
        height: 270px;
        transform: none;
        padding-bottom: 3.3vw;
    }

    .serviceText{
        width: 100%;
    }

    #siteVitrine,
    #logo,
    #carteDeVisite{
        border-radius: 0;
        font-size: 1.5rem;
    }

    #textSV, 
    #textLogo, 
    #textCDV{
        font-size: .7rem;
    }

    
    .linkContact{
        width: 100%;
        font-size: 1rem;
    }

    #close{
        display: none;
    }
}
