@font-face {
    font-family: Poppins-Bold;
    src: url(fonts/Poppins-Bold.ttf);
}

@font-face {
    font-family: Poppins-Regular;
    src: url(fonts/Poppins-Black.ttf);
}

@font-face {
    font-family: Poppins-Extralight;
    src: url(fonts/Poppins-ExtraLight.ttf);
}

@font-face {
    font-family: Poppins-Thin;
    src: url(fonts/Poppins-Thin.ttf);
}

@font-face {
    font-family: Poppins-Medium;
    src: url(fonts/Poppins-Medium.ttf);
}

@font-face {
    font-family: Poppins-SemiBold;
    src: url(fonts/Poppins-SemiBold.ttf);
}

@font-face {
    font-family: Poppins-Light;
    src: url(fonts/Poppins-Light.ttf);
}

@font-face {
    font-family: Quando;
    src: url(fonts/Quando-Regular.ttf);
}

body {
    font-family: Poppins-Medium;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow-x: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff 30%, #F1C40F 2%);
    z-index: -1;
}

.form-container {
    display: flex;
    width: 1000px; 
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-left: 20px; 
    box-sizing: border-box;
 
}

.image-section {
    width: 40%; 
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
    padding-right: 20px;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-section {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: 100px;
    box-sizing: border-box;
    padding: 0 20px; 
    margin-left: 20px;
}

h2 {
    margin-top: 0;
    color: #333;
    font-family: Poppins-SemiBold;
}



button {
    font-family: Poppins-Medium;
    width: 190px;
    margin-left: 160px;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 45px;
}

button:hover {
    background-color: #0056b3;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.error {
    color: red;
    text-align: center;
    font-family: Poppins-Medium;
    font-size: 13px;
}




.title1{

margin-bottom: 100px;
font-family: Poppins-Medium;
margin-left: 120px;
}


.label2{
    font-size: 10px;
    margin-left: 160px;
    font-family: Poppins-Medium;
}


.Label1{
    font-family: Poppins-Medium;
    
}





.Label1 {
    font-family: Poppins-Medium;
    margin-top: 10px; 
}

input[type="email"], input[type="password"] {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: Poppins-Medium;
}


.login{

    margin-left: 160px;
    z-index: 2;
}
.login2{
    z-index: 3;
}





@media screen and (max-width: 460px) {
    .form-container {
        flex-direction: column; 
        width: 90%;
        margin-left: 0%;
        margin: 0 auto;
        height: 100vh;
    }


    .login2{
            margin: 0 auto;
    }
    .image-section {
        display: none; 
    }

    .form-section {
        margin: 0; 
        padding: 20px; 
        justify-content: center;
    }

    h2 {
        margin-bottom: 10px; 
        text-align: center;
    }

    .Label1, .label2 {
        margin-bottom: 5px; 
        text-align: center; 
    }

    input[type="email"],
    input[type="password"],
    button {
        margin-bottom: 15px; 
    }

    button {
        margin-top: 20px; 
    }

    .background {
        display: none; 
    }

   
    .image-section{
        display: none;
    }

  
    body{
        display: contents;
        
    }
    .title1{
        margin-left: 0%;
    }
    .login{
        margin: 0 auto;
    }

    button{
        margin: 0 auto;
        
    }
    .label2{
        margin-left: 0;
    }

    .error{
       margin: 0 auto;
        font-size: 12px;
    }
}








