* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    width: 100vw;
    height: 100vh;
}

div#container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 10fr 0.3fr;
    grid-template-areas: "header""body""footer";
    background: linear-gradient(to bottom, #eda1a1 0%, #dfdfdf 20%);
}

section {
    /* border: 1px solid red; */
}

section#body {
    grid-area: body;
    display: flex;
    align-items: center;
    justify-content: center;
}

section#body div.login {
    width: 50%;
    /* height: 30%; */
    border-radius: 5px;
    /* background-color: rgba(0, 0, 0, 0.8); */
    margin-top: -4rem;
    /* box-shadow: 0 0 25px rgba(0, 0, 0, 0.9); */
}

.form-control {
    width: 100%;
    margin: 0 0.2rem;
}

form>div {
    position: relative;
    margin-top: 0.5rem;
}

form label {
    position: absolute;
    opacity: 0.6;
    font-size: 1.25rem;
    left: 1rem;
    pointer-events: none;
    /* color: #f2cb79; */
    transition: all 0.5s;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    font-weight: 500;
}

form input {
    width: 100%;
    padding: 1rem;
    /* background: #222; */
    margin: 1.5rem 0;
    border: none;
    /* color: #aaa; */
    font-size: 1.125rem;
    outline: none;
    border-radius: 0.5rem;
    text-align: center;
}

form input:focus {
    /* background: #333; */
    outline: 0;
}

form input:focus+label,
form input:hover+label,
form input:valid+label {
    top: 0.1rem;
    font-size: 0.8rem;
    transform: translateY(0);
    left: 1rem;
    opacity: 1;
    color: #333;
}

input[type=submit] {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 1s;
}

input[type=submit]:hover {
    background: cyan;
    font-weight: 500;
}

.login1 input[type=text] {
    border: 1px solid red;
}

/* div.form-group {
    position: relative;
    margin-top: 0.2rem;
}

div.form-group input {
    padding: 1rem 0.5rem;
    font-size: 1.5rem;
}

div.form-group:focus-within {
    background: cyan;
}

label.input-lbl {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: gray;
    transition: 0.5s;
}

input:focus~label.input-lbl, div.form-group:hover>label.input-lbl, input:visited~label.input-lbl {
    top: 15%;
    left: 2%;
    font-size: 0.5rem;
}

~label.input-lbl {
    top: 15%;
    left: 3%;
    font-size: 0.5rem;
} */
/**********header*************/
section#header {
    grid-area: header;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 0.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px dotted gray;
}

/* section#header img:nth-child(2) {
    margin: 0 3rem;
} */
section#footer {
    grid-area: footer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.1rem;
}

section#footer div#footer-title {
    font-size: 0.5rem;
    color: #aaa;
}

/********footer bitti***********/
@media only screen and (max-width : 600px), screen and (max-height:600px) {
    div#container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 10fr 0.2fr;
        grid-template-areas: "body""footer";
        background: lightblue;
    }

    section#header {
        display: none;
    }
}