:root {
	--primary: #ff4646;
	--dark: #181c29;
	--static-white: #fff;
	--content-background: #ecf3f8;
	--tag-purple: #4361ff;
	--tag-pink: #ff43f7;
	--tag-green: #06a44f;
	--primary-10: rgba(255, 70, 70, 0.1);
	--static-white-20: rgba(255, 255, 255, 0.2);
	--static-white-40: rgba(255, 255, 255, 0.4);
	--overlay: rgba(24, 28, 41, 0.8);
}
:root {
    --font-family: "Montserrat", sans-serif;
    --second-family: "Allura", sans-serif;
    --third-family: "SF Pro", sans-serif;
}
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, *::before, *::after {
    box-sizing: inherit;
}
body {
    margin: 0;
}
.container {
    max-width: 1276px;
    margin: 0 auto;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-items: center;
    margin-bottom: 6px;
}
.logo {
    display: flex;
    max-width: 140px;
    min-height: 40px;
    margin-left: 21px;
    margin-top: 8px;
    margin-bottom: 0;
}
.logo p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dark);
    margin-left: 9px;
}
.logo a {
    text-decoration: none;
    color: #181c29;
}
.nav-menu ul {
    list-style: none;
}
.nav-menu-list {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 9px;
    margin-right: 0;
    margin-top: 2px;
    margin-bottom: 5px;
}
.nav-menu-list a {
    text-decoration: none;
    color: var(--dark);
}
.link {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dark);
    margin-left: 0px;
    border-radius: 12px;
}
.link a {
    display: block;
    padding: 12px 20px;
}
.link-active {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    background-color: var(--primary-10);
    border-radius: 12px;
    width: 78px;
    height: 40px;
    padding: 12px 20px;
}
.background {
    background-color: #ff4646;
    border-radius: 20px;
    max-width: 1440px;
    margin: 0 auto;
}
.gifts-container h1 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 32px;
    line-height: 150%;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    color: var(--static-white);
    padding-top: 60px;
    margin: 0 auto;
    max-width: 426px;
    margin-top: 8px;
}
.gifts-container {
    padding-bottom: 60px;
}
.background-gift-title {
    background-image: url(./images/bg-garland.png);
    background-size: contain;
    background-repeat: no-repeat;
    max-width: 1440px;
    margin: 0 auto;
}
.tabs-list li {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--static-white);
    border-radius: 12px;
    padding: 12px 20px;
}
.tabs-container ul {
    list-style: none;
}
.tabs-list {
    display: flex;
    padding-top: 21px;
    padding-left: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
}
.tab-active {
    background-color: var(--static-white-20);
    border-radius: 12px;
    padding: 12px 20px;
    width: 65px;
    height: 40px;
}
.gifts-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.gift-card {
    max-width: 310px;
    max-height: 342px;
    background-color: var(--content-background);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
}
.gift-card img {
    max-width: 310px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.for-work {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--tag-purple);
}
.for-health {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--tag-green);
}
.for-harmony {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--tag-pink);
}
.gift-card-text h3 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 152%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark);
    margin-top: 0;
    margin-bottom: 42px;
}
.gift-card-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: white;
    border-radius: 20px;
    height: 112px;
    padding-top: 4px;
    padding-left: 20px;
}
.gift-card-text h4 {
    margin-bottom: 0;
}
.footer-cards-container {
    padding-top: 62px;
    padding-bottom: 64px;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.footer-card {
    background: var(--content-background);
    border-radius: 20px;
    width: 33%;
}
.footer-card-link {
    display: flex;
    text-decoration: none;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
}
.footer-card-link img {
    align-self: center;
    object-fit: contain;
}
.footer-card-link p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    line-height: 152%;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    color: var(--dark);
    margin: 0;
}
.footer-card-link h3 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 152%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: var(--dark);
    margin: 0;
}
.footer-end-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-end-container a {
    text-decoration: none;
}
.socials {
    display: flex;
    gap: 28px;
}
.copyright {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 148%;
    text-align: center;
    color: var(--dark);
    letter-spacing: 0em;
    margin-top: 22px;
    margin-bottom: 13px;
}
.made-in {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--dark);
    margin-top: 0;
}
.header-burger {
    display: none;
}

@media (hover: hover) {
    .logo:hover {
        cursor: pointer;
    }
    .nav-menu li:hover a {
        color: var(--primary);
        transition: 0.4s;
    }
    .link:hover {
        cursor: pointer;
        color: var(--primary);
        background-color: var(--primary-10);
        transition: 0.4s;
    }
    .tab-inactive:hover {
        cursor: pointer;
        background-color: var(--static-white-20);
        transition: 0.4s;
    }
    .gift-card:hover {
        cursor: pointer;
    }
    .gift-card:hover h3 {
        color: red;
        transition: 0.4s;
    }
    .footer-card:hover p {
        color: red;
        transition: 0.4s;
    }
    .footer-card:hover h3 {
        color: #ff4646;
        transition: 0.4s;
    }
    .socials svg:hover {
        cursor: pointer;
    }
    .socials-icon:hover path {
        stroke: red;
        transition: 0.4s;
    }
    .made-in:hover {
        color: #ff4646;
        transition: 0.4s;
    }
}
@media (max-width: 1290px) {
    .gifts-cards-container {
        width: 98%;
        justify-content: center;
        margin: 0 auto;
    }
    .footer-cards-container {
        flex-wrap: wrap;
    }
    .footer-card {
        width: 98%;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .header-container {
        max-width: 99%;
        padding-top: 2%;
        margin-bottom: 0;
    }
    .logo {
        margin-left: 4%;
        margin-top: -1%;
    }
    .header-burger {
        width: 40px;
        height: 40px;
        cursor: pointer;
        padding: 0;
        background-color: transparent;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .header-burger-line {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #181c29;
        margin-bottom: 7px;
    }
    .tabs-list {
        width: 75%;
        margin: 0 auto; 
        padding-bottom: 21px;
    }
    .gift-card-text {
        gap: 8px;
    }
    .footer-cards-container {
        padding-top: 58px;
        padding-bottom: 65px;
    }
}
@media (max-width: 644px) {
    .gifts-title {
        width: 98%;
    }
    .tabs-list {
        width: 98%;
        margin: 0 auto;
        gap: 0;
    }
    .tab-active,
    .tab-inactive {
        white-space: nowrap;
    }
    .tabs-list li {
        padding: 12px 8px;
    }
    .tab-active {
        width: 11%;
        text-align: center;
    }
}
@media (max-width: 380px) {
    .header-container {
        max-width: 98%;
        padding-top: 4%;
    }
    .logo {
        margin-left: 8%;
    }
    .gifts-title {
        width: 98%;
    }
    .tabs-list {
        width: 98%;
        gap: 0;
        margin: 0 auto;
    }
    .tabs-list li {
        padding: 12px 8px;
    }
    .tab-active {
        width: 11%;
    }
    .footer-card {
        width: 96%;
    }
    .footer-cards-container {
        padding-bottom: 65px;
    }
}