/* -------------------------------------------------------------------------------- */
/* ! Configuration */
/* -------------------------------------------------------------------------------- */
:root {
  --font-family: 'Inter';

  --text-white: #fff;
  --text-black: #000;
  --text-green: #367714;
  --text-red: #b92727;
  
  --bg-transparent: transparent;

  --bg-black: #000;
  --bg-white: #fff;
  --bg-grey: #969696;
  --bg-dark-grey: #707070;
  --bg-dark: #2a2a2a;
  --bg-green: #367714;
  
}

/* -------------------------------------------------------------------------------- */
/* ! Reset */
/* -------------------------------------------------------------------------------- */
body,
html {
  font-size: 16px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color: var(--bg-white);
  color: var(--text-black);
  font-family: var(--font-family);
}

*,
*:before,
*:after {
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* transition: all 0.5s ease-in-out; */
  /* cursor: none; */
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
  font-weight: normal;
}

ol,
ul {
  list-style-type: none;
}

img {
  height: auto;
}

a {
  text-decoration: none;
  color: var(--bg-grey);
}

hr {
  border: none;
  border-bottom: 1px solid var(--bg-dark)
}

table{
  width: 100%;
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid black;
}

th, td {
  padding: 10px;
}

.section {
  min-height: 100vh;
  position: relative;
}

/* -------------------------------------------------------------------------------- */
/* ! Scrool bar */
/* -------------------------------------------------------------------------------- */
::-webkit-scrollbar {
  height: .5rem;
  width: 0.8rem;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--bg-grey);
}


/* -------------------------------------------------------------------------------- */
/* ! Title system */
/* -------------------------------------------------------------------------------- */

.text-0 {
  font-size: 5rem;
  line-height: 1;
}

h1,
.text-1 {
  font-size: 3.4rem;
}

h2,
.text-2 {
  font-size: 2.2rem;
}

h3,
.text-3 {
  font-size: 1.5rem;
}

h4,
p,
.text-4 {
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin-bottom: 1rem;
}

@media (max-width:1250px) {
  .text-0 {
      font-size: 4.3rem
  }

  h1,
  .text-1 {
      font-size: 3rem;
  }

  h2,
  .text-2 {
      font-size: 2rem;
  }

  h3,
  .text-3 {
      font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .text-0 {
      font-size: 4rem
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Button system */
/* -------------------------------------------------------------------------------- */

.button {
  font-size: 1.2rem;
  background: var(--bg-grey);
  color: var(--text-white);
  padding: 10px 50px;
  display: inline-block;
  font-weight: 500;
  position: relative;
  border-radius: 4px;
  border: none;
  transition: all 0.5s ease-in-out;
}

.button:hover {
  background: var(--bg-green);
}

.button--small {
  padding: 10px 25px;
  font-size: 1rem;
}

.button--big {
  padding: 15px 25px;
  font-size: 1.8rem;
}

.button--100{
  width: 100%;
}

.button-logout{
  background-color: var(--bg-grey);
  border-radius: 4px;
  color: var(--text-white);
}

.button-logout:hover{
  background-color: var(--bg-dark-grey);
  color: var(--text-white) !important;
}

/* -------------------------------------------------------------------------------- */
/* ! Filter */
/* -------------------------------------------------------------------------------- */

.filter{
  border-top: 2px solid var(--bg-dark);
  border-bottom: 2px solid var(--bg-dark);
}

/* -------------------------------------------------------------------------------- */
/* ! Grid system */
/* -------------------------------------------------------------------------------- */
.grid {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.grid--full {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 10%;
}

.grid--container {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  margin: 0 10%;
}

.grid--small {
  max-width: 900px
}

.grid--center {
  justify-content: center;
}

.col-20 {
  width: 20%;
}

.col-25 {
  width: 25%;
}

.col-30 {
  width: 30%;
}

.col-33 {
  width: 33.33%;
}

.col-40 {
  width: 40%;
}

.col-50 {
  width: 50%;
}

.col-60 {
  width: 60%;
}

.col-70 {
  width: 70%;
}

.col-80 {
  width: 80%;
}

.col-90 {
  width: 90%;
}

.col-100 {
  width: 100%;
}

[class*='col-'] {
  padding: 10px;
}

.grid--full [class*='col-'] {
  padding: 0;
}

.grid .grid [class*='col-'] {
  padding: 0;
}

@media (max-width: 768px) {
  [class*='col-'] {
      width: 100%
  }

  .sma-25 {
      width: 25%
  }

  .sma-33 {
      width: 33.33%
  }

  .sma-50 {
      width: 50%
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Helpers */
/* -------------------------------------------------------------------------------- */
.m-0 {
  margin: 0rem
}

.m-1 {
  margin: 1rem
}

.m-2 {
  margin: 2rem
}

.m-3 {
  margin: 3rem
}

.m-4 {
  margin: 4rem
}

.mt-0 {
  margin-top: 0rem
}

.mt-1 {
  margin-top: 1rem
}

.mt-2 {
  margin-top: 2rem
}

.mt-3 {
  margin-top: 3rem
}

.mt-4 {
  margin-top: 4rem
}

.mb-0 {
  margin-bottom: 0rem
}

.mb-1 {
  margin-bottom: 1rem
}

.mb-2 {
  margin-bottom: 2rem
}

.mb-3 {
  margin-bottom: 3rem
}

.mb-4 {
  margin-bottom: 4rem
}

.p-0 {
  padding: 0rem
}

.p-1 {
  padding: 1rem
}

.p-2 {
  padding: 2rem
}

.p-3 {
  padding: 3rem
}

.p-4 {
  padding: 4rem
}

.pt-0 {
  padding-top: 0rem
}

.pt-1 {
  padding-top: 1rem
}

.pt-2 {
  padding-top: 2rem
}

.pt-3 {
  padding-top: 3rem
}

.pt-4 {
  padding-top: 4rem
}

.pb-0 {
  padding-bottom: 0rem
}

.pb-1 {
  padding-bottom: 1rem
}

.pb-2 {
  padding-bottom: 2rem
}

.pb-3 {
  padding-bottom: 3rem
}

.pb-4 {
  padding-bottom: 4rem
}

.br {
  border: 1px solid var(--bg-black);
}

.right {
  float: right;
}

.left {
  float: left;
}

.video-responsive {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.video-responsive video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.icon-white {
  filter: invert(1);
}


.v-center {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  flex-flow: column;
  align-items: flex-start;
}

.font-normal {
  font-weight: 400;
}

.none {
  display: none;
}

.overflow {
  overflow: hidden;
}

.spacer {
  height: 150px;
  width: 100%;
}

.active {
  color: var(--menu-color-link);
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .sma-none {
      display: none !important;
  }
}

@media (min-width: 768px) {
  .desktop-none {
      display: none !important;
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Images  */
/* -------------------------------------------------------------------------------- */

.img-responsive {
  width: 100%;
}

.img-round {
  border-radius: 100%;
}

.icon-small {
  width: 40px;
  padding: 8px;
}

.img-tutor {
  height: 350px;
  width: auto;
}

/* -------------------------------------------------------------------------------- */
/* ! Border */
/* -------------------------------------------------------------------------------- */

.round {
  border-radius: 50px;
}

.no-border {
  border: none;
}

.border {
  border: solid 2px var(--bg-black);
}

.border-transparent {
  border: solid 2px transparent;
}

.border-blue {
  border: solid 2px var(--bg-blue);
}

.border-white {
  border: solid 2px var(--bg-white);
}

/* -------------------------------------------------------------------------------- */
/* ! Text Colors */
/* -------------------------------------------------------------------------------- */
.text-white {
  color: var(--text-white)
}

.text-black {
  color: var(--text-black);
}

.text-green {
  color: var(--text-green);
}

.text-red{
  color: var(--text-red)
}


/* -------------------------------------------------------------------------------- */
/* ! Text Align */
/* -------------------------------------------------------------------------------- */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-justify {
  text-align: justify;
}

/* -------------------------------------------------------------------------------- */
/* ! Text type */
/* -------------------------------------------------------------------------------- */

.text-uppercase {
  text-transform: uppercase;
}

.text-light {
  font-weight: 300;
}

.text-regular {
  font-weight: 500;
}

.text-bold {
  font-weight: 700;
}

/* -------------------------------------------------------------------------------- */
/* ! Bg Colors */
/* -------------------------------------------------------------------------------- */
.bg-black {
  background-color: var(--bg-black);
}

.bg-white {
  background-color: var(--bg-white);
}

.bg-orange {
  background-color: var(--bg-orange);
}

.bg-yellow {
  background-color: var(--bg-yellow);
}

.bg-blue {
  background-color: var(--bg-blue);
}

.bg-light-blue {
  background-color: var(--bg-light-blue);
}

.bg-transparent {
  background-color: var(--bg-transparent);
}


/* -------------------------------------------------------------------------------- */
/* ! Tabella */
/* -------------------------------------------------------------------------------- */
.table{
  background-color: var(--bg-white);
}

.table__head{
 background-color: var(--bg-grey);
 text-align: center;
 color: var(--text-white);
}

/* Stile per le righe pari */
.table-striped tbody tr:nth-child(even) {
 background-color: #dfdfdf; /* Colore di sfondo per righe pari */
}

/* Stile per le righe dispari */
.table-striped tbody tr:nth-child(odd) {
 background-color: #ffffff; /* Colore di sfondo per righe dispari */
}


.table-responsive::-webkit-scrollbar {
 height: .5rem;
 width: 0.8rem;
}

.table-responsive::-webkit-scrollbar-track {
 background-color: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
 background-color: var(--bg-grey);
}
