
:root{
    --background: rgba(255, 255, 255, 0.979);
    --accent: rgba(236, 207, 90, 0.979);
    --text: #333;
}
html{
    padding: 0;
    margin: 0;
    background-color: var(--background);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;

}

body{
    height: fit-content;
    width: 100%;
    margin: 0px;
    color: #555;
}

html, body {
    min-height: 100%;
    overflow-x: hidden; /* stop horizontal scrollbars */
}
header{
    background: #f9f9f9;
    padding: 20px 5%;
    border-bottom: 1px solid #eee;
}

header nav{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav button {
    margin: 0 5px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: var(--accent);
    color: var(--text);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

header nav h1{
    margin: 0;
    font-size: 20px;
    color: var(--text);
}


#home-button{
    color: var(--text);
    background-color: var(--accent);
    
}

#home-button:hover{
    color: var(--text);
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transform: translateY(-2px);
}

#signup-button{
    color: var(--text);
    background-color: rgba(226, 226, 225, 0.979);
}

#signup-button:hover{
    box-shadow: 0 0 10px rgba(167, 167, 166, 0.979);
    transform: translateY(-2px);
}
.content{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin: 2% 2% 2% 2%;
    height: 100%;
}

.content-header>h1{
    text-align: center;
    font-size: 48px;
    margin-bottom: 0;
    color:var(--accent)
}

.content-header>h2{
    text-align: center;
    font-size: 25px;
    color: var(--text);
}

.content button{
    padding: 10px 50px;
    color: black;
    background-color: var(--accent);
    border: none;
    font-weight: bold;
    font-size: larger;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    display: flex;
    width: 100%;
    align-items: center;
    text-wrap: nowrap;
}

.content button:hover{
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transform: translateY(-1px);
}

.content-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.content-main{

    width: 65%;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3%;
    text-align: center;
    background-color: #fff;
}
.content-main form {
    width: 100%;
}


.settings-box{
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.upload-area{
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-area form{
    width: 70%;
    align-items: center;
    display: flex;
    flex-direction: column;

}

#upload-button{
    width: 30%;
    justify-content: center;
    align-items: center;
    margin: 1% 0% 1% 0%;
}
#drop-zone {
    border: 2px dashed var(--accent);
    border-radius: 8px;
    padding: 30px;
    width: 70%;
    height: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--text);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

#drop-zone:hover {
    background-color: rgba(255, 250, 200, 0.3);
    box-shadow: 0 0 10px var(--accent);
}

#drop-zone.dragover {
    background-color: rgba(236, 207, 90, 0.2);
    border-color: #ccc;
}

#file-input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

#process-form{
   align-items: center;
}

#submit-area{
    display: flex;
    flex-direction:row;
    width: 100%;
    align-items: center;
}


#save-button{
    width: 30%;
    justify-content: center;
    margin-top:2%;
    font-size: 16px;;
    padding: 8px 8px;
    margin: 8px 8px 0 0;
}

#process-button{
justify-content: center;
margin-top:3%;
width: 18%;
font-size: 18px;
}

.settings-box input{
    width: 100%;
    border: 2px solid lightgray;
    border-radius: 4px;
    height: 22px;
}

.settings-box select{
    width: 100px;
    height: 20px;
}

.settings-box select option{
    font-weight: bold;
}

.settings-box label{
    margin-bottom:1%;
    margin-top: 2%;
    display: block;
}

#google-section{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#google-id{
    margin: 8px 0px 0px 0px;
    width: 70%;
}

#or{
    font-weight: bold;
    margin:10px 0 0 0;
}

#or2{
    font-weight: bold;

}

#top-section{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    padding-left: 0;

    width: 100%;
    margin-top: 2%;
    margin-bottom: 2%;
}

#top-left{
    display: flex;
    flex-direction: column;
}



#bottom-section{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

#remember{
    margin-right: 3%;
    text-wrap: wrap;
    width: 18px;
}
#google-logo{
    margin-left: 10%;
    width: 45px;
    height: 45px;
}

footer {
    margin-top: 50px;
    padding: 30px 10%;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer p {
    margin: 0 0 10px 0;
    font-weight: 500;
}

#slogan {
    display: block;
    font-weight: normal;
    opacity: 0.8;
    font-size: 13px;
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

#linkedin-logo,
#github-logo {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

#linkedin-logo:hover {
    box-shadow: 0 0 8px rgba(0, 119, 181, 0.5);
    transform: translateY(-1px);
}

#github-logo:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

.response{
    color: black;
    font-weight: 450;
    width: 80%;
    border-radius: 4px;
    height: 40px;
}

@media screen and (max-width: 450px){
    .content-main{
        flex-direction: column;
        align-items: center;
    }

    .settings-box{
        width: 100%;
    }

    .upload-area{
        width: 100%;
        height: fit-content;
    }

    #upload-button{
        font-size: 18px;
        font-weight: 550;  
        width: fit-content;
    }

}