/* TODO: Find a body text font */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans&display=swap');

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    overflow: hidden;
}

#container {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

canvas {
    position: absolute;
    z-index: -1;
}

#text {
    float: right;
    margin: 1rem;
    margin-top: auto;
    margin-left: auto;
    padding: 1rem;
    border: 2px deeppink dashed;
    background-color: rgba(255, 255, 255, 0.8);
}


#name {
    font-family: 'Fira Sans', sans-serif;
    font-size: 4rem;
    margin: 1rem;
}

@media (max-width: 500px) {
  #text {
    margin-top: auto;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
  }

  #name {
      font-size: 3rem;
      text-align: center;
  }
}



#nav {
    padding: 1rem;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    display: flex;
    justify-content: center;
    border: 2px teal dashed;
}

button {
    width: 5rem;
    height: 2rem;
    padding: 0;
    border: 2px dashed purple;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    cursor: pointer;
}

#play-close-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#play-button {
    width: 5rem;
    margin: 0;
    margin-left: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    white-space: nowrap;
}

#close-about-button {
    width: 5rem;
    margin: 0;
    margin-right: 1rem;
    margin-top: 1rem;
    display: none;
}

#about-button{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

#about {
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px purple dashed;
    margin-top:1rem;
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    overflow-y: scroll;
}

#about-hello {
    margin-top: 0;
}

#ryaan-picture {
    width: 80%;
    max-width: 400px;
}

