/**
 * @author Lasse Juul Kolding / http://dubbilan.net/
 */

 body {
    margin: 0;
}
h1 {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 20px;
    font-weight : bold;
}
#mainMenu {
    position: absolute;
    top: 15px;
    left: 15px;
    text-align: center;
}
#sceneFrame {
    position: fixed;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    overflow:hidden;
    z-index: -1;
}
#contactPage {
    position: absolute;
    width: 300px;
    left: 50%;
    margin-left: -150px;
    top: 40%;
    text-align: center;
}

button {
    border-radius:24px;
    height: 2rem;
    padding: 24px;
    cursor: pointer;
    /*border: 2px solid hsla(0, 0%, 50%, 1);*/
    border: 0px solid hsla(0, 0%, 50%, 1);
    background-color:  rgb(135, 23, 23);
    font-size: 16px;
    color: rgb(255, 255, 255);
    line-height: 2px;
}
button:hover {
    background-color: rgb(65, 59, 59);
}

button:active {
    background-color: rgb(21, 14, 14);
}
button:disabled {
    color: #000000;
    background-color: rgb(109, 109, 109);
}

#aboutUs {
    position: fixed;
    top: 100px;
    left: 15px;
    bottom: 0;
    right: 0;
    width: 100%;
    border: none;
    margin: 0;
    padding: 0;

  }
  

  .task {
    border-radius: 25px;
    background-color: rgb(135, 23, 23);
    color: rgb(255, 255, 255);
    padding: 20px; 
    width: 300px;
    height: 30px;
    transition: width 0.6s, height 1s; 
    position: relative;

  }

  .task:hover {
    width: 500px;
    height: 170px;
  }

  .task:active{
    width: 500px;
    height: 170px;
  }

  .task:hover .original-text {
    opacity: 0;
  }
  .task:hover .new-text {
    animation-name: fadeIn;
    animation-duration: 0.5s;
    animation-delay: 0.4s; /* Adjust the delay as needed */
    animation-fill-mode: forwards;
  }

 

  .new-text {
    position: absolute;
    top: 1;
    left: 1;
    opacity: 0;
    
  }
  
  .original-text {
    position: absolute;
    transition: opacity 0.5s;
  }


  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @media screen and (max-width: 500px) {
    button {
      height: 3rem;
      padding: 16px;
    }
  }

  @media screen and (max-width: 350px) {
    .task {
      width: 70%;
    }
  }

  
  @media screen and (max-width: 550px) {
    .task:hover {
      width: 80%;
      height: 230px;
    }
  }