:root {
    --color-text: #9C9B9C;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: normal;
    margin-top: 1rem;
}
p {
    line-height: 28px;
}



body {
    background: radial-gradient(128.47% 70.71% at 50.00% 50.00%, #1D303F 0%, #14181B 100%);
    color: var(--color-text);
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

header{
    text-align: center;
    padding-block: 2rem;
}

main {
    width: 100%;
    min-height: calc(100vh - 104px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-inline: 5%;
    box-sizing: border-box;
}


.content {
    max-width: 70ch;
}

.label {
    font-size: 14px;
    display: inline-flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: var(--color-text);
    color: #171F25;
    margin-block: 2rem;
}

.contacts-grid {
    width: 100%;
    display: flex;
    justify-content: space-between;
    max-width: 70ch;
}

address {
    font-style: normal;
    text-align: left;
}

.contacts-grid a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    display: block;
    text-align: left;
    transition: color .3s ease-in-out;
}

.contacts-grid a:hover {
    color: #ffffff;

}


@media screen and (max-width: 600px) {
    h1 {
        font-size: 36px;
    }
    .contacts-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .contacts-grid a {
        text-align: center;
    }

    address {
        text-align: center; 
    }
}