@font-face {
    font-family: 'Brandon Text';
    src: url('assets/fonts/BrandonText-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brandon Text';
    src: url('assets/fonts/BrandonText-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brandon Text';
    src: url('assets/fonts/BrandonText-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brandon Text';
    src: url('assets/fonts/BrandonText-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brandon Text';
    src: url('assets/fonts/BrandonText-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root{
    --orange: #FF5100;
    --beige: #C5C19F;
    --bleu: #4B90DB;
    --vert: #C3D534;
    --noir: #1A1919;
}
body{
    overflow:hidden;
    margin:0;
    background: var(--noir);
    font-family: 'Brandon Text', sans-serif;
    color:white;
}

.dns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    height:100vh;
    height: 100svh;
    gap:0;


}

.dns-grid > div{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height:calc(100vh / 3);
    overflow:hidden;
    border:0px solid white;
}

.slider-bg {
    position: relative;
    overflow: hidden;
}

.slider-bg > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-bg > div:first-child {
    opacity: 1;
}

.text-carousel{

 
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-carousel > div {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: clamp(1.5rem, 1.4871rem + 0.6897vw, 1.875rem);
    text-align: center;
    opacity: 0;
}
@media screen and (max-width: 500px) {

.text-carousel > div {

    font-size: 1rem

}
}
.text-carousel > div:first-child {
    opacity: 1;
}

.text-carousel strong {
    font-weight: 700;
    margin-right: 0.3em;
}
@media screen and (min-width: 1024px) {
    

    .player-inge{
        will-change: transform;
            transform:scale(1.5);
    }
    .player-archi{
    will-change: transform;
            transform:scale(1.7);
    
    }
    .player-construction{
    will-change: transform;
            transform:scale(1.4);
    
    }
}
/* @media screen and (min-width: 1024px) {
    

    .player-inge{
            transform:scale(1.5);
    }
    .player-archi{
    
            transform:scale(1.7);
    
    }
    .player-construction{
    
            transform:scale(1.4);
    
    }
} */