/* ---------- Sidebar bottom ---------- */

.sidebar_bottom {
    width: 1024px;
    margin: 0;
    padding: 100px calc(50% - 512px) 50px calc(50% - 512px);
    background-color: var(--ilo-blue);
}

/* ---------- Sidebar wave ---------- */

.sidebar_bottom_wave {
    position: relative;
    top: 50px;
    display: block;
    z-index: -1;
    width: 100%;
    height: 350px;
    margin: 0;
    padding: 0;
    fill: var(--ilo-blue);
}

/* ---------- Sidebar part ---------- */

.sidebar_bottom_up {
    margin: 0 0 72px 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.sidebar_bottom_down {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* gap: 10px; */
    /* display: flex; */
    /* justify-content: space-evenly; */
    /* flex-wrap: wrap; */
    margin: 0;
    padding: 0;
}

/* ---------- Sidebar input ---------- */

#sidebar_bottom_input {
    width: 500px;
    margin: 0;
    padding: 8px 12px;
    background: var(--ilo-white);
    outline: solid 2px var(--ilo-white);
    outline-offset: -1px;
    border: 0;
    border-radius: 7px;
    color: var(--ilo-black);
    font-family: 'montserrat', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
    font-size: var(--ilo-extra-light);
    transition-duration: 150ms;
}

#sidebar_bottom_input::placeholder {
    color: var(--ilo-light-grey);
}

#sidebar_bottom_input:focus {
    outline: solid 2px var(--ilo-black);
}

/* ---------- Sidebar button ---------- */

.sidebar_bottom_button {
    margin: 2px 0 0 16px;
    padding: 8px 12px;
    background-color: var(--ilo-blue);
    color: var(--ilo-white);
    outline: solid 2px var(--ilo-white);
    outline-offset: -1px;
    border: 0;
    border-radius: 7px;
    font-family: 'poppins', 'IBM Plex Sans', 'IBM Plex Sans Arabic', 'IBM Plex Sans JP', 'IBM Plex Sans KR', sans-serif;
    font-size: var(--ilo-extra-extra-light);
    cursor: pointer;
    transition-duration: 150ms;
}

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

/* ---------- Sidebar down div ---------- */

.sidebar_bottom_div {
    width: 180px;
    margin: 0 calc(50% - 90px) 34px calc(50% - 90px);
    padding: 0;
}

/* ---------- Sidebar up text ---------- */

.sidebar_bottom_up_text {
    margin: 0 0 16px 0;
    padding: 0;
    color: var(--ilo-white);
    font-family: 'montserrat', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
    font-weight: 700;
    font-size: var(--ilo-extra-light);
    text-align: center;
}

/* ---------- Sidebar down text ---------- */

.sidebar_bottom_title {
    margin: 0 0 16px 0;
    padding: 0;
    color: var(--ilo-white);
    font-family: 'montserrat', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
    font-size: var(--ilo-extra-light);
    font-weight: 700;
}

.sidebar_bottom_text {
    margin: 0 0 16px 0;
    padding: 0;
    color: var(--ilo-light-grey);
    font-family: 'montserrat', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
    font-size: var(--ilo-extra-light);
    font-weight: 700;
}

.sidebar_bottom_link {
    color: var(--ilo-light-grey);
    transition-duration: 150ms;
    text-decoration: none;
    cursor: pointer;
}

.sidebar_bottom_link:hover {
    color: var(--ilo-black);
}

.sidebar_bottom_text_next_div {
    margin: 0 0 32px 0;
}

/* ---------- Right text ---------- */

.sidebar_right_text {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--ilo-white);
    font-family: 'montserrat', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
    font-size: var(--ilo-extra-light);
    font-weight: 700;
    text-align: center;
}

/* ---------- Alert message ---------- */

.alert_message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 300px;
    margin: 0;
    padding: 10px 12px 8px 12px;
    background-color: var(--ilo-black);
    border-radius: 7px;
    transition-property: transform;
    transition-duration: 250ms;
    transform: scale(0);
    transform-origin: bottom right;
}

.alert_message_text {
    width: 250px;
    color: var(--ilo-white);
    font-family: 'montserrat', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
    font-size: var(--ilo-extra-extra-light);
}

.alert_message_svg {
    width: 40px;
    height: 40px;
    margin: 0 10px 0 0;
    padding: 0;
}

.alert_message_svg_green {
    fill: var(--ilo-green);
}

.alert_message_svg_red {
    fill: var(--ilo-red);
}

/* ---------- Resize ---------- */

@media only screen and (max-width: 1148px) {
    .sidebar_bottom {
        width: 90%;
        padding: 100px 5% 50px 5%;
    }

    .sidebar_bottom_down {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 778px) {
    .sidebar_bottom_wave {
        height: 250px;
    }

    .sidebar_bottom_up {
        justify-content: end;
        flex-direction: column;
        align-items:end;
    }

    #sidebar_bottom_input {
        width: calc(100% - 24px);
        margin: 0 0 17px 0;
    }
    
    .sidebar_bottom_button {
        margin: 0;
    }
}

@media only screen and (max-width: 480px) {
    .sidebar_bottom_wave {
        top: 20px;
        height: 150px;
    }
    .sidebar_bottom_div {
        width: 100%;
        margin: 0 0 34px 0;
    }
    .sidebar_bottom_title, .sidebar_bottom_text {
        text-align: center;
    }
    .sidebar_bottom_down {
        grid-template-columns: 1fr;
    }
}