@font-face {
    font-family: haritzaga;
    src: url(../haritzag.woff) format("woff");
    font-display: swap
}

*,
*:before,
*:after {
    box-sizing: border-box
}

body {
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

img {
    aspect-ratio: attr(width) / attr(height)
}

.haritz {
    font-family: haritzaga
}

@media all and (max-width: 640px) {
    html {
        font-size: 18px
    }

    .barre_adix,
    .soon_div,
    .story_text {
        display: block
    }

    .story_text {
        text-align: center
    }

    .accueil .barre_adix,
    .accueil ul {
        justify-content: center
    }

}

@media all and (min-width: 641px) and (max-width: 809px) {
    html {
        font-size: 20px
    }
}

@media all and (min-width: 810px) and (max-width: 1023px) {
    html {
        font-size: 24px
    }
}

@media all and (min-width: 1024px) {
    html {
        font-size: 28px
    }
}

@media all and (min-width: 641px) and (max-width: 1359px) {

    .barre_adix,
    .soon_div,
    .story_text {
        display: flex
    }

    .story_text {
        text-align: justify
    }

    .accueil .barre_adix,
    .accueil ul {
        justify-content: center
    }

    .contact table td a {
        font-size: 1rem
    }
}

@media all and (min-width: 1360px) {

    .barre_adix,
    .soon_div,
    .story_text {
        display: flex
    }

    .story_text {
        text-align: justify
    }
}

@media all and (max-width:449px) {
    .contact table td a {
        font-size: 0.5rem
    }
}

@media all and (min-width: 450px) and (max-width: 600px) {
    .contact table td a {
        font-size: 0.8rem
    }
}

.retour_haut {
    display: block;
    position: fixed;
    margin: 0;
    padding: 0;
    width: 2.2rem;
    bottom: 1.2rem;
    left: .2rem;
    z-index: 4500;
    cursor: pointer;
    pointer-events: auto;
}

.retour_haut img {
    width: 100%
}

.barre_adix {
    display:flex;
    flex-wrap:wrap;
    gap:.2rem .55rem;
    border-radius:.55rem;
    border:.08rem solid #ffffff99;
    position: -webkit-sticky;
    position: sticky;
    font-family: haritzaga, sans-serif;
    color:#043b16;
    font-size: 1.2rem;
    z-index: 999;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    top:0;
    width:calc(100% - .4rem);
    margin:0 .2rem .25rem;
    padding:.14rem .46rem;
    background:linear-gradient(135deg,#ffffffde,#dff6ffcc 46%,#d7ffd9bf);
    box-shadow:0 .2rem .55rem #003c5f33,inset 0 .05rem .08rem #ffffffd9;
    backdrop-filter:blur(.12rem)
}

body > .barre_adix:first-of-type {
    top:0;
    margin-top:0
}

.barre_adix div p {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:.18rem .35rem;
    text-align:center;
    padding:0;
    margin:0 .05rem;
    line-height:1.25rem
}

.barre_adix div img {
    vertical-align: middle;
    margin:0
}

.barre_adix span {
    display:inline-flex;
    align-items:center;
    gap:.28rem
}

.logo_adix {
    border-radius: 50%;
    vertical-align: middle;
    box-shadow:0 .08rem .22rem #001d2f55;
    background:#fff;
    aspect-ratio:1 / 1;
    object-fit:cover
}

.barre_adix .logo_adix {
    width:1.45rem !important;
    height:1.45rem !important
}

.barre_adix .logo_adix + * {
    letter-spacing:.04rem
}

.barre_adix span:first-child {
    padding:.06rem .24rem .06rem .1rem;
    color:#004b14;
    background:#ffffffb8;
    border:.05rem solid #ffffffcc;
    border-radius:2rem;
    box-shadow:0 .08rem .18rem #003c5f1f
}

.barre_adix span:nth-child(2) {
    font-family:Arial, Helvetica, sans-serif;
    font-size:.78rem;
    font-weight:700;
    color:#002e80;
    background:#ffffffa6;
    border:.05rem solid #ffffffb8;
    border-radius:2rem;
    padding:.1rem .4rem;
}

.barre_adix span:nth-child(2)::before {
    content:"";
    width:.38rem;
    height:.38rem;
    border-radius:50%;
    background:#008f4a;
    box-shadow:0 0 0 .16rem #d8ffd9;
}

.barre_adix .nav-return {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:2rem;
    min-height:2rem;
    padding:.12rem;
    background:linear-gradient(180deg,#ffffff,#bfeeff);
    border:.07rem solid #00689c;
    border-radius:999px;
    box-shadow:inset 0 .04rem .07rem #ffffff,0 .1rem .22rem #003c5f38;
    transition:transform .16s ease,background .16s ease,border-color .16s ease
}

.barre_adix .nav-return:hover,
.barre_adix .nav-return:focus-visible {
    background:linear-gradient(180deg,#ffffff,#d8ffd9);
    border-color:#006615;
    transform:translateY(-.05rem);
    outline:none
}

.nav-return-arrow {
    display:inline-grid;
    place-items:center;
    width:1.22rem;
    height:1.22rem;
    border-radius:50%;
    color:#fff;
    background:#00689c;
    font-size:.92rem;
    line-height:1;
}

.nav-return-text {
    padding-right:.1rem;
}

.barre_adix .nav-return {
    gap:.28rem;
    min-width:0;
    min-height:1.82rem;
    padding:.12rem .42rem;
    color:#003c72;
    font-family:Arial, Helvetica, sans-serif;
    font-size:.72rem;
    font-weight:800;
    line-height:1;
    text-decoration:none;
    white-space:nowrap;
}

footer {
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap:.35rem;
    color: #001227;
    font-size: .68rem;
    font-family: arial, sans-serif;
    font-weight: bold;
    width:calc(100% - .4rem);
    margin:.4rem .2rem .2rem;
    padding:.12rem .55rem;
    background:#dff6ffbf;
    border:.06rem solid #7ad2f4;
    border-radius:.4rem
}

footer div {
    text-align:center
}

footer p {
    margin: 0 .5rem;
    text-align: center
}

footer img {
    display: inline-block;
    background: #008cd7cc;
    padding: 0.2rem 0.25rem;
    border-radius: 0.5rem;
    vertical-align: middle;
    width: 2.5rem;
}

header h1 {
    font-family: haritzaga, sans-serif;
    text-align: center;
    font-size:clamp(1.35rem, 4vw, 1.95rem);
    line-height:1.22;
    padding:.65rem .45rem .25rem;
    max-width:min(96%, 54rem);
    margin:auto;
    color:#073f5f;
    text-shadow:0 .05rem .08rem #ffffffcc
}

header p {
    text-align: center;
    margin: auto;
    padding: 0
}

@media all and (max-width: 640px) {
    body {
        background-attachment: scroll;
    }

    .barre_adix {
        gap:.16rem;
        justify-content: center;
        font-size: 1rem;
        width:calc(100% - .2rem);
        margin:0 .1rem .18rem;
        padding:.14rem;
    }

    .barre_adix div p {
        line-height:1.15rem;
    }

    .barre_adix div {
        width:100%;
    }

    .barre_adix span:first-child {
        font-size:.98rem;
        justify-content:center
    }

    .barre_adix span:nth-child(2) {
        width:100%;
        justify-content:center;
        font-size:.76rem;
        padding:.12rem .28rem
    }

    .barre_adix .nav-return {
        min-height:1.78rem;
        padding:.12rem .38rem;
        font-size:.76rem
    }

    header h1 {
        font-size: 1.35rem;
        line-height: 1.75rem;
        padding: .6rem .35rem 0;
    }

    header p img {
        max-width: 96vw;
        height: auto;
    }

    footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: .25rem .7rem;
        padding: .25rem;
        text-align: center;
        line-height: 1.1rem;
    }
}
