﻿/* -------------------------------------------------------------------------
   wwwroot/css/temp.css
   Feuille de style simplifiée pour la page temporaire Giteequestre
   -------------------------------------------------------------------------*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Montserrat:wght@600;700&family=Source+Sans+Pro:wght@300;400;700&display=swap');

:root {
    --primary: #FFFFFF;
    --secondary: #969696;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: 'Source Sans Pro',Arial,sans-serif;
    background: #000;
    color: var(--primary);
    line-height: 1.6;
}

/* HERO ------------------------------------------------------------------*/
.hero {
    min-height: 65vh;
    background-image: linear-gradient(to bottom,rgba(0,0,0,.25)0%,rgba(0,0,0,.25)100%),url('//img1.wsimg.com/isteam/getty/1051032156');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

.hero-inner {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

.hero h1 {
    font-family: 'Playfair Display',Georgia,serif;
    font-size: 2.2rem;
    max-width: 900px;
}

@media(min-width:768px) {
    .hero h1 {
        font-size: 3rem
    }
}

@media(min-width:1280px) {
    .hero h1 {
        font-size: 4rem
    }
}

/* NAVBAR ----------------------------------------------------------------*/
.nav {
    display: flex;
    justify-content: center; /* centré */
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    background: transparent;
}

.logo {
    font-family: 'Montserrat',sans-serif;
    font-size: 1.375rem; /* 22px */
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: none; /* plus de capitales complètes */
    color: var(--primary);
    text-decoration: none;
}

    .logo:hover, .logo:focus {
        color: #dcdcdc
    }

/* CONTACT ---------------------------------------------------------------*/
.contact-wrapper {
    padding: 56px 24px;
    max-width: 800px;
    margin: 0 auto;
}

    .contact-wrapper h2 {
        font-family: 'Playfair Display',Georgia,serif;
        text-align: center;
        margin-bottom: 40px;
    }

form.contact .field {
    margin-bottom: 24px
}

.field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600
}

.field input, .field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #1b1b1b;
    border-radius: 4px;
    background: rgba(0,0,0,0.7);
    color: var(--primary);
}

.field.checkbox {
    display: flex;
    align-items: center
}

    .field.checkbox input {
        width: auto;
        margin-right: 8px
    }

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--secondary);
    color: #000;
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-primary:hover {
        background: #d4d4d4
    }

.success {
    margin-top: 24px;
    color: #8bc34a;
    text-align: center
}

/* FOOTER ---------------------------------------------------------------*/
footer {
    padding: 24px;
    text-align: center;
    background: #000;
    font-size: .875rem;
}
