@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..900&display=swap');

:root {
    --dark: #000;
    --black-light: #121212;
    --success: #01873D;
    --success-light: #BEFFCB;
    --grey: #D0D0D0;
}

.container {
    max-width: 1440px;
}

body {
    min-height: 100vh;
    font-size: 18px;
    font-family: "Inter", sans-serif;

    border-bottom: 8px solid;
    /* thickness */
    border-image: linear-gradient(90.99deg,
            #01873D -0.49%,
            #27AE60 13.73%,
            #00FF7F 29.01%,
            #00CFFF 44.77%,
            #7563FF 65.52%,
            #A200FF 85.96%,
            #7B00E5 99.73%) 1;
}

.font-instrument {
    font-family: "Instrument Serif", serif;
}

body {
    h1 {
        font-size: 80px;
        font-weight: 400;
    }

    h2 {
        font-size: 56px;
        font-weight: 400;
    }

    h3 {
        font-size: 48px;
        font-weight: 400;
    }

    h4 {
        font-size: 38px;
        font-weight: 400;
    }

    h5 {
        font-size: 32px;
        font-weight: 400;
    }

    h6 {
        font-size: 26px;
        font-weight: 400;
    }

    .fs-24 {
        font-size: 24px;
    }
}


.text-success {
    color: var(--success);
}

.btn {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 6px;
    color: #FFFFFF;
    background-color: #01873D;
    transition: transform 0.4s ease, color 0.25s ease-in-out,
        background-color 0.25s ease-in-out;
    cursor: pointer;
}

.btn:hover {
    background-color: #027e3a;
}

.btn:active {
    transform: scale(0.96);
    background-color: #027937;
}

.input-wrapper {
    max-width: 500px;
    display: inline-flex;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.input-wrapper:hover {
    background-color: #BEFFCB;
    border: 1px solid #27AE60;
}

.input-wrapper .btn {
    white-space: nowrap;
}

.form-control {
    font-size: 16px;
    padding: 8px 16px;
    text-overflow: ellipsis;
    border: transparent;
    background-color: transparent;
    position: relative;
}

.form-control::placeholder {
    font-weight: 350;
    color: #777777;
}

.form-control:active::placeholder {
    color: var(--success);
}

.form-control:focus {
    border: transparent;
    outline: none;
}

.form-control:disabled {
    color: #01873D;
}

.input-wrapper:has(input:focus, input:active, input:hover) {
    background-color: #BEFFCB;
    border: 1px solid #27AE60;

}

.input-wrapper:has(input:disabled) {
    pointer-events: none;
    background-color: #BEFFCB;
    border: 1px solid #27AE60;
}

.grid .grid-item {
    display: flex;
    flex-direction: column;
    font-weight: 450;
    padding: 20px 28px;
    gap: 6px;
    border-radius: 8px;
}

.grid .grid-item:nth-child(odd) {
    background: var(--black-light);
}

.grid .grid-item:nth-child(odd) h6 {
    color: #fff;
}

.grid .grid-item:nth-child(odd) p {
    color: #D0D0D0;
}

.grid .grid-item:nth-child(even) {
    background: #F2F2F2;
}

.grid .grid-item:nth-child(even) h6 {
    color: var(--black-light);
}

.grid .grid-item:nth-child(even) p {
    color: #777777;
}

.multi-gradient {
    background: linear-gradient(90.99deg, #01873D -0.49%, #27AE60 13.73%, #00FF7F 29.01%, #00CFFF 44.77%, #7563FF 65.52%, #A200FF 85.96%, #7B00E5 99.73%);
}

@media screen and (max-width: 1200.97px) {
    body {
        font-size: 17px;

        h1 {
            font-size: 64px;
        }

        h2 {
            font-size: 48px;
        }

        h3 {
            font-size: 36px;
        }

        h4 {
            font-size: 32px;
        }

        h5 {
            font-size: 26px;
        }

        h6 {
            font-size: 24px;
        }

        .fs-24 {
            font-size: 22px;
        }
    }
}

@media screen and (max-width: 1024.97px) {
    body {
        font-size: 17px;

        h1 {
            font-size: 56px;
        }

        h2 {
            font-size: 36px;
        }

        h3 {
            font-size: 32px;
        }

        h4 {
            font-size: 26px;
        }

        h5 {
            font-size: 24px;
        }

        h6 {
            font-size: 22px;
        }

        .fs-24 {
            font-size: 20px;
        }
    }

}



@media screen and (max-width: 767.97px) {
    body {

        font-size: 16px;

        h1 {
            font-size: 48px;
        }

        h2 {
            font-size: 32px;
        }

        h3 {
            font-size: 28px;
        }

        h4 {
            font-size: 24px;
        }

        h5 {
            font-size: 22px;
        }

        h6 {
            font-size: 20px;
        }

        .fs-24 {
            font-size: 18px;
        }
    }

    .input-wrapper {
        flex-direction: column;
    }

    .form-control {
        padding-bottom: 16px;
    }

}


@media screen and (max-width: 640.97px) {
    body {

        font-size: 14px;

        h1 {
            font-size: 36px;
        }

        h2 {
            font-size: 28px;
        }

        h3 {
            font-size: 24px;
        }

        h4 {
            font-size: 22px;
        }

        h5 {
            font-size: 20px;
        }

        h6 {
            font-size: 18px;
        }

        .fs-24 {
            font-size: 16px;
        }
    }

}