* {
    box-sizing: border-box;
}

body {
    background-color: bisque;
    margin: 0;
    height: 100vh;
}

a {
    text-decoration: none;
    color: white;
    margin: 10px;
  
}


.header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 90px;


}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 2fr 1fr;
    height: 100%;
    gap: 10px;
    margin: 10px;

}

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 90px;
}

.box {
    background-color: steelblue;
    color: antiquewhite;
    font-size: 1rem;
    border: 1px solid skyblue;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: nowrap;
}


.login {
    background-color: aliceblue;
    color: black;
    padding: 10px;
    border-radius: 8px;
}

.hbox {
    background-color: steelblue;
    color: antiquewhite;
    font-size: 1rem;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fbox {
    background-color: steelblue;
    color: antiquewhite;
    font-size: 1rem;

    padding: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.box:nth-of-type(1) {
    background-color: red;
    grid-column: 1/4;
}


.box:nth-of-type(5) {
    background-color: red;
    grid-column: 1/4;

}

.hbox:nth-of-type(1) {
    display: flex;
    justify-content: start;
}

.hbox:nth-of-type(3) {
    display: flex;
    justify-content: end;
}


.fbox:nth-of-type(1) {
    display: flex;
    justify-content: start;
}

.fbox:nth-of-type(3) {
    display: flex;
    justify-content: end;
}






@media (max-width:758px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: revert;
        flex-flow: wrap;
    }

    .box:nth-of-type(1) {
        background-color: red;
        grid-column: 1;
    }


    .box:nth-of-type(5) {
        background-color: red;
        grid-column: 1;

    }

}


@media (min-width: 759px) and (max-width: 1358px) {
    .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: revert;
        flex-flow: wrap;
    }

    .box:nth-of-type(1) {
        background-color: red;
        grid-column: 1;

    }

    .box:nth-of-type(5) {
        background-color: red;
        grid-column: 1/3;

    }

}