/*
 * From Start Bootstrap - Grayscale v3.3.7+1 (https://startbootstrap.com/theme/grayscale) then changed
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

html,
body {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 35px;
    text-transform: uppercase;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 5%;
}

a {
    color: #42DCA3;
    transition: all 0.2s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #1d9b6c;
}

.intro {
    display: table;
    width: 100%;
    height: auto;
    padding: 100px 0;
    text-align: center;
    color: white;
}

section.container-fluid {
    background-color: #333;
}

section.content-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (min-width: 767px) {
    section.content-section {
        padding-top: 200px;
        padding-bottom: 200px;
    }
}

.content-section {
    padding-top: 250px;
}

.intro .intro-body {
    display: table-cell;
    vertical-align: middle;
}

.intro .intro-body .brand-heading {
    font-size: 40px;
}

.intro .intro-body .intro-text {
    font-size: 18px;
}

@media (min-width: 1024px) {
    .intro {
        height: 100%;
        padding: 0;
    }

    .intro .intro-body .brand-heading {
        font-size: 100px;
    }

    .intro .intro-body .intro-text {
        font-size: 26px;
    }
}

.btn-circle {
    width: 70px;
    height: 70px;
    margin-top: 15px;
    padding: 7px 16px;
    border: 2px solid white;
    border-radius: 100% !important;
    font-size: 40px;
    color: white;
    background: transparent;
    transition: background 0.3s ease-in-out;
}

.btn-circle:hover,
.btn-circle:focus {
    outline: none;
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-circle i.animated {
    transition-property: transform;
    transition-duration: 1s;
}

.btn-circle:hover i.animated {
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.join-section {
    width: 100%;
    color: white;
    background: black url("/static/img/kzt-accueil-bis.33d7c271c558.jpg") no-repeat center center scroll;
    background-size: cover;
}

.btn {
    text-transform: uppercase;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
}

.btn-default {
    border: 1px solid #42DCA3;
    color: #42DCA3;
    background-color: transparent;
}

.btn-default:hover,
.btn-default:focus {
    border: 1px solid #42DCA3;
    outline: none;
    color: black;
    background-color: #42DCA3;
}

ul.banner-social-buttons {
    margin-top: 0;
}

@media (max-width: 1199px) {
    ul.banner-social-buttons {
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    ul.banner-social-buttons li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons li:last-child {
        margin-bottom: 0;
    }
}

footer {
    padding: 50px 0;
}

footer p {
    margin: 0;
}

/* ── Login Modal (CSS :target, no JS) ──────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}

.modal-overlay:target {
    display: flex;
}

.modal-box {
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 30px;
    width: 100%;
    max-width: 420px;
    position: relative;
}

.modal-box h3 {
    margin-top: 0;
    color: #333;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 1.5em;
    color: #666;
    text-decoration: none;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-box .form-group {
    margin-bottom: 15px;
}

.modal-box label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.modal-box input[type="text"],
.modal-box input[type="password"],
.modal-box input[type="email"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 14px;
}

.alert-error {
    background: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    padding: 10px 14px;
    border-radius: 3px;
    margin-bottom: 14px;
    font-size: 14px;
}

/* ── Back-to-top link ───────────────────────────────────────────────── */
.back-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    text-decoration: none;
    transition: background 0.2s;
    z-index: 999;
}

.back-top:hover,
.back-top:focus {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* ── Navbar logout button styled as link ────────────────────────────── */
.navbar-link-btn {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    line-height: inherit;
}

.navbar-link-btn:hover,
.navbar-link-btn:focus {
    text-decoration: underline;
    outline: none;
}

.nav li form {
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

/* ── Photo toast ────────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1040;
    max-width: 340px;
}

.toast .alert {
    margin: 0;
}