@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root{
    --blue: #0071BC;
    --dark-blue: #004B7D;
    --highlight-blue: #DAF0FF;
    --border-grey: #A2A2A2;
    --break-grey: #CCCCCC;
    --subtle-text: #666666;
    --font-public: 'Public Sans', san-serif;
    --h1: 4.2em;
    --h3: 2em;
    --p: .8px;
    --small-text: 14px;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: var(--font-public);
    height: 100vh;
    width: 100vw;
    max-width: 2000px;
    overflow: none;
    background-color: white;
    padding: 2em 0em 2em 2em;
}

#main-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: 1000px;
}

h1 {
    font-size: var(--h1);
    font-weight: 200;
}

h2 {
    font-size: 3.2em;
    font-weight: 400;
}

h3 {
    font-size: var(--h3);
    font-weight: 300;
}


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

p {
    font-weight: 200;
    margin-top: 14px;
}

#lines {
    position: absolute;
    height: 280px;
    top: -40px; 
    left: 0px;
    opacity: 1;
    transform: rotate(18deg);
    z-index: 1;
}

#animated-frame {
    flex: 1;
    position: relative;
    height: 100vh;
}

#info-pane {
    position: relative;
    flex: 2;
    border-radius: 40px;
    background: linear-gradient(to bottom right, #0071BC, #003052);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2em;
    height: 100%;
    max-width: 900px;
    overflow: hidden; /* ensure hidden overflow for animation */
}

#info-pane::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    /* A subtle, semi-transparent gradient overlay */
    background: linear-gradient(
        -45deg,
        rgba(0, 67, 122, 0.4),
        rgba(130, 216, 255, 0.15),
        rgba(0, 67, 122, 0.2)
    );
    background-size: 200% 200%;
    animation: moveGradient 20s linear infinite;
}

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


#center-block {
    height: 66%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 36px;
}

#info-blocks {
    height: 33%;
    display: flex;
    flex-direction: row;
    width: 100%;
    column-gap: 32px;
    overflow-x: scroll;
}

.info-block {
    border-radius: 20px;
    flex: 1;
    height: 100%;
    width: 30%;
    background: linear-gradient(to bottom right, #4189bd84, #0071bcb7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow-x: hidden;
    padding: 1.6em;
}

.info-block p {
    font-weight: 300;
    line-height: 1.4em;
    margin: 0px;
}

.info-block h2 {
    margin: 0px;
}


#login-pane {
    flex: 1;
    min-width: 500px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: black;
    padding-top: 90px;
    z-index: 2;
    overflow-y: scroll;
}

#login-pane h2 {
    font-weight: 200;
}

form label {
    font-size: 20px;
    font-weight: 300;
}

form input {
    width: 100%;
    border: 1px solid var(--border-grey);
    padding: 12px 12px;
    border-radius: 10px;
    margin-top: 8px;
}

input::placeholder {
    font-size: 12px;
    color: var(--subtle-text);
}

.input-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

#signup {
    max-width: 460px;
    width: 460px;
    min-height: 600px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
}

.icon {
    height: 16px;
    width: 16px;
}

.align-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.align-left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.align-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.big-wide-btn {
    width: 100%;
    background-color: black;
    color: white;
    border: none;
    height: 64px;
    border-radius: 10px;
    transition: transform .2s ease, background-color .2s ease;
}

.big-wide-btn:hover {
    transform: scale(1.01);
    background-color: rgb(44, 44, 44);
}

.btn2 {
    background-color: var(--highlight-blue);
    color: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 100px;
    font-size: 16px;
    transition: background-color .2s ease, color .2s ease;
    padding: 8px 24px;
}

.btn2:hover {
    background-color: var(--blue);
    color: white;
}

#learn-more {
    position: relative;
    display: inline-block;
    color: transparent;
    text-decoration: none;
    background: linear-gradient(to right, #FF9900, #d878f8, #66C2FF);
    background-clip: text;
    -webkit-background-clip: text;
    font-weight: 500;
    background-size: 200% 100%;
    transition: transform 0.2s ease-in-out;
}

#learn-more:hover {
    animation: gradient-flow 2s linear infinite; /* Define the animation */
    transform: scale(1.02); /* Slight scaling on hover */
}

/* Keyframes for flowing gradient */
@keyframes gradient-flow {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-height: 800px) {
    #info-blocks {
        display: none;
    }
    #center-block {
        height: 100%;
    }
}

@media (max-width: 1200px) {
    #info-blocks {
        display: none;
    }
    #center-block {
        height: 100%;
    }
}
