@font-face {
    font-family: Consolas;
    src: url("https://cdn.alexmascell.net/fonts/Consolas.ttf");
}

@font-face {
    font-family: SFProRounded;
    src: url("https://cdn.alexmascell.net/fonts/SFProRounded.otf");
}

:root {
    --textColor: inherit;
    --inputBGColor: white;
    --squareColor: rgb(255, 255, 255, 0.22);
}

body {
    background-color: #FAF9F6;
    transition: background-color 0s, color 0s;
    font-family: 'Trebuchet MS'
}

.mainTitle {
    font-family: SFProRounded;
}


.apple-button {
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 1em;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.green {
    background-color: #0e5c2f;
}

.green:hover {
    background-color: #11753b;
}

.red {
    background-color: rgb(198, 0, 0);
}

.red:hover {
    background-color: #db0000;
}

.blue {
    background-color: rgb(0, 123, 255);
}

.blue:hover {
    background-color: rgb(10, 132, 255);
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dark-mode {
    background-color: #000000;
    color: #fff;
}

.check {
    cursor: pointer;
    position: relative;
    margin: auto;
    width: 18px;
    height: 18px;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.check:before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(34, 50, 84, 0.03);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.check svg {
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #000000;
    stroke-width: 1.5;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
}

.check svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.check svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
}

.check:hover:before {
    opacity: 1;
}

.check:hover svg {
    stroke: var(--accent-color, #a3e583);
}

#darkModeToggle:checked+.check svg {
    stroke: var(--accent-color, #a3e583);
}

#darkModeToggle:checked+.check svg path {
    stroke-dashoffset: 60;
    transition: all 0.3s linear;
}

#darkModeToggle:checked+.check svg polyline {
    stroke-dashoffset: 42;
    transition: all 0.2s linear;
    transition-delay: 0.15s;
}

.theSquaresAtTheTop {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.bigfatbox {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.column {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.row {
    display: flex;
    flex-direction: row;
    text-align: left;
}

.rowSpecial {
    display: flex;
    flex-direction: row;
    text-align: left;
}

.cbDiv {
    display: flex;
    flex-direction: row;
}

.squareIndex {
    padding: 20px;
    background-color: var(--squareColor);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 10px;
    width: auto;
    color: var(--textColor);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    border: 1px solid rgba(255, 255, 255, 1);

}

.squareProjects {
    padding: 20px;
    background-color: var(--squareColor);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 10px;
}


.anoformatting {
    text-decoration: none;
    color: inherit;
}

.title {
    color: var(--textColor);
    font-family: SFProRounded;
}

.subtitle {
    color: var(--textColor);
    text-align: left;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #ffffff;
    color: #000000;
    font-weight: bolder;
    font-size: large;
    outline: solid 1px black;
}

#toggler,
.navbar label {
    display: none;
    color: inherit;
}

@media screen and (max-width: 1000px) {

    /* If the screen is too small (for Mobile)*/
    .menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
    }

    .list {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .navbar label {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
    }

    #toggler:checked~.menu {
        max-height: 100%;
    }

    .row {
        display: flex;
        flex-direction: column;
    }

    .rowSpecial {
        display: flex;
        flex-direction: column;
    }

    input {
        width: auto;
    }

    .cbDiv {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin-bottom: 10px;
    }

}

@media screen and (min-width: 1000px) {
    /* If the screen is big (for Desktop)*/

    .row {
        gap: 30px;
        margin-right: 10px;
    }

    .rowSpecial {
        gap: 10px;
        margin-right: 10px;
    }

    .cbDiv {
        gap: 30px;
    }


    .donCotis {
        width: 50px;
    }

    .donDon,
    .donTotal {
        width: 70px;
    }
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    /*background-image: linear-gradient(to right, #ff0000, #d2001f, #a20027, #710826, #420f1d, #3a1423, #311825, #281b25, #3b2d43, #444267, #3d5c8c, #0178af);*/
    padding: 15px;
    font-family: SFProRounded;
}

.list {
    list-style: none;
    display: flex;
    gap: 25px;
    font-size: 12px;
}

.link {
    display: inline-block;
    margin-bottom: 2px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.link::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--squareColor);
    border-radius: 4px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.link:hover::after {
    transform: scaleX(1);
}

.glow-on-hover {
    border: none;
    color: #fff;
    background: black;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: white;
}



.glow-on-hover:hover {
    outline: none;
    transition: opacity .3s ease-in-out;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--squareColor);
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.black {
    color: black;
}

.familyInput {
    width: auto;
    font-size: x-large;
    background-color: #444;
    color: #fff;
    margin-bottom: 0px;
}

.addressInput {
    width: 450px;
}

.cityInput {
    width: 280px;
}

.postcodeInput {
    width: 120px;
}

.phoneInput,
.emailInput {
    width: 250px;
}


/* Checkbox Custom */

.checkbox-wrapper-31:hover .check {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-31 {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
}

.checkbox-wrapper-31 .background {
    fill: #adadad;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.checkbox-wrapper-31 .stroke {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
    stroke-dashoffset: 100;
    stroke-dasharray: 100;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.checkbox-wrapper-31 .check {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    stroke-dashoffset: 22;
    stroke-dasharray: 22;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.checkbox-wrapper-31 input[type=checkbox] {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    -appearance: none;
    -webkit-appearance: none;
}

.checkbox-wrapper-31 input[type=checkbox]:hover {
    cursor: pointer;
}

.checkbox-wrapper-31 input[type=checkbox]:checked+svg .background {
    fill: #6cbe45;
}

.checkbox-wrapper-31 input[type=checkbox]:checked+svg .stroke {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-31 input[type=checkbox]:checked+svg .check {
    stroke-dashoffset: 0;
}

#totaux {
    color: #7030a0;
}

#totalDons {
    color: #4bacc6;

}

#totalCotisations {
    color: #00b050;
}



.inventory {
    /* CSS For the inventory interface */

    display: flex;
    justify-content: center;
    align-content: center;
    background-color: #676767;

}