h1 {
    text-align: center;
}

#signin-container {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    border: 1px solid #ccc;
    position: absolute;
    top: 0vh;
    left: 15%;
    aspect-ratio: 540 / 656; /* based on the dimensions of the hero image */
}

#signin-container h2 {
    margin-bottom: 2vh;
    font-size: 2rem;
}

#signin-container > p {
    margin-bottom: 2vh;
    color: var(--primary-1-faded);
    width: 60%;
    text-align: center;
}

.signin-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 5px;
    margin-bottom: 2vh;
    width: 70%;
}

.signin-form * {
    width: 100%;
}

.signin-form label {
    margin-bottom: 0.5vh;
    margin-top: 2vh;
}

.signin-form input {
    width: 96%;
    height: 6vh;
    border-radius: 5px;
    border: 1px solid var(--primary-1-faded);
    padding-left: 0.5vw;
}

.signin-form button {
    color: white;
    background-color: var(--accent);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    height: 6vh;
    margin: 3vh 0;
}

.signin-form button:active {
    box-shadow: var(--shadow);
}

#signin-section {
    position: relative;
}

#hero-image {
    width: 70%;
    height: auto;
    margin: 3vh auto;
    display: block;
}

#linkedin-signin {
    margin-bottom: 2vh;
}

#linkedin-signin input {
    width: auto;
    height: 6vh;
}

#password-error {
    margin: 3vh 0;
    color: red;
    background-color: pink;
}

#signup-link {
    margin-top: 7vh;
}

#signup-link > a,
#signin-link > a {
    color: var(--accent);
    text-decoration: none;
}

#signin-link {
    margin-top: 5vh;
}

@media (orientation: portrait) {
    #signin-container {
        height: auto;
        width: 100%;
        position: static;
        padding: 4vh 0;
        border: none;
        background-image: url("../images/signin-portrait-hero-image.svg");
    }

    #signin-container h2 {
        text-align: center;
    }

    #hero-image {
        display: none;
    }

    footer {
        margin-top: 0;
    }
}
