@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Stack+Sans+Headline:wght@200..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Stack Sans Headline", sans-serif;
    border: none;
    outline: none;
    text-decoration: none;
    color: var(--primary-text);
}

html {
    --primary: #98123c;
    --primary-text: #000000;
    --sub-text: #000000;
    --border: 1px solid #ffffff24;
    --lite-border: 1px solid #ffffff0b;
    --bg: #f4f1ed;
    --bg2: #ffffff;
}

[class*="grid"] {
    display: grid;
}

.align-center {
    align-items: center;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
    position: relative;
}

body {
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
}

p,
a,
input,
select,
textarea,
button {
    font-size: 1.6rem;
}

p {
    color: var(--sub-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    font-family: "Bebas Neue", sans-serif;
}

img,
video {
    max-width: 100%;
}

.container {
    max-width: 940px;
    width: 100%;
    margin: auto;
    padding: 0 2rem;
}

button {
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--primary);
    color: white;
}

button.btn {
    position: relative;
    height: 5rem;
    padding: 0 2.5rem;
    padding-right: 0;
    border-radius: 5rem;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2;
}

button.empty {
    background: unset;
    display: flex;
    align-items: center;
    gap: 1rem;
}

button.btn i {
    font-size: 2.5rem;
    width: 5rem;
    aspect-ratio: 1/1;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -1rem;
    margin-right: 1rem;
    transition: 0.3s;
}

button.btn::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 5rem;
    background: var(--primary);
    z-index: -1;
    transition: 0.3s;
}

button.btn:hover::before {
    width: 5rem;
}

button.btn:hover i {
    margin-left: 0rem;
    margin-right: 0rem;
}

button.btn:hover {
    color: var(--sub-text);
}

.buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

main .container {
    padding: 0;
}

.about h1 {
    font-size: 6rem;
    line-height: 1;
    font-weight: 800;
}

section {
    padding: 3rem 0;
}

.title {
    display: flex;
    flex-direction: column;
}

.title p {
    font-size: 2rem;
}

.about .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.card {
    padding: 1.5rem 2rem;
    background: var(--bg2);
    border-radius: 2rem;
}

.card p {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary);
}

.card h3 {
    font-size: 3rem;
    line-height: 1;
}

main .container {
    position: relative;
}

main .ico {
    width: 6rem;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    position: absolute;
    right: 3rem;
    bottom: -3rem;
    border-radius: 5rem;
    animation: wiggle 1.2s ease-in-out infinite;
}

.ico i {
    font-size: 3rem;
    color: white;
}

.ico::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #98123c;
    z-index: -1;
    animation: ripple 1.8s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(10deg);
    }

    30% {
        transform: rotate(-10deg);
    }

    45% {
        transform: rotate(8deg);
    }

    60% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(4deg);
    }

    100% {
        transform: rotate(0deg);
    }
}