:root {
    --black: #111111;
    --white: #F7F7F7;
    --red: #BE1E2D;
    --grey: #555555;
    --light-grey: #D5D5D5;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--grey);
    background: var(--white);
}
img,
svg,
video {
    display: block;
}
button,
input,
textarea,
select {
    font: inherit;
}
h1 {
    color: var(--black);
    font-size: 1.75rem;
    font-weight: 500;
}
h2 {
    color: var(--black);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
}
a {
    color: var(--grey);
    text-decoration: none;
    transition-duration: 0.3s;
}
a:hover {
    color: var(--red);
}
.red {
    color: var(--red);
}
header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    padding: 5rem 1rem 0;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
    font-size: 1.25rem;
}
main section {
    position: relative;
    padding: 3rem 2rem 3rem;
}
main section:first-of-type {
    padding-top: 1rem;
}
main section.line:before {
    position: absolute;
    content: '';
    bottom: 0;
    width: 36rem;
    height: 2px;
    left: 50%;
    transform: translateX(-18rem);
    background: var(--light-grey);
}
main section.line:after {
    position: absolute;
    content: '';
    bottom: 0;
    width: 12rem;
    height: 2px;
    left: 50%;
    transform: translateX(-6rem);
    background: var(--red);
}
main section.contact {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4.5rem;
}
main section.contact > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}
main section.contact figure {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin: 0;
}
main section.contact img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
footer {
    display: flex;
    width: 100vw;
    color: var(--white);
    background: var(--black);
    padding: 1.25rem;

    align-items: center;
    justify-content: center;
}
@media (max-width: 576px) {
    h1 {
        text-align: center;
    }
    header figure {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
    }
    header figure img {
        width: 100%;
        height: 100%;
    }
    main section.contact {
        grid-template-columns: 1fr;
    }
}