*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
button:focus, a:focus {
    outline: none;
}

/* custom properties */

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 15rem;
}
:root {
    --black-brown: #432818;
    --really-black-brown: #362013;
    --latte-brown: #99582A;
    --cream-brown: #FFE6A7;
    --accent-color: #339989;
    --spicy-purple : #5f2c82;
    --scale: 51;
    --h1-size: 49rem;
    --sans-serif-font: 'Figtree';
    --serif-font: 'Roboto Slab';
}
body {
    background: url(../../assets/lukasz-rawa-fmc-tFMMiBs-unsplash_2000.png) fixed;
    background-color: var(--black-brown);
    background-size: cover;
    color: var(--cream-brown);
    font-family: var(--sans-serif-font), serif;
}
button:focus-visible, a:focus-visible {
    outline: 2px dashed #fff;
}
button, a {
    cursor: pointer;
}
main {
    display: grid;
    place-items: center;
    height: 100vh;
    height: 100dvh;
}
.connexion-container {
    max-width: 40rem;
    width: 100%;
    padding-bottom: 4rem;
    background-color: #2e190e95;
    border-radius: 2rem;
}
h1 {
    font-size: 4rem;
    font-family: var(--sans-serif-font);
    margin: .7em 1em 1em;
    text-align: center;
    position: relative;
    letter-spacing: .05rem;
}
h1::after {
    content: '';
    display: block;
    position: absolute;
    width: 20%;
    height: .25rem;
    background-color: var(--cream-brown);
    left: 50%;
    bottom: -.7rem;
    transform: translateX(-50%);
}
form {
    padding: 0 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 2.5rem;
}
input {
    width: 30rem;
    height: 4.5rem;
    font-family: var(--sans-serif-font);
    padding: 0 1rem;
    border-radius: .4rem;
    font-size: 1.7rem;
    border: none;
    background-color: var(--cream-brown);
    color: var(--latte-brown);
    font-weight: 600;
}
::placeholder {
    color: var(--latte-brown);
}
input:focus {
    outline: none;
}
button {
    background-image: linear-gradient(60deg, var(--accent-color), var(--spicy-purple));
    border: none;
    color: var(--cream-brown);
    height: 2.2em;
    width: 7em;
    border-radius: .2em;
    font-family: var(--sans-serif-font);
    font-weight: 600;
    letter-spacing: .05rem;
    font-size: 2rem;
    margin-top: 1rem;
    transition: scale .2s ease;
    will-change: scale;
}
button:active {
    scale: .9;
}
@media screen and (max-width: 1700px) {
    html {
        font-size: 62.5%;
    }
}
@media screen and (max-width: 1600px) {
    html {
        font-size: 59%;
    }

}
@media screen and (max-width: 1500px) {
    html {
        font-size: 56%;
    }
    body {
        background-image: url(../../assets/lukasz-rawa-fmc-tFMMiBs-unsplash_1500.png);
    }
}
@media screen and (max-width: 1370px) {
    html {
        font-size: 53%;
    }
}
@media screen and (max-width: 1220px) {
    html {
        font-size: 50%;
    }
}

@media screen and (max-width: 1100px) {
    html {
        font-size: 50%;
    }
}
@media screen and (max-width: 1018px) {
    html {font-size: 44%;}
    body {
        background-image: url(../../assets/lukasz-rawa-fmc-tFMMiBs-unsplash_1000.png);
    }
}
@media screen and (max-width: 934px) {
    html {
        font-size: 45%;
    }
}
@media screen and (max-width: 736px) {
    html {
        font-size: 40%;
    }
}
@media screen and (max-width: 550px) {
    html {
        font-size: 39%;
    }
    body {
        background-image: url(../../assets/lukasz-rawa-fmc-tFMMiBs-unsplash_500.png);
    }
}
@media screen and (max-width: 454px) {
    html {
        font-size: 1.8vw;
    }
}
@media screen and (max-width: 380px) {
    body {
        background-size: 100rem;
    }
}
@media screen and (max-width: 250px) {
}
b {
    font-weight: 600;
}
#latte {
    color: var(--latte-brown);
}
#accent {
    color: var(--accent-color);
}