/* By Laugh */
/* Police d'écriture */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&family=Mynerve&family=Poppins:wght@500;600&family=Tilt+Warp&display=swap');

/* Ajuste la page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    height: 100vh;
}

header li {
    list-style: none;
}

header a {
    text-decoration: none;
    color: #000;
    font-size: 1rem;
}

/* header */
header {
    position: relative;
    padding: 0 2rem;
}

.navbar {
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar a {
    font-weight: bold;
    cursor: pointer;
}

.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .liens li {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    margin-right: 20px;
    cursor: pointer;
}

.navbar .liens a {
    color: #000;
    text-decoration: none;
}

.navbar .liens li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FCD34D;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.navbar .liens li:hover::after {
    transform: scaleX(1);

}

.navbar .liens li:hover a {
    color: #FCD34D;
}

.navbar .liens{
    display: flex;
    gap: 2rem;
}

.navbar .toggle_btn {
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action_btn {
    color: #FCD34D;
    display: inline-block;
    text-align: center;
    font-size: 0.875rem;
    font-weight: bold;
    padding: 7px 15px;
    border-radius: 0.375rem;
    background-color: rgba(213, 216, 218, 0.1);
    border: 2px solid transparent;
    transition: border-color 0.2s ease-out;
    cursor: pointer;
}

.shake-animation {
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.action_btn:hover, .action_btn:focus {
    border-color: #FCD34D;
}

.action_btn:focus {
    outline: none;
}

.action-btn a:hover:after {
    width: 100%;
}

.copy-message { /* IP Copié */
    display: inline-block;
    margin-left: 10px;
    font-size: 0.75rem;
    color: rgb(233, 176, 54);
    animation-name: fadeOut;
    animation-duration: 10s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    position: absolute;
    top: 50%;
    right: 300px;
    transform: translateY(-50%);
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}


/* DROPDOWN MENU */
.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0;
    width: 300px;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 240px;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.dropdown_menu li:hover a{
    color:#FCD34D;
}

.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* RESPONSIVE */
@media(max-width: 992px){
    .navbar .liens,
    .navbar .action_btn {
        display:none;
    }

    .navbar .toggle_btn{
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media(max-width: 576px){
    .dropdown_menu{
        left: 2rem;
        width: unset;
    }
}

footer {
    text-align: center;
    position: relative;
    width:100%;
}

.footer #button{
    width:35px;
    height:35px;
    border: black 10px solid;
    border-radius:35px;
    opacity: 50%;
    margin:0 auto;
    position:relative;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.footer #button:hover{
    width:35px;
    height:35px;
    border: black 12px solid;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    position:relative;
}
.footer {
    bottom:0;
    left:0;
    position:absolute;
    width: 100%;
    height: 1em;
    overflow:hidden;
    margin:0 auto;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
  
.footer:hover {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    height: 7em;
}
.footer #container{
    margin-top:1px;
    width:100%;
    height:00%;
    position:relative;
    top:0;
    left:0;
    background: #EAEAEA;
}
.footer #cont{
    position:relative;
    top:-15px;
    right:190px;
    width:150px;
    height:auto;
    margin:0 auto;
}
.footer_center{
    width:500px;
    float:left;
    text-align:center;
}
.footer h3{
    font-family: 'Helvetica';
    font-size: 20px;
    font-weight: 40;
    margin-top:40px;
    margin-left:20px;
    color: black;
    font-family: 'Mynerve', cursive;
}
  
.footer a{
      text-decoration: none;
      color: black;
      font-family: 'Mynerve', cursive;
}