@font-face {
  font-family: 'fontane'; 
  src: url('Font/Fontane.ttf') format('truetype');
}
@font-face {
  font-family: 'Archivefont'; 
  src: url('Font/Archive.ttf') format('truetype');
}
body {
  font-family: Archivefont, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

#background-img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1;
  transition: opacity 1s ease-in-out;
}

.container {
  object-fit: cover; 
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 75%;
  text-align: center;
  z-index: 1
    
}

a{
    display: inline-block; 
}

h1 {
  font-size: 35px;
  color: #333;
  padding-bottom: 45px;
}
.half-left{
  color: rgb(18, 138, 250);
  }
.half-right{
  color: rgb(43, 43, 43);
}

.btn {
  font-family: Archivefont, sans-serif;
  padding: 20px 40px;        
  font-size: 20px;          
  background-color: rgb(18, 138, 250); 
  color: rgb(255, 255, 255);
  border: 3px solid #333;   
  border-radius: 50px;
  cursor: pointer;
  margin: 10px auto;        
  display: block;           
  width: 250px;    
  display: inline;        
  transition: all 0.2s ease;  
}

.btn:hover {
  background-color: rgb(139, 205, 255);
  color: rgb(0, 19, 61);
  width: 300px;  
  border-radius: 20px;  
}

.button1,
.button2,
.button3 {
  margin: 15px 0; 
}

.link {
  text-decoration: none; 
}

.link:visited {
  color: inherit; 
}

.Here{
  color: rgb(18, 138, 250); 
}
.Here:hover{
  color: rgb(103, 0, 129); 
}

/*loading overlay*/
.overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  justify-content: center; 
  align-items: center; 
  flex-direction: column;
  z-index: 9999;
  transition: opacity 3s ease;
}
.fade-out {
  opacity: 0;
}
  
.spinner {
  width: 50px;
  height: 50px;
  border: 10px solid transparent;
  border-top: 10px solid #2196F3;
  border-bottom: 10px solid #2196F3;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}
  
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

  /*enrollment gui*/
.form {
  font-family: fontane, sans-serif;
  width: 300px;
  height: 30px;
  padding: 5px auto;
  margin: 20px auto;
  text-align: center;
  font-size: larger;
  border: 2px solid #333;
  border-radius: 8px;
}
.form::placeholder{
  font-family: Archivefont, sans-serif;
}
    
.enrollment-btn {
  font-family: Archivefont, sans-serif;
  padding: 15px 30px;
  font-size: 20px;
  background-color: rgb(18, 138, 250); 
  border: 3px solid #333;
  border-radius: 8px;
  cursor: pointer;
  margin: 20px auto;
  display: block;
  width: 200px;
  transition: all 0.3s ease;
  color: rgb(255, 255, 255);
}
    
.enrollment-btn:hover {
  background-color: rgb(139, 205, 255);
  color: rgb(0, 19, 61);    
}

/*popup*/
.popup-content {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 300px;
    width: 90%;
  }

  #Queued {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
  }

.queuedbtn{
  font-family: Archivefont, sans-serif;
  padding: 10px 20px;        
  font-size: 20px;          
  background-color: rgb(18, 138, 250); 
  color: rgb(255, 255, 255);
  border: 3px solid #333;   
  border-radius: 50px;
  cursor: pointer;
  margin: 10px auto;        
  display: block;              
  display: inline;        
  transition: all 0.2s ease;  
}

.queuedbtn:hover {
  background-color: rgb(139, 205, 255);
  color: rgb(0, 19, 61)
}

#Credentials {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#Format {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.backbutton{
  font-family: Archivefont, sans-serif;
  cursor: pointer;
  position: relative;
  right: 45%;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 10px;
  font-size: 20px; 
  color: rgb(255, 255, 255);
  background-color: rgb(18, 138, 250);
}

.backbutton:hover{
  background-color: rgb(139, 205, 255);
  color: rgb(0, 19, 61)
}