/* GLOBAL */

:root {
    --bg-body: hsl(0, 0%, 8%);
    --bg-contact: hsl(0, 0%, 14%);
    --accent: hsl(153, 71%, 59%);
    --text1: hsl(0, 0%, 100%);
    --text2: hsl(0, 0%, 85%);
    --invalid: hsl(7, 100%, 68%);
    --fs-18: 1.125rem; /* =18px */
    --fs-88: 5.5rem; /* =88px XL*/
    --fs-72: 4.5rem; /* =72px XL for tablet */
    --fs-40: 2.5rem; /* =40px XL for mobile */
    --fs-48: 3rem; /* =48px L*/
    --fs-32: 2rem; /* =18px L for mobile*/
    --fs-24: 1.5rem; /* =24px M*/
    --container: 69.375rem;
    --transition: 250ms ease-in-out
}

html {
    box-sizing: border-box;
    font-size: 100%;
}

*, 
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Lexend', sans-serif;
    background-color: var(--bg-body);
    color: var(--text1);
    font-size: var(--fs-18);
    line-height: 1.56;
}

a {
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

.visually-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.wrapper {
    width: calc(100% - 2rem);
    max-width: var(--container);
    margin-inline: auto;
}

/* =600px for tablet*/
@media (min-width: 37.5em) { 
    .wrapper {
        width: calc(100% - 3.75rem);
    }
}

/* HEADER */
.header {
}

.header__home {
    font-size: 1.5rem;
    font-size: clamp(1.5rem, 1.02rem + 2.04vw, 2rem);
    color: var(--text1);
    text-decoration: none;
}

.header__social {
    display: inline-block;
}

.header__social > svg > path {
    transition: fill var(--transition);
}

.header__social:hover > svg > path {
    fill: var(--accent);
}