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

:root {
    /** CSS DARK THEME PRIMARY COLORS */
    --color-primary-100: #382bf0;
    --color-primary-200: #5e43f3;
    --color-primary-300: #7a5af5;
    --color-primary-400: #9171f8;
    --color-primary-500: #a688fa;
    --color-primary-600: #ba9ffb;
    /** CSS DARK THEME SURFACE COLORS */
    --color-surface-100: #121212;
    --color-surface-200: #282828;
    --color-surface-300: #3f3f3f;
    --color-surface-400: #575757;
    --color-surface-500: #717171;
    --color-surface-600: #8b8b8b;

    /*
    100: For body background color
    200: For cards background color
    300: For chips buttons, dropdowns background color
    400: For sidebars, navbar background color
    500: For modal, dialogs background color
    600: For on background texts color
    */


    --border-radius: 10px;


    --fc-button-text-color: black;
    --fc-button-bg-color: var(--color-primary-500);
    --fc-button-border-color: transparent;
    --fc-button-hover-bg-color: var(--color-primary-400);
    --fc-button-hover-border-color: transparent;
    --fc-button-active-bg-color: var(--color-primary-300);
    --fc-button-active-border-color: transparent;

    --fc-event-bg-color: var(--color-primary-300);
    --fc-event-border-color: var(--color-primary-300);
}

* {
    box-sizing: border-box;
    /*border-radius: var(--border-radius);*/
    font-family: "Inter", sans-serif;
    font-weight: 500;
    color: white;
    text-align: left;
}

h1 {
    margin: 10px 15px;
}

p {
    margin: 10px 15px;
}

body {
    width: 100%;
    height: 100vh;
    margin: 0;
    background-color: black;
    overflow: hidden;
}

#background {
    position: absolute;
    width: 100%;
    aspect-ratio: 1.75;
    transform: translate(-30%, -50%);
    background: radial-gradient(#391a70 0%, transparent 60%);
    filter: blur(100px);
    z-index: -100;
    overflow: hidden;
}

#background-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    aspect-ratio: 1.75;
    transform: translate(30%, 50%);
    background: radial-gradient(#9c0bfb50 0%, transparent 60%);
    filter: blur(100px);
    z-index: -100;
    overflow: hidden;
}

#top-bar {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

#nav-left {
    text-align: left;
}

svg {
    width: 38px;
    height: 38px;
    margin: 5px;
}

#nav-center {
    text-align: center;
}

#nav-right {
    text-align: right;
}

#top-bar a {
    display: inline-block;
    cursor: pointer;
}

#title {
    margin: 5px;
    font-size: 32px;
    font-weight: 600;
    text-decoration: none;
}

#center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: var(--border-radius);
}

#form {
    margin: 10px;
}

#login {
    display: inline-block;
    padding: 10px;
    max-width: 450px;
    border-radius: var(--border-radius);
    background-color: var(--color-surface-100);
}

#login-form {
    margin: 15px;
}

#login-button {
    margin-top: 5px;
}

#register {
    display: inline-block;
    padding: 10px;
    max-width: 450px;
    border-radius: var(--border-radius);
    background-color: var(--color-surface-100);
}

label {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    color: var(--color-surface-600);
}

input[type=text],
input[type=password] {
    font-size: 16px;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid var(--color-surface-300);
    background: var(--color-surface-200);
    outline: none;
}

input[type=text]:hover,
input[type=password]:hover {
    border: 2px solid var(--color-surface-500);
}

input[type=text]:focus,
input[type=password]:focus {
    border: 2px solid var(--color-primary-500);
}

button,
input[type=button],
input[type=submit] {
    padding: 12px 15px 12px 15px;
    border-radius: var(--border-radius);
    border: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: black;
    background-color: var(--color-primary-500);
}

.secondary-button {
    background-color: transparent;
    color: darkgrey;
}

button:hover,
input[type=button]:hover,
input[type=submit]:hover {
    color: black;
    background-color: var(--color-primary-400);
}

button:active,
input[type=button]:active,
input[type=submit]:active {
    color: black;
    background-color: var(--color-primary-300);
}

#summaries {
    display: flex;
    flex-direction: column;
}

#summaries input {
    margin-bottom: 5px;
}

#add-summary-label {
    text-decoration: underline dashed;
    cursor: help;
}

#add-summary-button {
    padding: 7px 14px;
}

.remove-summary {
    display: flex;
    gap: 5px;
}

.remove-summary-button {
    padding: 7px 15px !important;
}

/* SCHEDULE */

#schedule {
    width: 90vw;
}

.event-description {
    top: 18px;
}

.fc-event-title-container {
    cursor: pointer;
}

.fc-icon {
    color: black;
}

footer {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 0;
    color: var(--color-surface-300);
    text-wrap: nowrap;
}

@media screen and (max-width: 800px) {
    #center {
        width: 90%;
    }
}
