main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    .icon {
        margin-top: 50px;
        color: var(--lc);
        font-size: 105px;
        font-family: var(--fth);
        background: var(--oc);
        border-radius: 50%;
        height:140px;
        width: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    h1 {
        font-size: 85px;
        color: var(--oc);
        font-family: var(--fth);
        text-transform: uppercase;
        font-weight: 500;
        margin-top: 20px;
        word-spacing: 5px;
        letter-spacing: 1px;
    }
    h2 {
        color: var(--fdc);
        text-transform: uppercase;
        font-family: var(--fst);
        font-weight: 500;
    }
    .title-maint {
        margin-top: 20px;
        color: var(--dc);
        text-transform: uppercase;
        font-family: var(--flf);
        font-weight: 500;
        text-align: center;
        word-spacing: 3px;
        letter-spacing: 0.3px;
    }
    .btn-details {
        all: unset;
        margin-top: 20px;
        padding: 7px 12.5px;
        background: var(--dc);
        color: var(--lc);
        font-family: var(--flf);
        border-radius: 4px;
        width: 250px;
        outline: 1px solid var(--dc);
        font-size: 22px;
        cursor: pointer;
        text-align: center;
        transition: var(--tcm);
        &:hover {
            color: var(--dc);
            background: var(--lc);
        }
    }
    .modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.6);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease;
        &.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            .modal-content {
                transform: translateY(0);
                opacity: 1;
            }
        }
        .modal-content {
            background: #fff;
            width: 60%;
            max-height: 80%;
            min-height: 50%;
            height: auto;
            overflow-y: auto;
            padding: 20px;
            border-radius: 10px;
            position: relative;
            transform: translateY(-40px);
            opacity: 0;
            transition: all .3s ease;
            .modal-close {
                position: absolute;
                top: 5px;
                right: 15px;
                border: 0;
                background: none;
                font-size: 24px;
                cursor: pointer;
                color: rgb(160, 160, 160);
                transition: var(--tc);
                &:hover {
                    color: var(--dc);
                }
            }
            .objectifs-title {
                text-transform: uppercase;
                word-spacing: 3px;
                font-size: 25px;
                font-weight: 600;
                margin-bottom: 10px;
                font-family: var(--flf);
                color: var(--dc);
                text-align: center;
                padding-bottom: 10px;
                border-bottom: 1px solid rgb(200, 200, 200);
            }
        }
    }
    .links {
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        a {
            all: unset;
            padding: 8px 20px;
            width: 175px;
            color: var(--lc);
            background: var(--fdc);
            border-radius: 5px;
            text-align: center;
            font-family: var(--flf);
            text-transform: uppercase;
            cursor: pointer;
            outline: 1px solid var(--fdc);
            transition: var(--tcm);
            &:hover {
                background: var(--lc);
                color: var(--fdc);
            }
            &.no-show {
                opacity: 0;
                pointer-events: none;
            }
        }
    }
    &::before {
        content: "";
        position: absolute;
        top: 2%;
        left: -5%;
        width: 30%;
        height: 25%;
        background-image: url('https://basse-normandie-kyokushin.fr/assets/img/images/logo.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 1; 
        z-index: 0;
        pointer-events: none;
    }
    > * {
        position: relative;
        z-index: 1;
    }   
}
footer {
    all: unset;
    background: var(--mc);
    padding: 7.5px 0;
    font-family: var(--flf);
    color: var(--lc);
    text-align: center;
    &::before, &::after {
        display: none;
    }
    .contact-sentence {
        font-size: 14px;
        a {
            color: var(--lc);
        }
    }
     
}

@media (max-width: 768px) {
    main {
        .icon {
            margin-top: 40px;
            font-size: 90px;
            height:125px;
            width: 125px;
        }
        h1 {
            font-size: 32.5px;
            word-spacing: 4px;
            letter-spacing: 0.8px;
            text-align: center;
        }
        h2 {
            font-size: 18px;
            text-align: center;
        }
        .title-maint {
            font-size: 15px;
            padding: 0 15px;
        }
        .btn-details {
            border-radius: 6px;
            width: 60%;
            font-size: 20px;
        }
        .modal {
            .modal-content {
                width: 90%;
                padding: 15px;
                border-radius: 8px;
                .modal-close {
                    right: 8px;
                    font-size: 20px;
                }
                .objectifs-title {
                    word-spacing: 2px;
                    font-size: 18px;
                    font-weight: 500;
                }
            }
        }
        .links {
            flex-direction: column;
            justify-content: center;
            a {
                width: 80%;
            }
        }
        &::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50%;
            height: 50%;
            background-image: url('https://basse-normandie-kyokushin.fr/assets/img/images/logo.png');
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.2; 
            z-index: 0;
            pointer-events: none;
        } 
    }
    footer {
        font-size: 14px;
        .contact-sentence { font-size: 12px; }
    }
}