.main-events {
    .event-head {
        height: 18rem;
        background-image: linear-gradient(
                to left,
                rgba(0, 0, 0, 0.5),
                rgba(0, 0, 0, 0.5)
        ),
        url('../img/event.webp');
        background-size: cover;
        background-position: 20% 30%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 7rem;

        @media screen and (max-width: 700px) {
            margin-bottom: 4rem;
        }

        @media screen and (max-width: 620px) {
            height: 15rem;
        }

        @media screen and (max-width: 420px) {
            height: 12rem;
        }

        .head-ct {
            padding: 0 18%;
            color: white;
            text-align: center;

            @media screen and (max-width: 1220px) {
                padding: 0 10%;
            }

            @media screen and (max-width: 1000px) {
                padding: 0 5%;
            }

            @media screen and (max-width: 700px) {
                padding: 0;
            }

            h1 {
                font-size: 3rem;
                margin-bottom: 3rem;

                @media screen and (max-width: 700px) {
                    font-size: 2.5rem;
                    margin-bottom: 3rem;
                    padding: 0 1rem;
                }

                @media screen and (max-width: 620px) {
                    font-size: 2rem;
                }

                @media screen and (max-width: 420px) {
                    font-size: 1.5rem;
                    margin-bottom: 2rem;
                }
            }

            p {
                font-size: 1.2rem;
                margin-bottom: 3rem;

                @media screen and (max-width: 700px) {
                    display: none;
                }
            }

            a {
                text-decoration: none;
                background-color: #d75a00;
                padding: 0.8rem 2rem;
                border-radius: 15px;
                color: antiquewhite;
                font-weight: 500;
                letter-spacing: 2px;

                @media screen and (max-width: 420px) {
                    padding: 0.4rem 1rem;
                    letter-spacing: 1px;
                }
            }
        }
    }

    .event-detail {
        margin-bottom: 4rem;

        @media screen and (max-width: 700px) {
            margin-bottom: 4rem;
        }

        .detail-content {
            display: flex;
            flex-direction: row-reverse;
            justify-content: center;
            gap: 4rem;
            padding: 0 1.5rem;
            margin-bottom: 6rem;

            @media screen and (max-width: 1000px) {
                gap: 2rem;
            }

            @media screen and (max-width: 950px) {
                flex-direction: column-reverse;
                align-items: center;
                gap: 4rem;
            }

            .detail-img {
                width: 40rem;
                overflow: hidden;
                line-height: 0;

                @media screen and (max-width: 950px) {
                    width: 80%;
                }

                @media screen and (max-width: 700px) {
                    width: 100%;
                }

                img {
                    border-radius: 2rem;
                    width: 100%;
                }
            }

            .detail-des {
                width: 32rem;
                align-self: center;

                @media screen and (max-width: 950px) {
                    width: 100%;
                }

                h2 {
                    margin-bottom: 1rem;
                }

                p {
                    line-height: 1.7;
                    margin-bottom: 2rem;
                }

                a {
                    text-decoration: none;
                    padding: 1.3em 3em;
                    font-size: 12px;
                    text-transform: uppercase;
                    letter-spacing: 2px;
                    font-weight: 700;
                    color: white;
                    background-color: #d75a00;
                    border: none;
                    border-radius: 45px;
                    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
                    transition: all 0.3s ease 0s;
                    outline: none;

                    &:hover {
                        box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
                        color: #000000;
                    }
                }
            }
        }

        .keywords {
            padding: 0 5%;

            span {
                padding: 2px 0px;
                margin: 15px 0px 0 0;
                display: inline-block;
                font-weight: 500;
                font-size: 1.1rem;

                @media screen and (max-width: 1020px) {
                    margin: 15px 15px 0 0;
                }

                @media screen and (max-width: 600px) {
                    margin: 15px 0 5px 0;
                }
            }

            .custom-title {
                margin-bottom: 1rem;
            }

            .content {
                p {
                    display: flex;
                    align-items: baseline;
                    width: 58rem;
                    justify-content: space-between;

                    a {
                        margin-left: auto;
                    }

                    @media screen and (max-width: 1020px) {
                        display: block;
                        width: unset;
                    }
                }
            }

            a {
                font-size: 1.1rem;

                @media screen and (max-width: 600px) {
                    padding-left: 1rem;
                }
            }

            @media screen and (max-width: 600px) {
                p:not(:last-of-type) {
                    margin-bottom: 1rem;
                }
            }
        }
    }


    .event-newsletter {
        background-color: #d75a00;
        padding: 2rem 0;
        margin-bottom: 6rem;

        @media screen and (max-width: 420px) {
            margin-bottom: 4rem;
        }

        .newsletter-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4rem;

            @media screen and (max-width: 1000px) {
                flex-direction: column;
                gap: 1rem;
            }

            @media screen and (max-width: 560px) {
                padding: 0 1rem;
            }

            h3 {
                display: flex;
                align-items: center;
                color: white;
                font-size: 1.4rem;

                @media screen and (max-width: 560px) {
                    flex-direction: column;
                    font-size: 1.1rem;
                    text-align: center;
                }
            }

            div:last-child {
                display: flex;


                button {
                    background: transparent;
                    position: relative;
                    padding: 5px 12px;
                    font-size: 17px;
                    display: flex;
                    align-items: center;
                    font-weight: 600;
                    text-decoration: none;
                    cursor: pointer;
                    border: 1px solid #fff;
                    border-radius: 25px;
                    outline: none;
                    overflow: hidden;
                    color: #fff;
                    transition: color 0.3s ease-out;
                    font-family: inherit;
                }

                button span {
                    margin: 10px;
                }

                svg{
                    fill: #fff;
                    transition: all .3s;
                }

                button:hover {
                    color: #2c68ff;
                    border: 1px solid #2c68ff;
                    background-color: #fff
                }

                button:hover svg {
                    fill: #2c68ff;
                }

                a{
                    text-decoration: none;
                }
            }
        }
    }

    .event-history {
        margin-bottom: 6rem;

        .custom-title {
            justify-content: center;
            margin-bottom: 2rem;

            @media screen and (max-width: 560px) {
                padding-left: 0;
            }

            @media screen and (max-width: 420px) {
                font-size: 1.3rem;
            }
        }

        .history-content {
            text-align: center;

            iframe {
                width: 70%;
                height: 35rem;

                @media screen and (max-width: 900px) {
                    width: 89%;
                }

                @media screen and (max-width: 700px) {
                    height: 20rem;
                }
            }
        }
    }
}


.section-temoignages {
    padding: 3rem 0 !important;
    margin-bottom: 0 !important;

    & .tem-heading {
        margin-bottom: 2.5rem !important;
    }

}