@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    src: local(''),
         url('../fonts/source-sans-pro-v14-latin_greek-ext_greek-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/source-sans-pro-v14-latin_greek-ext_greek-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* source-sans-pro-300italic - latin_greek-ext_greek */
  @font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 300;
    src: local(''),
         url('../fonts/source-sans-pro-v14-latin_greek-ext_greek-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/source-sans-pro-v14-latin_greek-ext_greek-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* source-sans-pro-regular - latin_greek-ext_greek */
  @font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('../fonts/source-sans-pro-v14-latin_greek-ext_greek-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/source-sans-pro-v14-latin_greek-ext_greek-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* source-sans-pro-italic - latin_greek-ext_greek */
  @font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 400;
    src: local(''),
         url('../fonts/source-sans-pro-v14-latin_greek-ext_greek-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/source-sans-pro-v14-latin_greek-ext_greek-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  

* {
    margin: 0;
    padding: 0;
}
body {
    overflow:hidden;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
}
img {
    transform: scale(2);
    width: 100%;
}
.wrapper {
    background-image: url(../images/Solpark_387_o.jpg);
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}
.logo {
    animation: logo-fade-in-move-right 3s;
    width: 70%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

}
.text-box {
    animation: text-fade-in-move-right 3s;
    width: 30%;
    height: auto;
    background-color: rgba(141,144,147,0.9);
    padding: 50px;
    color: #fafafa;
}
    
p {
    margin-bottom: 10px;
    font-size: 14px;
}
.italic {
    font-style:italic;
}
.bold {
    font-weight: 400;
}

hr {
    margin: 20px 0;
    border: 1px solid rgba(141,144,147,0);
}
.text::before {
    display: inline-flex;
    content: '';
    background-image: url(../images/panel.svg);
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}


@keyframes logo-fade-in-move-right {
    0% {
      opacity: 0;
      transform: translateX(10rem);
    }
    50% {
      opacity: 1;
      transform: translateX(10rem);
    }
    100% {
        transform: translateX(0);
    }
  }

  @keyframes text-fade-in-move-right {
    0% {
        opacity:0;
        transform: translateX(100%);
    }
    
    50% {
        opacity:0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
  }

  @media (max-width: 1919px) {
    .logo {
        width: 50%
    }
    .text-box {
        width: 50%;
        padding: 25px;
    }
    p {
        font-size: 13px;
    }
  }

  @media (max-width: 1023px) {
    body {
        overflow:auto;
    }
    .logo {
        animation: logo-fade-in-move-right 3s forwards;
    }
    .text-box {
        animation: text-fade-in-move-right 3s forwards;
    }
    .wrapper {
        flex-direction: column;
        height: auto;
        background-position-x: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    @keyframes logo-fade-in-move-right {
        0% {
          opacity: 0;
          transform: scale(0) translateY(0rem);
        }
        50% {
          opacity: 1;
          transform: scale(0.5) translateY(0rem);
        }
        100% {
            opacity: 1;
            transform: scale(0.5) translateY(-50%);
          }

    }
    @keyframes text-fade-in-move-right {
        0% {
            opacity:0;
            transform: translateY(0);
        }
        
        50% {
            opacity:0;
            transform: translateY(0);
        }
        100% {
            opacity: 1;
            transform: translateY(-50%);
        }
      }
  }
  @media (max-width: 500px) {
    .logo {
        align-items: flex-start;
        height: 100%;
        margin-top: 20px;
    }
    .text-box {
        width: 90%;
        margin-top:50px;
        animation: none !important ;
        background-color: rgba(141,144,147,1);
        }

    @keyframes logo-fade-in-move-right {
        0% {
          opacity: 0;
          transform: scale(0);
        }
        50% {
          opacity: 1;
          transform: scale(0.5);
        }
        100% {
            opacity: 1;
            transform: scale(0.5);
          }

    }
    
  }