*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 50%;
}

@media (min-width: 480px){
    html{
        font-size: 55%;
    }
}

@media (min-width: 768px){
    html{
        font-size: 62.5%; /* 1rem = 10px */
    }
}

body{
    font-family: "Lato", sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #777;
    overflow-x: hidden;
    min-height: 100vh;
}

.container{
    max-width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    overflow-x: hidden;
}

@media (min-width: 640px){
    .container{
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.main-title{
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    text-shadow: 
    1px 0px 1px #ccc, 0px 1px 1px #eee;
}

.main-title h1{
    font-size: 3.5rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #555;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    margin-bottom: 1rem;
}

.main-title h2{
    font-size: 1.8rem;
    font-weight: 300;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
    hyphens: auto;
    max-width: 100%;
}

.svg-img{
   display: block;
   margin: auto;
   width: 100%;
   max-width: 100%;
   padding: 1rem;
}

svg{
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
}

#clock{
    animation: clockHand 5s infinite linear;
    
    
    transform-box: fill-box;
    transform-origin: bottom;
}

#leftTree, #righTree{
    animation: tree 2s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: bottom;
}

#man{
    animation: manBody 1s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: bottom;
}

#pc-circle{
    fill: #6ace66;
    stroke-width: 4;
    animation: change-light 4s linear infinite alternate;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 35px;
    line-height: 35px;
    background-color: #f5f5f5;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    text-align: center;
}

@media (min-width: 768px){
    .footer {
        font-size: 1.3rem;
        height: 35px;
        padding: 0 1rem;
    }
}

@keyframes clockHand{
    from{
        transform: rotateZ(0deg);
    }
    from{
        transform: rotateZ(-360deg);
    }
}

@keyframes manBody{
    from{
        transform: rotateX(0deg);
    }
    to{
        transform: rotateX(10deg);
    }
}

@keyframes tree{
    from{
        transform: rotateZ(10deg);
    }
    to{
        transform: rotateZ(-20deg);
    }
}

@keyframes change-light {
    0% {
        stroke: #cd61f8;
      }
      25% {
        stroke: #6ace66;
      }
      75% {
        stroke: #2995c0;
      }
      100% {
        stroke: #e92949;
      }
  }

  /* Media Queries */

  @media (max-width: 375px){
    html{
        font-size: 45%;
    }

    .main-title {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.3rem;
    }

    .main-title h1{
        font-size: 3rem;
        line-height: 1.1;
        letter-spacing: -0.05rem;
    }
    
    .main-title h2{
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .svg-img{
        padding: 0.5rem 0;
    }

    .container{
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }
  }

  @media (min-width: 376px) and (max-width: 479px){
    html{
        font-size: 48%;
    }

    .main-title h1{
        font-size: 3.5rem;
        letter-spacing: -0.03rem;
    }
    
    .main-title h2{
        font-size: 1.7rem;
    }
  }

  @media (min-width: 480px){
    .main-title h1{
        font-size: 4rem;
    }
    
    .main-title h2{
        font-size: 2rem;
    }
  }

  @media (min-width: 640px){
    .main-title {
        margin-top: 3rem;
        margin-bottom: 4rem;
        text-shadow: 
        1px 0px 1px #ccc, 0px 1px 1px #eee, 
        2px 1px 1px #ccc, 1px 2px 1px #eee,
        3px 2px 1px #ccc, 2px 3px 1px #eee,
        4px 3px 1px #ccc, 3px 4px 1px #eee,
        5px 4px 1px #ccc, 4px 5px 1px #eee;
    }

    .main-title h1{
        font-size: 4.5rem;
        font-weight: 700;
    }
    
    .main-title h2{
        font-size: 2.5rem;
    }

    .svg-img{
        padding: 2rem;
    }
  }
     
  @media (min-width: 768px){
    .main-title {
        margin-top: 3.5rem;
        margin-bottom: 6rem;
        text-shadow: 
        1px 0px 1px #ccc, 0px 1px 1px #eee, 
        2px 1px 1px #ccc, 1px 2px 1px #eee,
        3px 2px 1px #ccc, 2px 3px 1px #eee,
        4px 3px 1px #ccc, 3px 4px 1px #eee,
        5px 4px 1px #ccc, 4px 5px 1px #eee,
        6px 5px 1px #ccc, 5px 6px 1px #eee;
    }

    .main-title h1{
        font-size: 5.5rem;
        font-weight: 800;
    }
    
    .main-title h2{
        font-size: 3.5rem;
    }

    .svg-img{
        padding: 3rem;
    }
  }
     
  @media (min-width: 1024px){
    .main-title {
        margin-top: 4rem;
        margin-bottom: 7rem;
        text-shadow: 
        1px 0px 1px #ccc, 0px 1px 1px #eee, 
        2px 1px 1px #ccc, 1px 2px 1px #eee,
        3px 2px 1px #ccc, 2px 3px 1px #eee,
        4px 3px 1px #ccc, 3px 4px 1px #eee,
        5px 4px 1px #ccc, 4px 5px 1px #eee,
        6px 5px 1px #ccc, 5px 6px 1px #eee,
        7px 6px 1px #ccc;
    }

    .main-title h1{
        font-size: 6.5rem;
        font-weight: 900;
    }
    
    .main-title h2{
        font-size: 4.5rem;
    }

    .svg-img{
        padding: 4rem;
    }
  }
     
  @media (min-width: 1200px){
    .main-title {
        margin-top: 4rem;
        margin-bottom: 8rem;
    }

    .main-title h1{
        font-size: 7rem;
    }
    
    .main-title h2{
        font-size: 5rem;
    }

    .svg-img{
        padding: 5rem;
    }
  }

  @media (min-width: 1440px){
    .main-title h1{
        font-size: 8rem;
    }
    
    .main-title h2{
        font-size: 5.5rem;
    }
  }