html {
    overflow-x: hidden;
}

body {
    background-color: #F9F7FF;
    font-family: "Lato", serif;
    overflow-x: hidden;
}

a {
    color: rgb(0, 0, 0);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.h1, h1 {
    font-size: 2.1rem;
}

.h2, h2 {
    font-size: 1.75rem;
}

.btn-group-lg > .btn, .btn-lg {
    --bs-btn-padding-y: 1rem;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-font-size: 1.5rem;
}

.btn-primary {
    background: linear-gradient(180deg, #ecb1dd 0%, #c44994 50%, #ffa3b5 100%);
    color: #fff;
    border: 2px solid #d795c9;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 4px 18px rgba(200, 150, 60, 0.25);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
    font-weight: 600;
    transition: all 0.25s ease-in-out;
    --bs-btn-active-border-color: #d795c9 !important;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ffa3b5 0%, #c44994 50%, #ecb1dd 100%);
    border-color: #d795c9;
    box-shadow: 0 0 0 2px rgba(255, 245, 200, 0.4),
    0 6px 26px rgba(210, 160, 60, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    transform: scale(1.06);
    color: #fff;
    text-shadow: none;
}

p, ol, #legal ul, summary {
    font-size: 1.2rem;
}

.text-primary {
    color: #5a395f !important;
}

.bg-secondary {
    background-color: rgb(228, 217, 255) !important;
}

header {
    background: url('../img/header.webp') center bottom -150px no-repeat scroll;
    background-size: cover;
    height: 200px;
    overflow: hidden;
}

.navbar-brand {
    width: 350px;
    margin-bottom: -20px !important;
    position: relative;
    z-index: 1;
}

.navbar-brand::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 200%;
    height: 400%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

#porteur {
    position: absolute;
    width: 450px !important;
    top: -150px;
    left: 50px;
}

.card {
    border-radius: 20px;
    margin-top: 20px;
    background: #5D3B62;
}

#p1, #p2 {
    margin-top: 30px;
    background: linear-gradient(135deg, #FFF, #EBB9DD);
    border-radius: 18px;
    padding: 30px 20px;
    color: #4a2f4e;
    box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.5), 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
}

.photo {
    border-radius: 50%;
    max-width: 110px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
}

.lead {
    font-weight: 500;
}

.gift {
    max-width: 400px;
}

.mail {
    max-width: 18px;
}

.name {
    color: #ad34d9;
    font-weight: 700;
}

#slide {
    min-height: calc(100vh - 200px) !important;
}

#slide.bg {
    background: url('../img/slide.webp') center top no-repeat scroll;
    background-size: cover;
}

#slide .fw-bold {
    font-weight: 800 !important;
}

#slide .card {
    border-radius: 20px;
    margin-top: 20px;
    background: #ffffff !important;
}

#slide .imgporteur {
    max-height: 200px;
}

#slide .btn-primary, #slide .btn-outline-secondary {
    font-size: 1.1rem;
}

#slide .btn-primary {
    background: #c54b95;
    border: none !important;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: none;
    border-radius: 0.375rem;
}

#slide .btn-primary:hover {
    background: #5a395f;
    transform: scale(1.05);
}

/* Media queries */
@media (min-width: 1400px) {
    .container {
        max-width: 1000px;
    }

    header .container {
        max-width: 1320px;
    }
}

@media (max-width: 1399px) {
    #porteur {
        width: 450px !important;
        left: 0;
    }
}

@media (max-width: 1199px) {
    header {
        background: url('../img/header.webp') center bottom no-repeat scroll;
        background-size: cover;
    }

    #porteur {
        width: 400px !important;
        left: -50px;
    }
}

@media (max-width: 991px) {
    #porteur {
        width: 300px !important;
        left: -80px;
        top: -100px;
    }

    .h1, h1 {
        font-size: 1.75rem;
    }

    .h2, h2 {
        font-size: 1.5rem;
    }

    p, ol, #legal ul, summary {
        font-size: 1.05rem;
    }

    .photo {
        max-width: 110px;
    }

    .card {
        margin-top: 10px;
    }

    #p1, #p2 {
        padding: 20px 10px;
    }

    p {
        font-size: 1rem;
    }

    #slide h1 {
        font-size: 1.4rem;
    }

    #slide p {
        font-size: 1.1rem;
    }

    #slide .small {
        font-size: .8rem;
    }

    #slide .imgporteur {
        max-height: 150px;
    }

    .lead {
        font-size: 1.15rem;
    }

    .mail {
        max-width: 15px;
    }

    .gift {
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    header {
        height: 200px;
    }

    #porteur {
        width: 200px !important;
        left: -40px;
        top: -60px;
    }

    .photo {
        border-radius: 50%;
        max-width: 100px;
        margin-right: 10px;
        margin-bottom: 10px;
        float: left;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        width: 240px;
    }

    header {
        height: 110px;
    }
}

@media (max-width: 414px) {
    .navbar-brand {
        width: 220px;
    }
}