/*general*/
main.footer-fixed ~ footer{
    position: fixed;
  }

html{
    background-color: rgb(31, 31, 31);
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    
  }
  body{margin: 0;}

  main{
    text-align: center;
  }
  div.align{
    display: flex;
    margin: auto;
    justify-content: space-evenly;
  }
  a{
    text-decoration: none;
    cursor: pointer;
    color: rgb(255, 60, 60);
  }
/*scroll bar*/
body::-webkit-scrollbar {
    width: 12px; /* width of the entire scrollbar */
    
  }
  
a.m{
  margin: 10px;
}

  body::-webkit-scrollbar-track {
    background: rgb(31, 31, 31);; /* color of the tracking area */
  }
  
  body::-webkit-scrollbar-thumb {
    background-color:  rgb(255, 255, 255); /* color of the scroll thumb */
    border-radius: 20px; /* roundness of the scroll thumb */
    border: 3px solid rgb(31, 31, 31); /* creates padding around scroll thumb */
  }

/*text*/
main h2{
    font-size: 5vb;
}
main p{
    font-size: 2vb;
}

div.side-text{
    font-size: 2vb;
    max-width: 700px;
}
div.center-text{
  max-width: 750px;
  margin: 0 auto;
}

div.oups-text{
  padding-top: 100px;
}

div.maintenance-text{
  padding-top: 100px;
}
/*section*/

section{padding: 15px;}

/*button*/
a.btn{
    -webkit-border-radius: 0;
      -moz-border-radius: 8;
    background-color: #a00000;
    text-decoration: none ;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 10px 30px 10px 30px;
    border: solid #a00000 2px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    cursor:pointer;
  }
a.btn:hover{
    background-color: #6a0000;
    border: solid #6a0000 2px;
  }
a.disable{
    background-color: #693939;
    border: solid #693939 2px;
    cursor: not-allowed;
    }
a.disable:hover{
        background-color: #693939;
        border: solid #693939 2px;
        }

  /*footer*/
  footer{
    background-color: #a00000;
    font-weight: bold;
    text-align: center;
    bottom: 0;
    width: 100%;
    height: 13vb;
    line-height: 13vb;
    margin-top: 80px;
    position: relative;
  }
  p.tfoot{
  font-size: 15px !important;
  display: contents;
  }

  /*image*/
  main img{
    max-width: 80vb;
    min-width:25vb ;
    width: 90%;
    height: auto;
    text-align: center;
  }

  /*trait*/
  div.trait{
    width: 100%;
    height: 2px;
    background-color: #333333;
    margin: 60px 0 25px 0;
  }

  /*responcive*/
  @media screen and (min-width: 775px) and (max-width: 1100px) {
    section{
      padding: 0;
    }
    .align{
        display: block !important;
    }
    div.side-text{
      font-size: 2vb;
      padding: 15px 10px;
    }
    footer{
      margin-top: 100px;
      position: relative !important;
  }
  main.footer-fixed ~ footer{
    position: fixed !important;
  }
  .tfoot{
      font-size: 15px;
  }
  .btn{
    font-size: 30px !important;
}
  }
  
  @media screen and (min-width: 375px) and (max-width: 775px) {
    section{
      padding: 0;
    }
    html{
        overflow-y: scroll;
    }
    .align{
      display: block !important;
  }
  div.side-text{
    font-size: 2vb;
    padding: 15px 10px;
  }
  footer{
    position: relative !important;
  }
  main.footer-fixed ~ footer{
    position: fixed !important;
  }
  }
  
  @media screen and (min-width: 250px) and (max-width: 375px) {
    section{
      padding: 10px;
    }
    html{
        overflow-y: scroll;
    }
    .align{
      display: block !important;
      
  }
  div.side-text{
    font-size: 2vb;
    padding-left: 0;
    padding: 15px 10px;
  }
  footer{
    position: relative !important;
  }
  main.footer-fixed ~ footer{
    position: fixed !important;
  }
    }
  
  @media screen  and (width: 1024px) and (height: 600px) {
      footer{
          position: relative !important;
       }
       main.footer-fixed ~ footer{
    position: fixed !important;
  }
       html{
          overflow-y: scroll;
       }
  }
  @media screen  and (max-width: 500px) and (min-height: 850px) {
      footer{
          position: relative !important;
       }
       html{
          overflow-y: scroll;
       }
  }

  @media screen and (max-width: 250px) {
    html{
        display: none;
        background-color: rgb(31, 31, 31)! important;
    }
  }

#project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background: #181818;
    padding: 20px 20px;
    width: 90vw;
    gap: 20px;
}

a.project-container-card {
    color: white;
    background-color: #121212;
    padding: 10px 30px;
    /* max-width: 300px; */
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    height: 300px;
}

a.project-container-card h3 {
    margin: 5px 0;
}
a.project-container-card p {
    margin: 10px 0;
}
  
img.p-miniature {
    max-width: 350px;
    height: auto;
    margin-bottom: 15px;
}

.center-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}