/* Colin LALLAURET 1B1 MMI - 2023 */

header {
    display: flex;
    height: 75px;
    width: 100%;
    background-color: #ffffff;
    justify-content: space-between;
    box-shadow: 0 0 20px #333;

    background-image: url("../img/bg2_black.png");
    background-attachment: scroll;
    background-size: cover;
    background-position: 750px center;
}

#header2 #idLogo {
    display: flex;
    justify-content: center;
    margin-top: -74px;
    width: 100px;
    border-radius: 50%;
}

#header2 {
    display: flex;
    justify-content: center;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
}

header ul > li {
    list-style-type: none;
}

header #bouton2 {
    margin-top: 0px;
    margin-right: 10px;
}

header #bouton3 {
    margin-top: 7px;
}

header #login {
    height: 30px;
    padding: 0.7em;
    margin-top: 11px;
    margin-right: 95px;
}

header .animation_rebond_login {
    display: inline-block;
    vertical-align: middle;
    transform: translate(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    transition-duration: 0.5s;
}

header .animation_rebond_login:hover {
    transform: scale(1.2);
    transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

#header2 #pokeball {
    transform: rotate(0deg);
    transition: 0.7s;
}

#header2 #pokeball:hover {
    transform: rotate(360deg);
}

#header2 .logo {
    height: 50px;
    margin-top: 12.5px;
}

header .btn {
    width: 100px;
    height: 20px;
    background-color: gainsboro;
    border-radius: 5px;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: 700;
}

header .btn_menu {
    width: 150px;
    height: 40px;
    text-align: center;
    padding-top: 20px;
    font-weight: 700;
    color: #000000;
}

header .animation_btn_menu {
    display: inline-block;
    vertical-align: middle;
    transform: translate(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
}

header .animation_btn_menu:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    bottom: 0;
    background: #3D7DCA;
    height: 3px;
    transition-duration: 0.2s;
}

header .animation_btn_menu:hover:before {
    left: 0;
    right: 0;
}

header #milieu:before {
    background: #FFCB05;
}

header #menu_deroulant {
    opacity: 0;
}
  
header #menu_deroulant:checked ~ .menu__box {
    right: 0;
}
  
header .menu__btn {
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: -1;
}

header .menu__box {
    display: block;
    position: absolute;
    top: 75px;
    right: -100%;
    width: 300px;
    height: 6.5em;
    margin: 0;
    padding: 30px 0;
    list-style: none;
    background-color: #ffffff;
    box-shadow: 0px 20px 20px rgba(0, 0, 0, .2);
    transition-duration: .25s;
    border-bottom-left-radius: 10px;
}

header .menu__item {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
}

header .btn_menu_ouverture {
    background-color: #ffffff;
    border-radius: 10px;
    width: 60%;
    margin-left: 41px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
}

header .btn_menu_ouverture:hover {
    transform: scale(1.1) rotate(1deg);
}

header #con {
    background-color: #3D7DCA;
    margin-top: 8px;
}

header #ins {
    background-color: #FFCB05;
}

/* ################################################################## */

header #deroulant_burger {
    opacity: 0;
}
  
header #deroulant_burger:checked ~ .burger__box {
    left: 0;
}

header .burger__btn {
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: -1;
}

header #burger {
    height: 30px;
    padding: 0.7em;
    margin-top: 11px;
    margin-left: 80px;
}

header .animation_rebond_burger {
    display: inline-block;
    vertical-align: middle;
    transform: translate(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    transition-duration: 0.5s;
}

header .animation_rebond_burger:hover {
    transform: scale(1.2);
    transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

header .burger__box {
    display: block;
    position: absolute;
    top: 75px;
    left: -100%;
    width: 300px;
    height: 9.5em;
    margin: 0;
    padding: 3px 0;
    list-style: none;
    background-color: #ffffff;
    box-shadow: 0px 20px 20px rgba(0, 0, 0, .2);
    transition-duration: .25s;
    border-bottom-right-radius: 10px;
}

header .burger__item {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
}

header .btn_burger_ouverture {
    background-color: #ffffff;
    border-radius: 10px;
    width: 60%;
    margin-left: 41px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
}

header .btn_burger_ouverture:hover {
    transform: scale(1.1) rotate(1deg);
}

header #burger_accueil, header #burger_contact {
    margin-top: 8px;
}

header #burger_collection:before {
    background: #FFCB05;
}