html, body {
    width:100%;
    position: relative;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
}

#wrapper {
    display: block;
    position: relative;
    margin: 100px 200px;
    padding: 1px;
}

#wrapper #patterns-citran1 {
    background: url(../images/citran1.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 101;
    width: 500px;
    height: 500px;
    margin: -50px 0 0 -50px;
}

#wrapper #patterns-citran2 {
    background: url(../images/citran2.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    margin: 0 -50px -50px 0;
    z-index: 101;
    width: 250px;
    height: 250px;
}

#wrapper #content {
    background: url('../images/pattern.jpeg') center #fff;
    background-size: 500px auto;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: block;
    border-radius: 180px 180px 0 0;
    overflow: hidden;
}

#wrapper #content:before {
    content: "";
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    bottom: 60px;
    z-index: 100;
    border-radius: 140px 140px 0 0;
}


#wrapper #text {
    text-align: center;
    position: relative;
    z-index: 100;
    margin: 100px;
    color: #182686;
    font-family: 'The Seasons Regular', sans-serif;
}


.countdown {
    margin: 0 auto;
    max-width: 500px;
    border-radius: 3px;
}
.countdown >div {
    border:solid #dcdff0;
    border-width:3px 0;
    background:rgba(255, 255, 255, 0.7);
    position: relative;
    padding:20px 10px;
}
.countdown > div:before,
.countdown > div:after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    background: url('../images/lemon.png') center top; /* Start at the top */
    background-size: 100% auto;
    content: "";
    animation: moveLemon 5s linear infinite; /* Animate lemon movement */
}

.countdown > div:before {
    left: 0;
}

.countdown > div:after {
    right: 0;
}
.countdown h4 {
    font-size:38px;
}

/* Keyframes for vertical movement of lemon.png */
@keyframes moveLemon {
    0% {
        background-position: center top; /* Start at the top */
    }
    100% {
        background-position: center bottom; /* Move to the bottom */
    }
}


h1 {
    font-size: 5rem;
    text-align: center;
    margin-top: 20px;
    text-transform: uppercase;
    color: #182686;
}

h1 {
    font-size: 5rem;
    margin-top: 20px;
    text-transform: uppercase;
}

h1 span {
    display: inline-block;
    margin: 0;
    padding: 0;
}

h1 .text-hebrew {
    margin-top:-7px;
    font-size: 2rem;
    text-align: right;
    display: block;
}

h1 .text-and {
    font-size:8rem;
}

h1 >div:first-child {
    margin-bottom:-60px;
}

h1 >div:last-child {
    margin-top:-50px;
}

h3 {
    font-size: 3rem;
    color: #182686;
}

h4 {
    font-size: 2.5rem;
    color: #182686;
}

.merci img {
    width:100%;
    max-width:600px;
    display:block;
    margin:0 auto;
}

input[type="text"] {
    font-family: 'The Seasons Regular', sans-serif;
}

.wrapper-form-label {
    padding:10px;
    max-width:400px;
    margin:0 auto;
}

.image-scooter {
    height:300px;
    margin-bottom:40px;
}

.form-label {
    display:block;
}

.form-check {
    background:#dcdff0;
    color: #182686;
    border-radius:10px;
    display:inline-block;
    padding:10px 20px 10px 35px;
    margin:2px 10px;
}

.btn-tete {
    background-repeat:no-repeat;
    background-position:calc(100% - 10px) center;
    background-size:auto 100%;
    padding:25px 80px 25px 20px;
}
.btn-tete-jojo {
    background-image:url(../images/jojo.png);
}
.btn-tete-shasha {
    background-image:url(../images/shasha.png);
}

.font-season-regular {
    font-family: 'The Seasons Regular', sans-serif;
}

.font-eyesome-script {
    font-family: 'Eyesome Script', sans-serif;
}

.font-notoserif-hebrew {
    font-family: 'Noto Serif Hebrew', sans-serif;
}
.font-coolvetica-rg {
    font-family: 'Coolvetica Rg', sans-serif;
}

.links {
    text-align:center;
    display:block;
    line-height: 120%;
}

hr {
    margin:50px 0;
    display:block;
    /*opacity:0;*/
}

.links a {
    position: relative;
    display: inline-block;
    padding:15px 35px;
    margin:5px 0;
    font-size:1.5rem;
    border-radius:30px;
    background:#dcdff0;
    color: #182686;
    font-family:'Badhorse Regular',serif;
    text-decoration:none;
}

.links a.rsvp {
    background:#e6cc56;
    color: #8c7a1f;
}
.links a.rsvp:before {
    position:absolute;
    left:-20px;
    top:-20px;
    background:url(../images/lemon.png) no-repeat center center;
    background-size:100% auto;
    width:60px;
    height:60px;
    content:"";
    z-index:101;
}

.warning {
    background:#dcdff0;
    color: #182686;
    border:1px solid #8991ce;
    border-radius:10px;
    max-width:400px;
    margin-left:auto;
    margin-right:auto;
    padding:20px;
    font-weight: bold;
}

ul, .block {
    padding:15px 20px;
    margin:0 auto;
    max-width:500px;
    background:#dcdff0;
    border-radius:20px;
}
ul li {
    list-style: none;
    margin:0 0 25px;
}
ul li:last-child {
    margin-bottom:0;
}
ul li h6, .block h6 {
    font-family:'Badhorse Regular',serif;
    color: #182686;
}

.image-toda {
    position: relative;
    display: inline-block;
}

.image-toda img {
    display: block;
    position: relative;
    border: 5px solid transparent; /* Pour éviter les sauts de mise en page */
    z-index: 1;
    border-radius:2px;
}

.image-toda::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 7px);
    height: calc(100% - 7px);
    background: #182686;
    z-index: 0;
    border-radius:2px;
}

@font-face {
    font-family: 'Eyesome Italic';
    src: url('../fonts/Eyesome Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Eyesome Regular';
    src: url('../fonts/Eyesome Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Eyesome Script';
    src: url('../fonts/Eyesome Script.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'The Seasons Bold';
    src: url('../fonts/The Seasons Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'The Seasons Light';
    src: url('../fonts/The Seasons Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'The Seasons Regular';
    src: url('../fonts/The Seasons Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Noto Serif Hebrew';
    src: url('../fonts/NotoSerifHebrew-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900; /* Variable font weight range */
    font-style: normal;
}
@font-face {
    font-family: 'Badhorse Regular';
    src: url('../fonts/Badhorse Regular.otf') format('truetype');
    font-style: normal;
}
@font-face {
    font-family: 'Coolvetica Rg';
    src: url('../fonts/Coolvetica Rg.otf') format('truetype');
    font-style: normal;
}

@media only screen and (max-width: 600px) {
    .image-scooter {
        height: 250px;
    }
    #wrapper {
        margin: 20px;
    }

    #wrapper #content {
        border-radius: 130px 130px 0 0;
    }

    #wrapper #content:before {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    #wrapper #text {
        margin:70px 50px;
    }

    h1 {
        font-size: 3.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    #wrapper #patterns-citran1 {
        width: 200px;
        height: 200px;
        margin: -10px 0 0 -10px;
    }

    #wrapper #patterns-citran2 {
        margin: 0 -25px -25px 0;
        width: 130px;
        height: 130px;
    }
}

path {
    stroke: black; /* Stroke color */
    stroke-width: 2; /* Line thickness */
    fill: none; /* No fill to keep it line-based */
    stroke-dasharray: 300; /* Total length of the path */
    stroke-dashoffset: 300; /* Start at full offset */
    animation: draw 2s linear forwards; /* 2s animation, linear pace */
}

@keyframes draw {
    from {
        stroke-dashoffset: 300; /* Start fully invisible */
    }
    to {
        stroke-dashoffset: 0; /* End fully visible */
    }
}

.gift-list {
    margin: 30px auto;
    max-width: 800px;
    padding: 0 20px;
}

.gift-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.gift-table th,
.gift-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dcdff0;
}

.gift-table th {
    background: #182686;
    color: #fff;
    font-family: 'The Seasons Regular', sans-serif;
    font-size: 1.2rem;
}

.gift-table tr:last-child td {
    border-bottom: none;
}

.gift-table tr:hover {
    background: #f8f9ff;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-family: 'The Seasons Regular', sans-serif;
}

.status.available {
    background: #e6f3e6;
    color: #2e7d32;
}

.status.reserved {
    background: #fff3e0;
    color: #ef6c00;
}

.gift-note {
    margin-top: 20px;
    font-style: italic;
    color: #666;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .gift-table {
        font-size: 0.9rem;
    }
    
    .gift-table th,
    .gift-table td {
        padding: 10px;
    }
    
    .status {
        padding: 3px 8px;
        font-size: 0.8rem;
    }
}


