* {
    --translation_x_box_line_phone: -143.5px;
}
.bubble {
    position: absolute;
    width: 150px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.78);
    z-index: 0;
    border-radius: 120px;
    pointer-events: none;
}
.bubble_sun {
    background: yellow;
    width: 60px;
    height: 60px;
    pointer-events: none;
}
.bubble_moon {
    width:60px;
    height:60px;
    background-color:rgba(40,40,40,0.78) !important;
    pointer-events:none;
}
.new_cloud {
    background: rgba(255, 255, 255, 0.849);
    border-radius: 12px;
    position: absolute;
    border-radius: 120px;
    z-index: 50;
    animation: both 2s anim_cloud cubic-bezier(0.19, 1, 0.22, 1);
}
#cont_header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    margin-top: 2%;
}

#box_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #ffffffb7;

    border-radius: 1200px;
    box-shadow: rgba(40, 40, 40, 0.29) 6px 5px 0px 0px;
    transition:  background 0.1s linear;
    cursor: url('/sprit/cursor_pointer.svg'), no-drop;
}
#logo {
    max-width: 300px;
    transition: scale 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1s cubic-bezier(0.175, 0.3, 0.5, 1.275);
    transition-delay: 0.1s;
}

#box_logo:hover {
    background: #fffb64;
}
#box_logo:hover #logo:hover {
    transform: rotate(360deg);
    scale: 0.8;
}

#bull_info {
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 23vw;
    height: 13vh;
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                visibility 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                left 0.08s linear,
                top 0.08s linear;
    visibility: hidden;
    font-family: 'Caveat';
    font-size: 2.3em;
    background-image: url('/sprit/cloud.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    pointer-events: none;

}
/* phone */
#cont_act_phone {
    display: none;
    align-items: center;
    justify-content: center;
    /* align-content: center; */
    flex-direction: column;
    /*flex-direction: column;*/
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.64);
    position: relative;
    transition:  border-radius 0.8s cubic-bezier(0.23, 1, 0.320, 1),
                 border 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}
#box_img_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#box_img_header div {
    padding: 10px;
    background: gray;
    border-radius: 100px;
    position: relative;
    transition: background 0.2s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.2s linear;

}
#cont_act_phone:hover #box_img_header div {
    /*animation: monte_dessant 1s linear;*/
    transform:  scale(0.5);
}
#cont_act_phone:hover #box_img_header div:nth-child(-n + 3) {
    background: rgb(255, 251, 100);
}
#cont_act_phone:hover #box_img_header div:nth-child(-n + 2) {
    background: rgb(0, 255, 179) ;
}
#cont_act_phone:hover #box_img_header div:nth-child(-n + 1) {
    background: rgb(0, 174, 255);
}
#cont_act_phone:hover #cont_choice {
    opacity: 1;
    width: 100%;
    transform: translateY(90.4px);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
#cont_act_phone:hover {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.box_choice_act_phone:hover {
    color: rgb(0, 174, 255);
    transform: scale(1.2);
}
#logo_header_phone {
    max-width: 50px;
}
#cont_choice {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    opacity: 0;
    background: rgba(255, 255, 255, 0.64);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1),
                width 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}
#cont_choice p { /* unselect txt */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.box_choice_act_phone {
    width: 100%;
    text-align: center;
    color: rgb(40, 40, 40);
    font-family: 'Playpen Sans';
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1),
                color 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: url('/sprit/cursor_pointer.svg'), no-drop;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.box_line_phone {
    display: none;
    position: absolute;
    flex-direction: column;
    background: #ffffffb7;
    border-radius: 12px;
    font-family: 'Playpen Sans';
    padding-inline: 18%;
    transition: padding-inline 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.box_line_phone:hover {
    transform: translateX(var(--translation_x_box_line_phone));
    display: flex;
    padding-inline: 25%;
}
.line_choice_act_phone {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.line_choice_act_phone p {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 2px;
    font-size: small;
    transition: scale 0.5s cubic-bezier(0.19, 1, 0.22, 1),
                margin-left 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.img_choice_phone {
    display: flex;
    width: 8px;
    transition: rotate 0.5s ease-out,
    margin-right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    scale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.line_choice_act_phone:hover .img_choice_phone {
    rotate: 360deg;
    scale: 1.8;
}
.line_choice_act_phone:hover p {
    scale: 0.8;
    color: rgb(0, 174, 255);  

}



#cont_choice:hover #act_phone_para:hover ~ #box_line_phone_para {
    transform: translateX(var(--translation_x_box_line_phone));
    display: flex;
}
#cont_choice:hover #act_phone_info:hover ~ #box_line_phone_info {
    transform: translateX(var(--translation_x_box_line_phone));
    display: flex;
}
#cont_choice:hover #act_phone_mode:hover ~ #box_line_phone_mode {
    transform: translateX(var(--translation_x_box_line_phone));
    display: flex;
}


/* stop phone */
#cont_act {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
}

.box_act {
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: url('/sprit/cursor_pointer.svg'), no-drop;
}
.box_img_act {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.box_choice_act {
    z-index: 99;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;



    background-color: rgba(255, 255, 255, 0.78);
    color: rgb(38, 38, 38);
    border-radius: 120px;
    position: absolute;
    translate: -200px -10px;
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1),
    border-radius 0.1s linear;
    transition-delay: 0.2s;
    transition-property: all;


    opacity: 0;
    font-size: 0;
    font-family: 'Playpen Sans';

}
.underline_act {
    width: 0%;
    height: 2px;
    background: rgb(37, 37, 37);
    transition: 
    width 0.4s cubic-bezier(0.1, 0.89, 0.99, 1),
    border-radius 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
    transition-delay: 0.4s;
}
.line_chois_act {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;

    cursor: url('/sprit/cursor_pointer.svg'), no-drop;
    border-radius: 120px;
    height: 0;
    scale: 0;


}
.title_act {
    transition: scale 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    color 0.2s linear;
    cursor: url('/sprit/cursor_pointer.svg'), no-drop;
    width: max-content;
}
.img_act {
    max-width: 50px;
    min-width: 50px;
}
.img_act_a {
    position: absolute;
}
.img_choice {
    max-width: 0px;
    margin-right: 20px;
    display: none;
    transition: rotate 0.5s ease-out;
}
.txt_choice {
    transition: scale 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
    color 0.2s linear;
}
.txt_info {
    font-size: 0.6em;
}

#act_info:hover .box_img_act #img_info, #act_mode:hover .box_img_act #img_day {
    animation: infinite 1s right_left linear;
}

#box_img_act_home img {
    transition: transform 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
#img_home_3 {
    transition: transform 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) !important;
}
#img_home_1 {
    z-index: 3;
}
#act_home:hover .box_choice_act .title_act:hover {
    scale: 1.5;
}
#act_home:hover #img_home_2 {
    z-index: 2;
    transform: translate(9px, -10px);
}
#act_home:hover #img_home_3 {
    z-index: 1;
    transform: translate(18px, -20px);
}
#box_img_act_para img {
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
}
#img_opt_1 {
    opacity: 1;
}
#img_opt_2 {
    opacity: 0;
}
#act_opt:hover #img_opt_1 {
    transform: rotate(500deg);
    opacity: 0;
}
#act_opt:hover #img_opt_2 {
    transform: rotate(500deg);
    opacity: 1;
}


.box_act:hover .box_choice_act{
    padding: 5% 55% 5% 55%;
    opacity: 1;
    width: auto;
    font-size: 1em;
}
.box_act:hover .underline_act{
    width: 70%;
    border-radius: 120px;
}

.title_act:hover {
    scale: 0.9;
    color: rgb(0, 174, 255);

}


.box_choice_act:hover {
    border-radius: 20px;
}
.box_choice_act:hover .line_chois_act {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: auto;
    scale: 1;
    font-size: 1.5em;
}
.box_choice_act:hover .line_chois_act .a_trop_grand{
    font-size: 1em;
}
.box_choice_act:hover .img_choice {
    display: flex;
}


.line_chois_act:hover {
    scale: 1.2 !important;
}
.line_chois_act:hover .txt_choice{
    scale: 0.9;
    color: rgb(0, 174, 255);
}
.line_chois_act:hover .img_choice{
    rotate: 360deg;
}


.txt_choice:active {
    transition: scale 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    scale: 0.8 !important;
}



/* telephone */
@media screen and (max-width: 500px) {
    #logo {
        max-width: 50px;
    }
    #box_logo {
        padding: 5px;
    }
    #bull_info {
        display: none;
    }
    #cont_act {
        display: none;
    }
    #cont_act_phone {
        display: flex;
    }
    .bubble {
        display: none;
    }
}
/* tablette */
@media screen and (min-width: 501px) {
    #logo {
        max-width: 130px;
    }
    .box_act:hover .box_choice_act {
        padding: 20%;
        font-size: x-large;
        translate: 0px 60px;
    }
    .img_choice {
        max-width: 20px;
    }
}
/* ordi */
@media screen and (min-width: 985px) {
    .box_act:hover .box_choice_act {
        padding: 5% 55% 5% 55%;
        font-size: 2.5em;
        translate: 0px 80px;
    }
    .img_act {
        max-width: 75px;
        min-width: 75px;
    }
    .underline_act {
        height: 4px;
    }
    .img_choice {
        max-width: 50px;
    }
    #logo {
        max-width: 250px;
    }
}


