/*
Theme Name: WPA Theme
Theme URI: http://portfolio-xi-gules-37.vercel.app
Author: Aaron
Author URI: http://portfolio-xi-gules-37.vercel.app
Description: Un thème WordPress conçu pour offrir une expérience adaptable aux besoins spécifiques du site.
Version: 1.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: 'Poppins-Regular';
    src: url('assets/fonts/poppins-latin-400-normal.woff2') format('woff2'),
        url('assets/fonts/poppins-latin-400-normal.woff') format('woff');
}

@font-face {
    font-family: 'Poppins-SemiBold';
    src: url('assets/fonts/poppins-latin-500-normal.woff2') format('woff2'),
        url('assets/fonts/poppins-latin-500-normal.woff') format('woff');
}

@font-face {
    font-family: 'Poppins-Bold';
    src: url('assets/fonts/poppins-latin-600-normal.woff2') format('woff2'),
        url('assets/fonts/poppins-latin-600-normal.woff') format('woff');
}

@font-face {
    font-family: 'Poppins-ExtraBold';
    src: url('assets/fonts/poppins-latin-700-normal.woff2') format('woff2'),
        url('assets/fonts/poppins-latin-700-normal.woff') format('woff');
}

:root {
    --fs-xxs: 10px;
    --fs-xs: 11px;
    --fs-sm: 12px;
    --fs-md: 13px;
    --fs-base: 14px;
    --fs-lg: 15px;
    --fs-xl: 16px;
    --fs-2xl: 18px;
    --fs-3xl: 20px;
    --fs-3-3xl: 22px;
    --fs-4xl: 24px;
    --fs-5-5xl: 26px;
    --fs-5xl-2: 30px;
    --fs-5xl: 32px;
    --fs-6xl: 36px;
    font-size: var(--fs-xl);
}

@media (max-width: 991px) {
    :root {
        --fs-xxs: 9px;
        --fs-xs: 10px;
        --fs-sm: 11px;
        --fs-md: 12px;
        --fs-base: 13px;
        --fs-lg: 14px;
        --fs-xl: 15px;
        --fs-2xl: 16px;
        --fs-3xl: 18px;
        --fs-3-3xl: 20px;
        --fs-4xl: 22px;
        --fs-5-5xl: 24px;
        --fs-5xl-2: 28px;
        --fs-5xl: 28px;
    }
}

@media (max-width: 480px) {
    :root {
        --fs-xxs: 8px;
        --fs-xs: 9px;
        --fs-sm: 10px;
        --fs-md: 11px;
        --fs-base: 12px;
        --fs-lg: 13px;
        --fs-xl: 14px;
        --fs-2xl: 15px;
        --fs-3xl: 16px;
        --fs-3-3xl: 18px;
        --fs-4xl: 20px;
        --fs-5-5xl: 22px;
        --fs-5xl-2: 26px;
        --fs-5xl: 24px;
    }
}

body {
    font-family: 'Poppins-Regular';
    margin: 0;
    padding: 0;
    width: 100%;
    color: #555555;
    background-color: white;
    margin-top: 14vh;
}

h1 {
    color: #333;
}

.main-page-container {
    width: 100%;
    height: 100vh;
    background-color: white;
}

.notfound {
    height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    justify-content: center;
    gap: 4px;

    .background {
        font-family: "Poppins-ExtraBold";
        text-align: center;
        -webkit-text-stroke: 1px #F2ACAF66;
        color: transparent;
        font-size: 500px;
        position: absolute;
        pointer-events: none;
        z-index: -1;
        line-height: 350px;
        bottom: 0;
    }

    .notfoundtext {
        font-size: var(--fs-5xl);
        font-family: "Poppins-ExtraBold";
        color: #BB1A21;
    }

    .maintext {
        font-size: 100px;
        font-family: "Poppins-ExtraBold";
        background: linear-gradient(180deg, #FF95A4 30.67%, #BB1A21 73.33%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 124px;
        padding-top: 1%;
    }

    .notfound-link {
        border: 1px solid black;
        display: flex;
        justify-content: space-between;
        padding: 0.6% 2%;
        border-radius: 500px;
        width: 22%;
        transition: all 0.1s ease-in-out;
        color: #555555;
        text-decoration: none;
    }

    .notfound-link:hover {
        background-color: black;
        scale: 1.06;
        color: white;
        cursor: pointer;

        img {
            filter: invert(100%)
        }
    }
}

/* GLOBAL STYLES */
.book-title-text {
    color: #222222;
}

.section-title {
    color: black;
    font-family: 'Poppins-ExtraBold';
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: fit-content;
}

.title-underline {
    max-width: 96px;
    width: 42px;
    height: 4px;
    background-color: #BB1A21;
}

.page-title-big-image {
    height: 70vh;
    border: 1px solid #DDDDDD;
    border-radius: 15px;
    height: 70vh;

    .page-title {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(30, 30, 30, 0.2) 48.5%, rgba(255, 255, 255, 0.2) 100%);
        backdrop-filter: blur(50px);
        padding: 4%;
        border-radius: 25px;
        border: 1px solid white;
        width: fit-content;
        color: white;
        min-width: 30%;
        margin: 5% 0 0 3%;

        .section-title {
            color: white;
            font-size: var(--fs-4xl);
        }
    }
}

.paragraph-long-text {
    text-align: justify;
    hyphens: auto;
    padding-top: 4%;
}

.section-paragraph {
    padding-top: 6%;
}

.link-external {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid black;
    border-radius: 500px;
    padding: 1% 3%;
    color: black;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}

.link-external:hover {
    background-color: black;
    color: white;
    scale: 1.04;

    img {
        filter: invert(100%);
    }
}

.related-news {
    display: flex;
    align-items: center;
    padding: 6% 4%;
    gap: 24px;

    .related-text {
        font-family: "Poppins-Bold";
        font-size: var(--fs-3xl);
        color: black;
        white-space: nowrap;
    }
}

.related-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #8B8B8B;
    border-top: 1px solid #8B8B8B;
    width: 100%;
    padding: 2% 0;

    a {
        color: #BB1A21;
    }
}

.see-more {
    display: flex;
    font-family: "Poppins-Bold";
    justify-content: space-between;
    padding: 1% 2%;
    width: 12%;
    align-items: center;
    color: black;
    border-radius: 500px;
    border: 1px solid black;
    transition: all 0.1s ease-in-out;
    text-decoration: none;
}

.see-more:hover {
    scale: 1.1;
    background-color: black;
    color: white;
    cursor: pointer;

    img {
        filter: invert(100%);
    }
}

.section-miniparagraph {
    display: flex;
    flex-direction: column;
    padding-top: 4%;
    text-align: justify;

    .section-minititle {
        padding-left: 22px;
        font-family: "Poppins-ExtraBold";
        color: black;
        border-left: 4px solid #BB1A21;
    }

    a {
        color: #555555;
    }

    a:hover {
        color: black;
    }
}

.single-image-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2% 0;
}

.related-news-block {
    height: 80vh;
    border-top: 1px solid #97979733;
    border-bottom: 1px solid #97979733;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4% 8% 0 8%;

    .home-news-main {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .home-events-top {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .more-news {
            font-size: var(--fs-base);
            color: white;
            background-color: #BB1A21;
            padding: 1% 2%;
            border-radius: 5px;
            transition: all 0.1s ease-in-out;
            font-family: "Poppins-ExtraBold";
        }

        .more-news:hover {
            background-color: black;
            scale: 1.05;
            cursor: pointer;
        }

    }

    .home-news-list {
        display: flex;
        justify-content: space-between;
    }

    .home-news-block {
        width: 30%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .block-info {
            display: flex;
            flex-direction: column;
            justify-content: end;
        }

        img {
            width: 100%;
            height: 272px;
            border-radius: 10px;
            object-fit: cover;
        }
    }

    .home-news-info {
        width: 100%;
        gap: 12px;
        display: flex;
        align-items: center;

        .home-news-infos {
            display: flex;
            align-items: center;
            gap: 4px;

            img {
                width: 20px;
                height: 20px;
            }

            p {
                font-size: var(--fs-sm);
            }
        }

        .separation-mini-line {
            width: 1px;
            height: 10px;
            background-color: #555555;
        }
    }

    .home-news-title {
        display: flex;
        padding: 6% 0;

        .news-title {
            font-weight: bolder;
            color: #222222;
            font-size: (--text-medium);
        }

        button {
            background-color: transparent;
            border: none;
            cursor: pointer;
            height: 20px;
            width: 20px;
            padding: 0;
        }

        img {
            width: 20px;
            height: 20px;
        }
    }
}

.contact-button {
    width: 28%;
    border: 1px solid black;
    border-radius: 50px;
    padding: 1% 3%;
    font-family: "Poppins-SemiBold";
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: black;
    transition: 0.1s ease-in-out;
    cursor: pointer;
}

.contact-button:hover {
    scale: 1.08;
    background-color: black;
    color: white;

    img {
        filter: invert(100%)
    }
}

.congresses-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4%;

    .top-button {
        display: flex;
        align-items: center;
        background: linear-gradient(to right, #790A0F, #ED1F24);
        color: white;
        gap: 16px;
        padding: 4px 4px 4px 20px;
        border-radius: 50px;
        transition: all 0.1s ease-in-out;
    }

    .top-button:hover {
        cursor: pointer;
        scale: 1.05;
    }
}

.important-external-link {
    display: flex;
    align-items: center;
    padding: 5px;
    color: white;
    transition: all 0.1s ease-in-out;
    border-radius: 50px;
    background: linear-gradient(to right, #790A0F, #ED1F24);
    padding-left: 32px;
    justify-content: space-between;
    margin: 64px 0;
    cursor: pointer;
    gap: 32px;
    text-decoration: none;

    &:hover {
        scale: 1.02;
    }

    img {
        width: 48px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 16px;
        margin: 24px 0;
    }

    .link-external {
        padding: 12px 32px;
        margin-bottom: 16px;

        div {
            text-align: center;
        }
    }
}

::selection {
    background-color: #e75154a6;
    color: white;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.button-grad {
    background: linear-gradient(90deg, #ED1F24 0%, #790A0F 100%);
    display: flex;
    align-items: center;
    border-radius: 500px;
    height: fit-content;
    padding: 5px;
    color: white;

    &:hover {
        text-decoration: none;
        scale: 1.05;
        cursor: pointer;
        background: linear-gradient(90deg, black 0%, black 100%);

        .arrow {
            img {
                filter: grayscale(100);
            }
        }
    }

    div {
        padding: 0 48px 0 64px;
    }

    .arrow {
        background: white;
        border-radius: 500px;
        padding: 6px;

        img {
            width: 22px;
        }
    }
}