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

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

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

body {
    font-family: 'Helvetica', sans-serif;
    font-size: 1.5rem;
    color: #F5F5F5;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #CBCDCB;
    display: flex;
    flex-direction: column;
    background-image: url('3D/fond contact.png');
    background-size: 35% auto;
    background-repeat: no-repeat;
    background-position: left calc(100% + 60px);
    position: relative; 
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: "Helvetica"; 
}

header {
    background-color: rgba(0, 0, 0, 0);
    color: #F5F5F5;
    padding: 10px;
    text-align: center;
    height: 10vh; 
    flex-shrink: 0; 
}

#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;
}

/*  formulaire */
section {
    flex-grow: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

form {
    background-color: #8B8D8B;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    display: block;
    font-family: 'Helvetica';
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: bold;
    color:#F5F5F5;;
    text-align: left;
    width: 100%;
}

input[type="text"],
input[type="email"],
textarea {
    font-family: 'Helvetica';
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: 1px solid #F05B05;
    border: 1px solid #F05B05;
    background-color: #f9f9f9;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    font-family: 'Helvetica';
    background-color: #ADAEAD;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
}

button[type="submit"]:hover {
    background-color: #797C79;
}

button[type="submit"]:active {
    background-color: #1a2750;
    transform: scale(0.98);
    
}

footer {
    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: 1023px) {
    body {
        background-image: none;
    }
}