/*
style.css
Design principal du side
TODO : design responsif 
voir bloc note. 
Dernière modification 18.02.2024
*/

/* ======== BASE ======== */
body {
  margin: 0;
  padding: 0;
  background-color: rgb(31, 30, 30);
  width: 1000px;
  margin: auto;
}

#index {
  height: 100%;
  overflow: hidden;
}

/* ======== HEADER ======== */
header {
  display: flex;
  justify-content: center;
  padding: 15px;
}

/* ======== MENU ======== */
.menu {
  display: flex;
}

.menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu ul li {
  display: flex;
  flex-direction: row;
  margin: 0 10px;
}

.menu ul li a {
  height : 20px;
  border-radius : 3px;
  background-color : red;
  text-decoration: none;
  padding : 5px;
}


.menu a:hover {
  background-color: #888686;
}

.active {
  background-color: #888686;
  color: black;
}

/* ======== LOGO ======== */
.logo {
  display: flex;
}

.logo img {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-top: -15px;
}

/* ======== FOOTER ======== */
.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 50px;
}

.contact-info img {
  width: 20px;
  height: auto;
  vertical-align: middle;
  margin-right: 5px;
}

.contact-info {
  color: rgb(241, 237, 237);
}

.contact-info a {
  color: rgb(241, 237, 237);
  text-decoration: none;
}

.contact-info a:hover {
  color: #888686;
  text-decoration: underline;
}

.icone {
  width: 20px;
  height: 20px;
}

.separator {
  color: red;
  font-weight: bold;
  padding: 0 10px;
}

#infos ul {
  list-style: none;
}

#infos li,
a {
  margin-bottom: 40px;
  color: white;
}

#infos a:hover {
  color: #888686;
  text-decoration: underline;
}

/* ======== VIDEO PAGE ACCUEIL ======== */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

#logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
}

#mtm-logo {
  max-width: 30%;
  height: auto;

}

/* ======== GOOGLE MAPS ======== */
.titre_localisation {
  color: rgb(242, 237, 237);
  text-align: center;
}

.map-container {
  flex: 1;
  text-align: center;
}

.map-container iframe {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border-radius: 10px;
  border-radius: 5%;
  padding-right: 10px;
}

.map-text {
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
  color: #fcf9f9;
  line-height: 1.6;
}



/* ======== CONTENU DE LA PAGE ======== */
#contenu {
  display: flex;
  flex-wrap: wrap;
}

#contenu h2 {
  size: 2em;
  color: white;
}

/* ======== PAGE OFFRE - MTM BOLIDE ======== */
#offre1, #offre2, #offre3, #bolide1, #bolide2, #bolide3 {
  width: 300px;
  margin: auto;
}

#offre3 p {
  color: white;
}

.image_voiture {
  width: 90%;
  height: auto;
}

.description_voiture {
  color: white;
  font-size: 20px;
}

.description_voiture img {
  width: 50%;
  height: auto;
}



/* ======== PAGE ABOUT ======== */
#about {
  display: flex;
  color: white;
  margin: auto;
}

#about ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

#about ul li {
  display: flex;
  flex-direction: row;
  margin: 0 10px;
}


#about1 {
  width: 500px;
  margin: auto;
}

#about1 h2 {
  color: white;
  text-align: center;
}

#about2 {
  width: 450px;
  margin: auto;
}

.texteAboutmtm {
  color: white;
}

/* ======== PAGE CONTACT ======== */
#contact1, #contact2 {
  width: 500px;
  margin: auto;
  margin-top: 0px;
}

#contact1 p {
  color: white;
}

.red {
  color: red;
}

#contact1 ul {
  list-style-type: none;
  color: white;
}

#contact1 a {
  text-decoration: none;
}

.logo_mtm {
  width: 350px;
  height: 350px;
  margin-left: 60px;
}


/* ======== SVG ======== */
.arrow_svg {
  width: 30px;
  height: 30px;
  position: relative;
  left: 220px;
  top: -50px;
}

.etoile{
  width: 80px;
}



/* ======== DESIGN TELEPHONE ========== */
@media(max-width: 600px) {
  body {
    width : 100%;
    padding : 10px;
    overflow-x: hidden;
  }

  .menu{
    flex-direction : column;
    align-items : center;
  }

  .menu ul{
    flex-direction : column;

  }

  .menu ul li{
    margin-top : -10px;
  }

  .menu ul li a {
    width : 100%;
    text-align : center;
  }

  .logo {
    visibility : hidden;
  }

  .contact-info {
    width : 90%;
    margin : auto;
  }

  .map-container iframe {
  max-width: 400px;
  }
} 
