html{
  margin: 0;
  padding: 0;
}

body{
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	min-height: 100vh;
	font-family: 'Jost', sans-serif;
    background: url(thumbnail.png);
    background-size: cover;
    background-repeat: no-repeat;
    
}

.langBtn {
  position: relative; 
  left: 330px;
  top: 0px;
  background:  linear-gradient(to right, #f34a3b, #CF0000);
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: inline-block;
}

footer {
      position: fixed;
      left: 0;
      bottom: 0;
      width: 100%;
      background-color: transparent;
      color: #E6007D;
      text-align: left;
      padding: 10px;
      text-shadow: 1px 1px 2px rgba(20, 20, 20, 0.1);
}


.logo{
        margin-top: 0px;
        display: flex;
        justify-content: center;
}    

@media (max-height: 960px) {
  .logo {
    display: none;
  }
    
 .login {
    transform: translateY(-185px);
  }
}


@media (min-height: 961px){
  .login {
    transform: translateY(-295px);
  }
}
    
@media (orientation: portrait) {
	body {
		justify-content: center;
		background-position: center;
	}
    
    .main {
        height: 80vh;
    margin-bottom: 100px;
    }
    
    #chk:checked ~ .login{
	transform: translateY(-74vh);
    }
}

@media (orientation: landscape) and (min-height: 701px){
	body {
		justify-content: right;
		background-position: right 150px center;
	}
    
    .main {
        height: 100vh;
    }
    
    #chk:checked ~ .login{
	transform: translateY(-94vh);
    }
}
    
@media (orientation: landscape ) and (max-height: 700px) {
    
    body {
		justify-content: right;
		background-position: right 0px center;
	}
    
    .main{
        transform: scale(.6) translateX(100px) translateY(-200px);
        height: 700px;
    }
    
    #chk:checked ~ .login{
	transform: translateY(-640px);
    }
}
    
.main{
	width: 400px;
	background: #FEFEFE;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 5px 20px 50px #000;
}
#chk{
	display: none;
}
.signup{
	position: relative;
	width: 100%;
	height: 100%;
}
label{
	color: #CF0000;
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 30px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
}
input{
	width: 60%;
	height: 20px;
	background: #FDFDFD;
	justify-content: center;
	display: flex;
	margin: 20px auto;
	padding: 10px;
	outline: none;
    border: 1px solid #ccc;
	border-radius: 10px;
    transition: border-color 0.5s ease;
}
input:focus {
  border-color: #953EC0; /* Darker border when input is in focus */
}
button {
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

.login{
	height: 2000px;
	background: #FFDDDD;
	border-radius: 80% / 5%;
	transition: .8s ease-in-out;
}
.login label{
	color: #CF0000;
	transform: scale(.6);
}

input::placeholder {
  color: #a0a0a0;
  font-style: italic;
}


#chk:checked ~ .login label{
	transform: scale(1);	
}
#chk:checked ~ .signup label{
	transform: scale(.6);
}
.forgot {
    font-style: italic;
    text-align: right;
    display: block;
    margin-top: 10px;
    margin-right: 50px;
    color: #a0a0a0;
    text-decoration: none;
  }

.message{
	justify-content: center;
	display: flex;
    color: red;    
    }
    
.password-field {
  position: relative;
  align-items: center;
}

.password-toggle {
  position: absolute;
  right: 80px;
  cursor: pointer;
  top: 12px;
}

.eteam {
  position: absolute;
  bottom: 15px;
}

.image-container {
  position: absolute;
  left: 20px;
  min-height: 100vh; /* Ensures the container is at least the height of the viewport */
}

    .text-panel {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50%;
        height: 95%;
        max-width: 1500px; /* Limit maximum width */
        min-width: 450px;
        max-height: 95vh; /* Limit maximum height */
        background-color: rgba(0, 0, 0, 0.85); /* Semi-transparent black background */
        color: white;
        padding: 30px;
        box-sizing: border-box;
        z-index: 1000;
        border-radius: 20px; /* Rounded corners */
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5); /* Shadow effect */
        animation: fadeIn 1.5s;
        overflow: hidden;
    }
        
    @keyframes fadeIn {
      0% { opacity: 0; }
      100% { opacity: 1; }
    }
        
    .text-panel div {
        padding: 0 0px;
        font-size: 16px;
        height: 85%; 
        overflow-y: auto; /* Enable vertical scrolling */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        }

    .text-panel::-webkit-scrollbar {
      width: 0; /* Chrome, Safari, Opera */
    }
    


        
    .close-btn {
        position: absolute;
        top: 5px;
        right: 10px;
        color: white;
        cursor: pointer;
    }


  td {
    padding: 0px 10px;
  }

  .white-link {
            color: white; 
  }

        .white-link:active,
        .white-link:focus,
        .white-link:hover {
            color: white; /* Keep link white on hover, focus, and active */
        }