body{
    width: 100%;
    height: 1000px;
    max-height: 1000px;
    margin: 120px auto;
    font-family: sans-serif;
    color: #2A0934;
    background-image: url("jason-leung-tCAeh1Xs0Sw-unsplash.jpg");
    background-repeat: no-repeat;
    background-size: 148% 110%;
    background-position: bottom center;
}
#sliding-panel{
    width: 500px;
    height: 550px;
    z-index: 1000;
    /*
    margin-bottom: auto;
    right: 50%;
    border-right: 100px solid rgba(255, 255, 255, 0.01);
    */
    border-radius: 50px 50px;
    
}
/*Test to see if div remains inside the sliding panel even when moved
#small-box{
    width:50px;
    height: 50px;
    border: 3px solid black;
    display: block;
    margin: 50% auto;
}
*/
/*Login and Signup containers*/
#main-container{
    display: flex;
    flex-direction: row-reverse;
    width: 1000px;
    height: 550px;
    max-width: 950px;
    min-width: 768px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    border: 4px solid none;
    border-radius: 50px 50px 50px 50px;
    box-shadow: 1px 1px 1px 1px rgba(54, 28, 28, 0.1);
    background-color:rgba(255, 255, 255, 0.9);
    background-repeat: no-repeat;
    background-size: 100% 137%;
    background-position: bottom center;
}
#right-container{   
    width: 490px;
    height: 550px;
    background-color: rgb(252, 203, 26, 0.7);
    border-radius: 0px 50px 50px 0px;
}
h1{
    color:#2A0934;
}
#or{
    color: rgb(42, 9, 52, 0.8);
}
fieldset{
    border: none;
}   
#signup-container{
    width: 480px;
    height: 550px;
    /*
    border-left: 1px solid ;
    */
    border-radius: 50px 0px 0px 50px;
    /*
    position: absolute;
    display: block;
    */
    background-color:rgb(212, 221, 247, 0.8);
    position: absolute;
    display: none;
    
}
#login-container{
    width: 480px;
    height: 550px;
    /*
    border-right: 1px solid ;
    */
    border-radius: 50px 0px 0px 50px;
    position: absolute; 
    background-color:rgb(212, 221, 247, 0.9)
}

.logo{
    margin-top: 5%;
    border: 2px outset #D4DDF7;
    border-radius: 10px 30px;
}
.line{
    border-bottom: 3px rgb(54, 58, 65, 0.5) solid;
    width: 250px;
    margin: auto auto 10px auto;
}
/* Login Form */
#login-name{
    display: block;
    margin: auto;
    width: 80%;
    height: 50px;
    border-radius: 50px;
    border: 3px rgba(234,240,254,0.8); 
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 18px;
}
#login-password{
    display: block;
    margin: auto;
    width: 80%;
    height: 50px;
    border-radius: 50px;
    border: 3px rgba(234,240,254,0.8);
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 18px;
}
#login-submit{
    display: block;
    margin: 58px auto;
    width: 50%;
    height: 60px;
    border-radius: 50px;
    border: 3px white solid;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 3px 3px 3px rgba(46, 29, 40, 0.5);
    font-size: 18px;
}
#create-account{
    font-size: 20px;
    left: 140px;
    bottom: 20px;
    position: absolute;
    opacity: 0;
    z-index: -10000;
  }
#signupbutton{
    left: 30%;
    width: 50%;
    margin-top: 2%;
    height: 60px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 3px 3px 3px rgba(46, 29, 40, 0.5);
    font-size: 18px;
    
}
#reset{
    display: block;
    font-size: 17px;
    margin-top: 30px;
    margin-right: 48%;
    text-decoration: none;
}

/* Sign up Form */
#signup-name{
    display: block;
    margin: auto;
    width: 80%;
    height: 50px;
    border-radius: 50px;
    border: 3px rgba(234,240,254,0.8); 
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 18px;
}
#signup-password{
    display: block;
    margin: auto;
    width: 80%;
    height: 50px;
    border-radius: 50px;
    border: 3px rgba(234,240,254,0.8); 
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 18px;
}
#signup-email{
    display: block;
    margin: auto;
    width: 80%;
    height: 50px;
    border-radius: 50px;
    border: 3px rgba(234,240,254,0.8); 
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 18px;
}
#signup-submit{
    display: block;
    margin: auto;
    width: 50%;
    height: 60px;
    border-radius: 50px;
    margin-top: 30px;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 2px 2px 2px rgba(46, 29, 40, 0.5);
}
#signinbutton{
    width: 50%;
    border-radius: 50px;
    height: 60px;
    margin-top: 40%;    
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 2px 2px 2px rgba(46, 29, 40, 0.5);
}
/*hover effects*/
#login-password:hover{
    transform: scale(1.03);
}
#login-name:hover{
    transform: scale(1.03);
}
#login-submit:hover{
    transform: scale(1.01);
}
#signupbutton:hover{
    transform: scale(1.01);
}
#signup-name:hover{
    transform: scale(1.03);
}
#signup-password:hover{
    transform: scale(1.03);
}
#signup-email:hover{
    transform: scale(1.03);
}
#signup-submit:hover{
    transform: scale(1.03);
}
#signinbutton:hover{
    transform: scale(1.03);
}
a:hover{
    color:blue;
    transform: scale(1.03);
}
/*Animation properties*/
.left{
    transform: translateX(0%);
    transition: transform 0.5s ease-in-out;
  }
.right{
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
  }

  @media only screen and (max-width: 768px){
      body{
        width: 100%;
        display: flex;
        height: 1400px;
        flex-direction: column-reverse;
        background-image: url("jason-leung-tCAeh1Xs0Sw-unsplash.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom center;
      }
      #main-container{
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 0;
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        border: 4px solid none;
        border-radius: 0;
        box-shadow: none;
        background-repeat: no-repeat;
        background-position: bottom center;

      }
      #sliding-panel{
        display: block;
        width: 100%;
        background-color:rgba(255, 255, 255, 0.9);
        
      }
      #right-container{ 
        display: none;
      }
      #login-container{
        width: 100%;
        border-radius: 0;
        margin: auto;
        left: 0;
        top: 0;
        height: 1300px;
        
      }
      #signup-container{
        display: none;
      }
      .logo{
        margin-top: 100px;
        width: 250px;
      }
      h1{
        margin-top: 50px;   
        font-size: 55px;
      }
      #login-name{
        width: 100%;
        margin-top: 25px;
        height: 70px;
      }
      #login-password{
        width: 100%;
        margin-top: 50px;
        height: 70px;
      }
      #reset{
        display: block;
        width: 100%;
        font-size: 30px;
        margin-top: 50px;

      }
      #login-submit{
        width: 80%;
        height: 70px;
        margin-left: 10%;
        margin-top: 70px;
      }
      #create-account{
        width: 80%;
        font-size: 30px;
        left: 10%;
        bottom: 30%;
        position: absolute;
        opacity: 100%;
        z-index: 10000;
      }
}
@media only screen and (max-width: 1024px) {
        body{
          width: 100%;
          display: flex;
          height: 1400px;
          flex-direction: column-reverse;
          background-image: url("jason-leung-tCAeh1Xs0Sw-unsplash.jpg");
          background-repeat: no-repeat;
          background-size: cover;
          background-position: bottom center;
        }
        #main-container{
          display: flex;
          flex-direction: column;
          width: 100%;
          max-width: 0;
          min-width: 0;
          margin-left: auto;
          margin-right: auto;
          left: 0;
          right: 0;
          text-align: center;
          border: 4px solid none;
          border-radius: 0;
          box-shadow: none;
          background-repeat: no-repeat;
          background-position: bottom center;
  
        }
        #sliding-panel{
          display: block;
          width: 100%;
          background-color:rgba(255, 255, 255, 0.9);
          
        }
        #right-container{ 
          display: none;
        }
        #login-container{
          width: 100%;
          border-radius: 0;
          margin: auto;
          left: 0;
          top: 0;
          height: 1300px;
          
        }
        #signup-container{
          display: none;
        }
        .logo{
          margin-top: 100px;
          width: 250px;
        }
        h1{
          margin-top: 50px;   
          font-size: 55px;
        }
        #login-name{
          width: 100%;
          margin-top: 25px;
          height: 70px;
        }
        #login-password{
          width: 100%;
          margin-top: 50px;
          height: 70px;
        }
        #reset{
          display: block;
          width: 100%;
          font-size: 30px;
          margin-top: 50px;
  
        }
        #login-submit{
          width: 80%;
          height: 70px;
          margin-left: 10%;
          margin-top: 70px;
        }
        #create-account{
          width: 80%;
          font-size: 30px;
          left: 10%;
          bottom: 30%;
          position: absolute;
          opacity: 100%;
          z-index: 10000;
          text-decoration: none;
        }
    }
    