@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

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

:root {
    --dark: #34495E;
    --light: #ffffff;
    --success: #0ABF30;
    --error: #E24D4C;
}

.container {
    display: flex;
    row-gap: 15px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.container .image {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.container header {
    font-size: 60px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.container p {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    max-width: 550px;
    text-align: center;
}

.container .time-content {
    display: flex;
    align-items: center;
    column-gap: 30px;
}

.time-content .time {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.time .number,
.time .text {
    font-weight: 500;
    color: #fff;
}

.time .number {
    font-size: 40px;
}

.time .text {
    font-size: 12px;
    text-transform: capitalize;
}

.email-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 30px;
    width: 100%;
}

.email-content p {
    font-size: 13px;
}

.input-box { 
    display: flex;
    align-items: center;
    height: 40px;
    max-width: 360px;
    width: 100%;
    margin-top: 20px;
    column-gap: 20px;
}

.input-box input,
.input-box button {
    height: 100%;
    outline: none;
    border: none;
    border: 1px solid #fff;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.input-box input {
    width: 100%;
    padding: 0 15px;
    color: #fff;
    font-weight: 500;
}

input::placeholder {
    color: #fff;
}

.input-box button {
    cursor: pointer;
    color: #fff;
    white-space: nowrap;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.input-box button:hover {
    background-color: #fff;
    color: #0d6a81;
}

@media screen and (max-width: 300px) {
    .container header {
        font-size: 50px;
    }
}

/* Notifications */
.notifications {
    position: fixed;
    top: 30px;
    right: 20px;
}

.notifications :where(.toast, .column) {
    display: flex;
    align-items: center;
}

.notifications .toast {
    position: relative;
    overflow: hidden;
    width: 400px;
    list-style: none;
    border-radius: 4px;
    padding: 16px 17px;
    margin-bottom: 10px;
    background: #a9acaa;
    justify-content: space-between;
    animation: show_toast 0.3s ease forwards;
}

&:not(.showing):not(.show) {
    opacity: 1;
}

@keyframes show_toast {
    0% {
        transform: translate(100%);
    }
    40% {
        transform: translate(-5%);
    }
    80% {
        transform: translate(0%);
    }
    100% {
        transform: translate(-10px);
    }
}

.notifications .toast.hide {
    animation: hide_toast 0.3s ease forwards;
}

@keyframes hide_toast {
    0% {
        transform: translate(-10px);
    }
    40% {
        transform: translate(0%);
    }
    80% {
        transform: translate(-5%);
    }
    100% {
        transform: translate(calc(100% + 20px));
    }
}

.toast::before {
    position: absolute;
    content: "";
    height: 3px;
    width: 100%;
    bottom: 0px;
    left: 0px;
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        width: 0%;
    }
}

.toast .column i {
    font-size: 1.75rem;
}

.toast.success::before {
    background: var(--success);
}

.toast.error::before {
    background: var(--error);
}

.toast.success .column i {
    color: var(--success);
}

.toast.error .column i {
    color: var(--error);
}

.toast .column span {
    font-size: 1.07rem;
    margin-left: 12px;
}

.toast i:last-child {
    color: #aeb0d7;
    cursor: pointer;
}

.toast i:last-child:hover {
    color: var(--dark);
}