@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --background: #ffffff;
    --foreground: #171717;
    --primary-color: hsl(37.8, 75.4%, 47.8%);
    --primary-color-hover: hsl(38, 75%, 40%);
}

html,
body {
    font-family: "Roboto", sans-serif;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    display: flex;
    justify-content: center;
}

header img {
    width: 250px;
    height: auto;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: var(--primary-color);
}

footer {
    padding: 1rem;
    font-size: 0.8rem;
    text-align: center;
    color: var(--primary-color-hover);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

h1, h2 {
    font-weight: 500;
}

.main-heading {
    margin-block: 1.5rem;
    font-size: clamp(2rem, -2.5538rem + 10.7623vw, 3.5rem);
}

.contact-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-block-end: 1rem;
    color: var(--primary-color);
}

.btn-contact svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-color);
}

.btn-contact:hover {
    color: var(--primary-color-hover);
}

.btn-contact:hover svg {
    fill: var(--primary-color-hover);
}

@media only screen and (max-width: 677px) {
    
    header img {
        width: 160px;
        height: auto;
    }

    .contact-container {
        padding: 2rem 0;
    }
}