@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
    --background-color: #1d1d1d;
    --border-color: rgb(70, 70, 70);
    --border-radius: 0.5rem;
    --danger: rgb(255, 80, 80);
    --gray: rgb(130, 130, 130);
    --primary-hover: #c3a3dd;
    --primary: #AB81CD;
    --white-hover: rgb(200, 200, 200);
    --white: rgb(255, 255, 255);
}

* {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-attachment: fixed;
    background-color: var(--background-color);
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-top: 100px;
}


/* Elements */
a {
    color: var(--white);
    text-decoration: none;
}

footer {
    position: static;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
}

input.is-danger,
p.is-danger {
    border-color: var(--danger);
    color: var(--danger);
}

p.title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
}

/* Buttons */
.button {
    border-radius: var(--border-radius);
    background-color: var(--primary);
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 20px;
    transition: all 0.3s;
}

.button.is-light,
.button.is-primary {
    border: 1px hidden var(--white);
}

.button.is-light {
    background-color: var(--white);
    color: #333;
}

.button.is-light:hover {
    background-color: var(--white-hover);
    border-color: var(--white-hover);
    color: #1d1d1d;
}

.button.is-primary {
    background-color: var(--primary);
    color: #1d1d1d;
}

.button.is-primary:focus {
    box-shadow: rgb(29, 29, 29) 0px 0px 0px 2px, var(--primary) 0px 0px 0px 4px;
}

.button.is-light:focus {
    box-shadow: rgb(29, 29, 29) 0px 0px 0px 2px, var(--white) 0px 0px 0px 4px;
}

.button.is-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.button.is-outlined {
    background-color: transparent;
    border-style: solid;
    color: white;
}

.button:not(:last-child) {
    margin-right: 10px;
}



/* Card */
.card {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
}


/* Alignment */
.card-content {
    padding: 20px;
}

.col {
    flex: 1;
}

.container {
    display: flex;
    margin-bottom: auto;
    margin-inline: auto;
    padding-inline: 20px;
    max-width: 1200px;
}

.row {
    align-items: center;
    display: flex;
}

.start {
    float: left;
}

.end li,
.start li {
    list-style: none;
    margin: 0;
}

.end ul,
.start ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.group {
    display: flex;
    justify-content: center;
}

/* Form */
.field {
    margin: 5px;
}

.field select,
.field input {
    background-color: #111;
    border-radius: var(--border-radius);
    border: 1px solid var(--white);
    color: var(--white);
    font-size: 16px;
    padding: 8px 20px;
    transition: border 0.2s ease;
    width: 100%;
}




select:focus,
input:focus {
    border-color: var(--primary);
    outline: none;
    transition: box-shadow 300ms;
    box-shadow: rgb(29, 29, 29) 0px 0px 0px 2px, var(--primary) 0px 0px 0px 4px;
}

.clabel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 3px;
    padding-left: 5px;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #111;
    border-radius: var(--border-radius);
    border: 1px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.3s;
}

input[type="checkbox"]:hover {
    border-color: var(--primary);
}

input[type="checkbox"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: rgb(29, 29, 29) 0px 0px 0px 2px, var(--primary) 0px 0px 0px 4px;
}

input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
    position: relative;
}

input[type="checkbox"]:checked::after {
    content: '\2714';
    font-size: 14px;
    color: var(--white);
    display: block;
    text-align: center;
}

.field input[type="text"]:disabled {
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 50%;
}

.field select:hover,
.field input:hover {
    border-color: var(--primary);
}

.help {
    font-size: 11px;
    font-weight: 500;
}

/* Navbar */
.navbar {
    align-items: center;
    display: flex;
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    justify-content: space-between;
    margin-bottom: auto;
    padding: 15px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--background-color);
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.menu-toggle {
    cursor: pointer;
    display: none;
    flex-direction: column;
}

.nav-items {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.navbar .nav-link {
    display: flex;
    padding: 2px 10px;
    border-radius: var(--border-radius);
    transition: all 0.2s;
    margin-inline: 5px;
    color: white;
}

.navbar .nav-link:focus {
    box-shadow: rgb(29, 29, 29) 0px 0px 0px 2px, var(--primary) 0px 0px 0px 4px;
}

.navbar .nav-link:hover {
    background-color: var(--primary) !important;
    outline: 2px solid var(--primary-hover);
    outline-offset: -2px;
    color: #1d1d1d;
}

/* Alert */
.alert {
    color: rgb(168, 233, 192);
    background-color: rgb(10, 38, 20);
    border: 1px solid rgb(16, 65, 34);
    padding: 8px;
    border-radius: var(--border-radius);
    width: fit-content;
    transition: all 0.2s;
}


.cookie-overlay {
    align-items: center;
    border-block: var(--border-color) 1px solid;
    background-color: var(--background-color);
    display: flex;
    justify-content: space-between;
    padding: 15px;
    position: fixed;
    bottom: 50px;
    width: 100%;
    z-index: 1000;
}

.is-hidden {
    visibility: hidden;
    opacity: 0;
}

.is-thin {
    padding: 2px 10px !important;
}



/* Media Query */
@media (max-width: 768px) {

    .end a,
    .start a {
        text-align: center;
        width: 100%;
    }

    .end,
    .start {
        justify-content: flex-start;
        margin-top: 10px;
        width: 100%;
    }

    .menu-toggle {
        display: flex !important;
    }

    .menu-toggle .bar {
        background-color: var(--white);
        height: 3px;
        margin-right: 4px;
        margin-block: 4px;
        width: 25px;
        border-radius: var(--border-radius);
    }

    .container {
        padding: 20px;
        margin-inline: auto;
    }

    .nav-items {
        background-color: var(--background-color);
        padding: 15px;
        position: fixed;
        right: 0;
        top: 80px;
        z-index: 100;
        height: 0;
        opacity: 0;
        overflow: hidden;
        flex-direction: column;
        transition: height 0.5s, opacity 0.5s ease;
    }

    .nav-items * {
        margin: 5px !important;
        opacity: 0;
        transition: height 0.5s, opacity 0.5s ease;
    }

    .nav-items.active * {
        opacity: 1;
    }

    .nav-items.active {
        height: 90dvh;
        opacity: 1;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-items .button {
        width: max-content !important;
    }

    .row {
        align-items: flex-start;
        flex-direction: column;
    }

    .navbar .group {
        flex-direction: column;
    }

    .navbar .button {
        width: 100% !important;
    }

    .navbar ul {
        flex-direction: column;
    }

    .mtm-10 {
        margin-top: 10px;
    }
}