* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #333;
    font-family: TT-Octosquares-Trial-Bold;
}

body::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/Accueil.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: -1;
}

.page {
    display: flex;
}


@font-face {
    font-family: ethnocentric-rg-it;
    src: url(Font/ethnocentric-rg-it.woff);
    font-weight: bold;
}

@font-face {
    font-family: Dune_Rise_1;
    src: url(Font/Dune_Rise_1.woff);
    font-weight: bold;
}

@font-face {
    font-family: TT-Octosquares-Trial-Bold;
    src: url(Font/TT-Octosquares-Trial-Bold.woff);
    font-weight: bold;
}


/*********BARRE DE NAVIGATION********/

.navbar {
    background-color: #333;
    color: #fff;
    width: 100%;
    z-index: 1000;
    border-bottom: #26caf8 solid 5px;
    margin-bottom: 10px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    font-size: large;
    text-align: center;
    font-family: Dune_Rise_1;
}

.container a {
    list-style-type: none;
    text-decoration: none;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
}

.container .logo {
    font-family: ethnocentric-rg-it;
    font-size:xx-large;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 10px;
}


nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: 0.1s ease;
}

nav ul li a:hover {
    color: #27d86c;
    border: #27d86c solid 2px;
    border-radius: 5px;
    padding-top: 5px;
    padding-left: 2px;
    padding-right: 2px;
    box-shadow: 10px 5px 5px rgba(39, 216, 108, .50);
}

.content {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

/*************CARTES**************/

.info{
    background-color: #333;
    padding: 3% 0 3% 0;
    margin: 5% 5% 3% 5%;
    border-radius: 10px;
}

.bloc{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    gap: 3rem;
}

.text{
    width: 60%;
    color: white;
}

.text p{
    margin-bottom: 10px;
}

.text-info p{
    width: 50%;
    margin: 20px;
}

.text-info h1{
    text-align: center;
    font-size: 4rem;

    margin-top: 30px;
}

.img{
    background-image: url(images/cosmo-canyon.jpg);
    width: 100%;
    height: 30vh;
    background-size: cover;
    background-position: center;
    transition: 0.3s ease;
}


.img:hover{
    transform: scale(1.2);
    box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.6);

}

#overflow {
    border: black solid 5px;
    border-radius: 15px;
    overflow: hidden;
    width: 30%;
}


/*********EXTRA INFOS CARTES*********/

img{
    width: 10%;
}

.stats{
    border: #000000 solid 5px;
    border-radius: 5px;
    padding: 10px;
    background-color: white;
    color: #000;
}

.stats-content{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
}

.stats-content div{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stats-content div{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stats-content div:not(.notyou){
    border-right: #000 solid 5px;
}

/*********DATES DE RESERVATION*********/

.info2-inner{
    width: 100%;
    background-color: #333;
    padding: 1% 5% 1% 5%;
    margin: 0 5% 0 5%;
    border-radius: 10px;    
}

.info2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

form{
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 3%;
    margin: 0 3% 0;
    padding: 1% 2% 1% 2%;

    border: #000000 solid 5px;
    border-radius: 5px;
    background-color: white;
    color: #000;
}


.date,
.time,
.name,
.mail,
.validation {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.date,
.name,
.mail,
.time {
    border-right: #000 solid 5px;
    padding-right: 50px;
}



input {
    border: solid 3px;
    border-image: linear-gradient(to right, #27d86c, #26caf8);
    border-image-slice: 1;
    border-radius: 3px;
    font-family: TT-Octosquares-Trial-Bold;
    transition: 0.3s ease;
    background-color: #000;
    color: white;
}


input[type="number"]::placeholder {
    color: rgb(255, 255, 255); /* Remplacez "red" par la couleur de votre choix */
}

input:hover {
    transform: scale(1.5);
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
}

label,
.validation h3{
    color: #000000;
    font-size: x-large;
    text-align: center;
}

button {
    font-family: TT-Octosquares-Trial-Bold;
    width: 160px;
    background: transparent;
    border: rgb(0, 0, 0) solid 3px;
    color: rgb(255, 255, 255);
    margin-top: 10px;
    /* Ajout de marge en haut */
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    font-size: 1.5rem;
    transition: all .2s;
    z-index: 2;
    
}

button::after {
    content: "";
    width: 400px;
    height: 400px;
    background: linear-gradient(225deg, #27d86c 0%, #26caf8 50%, #c625d0 100%);
    position: absolute;
    top: -10px;
    left: -120px;
    z-index: -1;
    transition: all .5s;
}

button:hover::after {
    transform: rotate(150deg);
}

button:hover {
    transform: translate(0, -6px);
    box-shadow: 10px -10px 25px 0 rgba(143, 64, 248, .50), -10px 10px 25px 0 rgba(39, 200, 255, .50);
}


/*********BAS DE PAGE*****/

footer {
    display: flex;
    flex-direction: column;
}

footer a{
    color: #000;
    text-decoration: none;
}

footer a:hover{
    text-decoration: underline;
}

.foot-container {
    background-color: #ccc;
    border: #000 solid 5px;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin-top: 100px;
}

.contacts h1 {
    font-family: ethnocentric-rg-it;
    font-size: x-large;
}

.contacts,
.events,
.Category,
.About {
    flex: 1;
    max-width: 300px;
    padding: 10px;
}

.contacts,
.events,
.Category {
    margin-right: 10px;
    border-right: #000 solid 5px;
}


@media (width <=910px) {

    .container li {
     font-size: 1rem;        
    }

    .container .logo{
        display: none;
    }
    .reservation {
        gap: 20px;
    }

}


/*****************************************************/

@media (width <=1140px) {

    .test{
      display: none;
    }

    .info{
        background-color: #333;
        padding: 3%;
        margin: 5% 5% 3% 5%;
        border-radius: 10px;
    }

    .top{
        display: flex;
        align-items: flex-start ;
        justify-content: center;
        flex-direction: row;    
        padding-bottom: 2%;
    }

    .top img{
        width: 30%;
    }
    
}

@media (max-width: 1630px) {
    form {
        flex-wrap: wrap;
    }

    .date,
    .name,
    .mail,
    .time {
        border: #000 solid 5px;
        padding: 0 20px 20px 20px;
        margin-top: 10px;

    }

    .validation{
        gap: 0;
    }

    button{
        margin-top: 0;
    }
}

@media (max-width: 1010px) {

    .info2-inner{
        display: flex;
        justify-content: center ;
        padding-top: 2%;
        padding-bottom: 2%;
    }

    
    form {
        flex-direction: column;
        width: fit-content;
    }
    
    .date,
    .name,
    .mail,
    .time {
        width: 80%;
        border: #000 solid 5px;
        padding: 0 20px 20px 20px;
    }

}
