@font-face {
    font-family: 'New York';
    src: url('../font/NewYork.woff2') format('woff2'),
        url('../font/NewYork.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    box-sizing: border-box;
    font-family: 'Sora';
    background-color: #ffeede;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Arapey';
    width: 100%;
    font-size: 1.7em;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: transparent;
    backdrop-filter: blur(15px);
}

header a {
    text-decoration: none;
    color: black;
    transition: all 1s;
}

header a:hover {
    border-bottom: 1px solid;
    padding: 0 15px;
}

nav li {
    display: inline;
    padding-right: 40px;
}

#recherche {
    display: none;
}

.recherche input {
    border-radius: 100px;
    border: #000 solid 2px;
    padding: 5px 50px;
    background-color: transparent;
    color: #000;
    font-size: 0.7em;
}

.recherche ::placeholder {
    color: #000;
    font-family: 'Soligant';
}

button {
    border-radius: 50%;
    border: #000 solid 2px;
    padding: 8px;
    background-color: #000;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

button:hover {
    background-color: #AF7A08;
    border-color: #AF7A08;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

h1,
h2,
h3 {
    font-family: 'New York';
    font-weight: 400;
}

h1 {
    font-size: 8rem;
    text-align: center;
}

h2 {
    font-size: 4rem;
    color: #af7a08;
}

h3 {
    font-family: 'Arapey';
    font-size: 2.5rem;
    color: #045f47;
}

section {
    padding: 20px;
    border-bottom: solid 2px #0a5d46e5;
    ;
}

.grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    font-size: 1.5rem;
}

.reseaux img {
    width: 50px;
    padding-right: 40px;
    transition: ease-in-out 0.5s;
}

.reseaux img:hover {
    transform: translateY(-5px);
}


footer {
    text-align: center;
    padding-top: 20px;
}

a:focus,
button:focus,
input:focus {
    outline: 2px dashed #ce0000;
    outline-offset: 3px;
}

@media screen and (max-width:900px) {
    header {
        flex-direction: column;
    }
}

@media screen and (max-width:1200px) {
    header {
        font-size: 1.5em;
    }

    .recherche {
        display: none;
    }

    #recherche {
        display: block;
    }

    .grid {
        flex-direction: column;
        font-size: 1.2rem;
    }
}