
/*Initialisation de la grille afin de pouvoir avoir un tableau pour mon menu.*/
.content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 3.Style pour les cartes de repas. */
.plat {
    background: white;
    border-radius: 15px;
    padding: 0; 
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

/* 4.Style pour les images de mon menu.*/
.plat-img {
    width: 100%;      /
    height: 200px;    
    object-fit: cover; 
    display: block;   
	margin-bottom: 15px;
}

.plat h2, .plat p, .plat span {
    padding: 10px;
}
/*Alignement du titre (h1) dans le haut de la page*/
.titre-section {
    text-align: center;   
    margin-top: 0px;      
    margin-bottom: 5px;   
}

.titre-section h1 {
    margin: 0;            
    padding-top: 10px;    
    font-size: 2em;       
}

.content {
    margin-top: 0px;      
    padding-top: 0px;
}
/*CSS pour qu'on puisse appuyer dans le iframe et son style.*/
.localisation {
    width: 90%;       
    margin: 40px auto; 
    border-radius: 15px; 
    overflow: hidden;    
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
	background-color: rgb(255, 255, 255);
	text-align: center;
}

.localisation iframe {
    width: 100%;
    border: none;
	   pointer-events: auto !important;
    position: relative;
    z-index: 10;
}
/*Mettre image dans l'arrière-plan.*/
body {
    background-image: url(../images/background.jpg); 
    background-attachment: fixed;           
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
}
/*Centre le titre au millieu pour le tableau des horaires.*/
.tableau-container {
    float: left;
    width: 100%;
    text-align: center;
    margin: 30px 0;
}
/*Style pour mon tableau d'horaire d'ouverture de mon restaurant.*/
table {
    margin: 0 auto; 
    border-collapse: collapse; 
    width: 80%;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.9); 
    border-radius: 10px;
    overflow: hidden; 
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

th {
    background-color: #fdc762; 
    color: #333;
	font-size: 28px;
}

tr{
	font-size: 24px;
}
/*Cette ligne permet d'alterner les couleurs entre les lignes du tableau.*/
tr:nth-child(even) {
    background-color: #f9f9f9;
}
