:root {
  --primary-color: #171717;
  --secondary-color: #242424;
  --trois-color: #a02222;
  --quatre-color: #6c6c6c;
  --cinq-color: #303030;
  --six-color: #1e1d1d;

  --line-color: #ff4040;
  --text-color: #E4F1FE;
}


body {
  background-color: var(--primary-color);
  color: var(--text-color);
  font-family: monospace;
  padding: 20px;

  height: 100%;
  margin: 0;
  padding: 20px;
  overflow: hidden; 
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

html{
  height: 100%;
  margin: 0;
  padding: 20px;
  overflow: hidden; 
  display: flex;
  flex-direction: column;
}


::-webkit-scrollbar {
  width: 12px;
}


::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 5px;

}


::-webkit-scrollbar-thumb {
  background: var(--line-color);
  border-radius: 5px;
}


::-webkit-scrollbar-thumb:hover {
  background: var(--trois-color);
}


#all {
  background-color: var(--secondary-color);
  margin-top: 20px;
  flex: 1; 
  overflow-y: auto; 
  border-radius: 25px;
}

.msg{
  margin: 15px 0 ;
}

#user{
  font-weight: bold;
  margin-top: 35px;
}

#last{
  height: 200px;
}


#terminal {
  white-space: pre-wrap;
  border: 1px solid transparent;
  height: 100%;
  padding: 0px 35px 0px;
  font-size: 20px;
  
}

#bas {
  height: 100px;
  display: flex;
  flex-direction: column;
  margin: 20px 0px 10px;



}

#bulles {
  
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-start; 
  align-self: flex-start; 
  flex-wrap: wrap;
  
}

.bulle {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  width: 80px;
  height: 30px;
  background-color: var(--trois-color);
  color: var(--text-color);
  cursor: pointer;
}

#entrer{
  display: flex;
  justify-content: center;
  align-items:end;
  font-size: 30px;
}

#input {
  width: 100%;
  background: transparent;
  color: #E4F1FE;
  border: none;
  font-size: 30px;
  font-family: monospace;
  box-sizing: border-box;
  outline: none;
  margin-top: 15px;
  padding: 0 5px;

}





#navbar {
  height: 80px;
  display: flex;
  justify-content: space-between; 
  align-items: center; 
 
}

h1 {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 400;
  font-size: 60px;
  font-style: normal;
  margin: 0;
  margin-bottom: 10px;
}

h2{
  margin: 0;
}

#title {
  width: 210px;
}

#right {
  text-align: end;
  font-family: "Ubuntu Mono", monospace;
  font-weight: 400;
  font-size: 25px;
  padding-bottom: 0px;
}

#eye{
  width: 22px;
    height: 22px;
flex-shrink: 0;
padding-right: 2px;
}

#div_vue{
  justify-content: right;
  gap: 5px;
  display: flex;
  align-items: center;
}

#bouton-decou{
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--text-color);
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--trois-color);
  font-family: "Ubuntu Mono", monospace;
  font-weight: bold;
  font-size: 25px;
  text-decoration: none; 
  border-radius: 15px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;

}

hr{
  width: 100%; 
  height: 3px;
  background-color: var(--line-color);
  border: none;
  margin: 0 0 10px 0;
}

.tableau{
  background-color:var(--six-color);
  min-width: 180px;
  max-width: 40%;
  margin-top: 20px;
  margin-bottom: 20px;
  min-height:90px ;
  justify-content: center;
  padding: 10px 0 10px 0 ;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  row-gap: 10px;
  border-radius: 10px;
  
}

.cadre {
  
  background-color: var(--cinq-color);
  color: #ecf0f1;
  text-align: left;
  width: 160px;
  height: 85px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}

.titre_cadre {
  margin: 0;
  margin-top: 5px;
  font-size: 18px;
  font-weight: bold;
}

.underline_cadre {
  width: 50px;
  height: 3px;
  background-color: var(--line-color);
  margin: 5px auto;
  border-radius: 2px;
}

.subtitle_cadre {
  font-size: 14px;
  color: #bdc3c7;
  margin: 5px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center; 
  max-width: 160px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 5px;
  box-sizing: border-box;
}

.projet{
  width: 100%;
  min-height: 310px;
  max-height: 320px;
  text-align: center;
  display: grid;
  margin: 0 20px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}

.projet_lang{
  display: flex;
  justify-content: center;
  align-items: center;
}

.liste_lang{
  display: flex;
  flex-direction: row;
  column-gap: 5px;
  justify-content: left;
  align-items: center;
}

.lang{
  width: 20px;
  height: 20px;
  background-color: transparent;
  object-fit:contain;
}

.p_lang{
  margin: 0;
  font-size: 17px;
}


    
.projet_titre{
  grid-column: span 4 / span 4;
}

.projet_titre h2{
  left: 0;
  font-family: "Ubuntu Mono", monospace;
  font-weight:650;
  font-size: 55px;
  font-style: normal;
}

.projet_titre hr{
  
  margin:  7.5px auto 7.5px;
  width: 150px;
  
}
.projet_descr {
  font-family: "Ubuntu Mono", monospace;
  font-weight:400;
  font-size: 15px;
  font-style: normal;
  grid-column: span 4 / span 4;
  grid-row-start: 2;
  
}

.projet_descr p {
  margin: 0;
}

.projet_link {
  grid-column: span 2 / span 2;
  grid-row-start: 3;
  display: flex;
  justify-content: left; 
  align-items: center;
}

.projet_link a {
  outline: none;
  text-decoration: none;
  color: #E4F1FE;
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--trois-color);
  color: #E4F1FE; 
  font-family: "Ubuntu Mono", monospace;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none; 
  border-radius: 20px;
  text-align: center;
  white-space: nowrap;
}

.projet_dev {
  grid-column: span 2 / span 2;
  grid-column-start: 1;
  grid-row-start: 4;
  text-align: left;
}

.projet_dev h2 {
  margin-bottom: 10px;
  font-size: 17px;
}



.liste_dev{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  max-width: 215px;
  
}
.liste_dev p{
  font-size: 10px;
  margin: 3px 5px  ;
}

.dev{
  display: flex;
  cursor: pointer;
  background-color: var(--cinq-color);
  align-items: center;
  margin: 2px 4px 4px 0; 
  border-radius: 4px; 
  max-width: 85px;
  padding-left: 2px;

}

.pfp{
  width: 17.5px;
  height: 17.5px;
  border-radius: 20px;
}

.projet_img {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
  grid-column-start: 3;
  grid-row-start: 3;
}

.img_projet{
  width: 100%;
  height: 100%;
  object-fit:contain;
}





@media (max-width: 995px) {

  body{
    padding: 0;
  }

  html{
    padding: 10px;
  }

  #bas {
    width: 90%;
  }
  .projet {
    display: flex;
    height: 520px;
    flex-direction: column; 
    gap: 10px; 
    max-height: 650px;
    margin-bottom: 20px;
  }

  .tableau{
    margin: auto;
    margin-top: 10px;
  }

  #right{
    padding-bottom: 10px;
  }

  #terminal{
    padding: 0 10px ;
  }

  #entrer{
    width: 110%;
    
  }


  #input {
    font-size: 20px;
    padding-right: 0;
  }


  #bas {
    margin: 20px 0px;
  }

  .projet_titre, 
  .projet_descr, 
  .projet_link, 
  .projet_dev, 
  .projet_img {
    width: 100%; 
  }



  .projet_link {
    justify-content: center;
    padding: 10px 0;
  }
  
  .p_lang {
    margin: 0;
    font-size: 8px;

}

}
