*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI';
}
body{
    background: url(images/bg.jpg) no-repeat ;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-size: cover;
    min-height: 120vh; 
    color: white;
    background-color: black;
}

main{
    width: 100%;
    height: auto;
    background-color: transparent;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo h1{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(255, 0, 195);
}
.navbar{
    font-size: 18px;
    font-weight: 600;
}
.navbar a{
    color: white;
    text-decoration: none;
    margin-left: 10px;
    transition: .8s ease-in-out;
}
.navbar a:hover,
.navbar a.active{
    color: rgb(255, 0, 195);
}

section{
    padding: 15px 30px;
    display: flex;
    height: 50vh;
    max-width: 60%;
    justify-content: center;
    align-items: center;
}
.content h1{
    font-size: 50px;
    font-weight: 700;
    color: rgb(227, 56, 25);
}
.content h2{
    font-size: 25px;
    font-weight: 700;
    color: blue;
    font-family: cursive;
}

.content p{
    font-size: 18px;
    line-height: 1.7em;
    margin-bottom: 20px;
}

form{
    width: 300px;
    height: 400px;
    position: absolute;
    transform: translate(-40%, -50%);
    top: 50%;
    right: 20px;
    backdrop-filter: blur(20px);
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    background: url(images/bgform.jpg);
    background-size: cover;
}
#form-h1{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2em;
    text-align: center;
}
label{
    display: block;
    font-size: 18px;
    font-family: sans-serif;
    color: white;
    letter-spacing: 1px;
    padding: 10px 0px;
}

#firstname, #lastname, #email
{
    width: 100%;
    padding: 10px 0px;
    font-size: 15px;
    border: none;
    outline: none;
    border-radius: 4px;
}
.remember-me{
    font-family: Arial, Helvetica, sans-serif;
    padding: 15px 0;
    font-size: 15px;
    color: white;
    display: flex;
    align-items: center;
    
}
#check{
    margin: 0 10px ;
}
#login{
    width: 100%;
    padding: 10px 0;
    font-size: 20px;
    font-weight: 600;
    outline: none;
    border: none;
    border-radius: 4px;
    transition: .8s;
}
#login:hover{
    color: white;
    background: linear-gradient(to right, orange, rgb(255, 0, 195), orange );
}
#graphers{
    position: absolute;
    max-width: 60%;
    display: flex;
    margin: 10px 0;
}
#bio-1{
    width: auto;
    height: auto;
    border: none;
    border-radius: 10px;
    background: linear-gradient(orange, rgba(255, 0, 195, 0.582));
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    outline: none;

}
#bio-2{
    width: auto;
    height: auto;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to right, rgb(0, 255, 179), rgba(255, 0, 195, 0.586));
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    outline: none;
}
img{
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

footer{
    width: 100%;
    height: 70px;
    color: white;
    background-color: grey;
    position: absolute;
    bottom: -120%;
    left: 0;
    margin-bottom: 50px;
}
.bar{
    width: 300px;
    height: 70px;
    color: white;
    position: absolute;
    padding-left: 20px;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
}
.bar a{
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    margin-left: 20px;
    color: white;
    transition: .8s;
    padding: 10px;
}

.bar a:hover{
    color: rgb(255, 0, 195);
}

.social-media{
    position: absolute;
    right: 5px;
    justify-content: center;
    align-items: center;
    display: flex;
}
.social-media a{
    width: 50px;
    height: 50px;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-left: 15px;
    border-radius: 50%;
    cursor: pointer;
}



/* Media query for screens with a maximum width of 768px */
@media (max-width: 768px) {
       body {
        background-size: auto; /* Adjust background size for better visibility on smaller screens */
        min-height: auto; /* Remove min-height to allow content to adjust */
        margin-left: 30px;
    }
    
    main {
        flex-direction: column; /* Stack content vertically on smaller screens */
        padding: 10px; /* Adjust padding for spacing */
    }
    
    section {
        height: auto; /* Allow section to adjust height */
        max-width: 100%; /* Full width for smaller screens */
    }
   
    #graphers {
        max-width: 100%; /* Make the graphers section full width */
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items horizontally */
        margin: 10px 40px;
    }
    
    #bio-1, #bio-2 {
        width: 100%; /* Make the bio sections full width */
        padding: 10px; /* Adjust padding for spacing */
    }
    
    form {
        position: static; /* Reset position for form */
        width: 100%; /* Full width for form on smaller screens */
        right: auto; /* Reset right positioning */
        transform: none; /* Reset transform */
        margin-right: 60px;
    }
    
    footer {
        position: static; /* Reset position for footer */
        bottom: 0; /* Reset bottom positioning */
    }
}

