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

html {
    overscroll-behavior: none;
}

body {
    position: relative;
    font-family: "Inter", system-ui, sans-serif;
    background: #faf9f5;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3C/defs%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

a {
    color: inherit;
}

main {
    width: 100%;
    min-height: 100svh;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
}

.hero h1 {
    font-family: "Luckiest Guy", system-ui, sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    color: white;
    text-align: center;
    text-shadow: 0 0.1em 20px rgba(0, 0, 0, 1), 0.05em -0.03em 0 rgba(0, 0, 0, 1),
        0.05em 0.005em 0 rgba(0, 0, 0, 1), 0em 0.08em 0 rgba(0, 0, 0, 1),
        0.05em 0.08em 0 rgba(0, 0, 0, 1), 0px -0.03em 0 rgba(0, 0, 0, 1),
        -0.03em -0.03em 0 rgba(0, 0, 0, 1), -0.03em 0.08em 0 rgba(0, 0, 0, 1), -0.03em 0 0 rgba(0, 0, 0, 1);
}

.hero h1 span {
    transform: scale(0.9);
    display: inline-block;
}

.hero h1 span:first-child {
    margin-right: 10px;
    animation: bop 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards infinite alternate;
}

.hero h1 span:last-child {
    animation: bopB 1s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards infinite alternate;
}

@keyframes bop {
    0% {
        transform: scale(0.9);
    }

    50%,
    100% {
        transform: scale(1);
    }
}

@keyframes bopB {
    0% {
        transform: scale(0.9);
    }

    80%,
    100% {
        transform: scale(1) rotateZ(-3deg);
    }
}

.hero .subtitle {
    text-align: center;
    color: black;
    font-size: 36px;
    font-weight: 200;
}

.dropping-texts {
    display: inline-block;
    width: 180px;
    text-align: left;
    height: 36px;
    vertical-align: -2px;
}

.dropping-texts>div {
    position: absolute;
    font-size: 0px;
    opacity: 0;
    margin-left: -30px;
    font-weight: 500;
}

.dropping-texts>div:nth-child(1) {
    animation: roll 5s linear infinite 0s;
}

.dropping-texts>div:nth-child(2) {
    animation: roll 5s linear infinite 1s;
}

.dropping-texts>div:nth-child(3) {
    animation: roll 5s linear infinite 2s;
}

.dropping-texts>div:nth-child(4) {
    animation: roll 5s linear infinite 3s;
}

@keyframes roll {
    0% {
        font-size: 0px;
        opacity: 0;
        margin-left: -30px;
        margin-top: 0px;
        transform: rotate(-25deg);
    }

    3% {
        opacity: 1;
        transform: rotate(0deg);
    }

    5% {
        font-size: inherit;
        opacity: 1;
        margin-left: 0px;
        margin-top: 0px;
    }

    20% {
        font-size: inherit;
        opacity: 1;
        margin-left: 0px;
        margin-top: 0px;
        transform: rotate(0deg);
    }

    27% {
        font-size: 0px;
        opacity: 0.5;
        margin-left: 20px;
        margin-top: 50px;
    }

    100% {
        font-size: 0px;
        opacity: 0;
        margin-left: -30px;
        margin-top: 0px;
        transform: rotate(15deg);
    }
}

.about,
.contact,
.privacy,
.terms,
.refund {
    max-width: 800px;
    min-height: calc(100svh - 24px);
    width: calc(100% - 24px);
    margin: 0 auto;
    margin-bottom: 24px;
    padding: 30px 20px;
    position: relative;
    top: 12px;
    background-color: white;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.about h1,
.contact h1,
.privacy h1,
.terms h1,
.refund h1 {
    margin-bottom: 25px;
    font-size: 25px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: dimgrey;
}

.about p,
.contact p,
.privacy p,
.terms p,
.refund p {
    line-height: 25px;
}

.about p:not(:last-child),
.privacy p:not(:last-child),
.terms p:not(:last-child),
.refund p:not(:last-child) {
    margin-bottom: 20px;
}

.contact p:not(:last-child) {
    margin-bottom: 10px;
}

.about h2,
.privacy h2,
.terms h2,
.refund h2,
.contact h2 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 500;
}

.privacy p:first-of-type,
.terms p:first-of-type,
.refund p:first-of-type {
    color: dimgrey;
    font-size: 12px;
    font-weight: 500;
}

.about ul li:last-child,
.privacy ul li:last-child,
.refund ul li:last-child {
    margin-bottom: 20px;
}

.contact-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.contact-form button {
    background: #000;
    color: #fff;
    font-size: 1rem;
    padding: 0.75rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.contact-form button:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

footer {
    padding-top: 3rem;
    background-color: white;
}

footer p {
    color: #777777;
}

footer .footer-container {
    max-width: 1320px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

footer .footer-container .footer-navbar-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    margin-right: auto;
    margin-left: auto;
}

footer .footer-container .footer-navbar-container .footer-company-details {
    width: 35%;
    max-width: 100%;
    flex: 0 0 auto;
    padding-right: 2rem;
    line-height: 1.428;
}

footer .footer-container .footer-navbar-container .footer-company-details .footer-logo img {
    width: 60px;
    height: 60px;
}

footer .footer-container .footer-navbar-container .footer-company-details .footer-content {
    margin-top: 1rem;
    font-size: 16px;
    line-height: 1.8;
    padding-right: 1rem;
}

footer .footer-container .footer-navbar-container .footer-company-details .footer-icons {
    margin-top: 1.5rem;
}

footer .footer-container .footer-navbar-container .footer-company-details .footer-icons ul {
    display: flex;
    list-style-type: none;
}

footer .footer-container .footer-navbar-container .footer-company-details .footer-icons ul li {
    list-style: none;
    display: flex;
    flex-direction: row;
    margin-right: 14px;
}

footer .footer-container .footer-navbar-container .footer-company-details .footer-icons ul li a {
    width: 30px;
    height: 30px;
    padding: 6px;
}

footer .footer-navbar {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    flex-grow: 1;
    line-height: 1.428;
}

footer .footer-navbar>.footer-navbar-col {
    width: 25%;
    flex: 0 0 auto;
}

footer .footer-navbar .footer-navbar-col p {
    margin-bottom: 1.5rem;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: break-word;
    padding: 0 0.5rem 0 0;
}

footer .footer-navbar .footer-navbar-col ul {
    padding: 0 0.5rem 0 0;
}

footer .footer-navbar .footer-navbar-col ul li {
    list-style: none;
}

footer .footer-navbar .footer-navbar-col ul li:not(:last-child) {
    margin-bottom: 1rem;
}

footer .footer-navbar .footer-navbar-col ul li a {
    font-size: 16px;
    text-decoration: none;
    color: #777777;
    overflow-wrap: break-word;
}

footer .footer-navbar .footer-navbar-col ul li a:hover {
    color: #000;
}

footer .footer-copyright {
    padding: 2rem 0;
    border-top: 1px solid rgb(219, 215, 215);
}

footer .footer-copyright p {
    font-size: 14px;
}

@media all and (max-width: 1140px) {

    footer .footer-container .footer-navbar-container,
    footer .footer-navbar {
        row-gap: 3rem;
    }

    footer .footer-container .footer-navbar-container .footer-company-details,
    footer .footer-container .footer-navbar-container .footer-navbar {
        padding: 0;
        width: 100%;
    }
}

@media all and (max-width: 992px) {
    footer .footer-navbar .footer-navbar-col {
        width: 50%;
    }
}

@media all and (max-width: 640px) {
    .hero .subtitle {
        font-size: 20px;
    }

    .hero .dropping-texts {
        width: 110px;
        height: 20px;
    }
}