/* CSS Homepage Ortie_pnk  */
@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&display=swap');


body, div, main, section, article {
  box-sizing: border-box;
}

/* universal background  */
body {
  height:100%;
  margin:0;
  background-color: #a9b07b;    /* la couleur du fond (si l'image ne charge pas) */
  background: url("img/bgherbe.jpg") repeat;  /* le papier peint de la page */
  cursor: url("img/curseur.png"),auto;  /* un curseur personnalisé */
  color:#111518;
}

@media (max-width:719px){
  body {
    background-attachment:fixed;
  }
}

@media (min-width:720px){
  body {
  }
}

/* specifique */
.orti {
  height:0px;
  position: relative;
  top: 100px;
  left:100px;
}

  /* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
  .clearfix::after {
    content: "";
    clear: both;
    display: table; a
  }

  /*FONTS*/
  @font-face {
    font-family: "nom";
    src: url(".ttf");
    font-weight:bold;
  }


  /* body font */
  .subPage p, a, footer, {
    font-family: Courier New, Calibri, Helvetica, sans-serif;
    font-size: large;
    text-align:center;
  }

  /* font */
   body {
     font-family: Courier New, Calibri, Helvetica, sans-serif;
  }


  /* STYLING FOR SUBPAGES (about, characters, etc) */

  /*general*/
  .subPage {
    max-width: 1100px;
    max-width: 98%;
    margin-left: 20%;
    margin-bottom: 10px;
    padding: 0px;
  }


  h2, h3 {
    text-transform: uppercase;
    margin:12px;
  }

  h4 {
    margin-top: 0px;
  }

  /*flex index*/
  .container {
    margin:6px;
    margin-top:10px;
    margin-right:12%;
    max-width:1200px;
  }

  .portion {
    display: flex;
    flex-direction: row;
    align-content: flex-start;

  }

  .parcelle {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content:space-around;
    text-align: center;
    background-color: #8c6b44;;
    border: 3px solid #57321a;
    border-radius:10px;
    margin: 0px;
  }

  .couche {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    justify-content:space-around;
    text-align: center;
    width:200px;
    background-color: #8c6b44;
    border: 7px solid #819195;
    margin: 0px;
  }


  .arbuste {
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items:center;
    text-align: center;
    background-color: #6c8a5b;
    border: 4px solid #5a714d;
    border-radius:20px;
    margin: 0px;
  }

  .round {
  align-self:center;
  height:90px;
  width:90px;
  border-radius:40px;
  }


  .gaz {
    background-color: #dae5e8;
    border: 3px solid #a7b9bd;
    border-radius:80px;
    margin: 0px;
  }

  .serre {
    background-color: #67b37d60;
    border: 5px solid #67b37d;
    border-radius:12px;
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    margin: 20px;
  }
/*Navbar*/

@media (max-width:719px){
  .nav-small {
    margin-left:4px;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
  }
  }

  @media (min-width:720px){
    .nav-left {
      position: absolute;
      top: 20%;
      right:80%;
      margin-left:4px;
      display: flex;
      flex-direction: column;
      align-content: flex-start;
    }
    }


  .button {
    background-color: #f0f2fa;
    border: none;
    color: black;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
    margin:7px
  }

  .button:hover {
    text-decoration: none;
    border: solid 3px;
    border-color: #57321a;
    position:relative;
  }

  .button:active {
    text-decoration: none;
    position:relative;
    background-color: #8c6b44;
    color: #57321a;
  }



  /* FOOTER */
  header {
    width:100%;
    background-color:#828561;
    color:white;
    font-size:2rem;
    min-height:20px;
  }

  footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top:50px;
    padding-bottom:10px;
    display: flex;
    flex-wrap:  wrap;
    justify-content: center;
    align-items: center;
  }

  /* take away margins from the edges of the screen */
  html, body {
    margin: 0;
  }


