/* Importations */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');

/* Variables */
:root {
  --fond: #ececec;
  --primaire: #201b22;
  --secondaire: #39b89e;
  --footer: #4b5e65;
  --bouton: #39b89e;
  --boutonHover: #2f435e;
}

/* Parametres généraux */
body{
  background-color: var(--fond);
  font-family: 'Lato', sans-serif;
  color: var(--primaire);
  min-height: 100vh;
  position: relative;
}
a{
  color: var(--secondaire);
}
a:hover {
  color: var(--primaire);
}
li {
  list-style: none;
}
h1{
  font-family: 'Ubuntu', sans-serif;
}
h2{
  font-family: 'Ubuntu', sans-serif;
}
input[type=submit] {
  background-color: var(--bouton);
  color: var(--fond);
  font-size: 16px;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease-in-out;
}
button:hover,
input[type="submit"]:hover {
  background-color: var(--boutonHover);
  transform: scale(1.05);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.35);
}

@media only screen and (min-width: 601px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  label {
    font-size: 24px;
  }
  body {
    font-size: 16px;
  }
}
@media only screen and (max-width: 600px) {
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  label {
    font-size: 16px;
  }
  body {
    font-size: 14px;
  }
}

/* DoggyGo */
.logoCentre {
  display: block;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
  max-width: 100%;
  height: auto;
}
.presentation {
  font-size: 3vw;
  text-align: center;
  margin-top: 2%;
}
/* Petit écran */
@media only screen and (max-width: 600px) {
  .doggy {
    font-size: 10vw;
  }
  .presentation {
    font-size: 6vw;
  }
}

/* Header */
/* Grand écran*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  position: relative;
  z-index: 1;
}
.navbar-logo img {
  height: auto;
  max-width: 100px;
}
.itembar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.nav-item {
  margin: 0 10px;
}
.nav-link {
  color: var(--footer);
}



/* Footer */
/* Grand écran */
.footerbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.footer-item {
  margin: 0.5rem;
}
.footer-link {
  color: var(--footer);
}

/* Petit écran */
@media (max-width: 768px) {
  .footerbar {
    flex-direction: column;
    text-align: center;
  }
  .footer-item {
    margin: 0.5rem 0;
  }
}



/* Menu Principal */
/* Grand écran */
.menuP-link {
  display: block;
  padding: 10px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
}
.menuP {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menuP li {
  flex: 0 0 auto;
  margin: 0;
}

/* Petit écran */
@media only screen and (max-width: 600px) {
  .menuP {
    flex-direction: column;
  }
  .menuP li {
    margin-bottom: 10px;
  }
}



/* Menus */
/* Grand écran */
@media screen and (min-width: 1001px) {
  .menubar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
  }

  .menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
  }

  .menu-item {
    margin: 0 10px;
    padding: 0;
    height: 100%;
    border: none;
  }

  .menu-link {
    font-size: 18px;
    line-height: 60px;
    text-decoration: none;
  }
}

/* Petit écran */
@media screen and (max-width: 1000px) {
  .menubar {
    position: static;
    height: auto;
  }
  
  .menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }

  .menu-item {
    margin: 0;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid;
  }

  .menu-link {
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
  }
}



/* Form */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="datetime-local"]:focus,
textarea:focus {
  outline: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.35);
}
/* Grand écran */
@media only screen and (min-width: 601px) {
  input[type="text"],
  input[type="password"],
  input[type="date"],
  input[type="tel"],
  input[type="number"],
  input[type="datetime-local"] {
    font-size: 24px;
    width: 50%;
    margin-bottom: 10px;
    border: 2px solid var(--primaire);
  }
  input[type="submit"] {
    font-size: 24px;
  }
  textarea {
    font-size: 24px;
    width: 80%;
    border: 2px solid var(--primaire);
  }
}

/* Petit écran */
@media only screen and (max-width: 600px) {
  input[type="text"],
  input[type="password"],
  input[type="date"],
  input[type="tel"],
  input[type="number"],
  input[type="datetime-local"]  {
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
  }
  input[type="submit"] {
    font-size: 16px;
  }
  textarea {
    font-size: 16px;
    width: 100%;
  }
}



/* infoProfil */
/* Petit écran */
@media only screen and (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body > *:not(h1):not(a) {
    font-size: 14px;
  }

  body > a {
    display: block;
    margin: 10px auto;
  }
}



/* Liste */
.annonce-info {
  margin-bottom: 20px;
  border: 1px solid #ccc;
  padding: 20px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.annonce-info h2 {
  font-family: Arial, sans-serif;
  font-size: 24px;
  margin-top: 0;
}

.annonce-info p {
  margin: 0;
}

.annonce-info .prix {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.rechercheAv {
  display: inline-block;
  padding: 10px;
  font-size: 18px;
  color: var(--fond);
  background-color: var(--bouton);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
}
.rechercheAv:hover {
  background-color: var(--boutonHover);
  transform: scale(1.05);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.35);
  color: var(--fond);
}



/* Ajouter reservation garde et promenade */
/* Grand écran */
select {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 40px;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--primaire);
  background-color: #fff;
  border: 2px solid var(--primaire);
  border-radius: 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M4.5 5.5l3 4 3-4h-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
}
select:focus {
  outline: none;
  border-color: var(--secondaire);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.35);
}
select option {
  font-size: 16px;
  color: var(--primaire);
  background-color: #fff;
  padding: 10px 20px;
}

/* Petit écran */
@media screen and (max-width: 768px) {
  select {
    font-size: 14px;
    height: 30px;
    padding: 5px 15px;
  }
  select option {
    font-size: 14px;
    padding: 5px 15px;
  }
}



/* Qui sommes nous */
.maPhoto {
  display: block;
  margin: 0 auto;
  max-width: 20%;
  height: auto;
  border: 5px solid var(--secondaire);
  border-radius: 50%;
  box-sizing: border-box;
}

.moi {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.moi h2 {
  margin-top: 10px;
}
.moi p {
  margin-top: 0.25rem;
}

.remerciements {
  text-align: center;
  margin-top: 2rem;
}
.remerciements p {
  margin-top: 0.25rem;
}

/* Commennt ça marche */
.ccmTitre {
  margin-top: 100px;
  text-align: center;
}
.ccm {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.ccm_div {
  width: 48%;
  margin-bottom: 20px;
  padding: 10px;
  text-align: center;
  max-width: 400px;
  margin: 20px auto;
}