/* 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-image:url(https://i0.wp.com/texturefabrik.com/wp-content/uploads/2020/09/texturefabrik-blu-01-scaled.jpg?resize=2048%2C1448&ssl=1);
  background-color:#5873e9;
  background-position-x: center;
  background-size: contain;
  background-size: cover;
}

@media (max-width:719px){
  body {
    background-attachment:fixed;
  }
}

@media (min-width:720px){
  body {
  }
}

  /* header image */
  header img {
    width: 100%;
  }

  /* 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, #authorNotes, .archiveTable {
    font-family: Courier New, Calibri, Helvetica, sans-serif;
    font-size: large;
    text-align:center;
  }

  /* font */
   header, h1, h2, h3, h4, h5, p, a, ul {
  font-family:  Caveat Brush;
  }


  /* STYLING FOR SUBPAGES (about, characters, etc) */

  /*general*/
  .subPage {
    max-width: 1200px;
    max-width: 98%;
    margin-left: 20%;
    margin-bottom: 10px;
    padding: 0px;
  }

  h1, p {
    color:#f0f2fa;
    font-size:5.2em;
    text-shadow: #000297 0px 0px 25px;
    writing-mode: sideways-lr;
    text-orientation: mixed;
    margin:2px;
    border-radius:4em;
    background-color: #1d45e199;
    box-shadow:1px -1px 5px 5px #1d45e170;
  }


  h2, h3 {
    text-transform: uppercase;
    margin:12px;
  }

  h4 {
    margin-top: 0px;
  }

  /*flex index*/
  .container {
    display: flex;
    flex-wrap: wrap;
    margin:6px;
    margin-top:7%;
    margin-right:12%;
    justify-content:space-around;
    align-items:center;
    gap: 15px;
    font-family:  "Caveat Brush";

  }

  .projet-box {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    min-width:200px;
    text-align: center;
    border: 3px solid #252fde;
    background-color: #5573e8;
    box-shadow:
    inset 1px -1px 15px 15px #252fde,
    0 0 0 2px #252fde,
    1px -1px 5px 5px #252fde;
    border-radius:25px;
    margin: 0px;
    margin-top: 30px;
    padding-top:15px;

    h2 {
      color:#f0f2fa;
      text-shadow: #1619cc 0px 0px 10px;
    }
  }
  /*link style   */
  .projet {
    background-color: #f0f2fa;
    box-shadow: 0px 0px 1px 1px #f0f2fa;
    border: none;
    color: black;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    border-radius:3px;
    margin:12px
  }

  .projet:hover {
    box-shadow: 1px 1px 7px 5px #2a35df;
    text-decoration: none;
    border: 4px;
    position:relative;
  }

  .projet a {
      color:#2a35df;
    }

  /*Progress bar*/
  .progress {
    float: left;
    width:75px;
    height:17px;
    margin-right:5px;
    border-radius: 20px;
    border:2px solid #000363;
    background:#d0e0f7;
    position: relative;
  }
  .started::before {
    inset:0 90% 0 0;
    content:"";
    position: absolute;
    margin:2px;
    border-radius: inherit;
    background:#2a35df;
  }

  .step1::before {
    inset:0 75% 0 0;
    content:"";
    position: absolute;
    margin:2px;
    border-radius: inherit;
    background:#2a35df;
  }

  .step2::before {
    inset:0 50% 0 0;
    content:"";
    position: absolute;
    margin:2px;
    border-radius: inherit;
    background:#2a35df;
  }

  .step3::before {
    inset:0 25% 0 0;
    content:"";
    position: absolute;
    margin:2px;
    border-radius: inherit;
    background:#2a35df;
  }

  .almost::before {
    inset:0 10% 0 0;
    content:"";
    position: absolute;
    margin:2px;
    border-radius: inherit;
    background:#2a35df;
  }

  .done::before {
    inset:0 0% 0 0;
    content:"";
    position: absolute;
    margin:2px;
    border-radius: inherit;
    background:#f4129c;
  }

/*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;
    box-shadow: 0px 0px 1px 1px #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 {
    box-shadow: 1px 1px 7px 5px #2a35df;
    text-decoration: none;
    border: 4px;
    position:relative;
  }

  .button:active {
    box-shadow: 1px 1px 7px 7px #2a35df;
    text-decoration: none;
    position:relative;
    background-color: #2a35df;
    text-decoration: none;
    color: white;
    border-bottom: none;
    position:relative;
    top:-2px;
    left:-2px;
  }

  /*separator*/
  hr {
    display:block;
    border:0px;
    height:45px;
    max-width:110%;
    background-image:url('/img/separator.png');
    background-size: contain;
    background-repeat: repeat-x;
  }

  /* HEADER */
  header #nav {
    margin: auto;
    padding: 0px 6px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
  }

  /*NAVBAR*/
  #navbar {

  }

  /* FOOTER */
  #footer {
  margin: auto;
  margin-bottom: 10px;
  padding: 0px 12px 12px;
  align-items: center;
  font-family: "Arial", sans-serif;
  font-size:10px;
  color:#291727;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  }

  footer {
    color: #421a1a;
    margin-top: 12px;
    bottom: -2px;
    float: left;
    width: 100%;
    font-size: 12px;
  }

  /* take away margins from the edges of the screen */
  html, body {
    margin: 0;
  }


