/* 
 * GENERAL
 *  */
:root {
    	
    --primary: #474747;
    --secondary: #D0E1E5;
    --clr-text: #798080;
    
    --clr-button__bg: #252f52;
    --clr-button__txt: #f9f9e3;
    --clr-button__bg-hover: #faf7e2;
    --clr-button__txt-hover: #162c39;
    --clr-button--outline: #252f52;
}

html {
    font-size: 10px;
}

body {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
}

:where(h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5) {
    font-weight: 700;
    line-height: 1.25;
}

h1,
.h1 {
    font-size: 5.6rem;
}

h2,
.h2 {
    font-size: 3.6rem;
}

h3,
.h3 {
    font-size: 2.8rem;
}

h4,
.h4 {
    font-size: 2rem;
}

h5,
.h5 {
    font-size: 1.8rem;
}

section, .section {
    padding-inline: 3rem;
}

.container {
    width: 1000px;
}

.button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 59px;
    min-width: 188px;
    width: max-content;
    font-size: 16px;
    text-align: center;
    color: var(--clr-button__txt);
    background-color: var(--clr-button__bg);
    border: 1px solid var(--clr-button__bg);
    transition: all .3s ease-in-out;
}

.button.outline {
    --main-clr: var(--clr-button--outline);

    color: var(--main-clr);
    border-color: var(--main-clr);
    background-color: transparent;
}

.button svg path {
    stroke: currentColor;
}

.button:hover {
    color: var(--clr-text);
    background-color: var(--clr-button__bg-hover);
    border-color: var(--clr-button__bg-hover);
}

.hidden {
    display: none !important;
}

a.link {
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}

a.link::before {
    content: "";
    height: 0.15rem;
    width: 0;
    background-color: #E03C41;
    position: absolute;
    bottom: -0.2rem;
    left: 0;
    transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}

a.link:hover::before {
    width: 100%;
}

@media (max-width: 991px) {
    section, .section {
        padding-inline: 2.4rem;
    }
}