@import url("../alpha.css");
@import url("./index-header.css");

/*------------------------------------------------------------------------*/

input, button, .login {
    border: 2px solid var(--border-color-var);
    border-radius: 4em;
    font-size: 1rem;
}

.container{
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "about" "login";
}

main{
    height: calc(100vh - 3.25rem);
    background-image: url("https://wallpaperaccess.com/full/2109.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

section{
    margin: 2rem;
    max-width: 400px;
    max-height: 300px;
    align-self: center;
    justify-self: center;
}

/*------------------------------------------------------------------------*/

.about{
    grid-area: "about";
    height: max-content;
    max-height: none;
    text-align: center;
}

h2{ 
    font-size: 1.5rem;
    text-align: center;
}

p{
    text-align: justify;
    font-size: 1.25em;
}

/*------------------------------------------------------------------------*/

.login, #input-div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.login{
    grid-area: "login";
    padding: 1.25rem;
    width: 400px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 2rem;
}

#input-div{
    align-items: center;
}

input{
    padding: 0 1rem;
    width: 90%;
    height: 2.5rem;
    background-color: var(--background-var1);
    color: var(--text-color-var);
}

input::placeholder{
    font-family: var(--font-var);
    color: var(--border-color-var);
}

/*------------------------------------------------------------------------*/

#buttom-div{
    display: flex;
    justify-content: space-evenly;
    box-sizing: border-box;
}

button{
    width: 42.5%;
    height: 50px;
    align-items: center;
    background-color: var(--border-color-var);
    color: rgb(23, 23, 23);
    font-weight: 700;
}

/*------------------------------------------------------------------------*/

@media (max-width: 870px){
    .container{
        height: max-content;
        min-height: calc(100vh - 3.25rem);

        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .about, .login{
        width: 90%;
    }
}

button:hover{
    background-color:rgb(157, 169, 216);
}