::before
::after {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Karrik-Regular';
    src: url('./polices/Karrik-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
   
}

body {
    font-family: Arial, sans-serif; 
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color:#d4cdff;
}

 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
} 


.header{
    background-color: #161b8c;
}

a.btn {
    font-family: 'Karrik-Regular', sans-serif;
}


.header .nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 1rem;
    font-family: 'Karrik-Regular', sans-serif;
}



.nav .logo-container img {
    width: 100%;
}

.logo-clip-cut{
    transition: ease-in-out 0.5s;
    width: 100%;
}

.logo-clip-cut:hover{
    transform: scale(0.8);
}

.nav a {
    gap: 2rem;
    padding: 0 1rem;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1.3rem;
}

.left-menu {
    display: flex;
    justify-content: start;
    align-items: center;
}

.right-menu {
    display: flex;
    align-items: center;
}


.logo-container {
    width: 100px;
}

.search-bar {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

.search-bar form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-bar form {
        display: flex;
        justify-content: center;
        align-items: center;
        -moz-column-gap: 10px;
             column-gap: 10px;
        max-width: 1100px;
        margin: auto;
    }

.search-bar input[type="text"] {
    width: 80%;
    padding: 10px;
    border: 2px solid #161b8c;
    border-radius: 5px;
    font-family: 'Karrik-Regular', sans-serif;
    font-size: 1rem;
}

.search-bar input[type="submit"] {
    width: 20%;
    padding: 10px;
    border: 2px solid #161b8c;
    border-left: none;
    border-radius: 5px;
    background-color: #ffffff;
    color: #161b8c;
    font-family: 'Karrik-Regular', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.search-bar input[type="submit"]:hover {
    background-color: #d4cdff;
    color: #161b8c;
}

   .nav a:hover {
    text-decoration: underline;
}

/*styles de la bare de recherche de la nav */
.nav-search-bar {
    width: 100%;
    max-width: 300px; 
    display: flex;
    align-items: center;
}

.nav-search-bar input[type="text"] {
    width: 70%; 
    padding: 5px;
    border: 2px solid #161b8c;
    border-radius: 5px;
    font-family: 'Karrik-Regular', sans-serif;
    font-size: 0.9rem;
}

.nav-search-bar input[type="submit"] {
    width: 30%; 
    padding: 5px;
    border: 2px solid #161b8c;
    border-left: none;
    border-radius: 5px;
    background-color: #ffffff;
    color: #161b8c;
    font-family: 'Karrik-Regular', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
}

.nav-search-bar input[type="submit"]:hover {
    background-color: #d4cdff;
    color: #161b8c;
}

.panier-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

 

footer {
    background-color:#161b8c;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    clear: both;
    bottom: 0;
    width: 100%;
    
}


footer a, footer p {
    text-decoration: none;
    color: white;
} 

.legal-mentions {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; 
    max-width: 1000px; 
    max-height: 80vh; 
    background-color: #d4cdff;
    color: black;
    padding: 40px; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    z-index: 1001;
    border-radius: 10px; 
    overflow-y: auto; 
}

.legal-mentions h2 {
    margin-top: 0;   
    font-size: 2rem; 
    text-align: center; 
    color: #161b8c; 
}

.legal-mentions p {
    font-size: 1.1rem; 
    line-height: 1.6; 
    color: #333; 
    margin-bottom: 20px; 
}

.legal-mentions ul {
    padding-left: 20px;
    margin-bottom: 20px; 
    color: #333; 
}

.legal-mentions li {
    margin-bottom: 10px; 
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.close-link {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: blue;
    cursor: pointer;
}

