@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap");
:root {
    --color-white-100: hsl(206, 5%, 100%);
    --color-white-200: hsl(206, 5%, 90%);
    --color-black-100: hsl(213, 20%, 10%);
    --color-black-200: hsl(213, 23%, 8%);
    --color-black-300: hsl(214, 21%, 6%);
    --color-black-400: hsl(210, 21%, 6%);
    --color-black-500: hsl(216, 22%, 4%);
    --color-blue-100: hsl(214, 95%, 93%);
    --color-blue-200: hsl(213, 97%, 87%);
    --color-blue-300: hsl(212, 96%, 78%);
    --color-blue-400: hsl(213, 94%, 68%);
    --color-blue-500: hsl(217, 91%, 60%);
    --color-blue-600: hsl(221, 83%, 53%);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --animation: 0.4s ease-in-out;
    --transition: tranform 0.4s ease-in-out;
    --big-gap: 3rem;
    --small-gap: 1rem;
    --hover-color-blue-200: hsla(213, 97%, 87%, 0.1);
    --hover-color-black-200: hsla(213, 23%, 8%, 0.1);
    --color-white-200-half-opacity: hsla(200, 6%, 90%, 0.5);
    --color-black-500-half-opacity: hsl(216, 22%, 4%, 0.5);
}


html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Rubik", sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--body-color);
}

main { overflow: hidden; }

a, button {
    cursor: pointer;
    border: none;
    outline: none;
    user-select: none;
    background: none;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.section {
    margin: 0 auto;
    padding: 6rem 0 1rem;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
}

.heading-xl {
    font-size: clamp(2.648rem, 6vw, 4.241rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.heading-sm {
    font-size: clamp(1.476rem, 3vw, 1.782rem);
    font-weight: 600;
    line-height: 1.5;
}

.paragraph {
    font-size: clamp(1rem, 2vw, 1.125rem);
    text-wrap: balance;
    color: var(--text-color-second);
}

.small-paragraph {
    font-size: clamp(0.875rem, 1.75vw, 1rem);
    text-wrap: balance;
    color: var(--text-color-second);
}

i { color: var(--text-color-second); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 0.75rem 2rem;
    text-align: center;
    border-radius: 0.25rem;
    transition: all 0.3s ease-in-out;
    color: var(--text-color-second);
    border: 1px solid var(--text-color-second);
    box-shadow: var(--shadow-medium);
}

.btn:hover {
    background: var(--text-color-second);
    color: var(--nav-color);
}

.btn:hover i { color: var(--nav-color); }

.center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.main-modal { width: 100%; }

.half-opacity {
    opacity: 0.3;
    transition: opacity 0.4s ease-in-out;
    text-align: center;
    cursor: pointer;
}

.half-opacity:hover {
    opacity: 0.6;
}