:root {

}

body {
    margin: 0;
    width: 100dvw;
    height: 100dvh;
}

.container {
    margin: 0;
    width: 100dvw;
    height: 100vh;
    box-sizing: border-box;
    padding: 36px 20px 24px;
    background: linear-gradient(160deg, rgb(253, 244, 170) 0%, rgb(214, 240, 238) 50%, rgb(109, 199, 223) 100%);
    font-family: Montserrat, sans-serif;
    color: rgb(34, 38, 42);
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


form.auth {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.navbar {
    height: 72px;
    border-radius: 999px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px 12px;
    box-shadow: 0 12px 28px rgba(34, 38, 42, .12);
}

.navbar a {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    color: #22262a;
    text-decoration: none;
    transition: all .3s ease-in-out;
    border-radius: 50%;
    padding: 8px;
    border: 0;
    align-items: center;
    justify-content: center;
    background: transparent;

    &.active {
        background-color: #41afb4;
    }

    &:hover {
        background-color: #fdf4aa;
    }
}

.hero-section {
    background: #41afb4;
    border-radius: 36px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 16px 32px rgba(52, 132, 135, .3);
    min-height: 250px
}

.badge {
    align-self: flex-start;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    background: #41AFB4;

    &.yellow {
        background: #fdf4aa;
    }
}

.hero-title {
    margin: 0;
    font-family: 'Wicked Mouse', Montserrat, sans-serif;
    font-weight: 800;
    font-size: 32px;
}

.flex-8 {
    display: flex;
    gap: 8px;
}

.countdown {
    flex: 1;
    background: rgba(255, 255, 255, .4);
    border-radius: 22px;
    padding: 12px 0;
    text-align: center;
    font-size: 30px;
    font-weight: 800;

    &:last-child {
        background: #fdf4aa;
    }

    & .indicator {
        font-size: 11px;
        font-weight: 700
    }
}

.info-card {
    font-size: 12px;
    font-weight: 600;
    border-radius: 36px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0px 16px 32px 0px #fdf4aa4d;
    height: 231px;
    background-color: #FDF4AA
}

.stack {
    position: relative;
    height: 450px;
    margin: 0 -20px
}

.stack-card {
    position: absolute;
    top: 30px;
    width: 360px;
    height: 390px;
    /*width: 270px;height: 340px;*/
    box-sizing: border-box;
    border-radius: 32px;
    padding: 15px;
    box-shadow: 0 16px 32px rgba(34, 38, 42, .16);
    left: 20px;
    background: #fff;
    transform: rotate(7deg) translate(10px, 10px);

    &.voted {
        background: #fdf4aa;
    }
}

.stack-card-img {
    --width: 330px;
    --height: 330px;
    width: var(--width);
    height: var(--height);
    border-radius: 22px;
    background: black;
    display: grid;
    place-items: center;

    & img {
        max-width: var(--width);
        max-height: var(--height);
        object-fit: contain;
        border-radius: 22px;
        width: auto;
        height: auto;
    }
}

.stack-card-attribution {
    padding: 14px 6px 0;
    font-weight: 800;
    font-size: 16px;
}

.form-input {
    width: 100%;
    height: 56px;
    min-height: 56px;
    box-sizing: border-box;
    border-radius: 999px;
    border: 2px solid transparent;
    background: #fff;
    outline: none;
    padding: 0 24px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    color: #22262a;

    &:focus-within {
        border-color: #41AFB4;
    }
}
