@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;
}

.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;
    box-sizing: border-box;
    padding: 0 20px; 
    margin-left: 20px;
    position: relative; 
}

h2 {
    margin-top: 0;
    color: #333;
   
}

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

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: Poppins-Medium !important;
}

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

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

a:hover {
    text-decoration: underline;
}

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

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

.form-section form {
    display: flex;
    justify-content: space-between;
    gap: 120px;
    margin-bottom: 50px;
}

.left-side, .right-side {
    display: flex;
    flex-direction: column;
    width: 48%;
    z-index: 2;
}

.left-side {
    margin-left: -20px; 
}

.affiliation {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.plabel {
    font-family: Poppins-Medium;
    font-size: 9.5px;
    text-align: center;
}

.plabel3 {
    font-family: Poppins-Medium;
    font-size: 9.5px;
    margin-left: 85px;
}

.file-label {
    display: inline-block;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    width: 100%; 
    box-sizing: border-box;
    font-size: 15px;
}

.file-label:hover {
    background-color: #0056b3;
}

.title1 {
    margin-left: 100px;
    font-family: Poppins-Medium;
    margin-top: 50px;
}

.bgimg {
    position: absolute;
    margin-top: 80px;
    height: 500px;
    opacity: 0.05;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.javatext{
    font-size: Poppins-Medium;
    font-size: 13px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    body {
        background-color: #ffffff; 
    }

    .background {
        display: none; 
    }

    .form-container {
        width: 90%;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        background-color: #ffffff; 
    }

    .image-section, .bgimg {
        display: none; 
    }

    .form-section {
        width: 100%;
        margin-top: 0;
        padding: 0;
        margin-left: 0;
    }

    .form-section form {
        flex-direction: column;
        gap: 20px;
    }

    .left-side, .right-side {
        width: 100%;
        margin-left: 0;
    }

    .title1 {
        display: block; 
        margin-left: 0;
        text-align: center;
        font-size: 24px; 
        margin-bottom: 20px; 
    }

    .plabel {
        text-align: center;
    }


    body{

        display: contents;


    }

    .plabel3{
        margin-right: 80px;
        text-align: center;
    }
    .bgimg{
        display: none;
    }

}


@media screen and (min-width: 769px) and (max-width: 1024px) {
    .form-container {
        width: 90%; 
    }
    .bgimg{
        display: none;
    }
}