/*STYLES DE LA PAGE DE RÉSERVATION*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

/*par manque de temps, je n'ai pas enlevé ce sélecteur mais je ferai plus attention pour les prochains projets*/
* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

@font-face {
    font-family: "Roboto Condensed";
    src: url('fonts/AnyConv.com__RobotoCondensed-VariableFont_wght.woff2') format('woff2'),
        url('fonts/RobotoCondensed-VariableFont_wght.woff') format('woff');
    font-optical-sizing: auto;
    font-weight: bolder;
    font-style: normal;
}

/*ACCESSIBILITÉ*/

.skip-link {
    background-color: #ff0606;
    border: solid 3px #950101;
    color: #000;
    font-size: 1.2rem;
    padding: 0.5em 0.5em;
    text-decoration: none;
}

.skip-link:not(:focus):not(:active) {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.skip-link:focus {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 999;
}

/*HEADER*/

header img {
    max-height: 80px;
    margin-left: 20px;
}

header {
    background-color: #000000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.item {
    display: inline;
    margin-right: 20px;
    position: relative;
    padding: 0 10px;
}

.item a {
    color: #fff;
    text-decoration: none;
    position: relative;
}

.item a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.item a:hover::after {
    width: 100%;
}

.item a:hover {
    color: #ff0606;
}

.icon-menu {
    display: none;
    cursor: pointer;
}


/*POP UP DES TARIFS*/

.popup {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    margin: auto;
}

.popup p {
    background-color: #000000;
    border: 2px solid #950101;
    position: fixed;
    left: 0;
    right: 0;
    top: 20px;
    margin: auto;
    max-width: 800px;
    font-size: 1.2rem;
    height: fit-content;
    padding: 30px;
    border-radius: 15px;
}

.popup a {
    text-decoration: underline;
}

.close-window {
    margin-top: 15px;
    color: #fff;
    font-size: 1.5rem;
    background-color: inherit;
    border: inherit;
    border: none;
}

.close-window:hover {
    border-bottom: #950101 solid 3px;
}

.popup-visible {
    display: block;
    margin: auto;
}

.popup-invisible {
    display: none;
}

.light_red {
    color: #ff0606;
    font-weight: bold;
}


.price_title {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2rem;
}


/*INFORMATIONS DE CONTACT*/

.contact_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    width: 300px;
    height: 500px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    background-color: #3D0000;
    border-radius: 5px;
    padding: 50px 0;
}

.contact_box h1 {
    color: white;
    font-size: 1.8rem;
    font-family: "Roboto Condensed", sans-serif;
}

.contact_box ul {
    text-align: left;
    padding-top: 27px;
}

.contact_box li {
    font-size: 1rem;
    color: white;
    margin-top: 40px;
    display: flex;
    justify-content: flex-start;
}

.contact_box i {
    font-size: 1.5625rem;
    margin-right: 10px;
    color: #ff0606;
}

.contact_box a {
    color: #ffffff;
}


/*FORMULAIRE*/

.formulaire {
    display: flex;
    justify-content: center;
    padding: 50px 0;
}


.black-title {
    font-family: "Roboto Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 2.2rem;
}


.container {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    height: 700px;
    width: 1100px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    border-radius: 5px;
}

.container form {
    width: 700px;
    height: fit-content;
    align-items: center;
}

.form_container {
    margin-top: 40px;
    width: 600px;
}

.input_container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.input_bloc {
    display: flex;
    justify-content: center;
}

.input_box {
    width: 270px;
    height: 50px;
    margin: 20px;
}

.input_box input {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    transition: all 0.5s ease;
    font-size: .9375rem;
}

input:required {
    border-bottom: 2px solid #ff0606;
}

input:required:valid {
    border-bottom: 2px solid rgb(66, 202, 12);
}

legend {
    color: rgb(0, 0, 0);
}

fieldset {
    border: none;
}

.heure {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 15px;
}

.histoire {
    margin-top: 15px;
}


.button {
    width: 150px;
    height: 45px;
}

.button input {
    background-color: #950101;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    transition: 0.3s ease;
    text-decoration: none;
    border: none;
    margin-top: 25px;
    cursor: pointer;
}

.button input:hover {
    background-color: #ff0606;
}


.red {
    color: #ff0606;
    font-weight: bold;
}

.asterisk {
    color: #973f3f;
    font-weight: bold;
}



@media screen and (width <=1215px) {

    .container {
        box-shadow: none;
        justify-content: center;
    }


    .contact_box {
        display: none;
    }
}

@media screen and (width <=650px) {
    .input_container {
        align-items: center;
    }

    .formulaire {
        padding: 5px;
    }

    .container form {
        max-width: 1215px;
    }

    .input_bloc {
        flex-direction: column;
    }

    p {
        visibility: hidden;
    }

    h1 {
        visibility: hidden;
    }

    header {
        margin-bottom: 70px;
    }

}


@media screen and (width <=600px) {

    .icon-menu {
        display: block;
        margin-right: 15px;
        font-size: 2rem;
    }

    .icon-menu::before {
        content: "\2630";
    }

    .active .icon-menu::before {
        content: "\2715";
    }

    nav ul {
        position: absolute;
        top: 50px;
        right: -100%;
        background-color: black;
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px;
        margin-top: 25px;
    }

    .active ul {
        right: 0;
        display: flex;

    }
}