/* I wrote the CSS, and AI helped me optimse for smaller screens :) */

@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Notch:wght@200..700&family=Stack+Sans+Text:wght@200..700&display=swap');

.the-box {
    height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.heading {
    font-family: "Stack Sans Notch", sans-serif;
    text-align: center;
    padding: clamp(1rem, 4vw, 1.5rem);
    outline: 1px solid;
    border-radius: 3rem;
    width: min(90%, 28rem);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
}

.heading-p2 {
    text-align: center;
    width: 100%;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-sizing: border-box;
    padding: 20px;
}

.more-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.heading-text {
    font-family: "Stack Sans Notch", sans-serif;
    position: relative;
    font-size: clamp(1.8rem, 6vw, 3.125rem);
    padding: 0;
    margin: 0.5rem;
}

.heading-text::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.heading-text:hover::after {
    width: 10%;
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem;
}

.social {
    width: clamp(2.75rem, 8vw, 3.125rem);
    height: clamp(2.75rem, 8vw, 3.125rem);
    color: #222;
    border-radius: 50%;
    background: rgba(223, 223, 223, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.1s ease;
}

.social:hover {
    transform: translateY(-5px);
}

body {
    background-image: url("background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: "Stack Sans Text", sans-serif;
    margin: 0;
    height: 100vh;
}

.social svg,
.social i {
    width: clamp(1.5rem, 5vw, 2.1875rem);
    height: clamp(1.5rem, 5vw, 2.1875rem);
    font-size: clamp(1.5rem, 5vw, 2.1875rem);
}

.btn-1 {
    font-family: "Stack Sans Text", sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    color: #292929;
    padding: clamp(0.6rem, 2vw, 0.75rem) clamp(1.2rem, 4vw, 1.75rem);
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-1:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.container {
    column-width: clamp(12rem, 85vw, 18rem);
    column-gap: 1rem;
    max-width: 87.5rem;
    margin: 0 auto;
    padding: clamp(0.75rem, 3vw, 1.25rem);
    gap: 10px;
    box-sizing: border-box;
}

.box {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 1rem;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
    padding: clamp(1rem, 3vw, 1.25rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 480px) {
    .container {
        column-width: 100%;
    }
}