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

body, html {
        padding: 0;
        margin: 0;
        font-family: 'Roboto', sans-serif;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
            background: #000000 url('https://nicoloddo.github.io/TemplateData/background/2.jpg') no-repeat center center fixed; 
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
      }
#unity-container {
        position: absolute;
        width: 100%;
        height: 100%;
      }
#unity-canvas {
        width: 100%;
        height: 100%;
      }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { width: 100%; height: 100% }
.unity-mobile #unity-canvas { width: 100%; height: 100% }

#title {
  font-size: 1.5em;
  color: #ffffff;
  text-align: center;
  margin-top: 2%;
}
#unity-loading-bar { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -10%); display: none }
.progress-bar {
        width: 60%;
        height: 18px;
        background-color: #ddd;
        position: relative;
        border-radius: 9px;
      }
.progress {
        height: 100%;
        width: 0%;
        background: linear-gradient(to right, #fefb72, #f0bb31);        
        position: relative;
        border-radius: 9px;
      }
.step {
        width: 30px;
        height: 30px;
        position: absolute;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        filter: grayscale(100%);
        top: 50%;
        transform: translateY(-50%);
        transform-origin: center;
        animation: none
    }    
#milestones {
        position: fixed;
        top: 500%;
        left: 10%;
        right: 10%;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 20px;
        z-index: 1;
        text-align: center;
      }
#year {
        position: absolute;
        top: 250%;
        left: 0;
        right: 0;
        text-align: center;
        color: white;
      }

#step1 {
        left: 10%;
        background-image: url('https://nicoloddo.github.io/TemplateData/milestones/space.png')
      }
#step2 {
        left: 30%;
        background-image: url('https://nicoloddo.github.io/TemplateData/milestones/encripted.png')
      }
#step3 {
        left: 50%;
        background-image: url('https://nicoloddo.github.io/TemplateData/milestones/graduation-cap.png')
      }
#step4 {
        left: 70%;
        background-image: url('https://nicoloddo.github.io/TemplateData/milestones/screen.png')
      }
#step5 {
        left: 90%;
        background-image: url('https://nicoloddo.github.io/TemplateData/milestones/artificial-intelligence.png')
      }
#step6 {
        left: 99%;
        background-image: url('https://nicoloddo.github.io/TemplateData/milestones/graduation-cap.png')
      }



@keyframes growAndColor {
  0% {
    transform: translateY(-50%) scale(1);
    filter: grayscale(100%);
  }
  50% {
    transform: translateY(-50%) scale(1);
    filter: grayscale(50%);
  }
  100% {
    transform: translateY(-50%) scale(1.5);
    filter: grayscale(0%);
  }
}

