@font-face {
    font-family: 'DM Serif Display';
    src: url('../fonts/DMSerifDisplay-Regular.eot');
    src: url('../fonts/DMSerifDisplay-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/DMSerifDisplay-Regular.woff2') format('woff2'),
        url('../fonts/DMSerifDisplay-Regular.woff') format('woff'),
        url('../fonts/DMSerifDisplay-Regular.ttf') format('truetype'),
        url('../fonts/DMSerifDisplay-Regular.svg#DMSerifDisplay-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.eot');
    src: url('../fonts/Poppins-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Poppins-Regular.woff2') format('woff2'),
        url('../fonts/Poppins-Regular.woff') format('woff'),
        url('../fonts/Poppins-Regular.ttf') format('truetype'),
        url('../fonts/Poppins-Regular.svg#Poppins-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.eot');
    src: url('../fonts/Poppins-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Poppins-Bold.woff2') format('woff2'),
        url('../fonts/Poppins-Bold.woff') format('woff'),
        url('../fonts/Poppins-Bold.ttf') format('truetype'),
        url('../fonts/Poppins-Bold.svg#Poppins-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


.prehome { font:28px 'Poppins', Arial, Helvetica, sans-serif; line-height:1.2em; color:#000000;}

.clear { float:none; clear:both; margin:0; padding:0; width:0; height:0; line-height:0; border:0; font-size:0; outline:0; overflow:hidden;} /* old */
.clearfix:before,
.clearfix:after { content:" "; display:table;}
.clearfix:after { clear:both;}
.clearfix { zoom:1;} /* For IE 6/7 (trigger hasLayout) */

.prehome {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}
.prehome .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.767);
    z-index: 10;
}
.prehome .popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 1077px;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    min-height: 310px;
    text-align: center;
    background: url(../media/cambrai-bg.png) no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    padding: 40px;
}
.prehome .popup .content {
    width: 100%;
    height: auto;
    color: #FFFFFF;
    text-align: center;
}
.prehome .popup .content h2 {
    font-family: 'DM Serif Display',Arial,sans-serif;
    font-size: 70px;
    line-height: 1.1em;
    margin: 0 0 20px 0;
}
.prehome .popup .content a {
    position: relative;
    width: 259px;
    height: 75px;
    margin: 55px auto 0 auto;
    text-decoration: none;
    color: #FFFFFF;
    background: #E74A2B;
    border: 1px solid #E74A2B;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

}
.prehome .popup .content a:hover {
    background: #FFFFFF;
    color: #E74A2B;
    border: 1px solid #E74A2B;
    font-weight: bold;

}
.prehome .popup .close {
    position: absolute;
    top:-30px;
    right: -30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: block;
    z-index: 30;
}
.prehome .popup .close svg {
    width: 100%;
    height: auto;
    cursor: pointer;
    display: block;
    z-index: 30;
    pointer-events: none;
}
@media (max-width:1080px){
    .prehome .popup {
        width: calc(100% - 80px);
    }
    .prehome .popup .content h2 {
        font-size: 45px;
    }
    .prehome .popup .content span {
        font-size: 20px;
    }
    .prehome .popup .content a {
        position: relative;
        width: 200px;
        height: 65px;
        font-size: 19px;

    }
    .prehome .popup .close {
        top: 10px;
        right: 10px;
        width: 20px;
        height: 20px;
    }
    .prehome .popup .close svg {
        width: 100%;
        height: auto;
        cursor: pointer;
        display: block;
        z-index: 30;
        pointer-events: none;
    }
    
}
@media (max-width:620px){
    .prehome .popup .content h2 {
        font-size: 34px;
    }
    .prehome .popup .content span {
        font-size: 18px;
        line-height: 1.2em;
        display: block;
    }
    .prehome .popup .content a {
        position: relative;
        width: 180px;
        height: 55px;
        font-size: 19px;
        margin-top: 15px;
    }
}