:root {
    --bg-black: #0A0A0A;
    --bg-green: #0A8F48;
    --bg-white: #F5FFFA;
    --title-green: #0A8F48;
    --title-white: #F5FFFA;
    --text-green: #0A8F48;
    --text-white: #F5FFFA;
}

.bg-black {
    background-color: var(--bg-black);
}

.bg-green {
    background-color: var(--bg-green);
}

.bg-white {
    background-color: var(--bg-white);
}

.color-title-green {
    color: var(--title-green);
}

.color-title-white {
    color: var(--title-white);
}

.color-text-green {
    color: var(--text-green);
}

.color-text-white {
    color: var(--text-white);
}

#slideshow {
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        max-width: 1920px;
        max-height: 1080px;
    }
}

#schedules {
    background: url(/build/images/schedules.be43ca0e.jpg) center center;
    padding: 100px 0;

    h2 {
        margin-bottom: 100px;
    }

    hr {
        border-color: var(--title-green);
    }

    .schedule-pipe {
        font-size: 2em;
    }
}

#useful-information {
    padding: 100px 0;
    font-size: 16px;
}

#news {
    background-color: white;
    padding: 100px 0;

    h3 {
        color: black;
    }

    .offer-small {
        background-color: var(--bg-black);

        .flex-item {
            align-self: flex-end;
        }

        p {
            padding: 50px 0 40px 25px;
            font-size: 16px;
        }

        a {
            display: inline-block;
            width: 70px;
            padding: 10px;
            background-color: var(--bg-green);
            color: white;

            &:hover {
                -webkit-animation: pulse 1s;
                animation: pulse 1s;
            }
        }
    }
}

#last-pictures {
    h3 {
        padding: 50px 0;
    }

    .flex-container {
        justify-content: space-between;
        overflow: hidden;
        flex-wrap: wrap;
    }

    @media (max-width: 1600px) {
        .flex-container {
            height: 300px;
        }
    }

    @media (min-width: 1600px) and (max-width: 1800px) {
        .flex-container {
            height: 400px;
        }
    }

    @media (min-width: 1800px) {
        .flex-container {
            height: 500px;
        }
    }

    .flex-item {
        flex-grow: 0;
        flex-shrink: 1;
        position: relative;

        @media (max-width: 1600px) {
            img {
                width: auto;
                height: 300px;
            }
        }

        @media (min-width: 1600px) and (max-width: 1800px) {
            img {
                width: auto;
                height: 400px;
            }
        }

        @media (min-width: 1800px) {
            img {
                width: auto;
                height: 500px;
            }
        }

        .img-hover {
            visibility: hidden;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 70px 50px;
            background-color: rgba(0,0,0,0.75);
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }

        &:hover .img-hover {
            visibility: visible;
            -webkit-animation: zoomIn 0.3s;
            animation: zoomIn 0.3s;
        }
    }

    h5 {
        padding: 50px 0;
        font-size: 18px;
    }
}

#newsletter-subscription {
    background: url(/build/images/newsletter.410091fa.jpg) center center;
    height: 500px;

    h3 {
        padding-top: 120px;
        padding-bottom: 70px;
    }

    input {
        display: inline-block;
        width: 400px;
        height: 70px;
        color: white;
        border: none;
        border-radius: 5px 0 0 5px;
        background-color: var(--bg-black);

        &:focus {
            box-shadow: none;
        }
    }

    button[type="submit"] {
        display: inline-block;
        width: 80px;
        height: 70px;
        margin-left: -3px;
        border: none;
        border-radius: 0 5px 5px 0;
        background-color: var(--bg-green);
        color: var(--text-white);

        &:hover {
            -webkit-animation: pulse 1s;
            animation: pulse 1s;
        }

        &:focus {
            box-shadow: none;
        }
    }

    .alert {
        width: 480px;
        margin: 15px auto auto;
    }
}

.who-am-i-description {
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
    overflow: auto;

    h3 {
        padding: 25px 50px;
    }

    p {
        padding: 50px;
        line-height: 30px;
        font-size: 15px;
    }
}

.who-am-i-image {
    padding: 0;
    vertical-align: middle;
    min-height: 600px;

    img {
        width: 100%;
        height: 100%;
    }
}

.item-order-2 {
    order: 2;
}

#others-pictures {
    background: url(/build/images/others-pictures.cbeea604.jpg) center center;
    padding: 150px 0;

    a {
        font-size: 25px;
        color: var(--title-white);

        &:hover {
            color: var(--title-green);
        }
    }
}

#team {
    padding: 100px 0;

    h3 {
        margin-bottom: 100px;
    }

    .flex-container {
        justify-content: space-around;
        max-width: 100%;
    }

    .flex-item {
        position: relative;
        padding: 0;
        margin: 0 5px;
        max-width: 480px;

        .hairdresser-picture {
            width: 100%;
            height: 100%;
            text-align: center;

            img {
                width: 100%;
                height: 100%;
                z-index: 1;
            }
        }

        .hairdresser-infos {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: solid 1px var(--text-green);
            padding: 70px 50px;
            background-color: rgba(0,0,0,0.9);
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: center;
            visibility: hidden;

            h4 {
                font-size: 2em;
                padding: 50px 0;
            }

            p {
                font-size: 15px;
                line-height: 25px;
            }
        }

        &:hover .hairdresser-infos {
            visibility: visible;
            -webkit-animation: fadeInLeft 0.5s;
            animation: fadeInLeft 0.5s;
        }
    }
}

#prestations-banner {
    background: url(/build/images/prestations.15e6e03c.jpg) center center;
    padding: 100px;
}

#prestations-nav {
    background-color: white;
    padding: 40px;
    font-size: 18px;

    a[class="inactive"] {
        color: black;
    }

    a:focus {
        color: var(--text-green);
        text-decoration: none;
    }
}

#prestations {
    .prestations-picture {
        max-height: 900px;
        overflow: hidden;
        padding: 0;

        img {
            width: 100%;
        }
    }

    .prestations-description {
        max-height: 900px;
        overflow-y: auto;
        padding: 50px;

        h3 {
            margin-bottom: 50px;
        }

        .flex-container {
            flex-wrap: wrap;
            justify-content: flex-start;
        }

        .flex-item {
            flex-grow: 0;
            padding: 10px;
            margin-bottom: 30px;

            p {
                width: 225px !important;
                font-size: 15px;
                line-height: 25px;
            }
        }
    }
}

#services-banner {
    background: url(/build/images/services.67eacb0e.jpg) center center;
    padding: 100px;
}

#services {
    background: url(/build/images/header-points.8517f096.png) center center;
    padding: 50px;

    .flex-container {
        padding: 50px 0;
    }

    .flex-item {
        img {
            width: 100px;
            height: 100px;
        }

        p {
            max-width: 200px;
            margin: auto;
        }

        hr {
            width: 50px;
            border: solid 1px var(--title-green);
        }
    }
}

#brands {
    background: url(/build/images/brands.85394360.jpg) center center;
    padding: 100px;

    h2 {
        margin-bottom: 100px;
    }

    img {
        background-color: white;
        width: 150px;
        height: 150px;
    }

    h4 {
        margin-top: 50px;
    }
}

#offers-banner {
    background: url(/build/images/offers.172cb7d5.jpg) center center;
    padding: 100px;

    a {
        color: var(--title-white);
        padding: 15px;

        &.active,
        &:hover {
            border-bottom: solid 1px var(--title-green);
        }

        &:focus {
            text-decoration: none;
        }
    }
}

#offers {
    background-color: white;
    padding: 100px 0;

    .offer {
        margin-bottom: 50px;

        .offer-image {
            flex-grow: 1;
            background-color: var(--bg-black);
            padding: 0;

            img {
                width: 100%;
                height: 100%;
            }
        }

        .offer-information {
            flex-grow: 1;
            background-color: var(--bg-black);
            padding: 50px;

            h4 {
                font-size: 28px;
            }

            .offer-description {
                font-size: 16px;
                margin-top: 50px;
            }
        }
    }
}

#gallery-banner {
    background: url(/build/images/gallery.f35f9b53.jpg) center center;
    padding: 250px 0px;

    a {
        color: var(--title-white);
        padding: 15px;

        &.active,
        &:hover {
            border-bottom: solid 1px var(--title-green);
        }

        &:focus {
            text-decoration: none;
        }
    }
}

#gallery {
    padding: 50px 0;
    background-color: white;

    .grid-item {
        display: inline-block;
        width: calc(25% - 6px);
        padding: 3px;
        position: relative;

        img {
            width: 100%;
            height: auto;
            vertical-align: top;
        }

        .img-hover {
            visibility: hidden;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 70px 50px;
            background-color: rgba(0,0,0,0.75);
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }

        &:hover .img-hover {
            visibility: visible;
            -webkit-animation: zoomIn 0.3s;
            animation: zoomIn 0.3s;
        }
    }
}

#map {
    width: 100%;
    height: 500px;
    border: 0;
    margin: 0;
    padding: 0;
}

#contact-form {
    background: url(/build/images/contact-form.04ffd14e.jpg) center center;
    padding: 200px 0;

    h3 {
        margin-bottom: 150px;
    }

    label {
        background-color: var(--bg-green);
        padding: 25px 15px;
        width: 120px;
        color: white;
        border-radius: 5px 0 0 5px;
    }

    input {
        background-color: var(--bg-black);
        padding: 25px 10px;
        width: calc(100% - 125px);
        border: none;
        border-radius: 0 5px 5px 0;
    }

    textarea {
        width: 100%;
        height: 300px;
        padding: 25px;
        background-color: var(--bg-black);
        border: none;
        border-radius: 5px;
        resize: none;
    }

    button[type="submit"] {
        border: none;
        border-radius: 5px;
        background-color: var(--bg-black);
        padding: 0;

        span {
            display: inline-block;
            vertical-align: middle;
            width: 190px;
            padding: 15px;
        }

        i {
            display: inline-block;
            vertical-align: middle;
            width: 100px;
            padding: 15px;
            background-color: var(--bg-green);
            color: white;
            border-radius: 0 5px 5px 0;
        }
    }
}

.legal-item-title {
    padding: 25px 0px;
    background-color: white;
    color: black;
}

.legal-item-content {
    padding: 50px 0px;
    font-size: 16px;
}

#security-form {
    background: url(/build/images/contact-form.04ffd14e.jpg) center center;
    padding: 200px 0;

    label[for*="password"],
    label[for*="plainPassword"],
    label[for="username"] {
        background-color: var(--bg-green);
        padding: 25px 15px;
        width: 240px;
        color: white;
        border-radius: 5px 0 0 5px;
        white-space: nowrap;
    }

    input[type*="password"],
    input[type*="plainPassword"],
    input[type="text"] {
        background-color: var(--bg-black);
        padding: 25px 10px;
        width: calc(100% - 245px);
        border: none;
        border-radius: 0 5px 5px 0;
    }

    button[type="submit"] {
        border: none;
        border-radius: 5px;
        background-color: var(--bg-black);
        padding: 0;

        span {
            display: inline-block;
            vertical-align: middle;
            width: 190px;
            padding: 15px;
        }

        i {
            display: inline-block;
            vertical-align: middle;
            width: 100px;
            padding: 15px;
            background-color: var(--bg-green);
            color: white;
            border-radius: 0 5px 5px 0;
        }
    }
}

@font-face {
    font-family: Aller;
    src: url(/build/fonts/Aller_Rg.813645bf.ttf);
}

@font-face {
    font-family: Aller_lite;
    src: url(/build/fonts/Aller_Lt.0312903a.ttf);
}

body {
    min-width: 960px;
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: Aller;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-family: Aller_lite;
}

h1,
h2 {
    letter-spacing: 10px;
    font-size: 45px;
}

h3 {
    font-size: 35px;
}

a {
    color: var(--text-green);
    transition: 0.2s;

    &:hover {
        color: var(--title-green);
        text-decoration: none;
        transition: 0.2s;
    }
}

.flex-container {
    display: flex;
}

.flex-item {
    flex-grow: 1;
    flex-basis: 0;
}

header {
    figure {
        padding: 30px 0;
    }

    nav {
        display: flex;
        justify-content: center;
        background-color: var(--bg-green);

        .nav-container {
            width: 100%;
            max-width: 1300px;
        }

        ul {
            margin: 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            list-style: none;

            li {
                border-bottom: solid var(--bg-green) 3px;
                flex-grow: 0;
            }

            li.current,
            li:hover {
                border-bottom: solid var(--bg-black) 3px;
                transition: 0.15s;

                a {
                    color: var(--bg-black);
                    text-decoration: none;
                }
            }

            a {
                display: inline-block;
                padding: 15px 0.5rem;
                font-size: 18px;
                color: rgba(0,0,0,0.6);
                text-decoration: none;
                text-align: center;
            }
        }
    }
}

footer {
    a {
        color: var(--text-white);
    }

    #footer-treeview {
        padding: 60px 0;

        ul {
            padding: 0;
            margin: 0;

            li {
                padding-top: 20px;
                list-style-type: none;
            }
        }
    }

    #footer-social-icons {
        padding: 30px 0;
        border-top: solid 1px rgba(255,255,255,0.1);
        border-bottom: solid 1px rgba(255,255,255,0.1);
    }

    #footer-admin {
        padding: 20px 0 10px;
    }

    #footer-copyrights {
        padding: 25px 0 10px;
        background-color: black;
    }
}

