/* ======================== Fonts Configuration ============================ */
/* 
    -  Aptos is locally pulled from "fonts" folder.
    - Google Fonts are imported from Google Fonts CDN.
    - 'Instrument Serif' is used for heading.
    - 'Aptos' is used for all other text.
*/

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');


@font-face {
    font-family: "Aptos";
    src: url("../font/Aptos/Web Fonts/7dd5f4bf5d38875ca1822a830b6e6fe4.eot");
    src: url("../font/Aptos/Web Fonts/7dd5f4bf5d38875ca1822a830b6e6fe4.eot?#iefix")format("embedded-opentype"),
        url("../font/Aptos/Web Fonts/7dd5f4bf5d38875ca1822a830b6e6fe4.woff")format("woff"),
        url("../font/Aptos/Web Fonts/7dd5f4bf5d38875ca1822a830b6e6fe4.woff2")format("woff2"),
        url("../font/Aptos/Web Fonts/7dd5f4bf5d38875ca1822a830b6e6fe4.ttf")format("truetype"),
        url("../font/Aptos/Web Fonts/7dd5f4bf5d38875ca1822a830b6e6fe4.svg#Aptos")format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0px;
    padding: 0px;
}

:root {
    --Charcoal: #262626;
    --Grey: #616161;
    --Snow: #FAFAFA;
    --Sky: #4d64dc;

}




/* ========== Style Stars ================================================================================ */

body {
    font-family: "Aptos" !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 95vh;
    margin: 0;
    text-align: center;
}

.container {
    padding: 24px 32px;
    display: grid;
    row-gap: 48px !important;
    width: 80%;
    max-width: 1200px;
    text-align: center;
}

.notes {
    font-size: 16px;
    font-weight: 400;

}

.notes label {
    font-family: "Instrument Serif";
    font-size: 32px !important;
    font-weight: 400;
}

.connect button {
    padding: 12px 24px;
    border-radius: 24px;
    border: 2px solid var(--Sky);
    color: var(--Sky);
    width: 200px;
    background-color: white;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.connect button:hover {
    background-color: var(--Snow);
    cursor: pointer;
}


.footer {
    color: var(--Grey);
    font-size: 16px;
    font-weight: 400;
}

.footer hr {
    width: 240px;
    margin: 8px auto;
    border-top: 1px solid var(--Grey);
}

/* ========== Connect Modal Box ================================================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(38, 38, 38, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: left;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    font-weight: 300;
    color: var(--Grey);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--Charcoal);
}

.modal-content h2 {
    font-family: "Instrument Serif";
    font-size: 36px;
    font-weight: 400;
    color: var(--Charcoal);

}

.modal-content hr {
    width: 100%;
    margin: 16px 0px;
    /* border-top: 1px solid var(--Sky); */
    color: var(--Sky);
}

.modal-content p {
    font-size: 14px;
    color: var(--Grey);
    margin-bottom: 28px;
    font-weight: 400;
    font-family: "Aptos", sans-serif;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: #212121;
    font-family: "Aptos";
}

.form-group input,
.form-group textarea {
    padding: 16px;
    border: 1px solid #9E9E9E;
    border-radius: 8px;
    font-family: "Aptos";
    font-size: 16px;
    color: var(--Charcoal);
    outline: none;
    height: 48px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a3a3a3;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--Sky);
    box-shadow: 0 0 0 3px rgba(77, 100, 220, 0.15);
    background-color: #ffffff;
}

.form-group textarea {
    resize: none;
    height: 156px;
}

.form-action {
    display: flex;
    justify-content: right;
    align-items: right;
    gap: 16px;
}

.submit-btn {
    width: 160px;
    padding: 10px;
    background-color: var(--Sky);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: "Aptos";
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: #3b50c4;
}

.submit-btn:active {
    transform: scale(0.98);
}


.cancel-btn {
    padding: 10px;
    background-color: transparent;
    color: var(--Charcoal);
    border: 2px solid var(--Grey);
    border-radius: 8px;
    width: 160px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: "Aptos";
    letter-spacing: 0.5px;
}


@keyframes scaleUp {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}