/*
* ----------------------------------------------
* Homepage styles
* Depends on: reset.css type.css and form.css
* ----------------------------------------------
* 01 - Globals
* 02 - Layout
* 03 - Elements
* 04 - Navigation
* 05 - Slider
* 06 - Highlights
* 07 - Reviews
* 08 - Features
* 09 - Faq
* 10 - Products
* 11 - Contact
* 12 - Footer
* ----------------------------------------------
*/

/*
* ----------------------------------------------
* 01 - Globals
* ----------------------------------------------
*/
:root {
    --clr-wellow: hsl(56, 100%, 50%);
    --clr-blue: hsl(212, 97%, 24%);
    --clr-red: hsl(355, 71%, 43%);
    --clr-text: var(--clr-blue);
}

/*
* ----------------------------------------------
* Layout
* ----------------------------------------------
*/
.section {
    width: 100vw;
}

.section__center {
    width: min(900px, calc(100vw - 2rem));
    margin: auto;
}

.button {
    display: inline-block;
    padding: 0.6rem 1.2rem 0.7rem 1.2rem !important;
    border: none;
    border-radius: 0.4rem !important;
    appearance: none;
    background-color: var(--clr-blue) !important;
    color: #ffffff;
    text-decoration: none;
    background-color: #465153;
}

.button.warn {
    background-color: var(--clr-red) !important;
}

/*
* ----------------------------------------------
* Header
* ----------------------------------------------
*/
.header {
    margin: 0 0 2rem 0;
    padding: 2rem;
    background-color: var(--clr-wellow);
}

.header__grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
}

.header__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*
* ----------------------------------------------
* User bar
* ----------------------------------------------
*/
.user {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: #efefef;
    border: solid 1px #eeeeee;
    border-right: 0.5rem;
}

.user__left,
.user__right {
    display: flex;
    align-items: center;
}

.entries {
    margin: 3rem 0 0 0;
}

.entries__grid {

}

.entries__grid table {
    width: 100%;
    border: none;
    font-weight: bold;
}

.entries__grid tr {
    padding: 0;
    background-color: #efefef;
    border: none;
}

.entries__grid tr:last-of-type {
    background-color: transparent;
}

.entries__grid td {
    padding: 0.5rem 1rem;
    border-radius: 1rem !important;
    overflow: hidden;
}

.home {
    display: grid;
    grid-template:
            "top top" auto
            "center-one center-two" auto
            "bottom bottom" auto / 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.home > div {
    text-align: center;
}

.home > div > a {
    display: block;
    width: 100%;
    padding: 2rem 0;
    background-color: var(--clr-blue);
    border-radius: 1rem;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.7rem;
    text-decoration: none;
}

.home div:nth-of-type(1) {
    grid-area: top;
}

.home div:nth-of-type(2) {
    grid-area: center-one;
}

.home div:nth-of-type(3) {
    grid-area: center-two;
}

.home div:nth-of-type(4) {
    grid-area: bottom;
}

.home div:nth-of-type(6) {
    grid-area: text;
}

.auth {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.servform {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.servform .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.servform .buttons .button {
    padding: 1rem;
    height: auto;
}
.servform .buttons .button small {
    color: #ffffff;
}

.footer {
    margin: 4rem 0 0 0;
    padding: 3rem 0 2rem 0;
    background-color: var(--clr-wellow);
    text-align: center;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}
