:root {
    --black-color: black;
    --red-color: crimson;
    --white-color: #f5f5f5;
    --green-color: #68ff54;
    --blue-color: royalblue;
  }
  
  *{
    margin:0;
    padding:0;
    box-sizing:border-box;
  }
  
  body{
    color:black;
    font-family: 'Raleway', sans-serif;
  }
  
  ::-webkit-scrollbar{
    width: 0px;
    height: 0px;
  }
  
  section{
  
    height: 100vh; 
    display: grid;
    place-items: center;
  
  }
  
  /* ----------------------------------------- NAV BAR ----------------------------------------- */
  
  #Sezione_Barra{

    z-index: 1000;
    height: 8vh;
    width: 100vw;
    position: fixed; 
    background-color: var(--white-color);
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    animation: EntrataEffetto 0.7s ease-out forwards;
  
  }
  
  @keyframes EntrataEffetto {
  0% {
    top: -100px;
    opacity: 0;
  }
  60% {
    top: 30px;
    opacity: 1;
  }
  80% {
    top: -10px;
  }
  100% {
    top: 0;
  }
  }
  
  .Tasto_Logo{

    height: 8vh;
    width: 31vw;
    margin-left: 2vw;
    background-color: var(--white-color);
  
  }
  
  .Tasto_Nav{
  
    height: 8vh;
    width: 13vw;
    background-color: var(--white-color);
  
  }
  
 .Nav_Button{
  
    color: var(--red-color);
    background-color: var(--white-color);
    font-size: 20px;
    width: 13vw;
    height: 8vh;
    font-weight: 500;
    padding: 9px 9px;
    border: 0px;
    border-radius: 12px;
    transition: all 0.5s ease;  
  
  cursor: pointer;
  
  }
  
  .Nav_Button_Logo{
  
    color: var(black);
    background-color: var(--white-color);
    font-size: 27px;
    margin-left: 3vw;
    width: auto;
    height: 8vh;
    font-weight: 500;
    padding: 9px 9px;
    border: 0px;
    border-radius: 12px;
    transition: all 0.5s ease;  
  
  cursor: pointer;
  
  }
  
  .Nav_Button:hover{
  
    background: var(--red-color);
    color: var(--white-color);
  
  }
  
  .Spazio_Nav{    
  
    width: 100vw;
    height: 8vh;
    background-color: var(--white-color);
  
  }

  /* ----------------------------------------- NAV BAR MOBILE ----------------------------------------- */

  .Mobile_Icon{
    display: none;
  }

  /* ----------------------------------------- LOGIN ----------------------------------------- */
  
  #Area_Personale_PC{
  
    height: 92vh;
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  
  }
  
  #Image_Login{
              
    height: 92vh;
    width: 50vw;
    display: grid;
    justify-content: center;
    align-content: center;
    background-color: var(--black-color);
  
  }
  
  #Image_Login img{
              
    width: 40vw;
  
  }
  
  #Login{
  
    width: 50vw;
    height: 92vh;
    background-color: beige;
  
  }
  
  .Container{
  
    width: 50vw;
    height: 92vh;
    background-color: beige;
    display: flex;
    flex-direction: column;
  
  }
  
  .Container h2{
  
    text-align: center;
    font-size: 35px;
    margin-bottom: 5vh;
    margin-top: 17vh;
    color: var(--black-color);
  
  }
  
  .Container input[type="password"],
  .Container input[type="text"] {
    width: 40vw;
    margin-left: 5vw;
    padding: 15px;
    margin-bottom: 30px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: border 0.3s;
  }
  
  /* Focus sugli input */
  .Container input:focus{
    border-color: var(--blue-color);
    outline: none;
  }
  
  .Container label{
  
    margin-left: 5vw;
  
  }
  
  .privacy-link{
  
    text-decoration: none; 
    color: var(--red-color); 
    font-weight: 700;
    transition: color 0.5s;
  
  }
  
  .privacy-link:hover{
  
    color: var(--blue-color);
  
  }
  
  .Container button{
    width: 40vw;
    padding: 15px;
    margin-left: 5vw;
    margin-top: 2vh;
    background-color: var(--red-color);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.5s;
  }
  
  .Container button:hover{
    background-color: var(--blue-color);
  }
  
  #Checkbox{
    
    width: 40vw; 
    height: 3vh; 
    margin-left: 5vw;
  
  }
  
  .Separatore{
  
    width: 45vw;
    height: 0.3vh;
    background-color: gray;
    margin-top: 5vh;
    margin-left: 2.5vw;
  
  }
  
  .Richiesta a{
  
    text-decoration: none;
    color: var(--red-color);
    transition: color 0.5s;
    font-weight: 750;
    cursor: pointer;
  
  }
  
  .Richiesta a:hover{
  
    color: var(--blue-color);
  
  }
  
  /* ----------------------------------------- RESPONSIVE ----------------------------------------- */
  
  /* Disabilita i link */
  a.disabled {
    pointer-events: none;
    cursor: default;
    color: #888888;
    text-decoration: none;
  }

/*  
  #Area_Personale_PC, #tablet-section, #mobile-section {
    display: none;
  }
*/
  
  /* PC (1024px) */
  @media only screen and (min-width: 1025px) {

    #side-menu{
      display: none;
    }
  }
  
  /* Tablet (768px e 1024px) */
  @media only screen and (min-width: 768px) and (max-width: 1024px) {
    
    .Nav_Button{
      font-size: 18px;
    }

    #side-menu{
      display: none;
    }

  }
  
  /* Telefono(768px) */
  @media only screen and (max-width: 767px) {

    #Sezione_Barra{
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      place-items: center;
    }

    .Tasto_Nav,
    .Spazio_Nav{
      display: none;
    }

    .Tasto_Logo{
      width: auto;
    }

    .Nav_Button_Logo{
      width: 65vw;
    }

    /* ------------------------- */

    .Mobile_Icon {

      right: 5vw;
      width: 40px;
      height: 8vh;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: absolute;
      z-index: 101;
      transition: transform 0.5s ease;
    
    }

    /* Linee dell'icona hamburger */
    .line {
        width: 100%;
        height: 4px;
        background-color: var(--red-color);
        position: absolute;
        transition: all 0.4s ease;
    }

    /* 3 Linee per l'icona */
    .line1 {
        top: 25%;
    }
    
    .line2 {
        top: 53.5%;
        transform: translateY(-50%);
    }
    
    .line3 {
        top: 75%;
    }

    /* Animazione "X" delle 3 linee orizzontali */
    .Mobile_Icon.active .line1 {
        top: 50%;
        transform: rotate(45deg);
    }
    
    .Mobile_Icon.active .line2 {
        opacity: 0;
    }
    
    .Mobile_Icon.active .line3 {
        top: 50%;
        transform: rotate(-45deg);
    }

    /* Menu a comparsa */

    #side-menu {
      width: 100vw;
      height: 100vh;
      position: fixed;
      top: 0;
      left: -100vw;
      transition: left 0.5s ease;
      z-index: 99;
      background-color: firebrick;
    }

    /* Link all'interno del menu laterale */
    .menu-item {
        color: var(--white-color);
        font-size: 30px;
        text-decoration: none;
        padding: 15px 30px;
        display: block;
        transition: background-color 0.3s ease;
    }

    .menu-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    /* ------------------------- */

    #Image_Login{
      display: none;
    }
  
    #Login {
      width: 100vw;
    }
  
    #Login form {
      width: 100vw;
    }
  
    .Container{
      width: 100vw;
    }

    .Container h2{
      margin-top: 15vh;
    }
  
    .Container input[type="password"],
    .Container input[type="text"]{
      width: 90vw;
    }
  
    .Container button{
      width: 90vw;
    }
    
    #Checkbox{
      width: 95vw;
    }

    .Separatore{
  
      width: 80vw;
      height: 0.3vh;
      background-color: gray;
      margin-top: 5vh;
      margin-left: 10vw;
    
    }

  }
  