/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body {
    margin: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
   /* min-width: 479.9px;*/
    background: black;
    font-family: sans-serif;
}

/*.space {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  height: 100vh;
  min-height: 700px;
  min-width: 100vh;
  overflow: hidden;
}*/

#planet {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 10%;
    z-index: 0;
}

#clouds {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: 1;
    display: none;
}

@font-face {
    font-family: 'MyFont';
    src: url('fonts/CameiDemoRegular-OGMge.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.cloud-word {
    position: absolute;
    display: none;
    font-family: 'MyFont', sans-serif;
    color: #d6d6ff;
    text-decoration: none;
    text-shadow: 0 0 5px black;
    font-size: 0.9rem;
    transition: opacity 0.5s ease;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.cloud-word:hover {
    color: #FFD700;
    transform: scale(1.2);
}

/*@keyframes float {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-20px);
    }
}*/

.video{
  position: relative;
  height: 20%;
  /*width: 20%;*/
}

@media screen and (max-width: 767px) {
  #planet {
    width: 80%;
    height: 80%;
  }

  .cloud-word {
    font-size: 3rem;
  }
}