body{
  text-align:center;
  background-image: url('../assets/images/Cover4.gif'), linear-gradient(135deg, #444444, #222222, #111111, #222222, #444444);

  background-position: center;
  background-repeat:no-repeat;
  background-color:#444444;
  min-height: 97.5vh;
    margin: 0; /* This is the critical line */
    padding: 0; /* Good practice to also zero out padding */

}
    @keyframes changeColor {
  from {
    color: #2e3657;/*7280a8*/
    
   
   
  }

  to {
    color: white;
   
    
  }
}

h3{
    text-shadow: 2px 2px calc((100vw + 100vh) / 2/60) white;
    margin-top:1vh;
    margin-bottom:1vh;
}

.cAbout{
    font-size:2rem;
 background-color:#333333;
  animation-duration: 1s;
  animation-name: changeColor;
  animation-iteration-count: infinite;
  animation-direction: alternate;

}

.cAboutDiv{
    padding-top:3vh;
   margin-bottom:3vh;
   height:auto;
   
    
}

.cRememberMeInfo, .cStayLoggedInInfo{
	background-color: #eeeeee;
	border: 1px solid black;
	
	width: fit-content;
	padding-left:1rem;
	padding-right:1rem;
	margin:auto;
	text-align: center;
	cursor:pointer;
    margin-bottom:3%;
	box-shadow: 1px 1px 5px black;
}

.cRememberMeInfo:hover{
     background-color:#cccccc;
}
.cStayLoggedInInfo:hover{
    background-color:#cccccc !important;
}

.cLoginButton:hover{
       background-color:#cccccc; 
}



.cShadowDiv{
   display:none;
    position: absolute;
   background:rgba(200, 200, 200, 0.5);
    top:0;
    left:0;
    width:100%;
    height:100vh;
    z-index:3;
    
    
}



.cDeviceIdDiv{
 display: none;

  /* Position it above other content */
  position: fixed; /* Or absolute, depending on your needs */
  top: 30%;
  left: 50%;
  width:80%;
  transform: translate(-50%, -50%); /* Center it on the screen */
  z-index: 1000; /* Ensure it's on top of other elements */

  /* Popover styling */
  background-image:linear-gradient(#4d5363,#7280a8ee,#7280a8ee,#000000);
  border: 1px solid black;
  box-shadow: 1px 1px 5px black;
  padding: 20px;
  border-radius: 5px; 
  text-align:center;
    
}

select{
    
    -webkit-appearance: none; /* Remove default arrow for Webkit browsers */
            -moz-appearance: none;    /* Remove default arrow for Mozilla browsers */
            appearance: none;
            
             /* Custom SVG caret as a background image */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23596e8a'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
             background-position: right 0 center; /* Position the caret */
            background-size: 5vw; /* Size of the SVG caret */
           
}
.cDeviceIdSelect{
	background-color: #eeeeee;
	padding:1%;
	padding-right:5vw;
	box-shadow: 1px 1px 5px black;
}

.cDeviceIdClose{
    display:none;
    margin-top:2%;
    padding:0.5%;
    color:white;
    background-color: #52201e;/*ffd98f*/
    border: 1px solid black;
 	box-shadow: 1px 1px 5px black;
 	cursor:pointer;
 
 	width:30%;
}

.cDeviceIdClose:hover{
    background:#ab3430;
    
}

p{
 text-wrap: pretty;   
    
}

.cFormDiv{
	background-image: linear-gradient(#4d5363,#7280a8ee,#7280a8ee,#000000);
	/*background-color: #7280a8ee;*/
	border: 2px solid #101010;/*101010*/
	width: 25%;
	text-align:center;
	margin-left: 37.5%;
	padding-bottom: 2%;
	border-radius:calc((100vw + 100vh) / 2 / 60);
	box-shadow: 1px 10px 10px #101010;
	
	

	
}
.cPassword{
    
    box-shadow: 1px 1px 5px black;
}
.cUsername{
    
     box-shadow: 1px 1px 5px black;
}

.cJustGoIn{
	cursor:pointer;
	border: 1px solid red;
	
}

.cTogglePassword{
	
	width: 10%;
	height: 10%;
	border: 1px solid black;
	margin-left:45%;
	margin-top:1%;
	cursor:pointer;
	background-color:#efefef;
	padding-top:1vh;
	border-radius:calc((100vw + 100vh) / 2 / 60);
	box-shadow: 1px 1px 5px black;
}

.cEye{
	
	max-width: 100%;
	max-height: 100%;
	cursor: pointer;

}

.cLoginButton{
	
	cursor:pointer;
	box-shadow: 1px 1px 5px black;
	border: 4px solid #7280a8;
	border-radius:calc((100vw + 100vh) / 2 / 150);
	font-size:1.125rem;
}


a:link{
    color:white;
    
}

a:visited{
    color:#e9c4f5;
    
}

a:hover {
  color: #eeeeee;
}

.cRememberMePopup{

    position:absolute;
	visibility:hidden;
	background-color:#eeeeee;
	width:76%;
	height:80vh;
	top:10vh;
	left:10%;
	padding-left:2%;
	padding-right:2%;
	border:5px solid black;
	overflow-y: scroll;
	text-wrap:pretty;
    
}

.cRememberMeClose{
    
    background-color: #777777;
    border-radius:calc((100vw + 100vh) / 2 / 60);
  width: 90%;
  height: auto;
  border: 1px solid black;
  cursor: pointer;
  margin-top: 2%;
  margin-left: 5%;
  text-align: center;
  box-shadow: 2px 2px 10px black;
}
.footerDivs{
   text-align: left;
}



/*/////////Font Stuff/////////*/
@media screen and (orientation:portrait){
      .cRememberMePopup{
               font-size:3vw;
           }
           .cRememberMeClose{
               font-size:4vw;
           }
           
          .cDeviceIdSelect{
              font-size:3vw;
          }
        .cDevicePopupInfo{
            font-size:3vw;
        }
        
        H4{
            font-size:2.8vw;
            
        }
        
        .footerPA{
             font-size:2.5vw;
        }
        
        
        
    
}

@media screen and (orientation:landscape){
     .cRememberMePopup{
               font-size:3vh;
           }
           .cRememberMeClose{
               font-size:4vh;
           }
           
           .cDeviceIdSelect{
               font-size:3vh;
          }
          
          .cDevicePopupInfo{
              font-size:3vh;
              
          }
          
            H4{
            font-size:2.5vh;
            
        }
        
        .footerPA{
             font-size:2vh;
        }
    
}
/* Narrow and wide*/
@media screen and (orientation:portrait)and (max-width:450px){
      .cRememberMePopup{
               font-size:4vw;
           }
           .cRememberMeClose{
               font-size:5vw;
           }
           
          .cDeviceIdSelect{
              font-size:4vw;
          }
        .cDevicePopupInfo{
            font-size:4vw;
        }
     H4{
            font-size:4vw;
            
        }
        
        .footerPA{
             font-size:3.8vw;
        }
}

@media screen and (orientation:landscape) and (max-height:450px){
     .cRememberMePopup{
               font-size:4vh;
           }
           .cRememberMeClose{
               font-size:5vh;
           }
           
           .cDeviceIdSelect{
               font-size:4vh;
          }
          
          .cDevicePopupInfo{
              font-size:4vh;
              
          }
          
           H4{
            font-size:3.5vh;
            
        }
        
        .footerPA{
             font-size:3vh;
        }
    
}
/*//////////End of Font Stuff////////*/


	@media screen and (max-width:904px) {
	    .cFormDiv{ 
	        width:40%;
			margin-left:30%;
	    }
	}
	
		@media(max-width:585px) {
	    .cFormDiv{ 
	        width:60%;
			margin-left:20%;
	    }
	}
	
		@media(max-width:400px) {
	    .cFormDiv{ 
	        width:80%;
			margin-left:10%;
	    }
	}
	
		/*phones*/
	
			@media  screen and (max-aspect-ratio: 9/16) and (any-pointer:coarse)  {
			      .cFormDiv{ 
	        width:80%;
			margin-left:10%;
	    }
			    .cAbout{font-size:2rem;}
			    h3{font-size:1.9rem;}
			    .cUsername, .cPassword{font-size:1.4rem;}
			    .cRemeberMe + label, .cStayLoggedIn + label {
                            font-size: 1.3rem; /* Adjust as needed */
                        }
                        
                input[type="checkbox"]{
                    width:1rem;
                    height:1rem;
                }
                .cRememberMeInfo, .cStayLoggedInInfo{
                    font-size:1.3rem;
                }
                
                .cLoginButton{font-size:1.5rem;}
                
                a{font-size:1.5rem;}
			}
			
			
			
				
			@media  screen  and (max-aspect-ratio: 9/16)  and (max-width:400px) and (any-pointer:coarse){
			     h3{font-size:1.6rem;}
			     .cUsername, .cPassword{font-size:1.1rem;}
			     
			     
			        }
			
				/*phones landscape*/
			@media  screen and (min-aspect-ratio: 16/9) and (any-pointer:coarse) {
			    
			    
			}
	
	
	
    /*very short screen*/		
	@media screen and (min-aspect-ratio: 1280/500){
	    
	      	   
			    
			   
			    
			}
/*tablets*/ 
/*small*/
  @media screen and  (min-width:540px) and (orientation:portrait) and (any-pointer: coarse){
      
           
  }
  
     
    /*medium*/
      @media  screen and (min-width:600px) and (orientation:portrait)and (any-pointer: coarse) {
           .cFormDiv{ 
	        width:60%;
			margin-left:20%;
	    }
                
			    .cAbout{font-size:2.8rem;}
			    h3{font-size:2.6rem;}
			    .cUsername, .cPassword{font-size:1.8rem;}
			    .cRemeberMe + label, .cStayLoggedIn + label {
                            font-size: 2.1rem; /* Adjust as needed */
                        }
                        
                input[type="checkbox"]{
                    width:1.6rem;
                    height:1.6rem;
                }
                .cRememberMeInfo, .cStayLoggedInInfo{
                    font-size:2.1rem;
                }
                
                .cLoginButton{font-size:2.1rem;}
                
                a{font-size:2.1rem;}
			}
  
       
  
  
  	/*large-ipad*/
	@media screen 
	and (min-width: 900px) 
	and (orientation:portrait)
	and (any-pointer: coarse){
	   
	    
	   		    .cAbout{font-size:3rem;}
			    h3{font-size:2.6rem;}
			    .cUsername, .cPassword{font-size:2rem;}
			    .cRemeberMe + label, .cStayLoggedIn + label {
                            font-size: 2.2rem; /* Adjust as needed */
                        }
                        
                input[type="checkbox"]{
                    width:1.5rem;
                    height:1.5rem;
                }
                .cRememberMeInfo, .cStayLoggedInInfo{
                    font-size:2.2rem;
                }
                
                .cLoginButton{font-size:2.2rem;}
                
                a{font-size:2.3rem;}
			}
			    
		


/*big assed tablet*/
	@media screen 
	and (min-width: 1200px) 
	and (orientation:portrait) 
	and (any-pointer: coarse){
	  
	    
	       .cAbout{font-size:4rem;}
			    h3{font-size:3.7rem;}
			    .cUsername, .cPassword{font-size:2.5rem;}
			    .cRemeberMe + label, .cStayLoggedIn + label {
                            font-size: 2.7rem; /* Adjust as needed */
                        }
                        
                input[type="checkbox"]{
                    width:2rem;
                    height:2rem;
                }
                .cRememberMeInfo, .cStayLoggedInInfo{
                    font-size:2.7rem;
                }
                
                .cLoginButton{font-size:2.8rem;}
                
                a{font-size:3rem;}
			}
			    
	      
	   

/*/////////////////////////Landscape///////////////*/

@media screen 
	and (min-width: 700px) 
	and (min-aspect-ratio: 6/5) and (any-pointer: coarse){
	
	   
	    
	    
	    
}
/*iPad landscape*/
	@media screen 
	and (min-width: 900px) 
	and (min-aspect-ratio: 6/5) and (max-aspect-ratio: 1.7) and (any-pointer:coarse) {
	    
	    .cFormDiv{ 
	        width:50%;
			margin-left:25%;
	    }
	    .cAbout{font-size:2.5rem;}
			    h3{font-size:2.2rem;}
			    .cUsername, .cPassword{font-size:1.4rem;}
			    .cRemeberMe + label, .cStayLoggedIn + label {
                            font-size: 1.5rem; /* Adjust as needed */
                        }
                        
                input[type="checkbox"]{
                    width:1.2rem;
                    height:1.2rem;
                }
                .cRememberMeInfo, .cStayLoggedInInfo{
                    font-size:1.5rem;
                }
                
                .cLoginButton{font-size:2.1rem;}
                
                a{font-size:1.5rem;}
			}
	     
			  
            
 


/*Large tablets landscape*/
@media screen and (min-width:1100px) and (min-aspect-ratio: 6/5) and (any-pointer:coarse){
       .cFormDiv{ 
	        width:40%;
			margin-left:30%;
	    }
	    
                
                a{font-size:1.8rem;}
			
	    
}

/*Big tablets landscape*/
@media screen and (min-width:1280px)and (min-aspect-ratio: 6/5) and (any-pointer:coarse){
           .cFormDiv{ 
	        width:40%;
			margin-left:30%;
	    }
	    
	    .cAbout{font-size:3.5rem;}
	     h3{font-size:3rem;}
			    .cUsername, .cPassword{font-size:1.9rem;}
			    .cRemeberMe + label, .cStayLoggedIn + label {
                            font-size: 2.3rem; /* Adjust as needed */
                        }
	    
	     input[type="checkbox"]{
                    width:1.1rem;
                    height:1.1rem;
                }
                    .cLoginButton{font-size:2.2rem;}
                
                a{
                    font-size:2.2rem;
                    
                }
			
                .cRememberMeInfo, .cStayLoggedInInfo{
                    font-size:2rem;
                }
                
	   
}

/*Big Assed tablets landscape*/
@media screen and (min-width:1500px)and (min-aspect-ratio: 6/5) and (any-pointer:coarse){
      
           
            .cFormDiv{ 
	        width:45%;
			margin-left:27.5%;
	    }
	     .cAbout{font-size:4.5rem;}
	     h3{font-size:4rem;}
			    .cUsername, .cPassword{font-size:2.3rem;}
			    .cRemeberMe + label, .cStayLoggedIn + label {
                            font-size: 2.8rem; /* Adjust as needed */
                        }
	    
	     input[type="checkbox"]{
                    width:1.7rem;
                    height:1.7rem;
                }
                    .cLoginButton{font-size:3.1rem;}
                
                a{
                    font-size:2.8rem;
                    
                }
			
                .cRememberMeInfo, .cStayLoggedInInfo{
                    font-size:2.3rem;
                }
                
              
}

 /* --- Footer Styling (from previous response, adapted for dark theme) --- */
        
        footer{
            
            padding: 4vh 5vw;
            box-sizing:border-box;
        }
        
     
       footer li{
           margin-bottom:1.5vh;
           display:block;
           
       }
       
       .footerDivs{
                min-width: 100%;
        }
        
        /*/////////Font Stuff//AGAIN BECAUSE OVERRIDING a///////*/
@media screen and (orientation:portrait){
   
        H4{
            font-size:2.8vw;
            
        }
        
        .footerPA{
             font-size:2.5vw;
        }
        
        
        
    
}

@media screen and (orientation:landscape){
    
          
            H4{
            font-size:2.5vh;
            
        }
        
        .footerPA{
             font-size:2vh;
        }
    
}
/* Narrow and wide*/
@media screen and (orientation:portrait)and (max-width:450px){
     
     H4{
            font-size:4vw;
            
        }
        
        .footerPA{
             font-size:3.8vw;
        }
}

@media screen and (orientation:landscape) and (max-height:450px){
    
          
          
           H4{
            font-size:3.5vh;
            
        }
        
        .footerPA{
             font-size:3vh;
        }
    
}
/*//////////End of Font Stuff////////*/
      




                


	
		

