@font-face {
    font-family: 'Borel';
    src: url('fonts/Borel-Regular.ttf')
}

@font-face {
    font-family: 'Roboto' ;
    src: url('fonts/Roboto-Regular.ttf')
    
}

@font-face {
    font-family: 'Geist' ;
    src: url('fonts/Geist-VariableFont_wght.ttf')
    
}

* { cursor: url('3D/main.png') 16 16, auto; }


header {
    background-color: rgba(0, 0, 0, 0);
    color: #F5F5F5;
    font-size: 1.5rem;
    font-family: 'Borel', sans-serif;
    padding: 10px;
    text-align: center;
    flex-shrink: 0;
}

body {
    font-family: 'Borel', sans-serif;
    font-size: 100%;
    color: #F5F5F5;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #CBCDCB;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative; 
}

#logo-title {
    width: 300px;       
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

#logo-title:hover {
    transform: scale(1.05);
}

header h1 {
    margin: 20px;
    padding: 0;
    line-height: 1;
}

header h1 a {
    display: inline-block;
}

.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    min-height: 100vh; 
}


.about {
    flex-grow: 1;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    position: fixed; 
    top: 40%; 
    left: 35%;
    transform: translate(-50%, -50%); 
    width: 400px; 
    text-align: left;
    z-index: 1; 
}

/* fond statique */
.background-image-1, .background-image-2 {
    position: fixed;
    width: 600px;
    height: 600px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

.background-image-1 {
    top: 0;
    left: 35%;
    transform: translateX(-50%);
    background-image: url('3D/fond about.png');
}

.background-image-2 {
    top: 33%;
    left: 55%;
    transform: translateX(-50%);
    background-image: url('3D/fond mail.png');
}

.about p {
    color: #11116d;
    font-size: 1rem;
    line-height: 1.5;
}

.large-text {
    font-size: 1.8rem;
    line-height: 0;
}


#image-container {
    position: relative;
    text-align: left;
    margin: 20px 0;
}

#fixed-image {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 50px;
    height: auto;
    border-radius: 50%;
}

#contact-info {
    position: fixed; 
    top: 72%; 
    left: 55%; 
    transform: translate(-50%, -50%);
    width: 300px; 
    text-align: center;
    font-family: 'Borel', sans-serif;
    font-size: 1.1rem;
    color: #050506;
    z-index: 1; 
}

#contact-info a {
    color: #ff2020;
    font-weight: bold;
    text-decoration: none;
}

#contact-info a:hover {
    text-decoration: underline;
}

footer {
    background-color: rgba(0, 0, 0, 0);
    font-family: 'Borel', sans-serif;
    color: #F5F5F5;
    text-align: center;
    padding-top: 10px;
    height: 10vh;
    font-size: 1rem;
    margin-top: auto;
    width: 100%;
}


@media (max-width: 600px) {
 
    header {
    flex-shrink: 0;
    width: 100%;
    text-align: center; 
    padding: 10px 0; 
    font-size: 1.5rem;
   
    }
    
    .background-image-1 {
        top: 6%;
        left: 50%;
        width: 420px;
        height: 450px;
    }

    .background-image-2 {
        top: 30%;
        left: 50%;
        width: 400px;
        height: 450px;
    }
    
    .about {
        position: relative; 
        top: auto;
        left: auto;
        transform: none; 
        width: 70%; 
        margin: 0 auto; 
        text-align: left; 
        padding: 20px; 
        line-height: 2.5;
    }

    .about p {
        font-size: 0.8rem; 
        line-height: 1.5; 
        color: #11116d;
    }

    .large-text {
        font-size: 0.8rem; 
        line-height: 2.5;
    }

    
    #contact-info {
        top: 55%; 
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%; 
        font-size: 1rem; 
        text-align: center; 
    }
    
    footer {
        font-size: 0.85rem; 
        text-align: center; 
        white-space: normal;
        line-height: 1.4; 
        margin-top: auto ;
        width: 100%;
        flex-shrink: 0;
        padding: 0;
    }
}

