@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url(form.css);
@import url(nav.css);
@import url(header.css);
@import url(for-sale.css);
@import url(product.css);
@import url(footer.css);

:root {
    font-size: 18px;
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: #000000;
    line-height: 150%;
}

@media screen and (max-width: 360px) {
    :root {
        font-size: 14px;
    }
}

main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 1rem;
    max-width: 1440px;
}

img {
    max-width: 100%;
}

a {
    color: #000;
    text-decoration: none;
    border-bottom: 0.1rem solid black;
    transition: all 300ms;
}

a img {
    vertical-align: middle;
}

a:hover {
    border-bottom: 0.3rem solid black;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    line-height: 150%;
    font-size: 120%;
    text-align: center;
}

h1 {
    font-size: 360%;
    font-weight: 300;
}

h2 {
    font-size: 260%;
    font-weight: 500;
}

button,
a.button {
    font-family: "Montserrat", sans-serif;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    max-width: fit-content;
    align-self: flex-start;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 1rem;
    border: 1px solid #000;
    border-radius: 0.3rem;
    box-shadow: 0.3rem 0.3rem;
    transition: all 300ms;
}

a.btn.buy {
    background-color: #6d2305;
    color: #e4f6ff;    
}

button:hover,
a.button:hover {
    background-color: #444;
}

section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
