@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@300;500&display=swap');

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    font-family: 'Spartan', sans-serif;
}

.uper {
    text-transform: uppercase;
}

.pointer {
    cursor: pointer;
}

.circle {
    border-radius: 50%;
}

.title {
    width: 100%;
    max-width: 100%;
    padding: 7px 0px;
    border-radius: 5px;
    color: #fff;
    background-color: #6633ff;
    margin-bottom: 20px;
    text-align: center;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    border-bottom: 1px solid rgb(199, 199, 199);
    background-color: #fff;
    z-index: 999;
}

#logo {
    width: 200px;
}

nav {
    width: 77%;
}

ul {
    padding-inline-start: 0;
}

#menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#menu li {
    list-style: none;
}

#menu li a {
    color: #6633ff;
    text-decoration: none;
}

#menu li a:hover {
    color: #1DB02E;
}

/* A RETIRER QUAND LANGUE ANGLAIS DISPO */
.disabled {
    width: 50px;
    height: 20px;
    position: absolute;
    left: -3px; top: 4px;
    background-color: rgba(0, 0, 0, 0.5);
}
/* A RETIRER QUAND LANGUE ANGLAIS DISPO */

#search {
    color: #7F7F7F !important;
}

#lang {
    font-size: 0.875rem;
    font-weight: bold;
    color: #7F7F7F;
    margin-top: 2px;
}

#lang:hover .sous-menu {
    display: block;
}

.sous-menu {
    display: none;
    position: absolute;
    margin-left: -1px;
    background-color: #fff;
}

.sous-menu li {
    width: 100%;
    margin: 3px 0 3px 1px;
    padding-top: 5px;
}

.test {
    width: 100%;
    height: 100%;
    background-color: #7F7F7F;
}

.img-lang {
    width: 18px;
}

.button1 {
    padding: 5px 15px;
    border-radius: 5px;
    border: none;
    background-color: #6633ff;
    color: #fff;
    font-size: 1rem;
}

/* BURGER MENU */

.burger {
    width: 35px;
    height: 24px;
    cursor: pointer;
    position: relative;
    display: none;
}

.burger span {
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #6633ff;
    transition: background-color 0.3s ease-in-out;
}

.burger span::before, .burger span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #6633ff;
    transition: transform 0.3s ease-in-out;
}

.burger span::before {
    transform: translateY(-10px);
}

.burger span::after {
    transform: translateY(10px);
}

.burger.active span {
    background-color: transparent;
}

.burger.active span::before {
    transform: rotate(45deg);
}

.burger.active span::after {
    transform: rotate(-45deg);
}

#title-comparer{
    color: #fff;
background-color: #1DB02E;
border: none;
padding: 5px 15px;
border-radius: 5px;
font-size: 1rem;
}


@media screen and (max-width: 1100px) {

    header {
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0 5%;
    }

    #logo-burger {
        position: relative;
        z-index: 5;
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #fff;
        border-bottom: 1px solid rgb(199, 199, 199);
    }

    .burger {
        display: block;
    }

    nav {
        position: absolute;
        width: 100%;
        text-align: center;
        top: 80px;
        transform: translateY(-312px);
        transition-duration: 0.5s;
        border-bottom: 1px solid rgb(199, 199, 199);
        background-color: #fff;
        height: 312px;
    }

    #nav.active {
        transform: translateY(0);
    }

    #menu {
        flex-direction: column;
        justify-content: space-evenly;
        width: 100%;
        line-height: 2.5rem;
        margin-bottom: 0;
    }

    #menu button {
        order: -1;
        margin-bottom: 15px;
        margin-top: 10px;
    }

    #lang ul {
        line-height: normal;
    }

    .pusher {
        transition-duration: 0.5s;
    }

    .pusher.active {
        transform: translateY(312px);
    }
}