@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

body {
  padding: 2%;
  background: linear-gradient(120deg, #323031 40%, rgba(241,0,0,1) 100%);
  color: white;
  font-size: 20px;
  font-family: 'Roboto', sans-serif !important;
  
}

html {
  min-height: 100%;
  margin: 0;
}

/*Button*/

.btn {

  background-color: transparent;
  outline: none;
  border-radius: 0.5vw;
  border: 1px solid currentColor;
  color: currentColor;
  padding: 0.5vw;
  transition: 0.2s;
  cursor: pointer;
}

.btn span {
  transition: 0.2s;
}

.btn:hover {
  box-shadow: 0px 0px 10px currentColor;
  background-color: currentColor;
 
}

.btn:hover span {
  color: black
 
}

.btn:active {
  box-shadow: 0px 0px 10px currentColor;
  background-color: transparent;
  
}

.btn:active span {
  color: white
 
}

.btn span a {
  text-decoration: none;
}

/* Miniaturiez Button */

.min {

  width: 40px !important;
  height: 40px !important;
  border-radius: 100% !important;
  font-size: 1vw !important;
  transition: 0.2s;
  padding: 0 !important;
}
  
.min span {

  font-size: 20px !important;

}



/*Colors*/

.red {

  color: #f01000!important; 
}

.lightred {
  color: #ff5d51 !important;
}

.blue {

  color: rgb(66, 242, 255) !important;
}

.yellow {

  color: rgb(255, 255, 27) !important;
}

.green {

  color: rgb(64, 248, 64) !important;
}

/*Balise Properties*/

code {

  background-color: #3D3B3C;
  padding: 0.3vw;
  border-radius: 0.5vw;
}

p {
  margin-block-start: 0.5em !important;
  margin-block-end: 0.5em !important;
}

a {
  color: currentColor;
}

/*Lists*/

.center {

  text-align: center !important;
  

}

.col {

  display: flex;
  flex-direction: column;
  gap: 2vw;

}

@media (max-width: 500px) {

  .row {

  
    display: flex;
    flex-direction: column;
    gap: 2vw;
  
  }
  
} 

@media (min-width: 500px) {

.row {

  
  display: flex;
  flex-direction: row;
  gap: 2vw;
  
}

}

/* Fields */

.field {

  width: fit-content;
  border-radius: 5px;
  padding-bottom: 0.3vw;
  padding-top: 0.3vw;
  padding-left: 0.5vw;
  border: 1px solid white;
  background-color: transparent;
  transition: 0.2s;
  color: white;
}

.field:focus {
  color: black;
  outline: none;
  background-color: white;
  box-shadow: 0px 0px 8px #C1BDB3 ;
}




/* Logo */

@media (max-width: 640px) {

  .logo {

    font-family: 'Gunship', sans-serif;
    text-shadow: 0px 0px 10px #ffffff;
    font-size: 50px;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  
  .logo-img {
  
    width: 70px;
    margin-right: 10px;
  }
  
  
} 

@media (min-width: 640px) {

  .logo {

    font-family: 'Gunship', sans-serif;
    text-shadow: 0px 0px 10px #ffffff;
    font-size: 50px;
    display: flex;

    justify-content: center;
    text-align: center;
    align-items: center;
  }
  
  .logo-img {
  
    width: 70px;
    margin-right: 10px;
  }
  

}



/* Form Box */


.form-box {

  width: 500px;
  height: 400px;
  border-radius: 0.5vw;
  display: flex;
  padding: 2%;
  flex-direction: column;
  justify-content: space-between;
  background-color: #605e5863;
}

.panel-box {

  width: 900px;
  height: 500px;
  border-radius: 0.5vw;
  display: flex;
  padding: 2%;
  flex-direction: column;
  justify-content: space-between;
  background-color: #605e5863;
  gap: 50px;
}

.subpanel-box {

  width: 900px;
  height: 50px;
  border-radius: 0.5vw;
  padding: 2%;
  display: flex;
  justify-content: space-between;
  background-color: #605e5863;
}

.subpanel-image {

  width: 50px;
  height: 50px;
  border-radius: 100%;
}

.subpanel-user {

  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.subpanel-userinfo {
  text-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.subpanel-username {

  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  margin-block: 0 !important;
}


.subpanel-dispname {

  margin-block: 0 !important;
}

.m-align {

    margin-right: auto !important;
    margin-left: auto !important;
}

.t-center {

  text-align: center;
}


/* LOGIN Specs */

.LOG_btn {

  margin-top: 2%;
  margin-bottom: 2%;
}

.LOG_body {

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
    height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
}

/*INDEX Specs*/

@media (max-width: 640px) {

  .views-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;

  
  }
  
  
} 

@media (min-width: 640px) {

  .views-box {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  
  }
  

}


.view {
  display: flex;
  flex-direction: column;
  user-select: none;
  -webkit-user-select: none;
  transition: 0.1s;

}

.view:hover {

  cursor: pointer;
  color: #ff5d51;
  text-shadow: 0px 3px 2px #070607;
}
.view:active {

  cursor: pointer;
  color: #ff5d5194;
}

.view-image {

  font-size: 72px;
}