*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root variables */
:root {
    --font-family: "Figtree", sans-serif;
    --color-text: #ffffff;
    --color-primary: #A771EC;
    --max-width: 1200px;
    --spacing: 1rem;
}

/* Global styles */
html {
    font-size: 16px;
    height: 100%;
    background-image: url('../img/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    font-family: var(--font-family);
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;

}

body {
    line-height: 1.6;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

header {
    padding-top: 88px;
    padding-left: 88px;
    padding-right: 88px;
    display: flex;
    justify-content: space-between;
    background: linear-gradient(180deg, #1D1D1D -36.21%, rgba(29, 29, 29, 0) 91.36%);
}

header h1 {
    font-size: 6.6rem;
    line-height: 6.6rem;
    font-weight: 400;
    transform: translateX(-6px);
}

header h1 span {
    font-size: 3.5rem;
    margin-top: 4px;
    transform: translateY(-14px);
    position: absolute;
}

header h2 {
    font-size: 2.3rem;
    line-height: 2.3rem;
    font-weight: 400;
    max-width: 400px;
}

footer {
    padding-left: 88px;
    padding-right: 88px;
    padding-bottom: 77px;

    display: flex;
    justify-content: space-between;
    position: relative;
}

footer p {
    margin: 0;
    font-size: 2.3rem;
    line-height: 2.3rem;
    font-weight: 400;
    max-width: 608px;
}

footer ul {
    display: flex;
    list-style: none;
    padding: 0px;
    gap: 23px;
    align-items: end;
}

footer ul li a {
    font-size: 20px;
    text-decoration: none;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 300;
}

footer ul li a {
    transition: all 0.3s ease-out;
}

footer ul li a:hover {
    color: var(--color-primary);
    /*transform: scale(0.95);*/
}

.tp-btn-black {
    position: relative;
    display: inline-block;
    margin-top: 35px;
    transform: translateX(-6px);
}

.tp-btn-black-filter-blur {
    position: absolute;
    top: 0;
    left: 0;
}

.align-items-center {
    align-items: center !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.tp-btn-black.btn-red-bg .tp-btn-black-text {
    color: #FFFFFF;
    background-color: var(--color-primary);
}
.tp-btn-black-text {
    font-size: 16px;
    font-weight: 400;
    padding: 7px 22px;
    border-radius: 9999px;
    color: #FFFFFF;
    background-color: #000000;
}

.tp-btn-black.btn-red-bg .tp-btn-black-circle {
    background: var(--color-primary);
}

.tp-btn-black-circle {
    width: 36px;
    height: 36px;
    line-height: 32px;
    margin-left: -4px;
    text-align: center;
    border-radius: 9999px;
    transition-duration: 0.9s;
    background: #000000;
    transition-timing-function: cubic-bezier(0.135, 0.9, 0.15, 1);
}

.tp-btn-black.btn-red-bg .tp-btn-black-circle svg {
    color: #FFFFFF;
}
.tp-btn-black-circle > svg {
    width: 14px;
    margin-left: 3px;
    color: #FFFFFF;
    transform: translateX(-2px);
}

.tp-btn-black.btn-red-bg:hover .tp-btn-black-circle {
    transform: translateX(12px) rotate(45deg);
}

/* Responsive Breakpoints (max-width) */

/* Extra large devices (≤1399px) */
@media (max-width: 1399.98px) {
    /* Styles for extra large screens up to 1399px */
}

/* Large devices (≤1199px) */
@media (max-width: 1199.98px) {
    footer p {
        font-size: 2rem;
        line-height: 2rem;
    }
}

/* Medium devices (≤991px) */
@media (max-width: 991.98px) {
    footer p {
        font-size: 1.8rem;
        line-height: 1.8rem;
        max-width: 390px;
    }
}

/* Small devices (≤767px) */
@media (max-width: 767.98px) {
    header h1 {
        font-size: 5rem;
        line-height: 5rem;
    }
    header h2 {
        font-size: 2rem;
        line-height: 2rem;
    }

    footer {
        flex-direction: column;
        gap: 30px;
    }

    footer p {
        max-width: 100%;
    }

    .logo {
        transform: translateY(-20px);
    }
}

/* Extra small devices (≤575px) */
@media (max-width: 575.98px) {
    header {
        padding-top: 40px;
        padding-left: 40px;
        padding-right: 40px;
    }

    header h1 {
        font-size: 3rem;
        line-height: 3rem;
    }

    header h1 span {
        font-size: 1.8rem;
    }

    header h2 {
        font-size: 1.4rem;
        line-height: 1.4rem;
    }

    footer p {
        font-size: 1rem;
        line-height: 1rem;
    }

    footer {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 30px;
        background: linear-gradient(0deg, #1D1D1D -36.21%, rgba(29, 29, 29, 0) 91.36%);
    }

    .tp-btn-black-text {
        font-size: 13px;
    }

    footer ul li a {
        font-size: 14px;
    }

    header svg {
        transform: translateY(-12px) translateX(12px);
    }
}
