
@font-face {
    font-family: 'GaretBook';
    src: url('polices/garet/Garet-Book.ttf') format('truetype');
}

/* Global styles */
* {
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'GaretBook', sans-serif; /* Assurer que GaretBook est utilisé partout */

}

body {
    font-family: 'GaretBook', sans-serif;
    display: flex;
    flex-direction: column;
    color: #304268;
    min-height: 100vh;
    background: url('../images/bannieresite.png') no-repeat center center/cover;
    background-size: 80%, 100vh;
    background-color: #d0e1fa;
    line-height: 1.7;
}
header {
    padding: 0 2rem; 
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center; 
    justify-content: space-between;
    border-bottom: 1px solid #304268; 
    height: 80px; 
}

.logo-container {
    flex-shrink: 0; 
    width: 80px; 
    height: 100%; 
    display: flex;
    align-items: center;
}

.logo {
    max-width: 100%; 
    max-height: 100%; 
    display: block;
}

nav {
    flex-grow: 1; 
    display: flex;
    justify-content: flex-end;
}

nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    display: flex;
    align-items: center;
    border: 1px solid #304268;
    color: #304268;
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
    font-family: 'GaretBook', sans-serif;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: #304268;
    color: #fff;
    transform: translateY(-5px);
}

header nav ul li a:focus {
    outline: none;
    background-color: transparent;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    flex-grow: 1;
}

.right button {
    color: #304268;
    border: 1px solid #304268;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    font-family: 'GaretBook', sans-serif;
    border-radius: 30px;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
    outline: none;
    cursor: pointer;
}

.right button:hover {
    color: #fff; 
    
}

.right button:focus,
.right button:active {
    color: #304268; 
    border-color: #304268; 
    outline: none;
   
}

.right button a {
    text-decoration: none;
    color: inherit;
}
footer {
    font-family: 'GaretBook', sans-serif;
    color: #304268;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    border: 1px solid #304268;
}

